Ball pythons are nocturnal (awake at night) and do not benefit from UV lighting in the same way that other diurnal (awake during the day) reptiles do.

Having any kind of lighting, whether for heating or aesthetic purposes, inside a cage that the snake can come into direct contact with is a receipe for disaster. I'd say remove it immediately.