A flashlight assembly operates with a thermal optimization circuit which automatically, over time, reduces the duty cycle of the control circuit to reduce the temperature of the LED junction, improve LED performance and increase battery life.