Reptiles can and do get close enough to lamps (especially heat) to burn themselves. Out of reach (6"+) is the minimum, many basking lamps have a spot light effect that doesn't go away until 12-14" away though.
UVB (it oils liek you have a T8) should be no closer than 6"