You have answered your own question.The flame on the pilot wont be warming the tip of the thermocouple correctly and thats why it is going out.It will need servicing to remedy the situation.
Tony S
January 2009
Automatic Answer
We may have found other answers which could help you.