The pilot lights on these are a nightmare.I think what will be happening is that when the main flame comes on it is dragging the pilot away from the t/couple making it go out.Check the pilot is blue and warming the t.couple and make sure the air hole at the base of the pilot jet is clear.
Tony S, October 2008