Is it a red or IR lamp? Royals (most pythons for that matter) hunt by heat and they optical equipment (heat pits and eyes) are are 'tuned' to the IR/red end of the spectrum it could just be reaction to the IR light.