I have changed out the bulb and the sensor but it stays on for about 60 seconds and then goes dim. After about 60 sec it flickers a couple of times and then turns back on.