The pilot light lights i wait for the the entire flame to come on adjust the temperature and close the door. However when the set temperature is reached the main burner shuts off and blows out the pilot light when it. I have rest it several times.