Hello, Two things come to mind. First is a question of whether you are using natural gas or propane. If propane, is the pressure correct? Next is a question of whether the gas control valve is working as it should. The pilot shouldn’t go out when the main burner does. This has been a problem with some controls. Might be good to ask the manufacturer if a failing control is a possibility, and what test they suggest to confirm it.