If you want an on/off function, rather than various degrees of dimness, keep the comparator or op-amp wired as comparator as shown by Sghioto.I want to turn on the LED when the pilot is lit as an indication it is functioning. The current produced by the TC is used for other circuits.