if you are trying to measure temperature by measuring the forward voltage drop of the LED, there's a better way to do this... a 2N3904 max operating temp is 150C, and the forward drop of the B-E junction has a temperature coefficient of -2.4mV/degC. at room temperature (nominally 25C) the forward Vbe will be about 700mV. at 100C Vbe will be 520mV.