A pilot that lights and then dies is telling you the flame is not being proven.
Proving the flame
The thermocouple or sensor sits in the flame and generates a small current that holds the gas valve open. As it ages, the signal weakens. Cold, it just passes; warm, it drops out.
That is the classic overnight failure: lit at bedtime, out by morning.
Dust and draft
Desert conditions add two variables:
- Orifice. Fine sand and dust partially block the pilot jet, producing a small or yellow flame that will not prove properly.
- Draft. A flue partly blocked with debris or dust changes how air moves, and the pilot can be pulled off the sensor.
Diagnosis
Clean the orifice and the sensor, check the flame shape, test the signal, then inspect the flue and the termination. Only then replace parts.
When to replace the control
If the signal is good at the sensor and the valve still will not hold, the control is the fault.
Safety
Where gas can be smelled, nobody stays inside to investigate — out of the building, then call. Soot, scorching or spillage keep the unit out of service until it has been examined.
What to have ready
How long it stays lit, vent route, dust history.