if it had a thermocouple and it had disinegrated the pilot would not stay lit.having said that i believe you have a millivoltage setup(no transformer)but i'm not sure.could be that what you call a thermopile could need replacing sometimes the pilot and generator come as one unit.