Or, it's the work of the Anti-Electricians!! [love that message, Sparky!!].
Bill;
I think I can see where you are going with the question about the upper right corner.
In other words, I can smell the Insulation burning from here !!!
Sure is an elaborate installation, though. I see 3 wiring methods at that 4/0 box. The little flex stub, the Romex and what appears to be an orange extention cord.
I feel sorry for the poor fixture and motion detector!
Looks like the plywood is the next thing to feel sorry for [when it begins to glow and smoke ~:-O].
Scott.