Hi. Does the pilot flame heat the tip of the thermocouple well? If so, the problem may be with the solenoid valve. This is located behind where you screw the term. It is the large nut that enters the gas body. Before changing it you should try it with a common battery. I leave you an image of how to do it. regards