I started trouble shooting from the back. I started with the various thermostats , they all checked good so i then checked out the inside where the gas and flame are and all good there. Then i found the problem at the selector switch. I should have started there but problem solved.