Commercial Petroleum refinerys are part of critical infrastructure. You can not even fly full scale aircraft over them, or near them. You can not photograph a refinery at all. From the ground, or especially from the air. Living close enough to fly at a refinery, you do not know this? You are lucky you were not caught. The only thing dumber that flying at the refinery, is posting that you did it

This why we can't have nice things! Learn the rules. Every time someone does dumb like this with a drone, they just make more and more restrictive rules.