Maytag Gas Dryer Not heating well

My gas dryer gets low heat and takes a very long time to dry cloths. The igniter come on gas lights for about 45 seconds then goes out and start over in about a minute. This is pretty much how each cycle works. Have clean all areas of lint and such and replaced the coils. Not sure what to do next.