Your "heating sound" is probably the sound of the fan that should cool down the magnetron.
It looks like that fan may have failed, maybe a loose wire that need to be secured, or dead fan that need to be replaced.
As for the light coming on and off, that really point to a bad contact somewhere.
The two may or not be related.
Electro
May 2016