If the pilot flickers, is weak or goes out, and the cause is blocked in the pilot tube, the heater won't operate properly. A faulty thermocouple is one of the most common causes of a weak pilot. The pilot flame has a heat sensor next to it that tells it when the gas valve is open.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.