Cancellation of photomultiplier gain drift following source intensity change