Some vertex groups on the armature have their location offset
I hope it answers your questions:
In Edit mode you should align the bones with the lamp arms:

Also, stick the IK target head to the tail of the IK bone, otherwise, as soon as you switch to Pose mode, your IK will move away from its current position to stick to its target: