A couple more things to consider when trying to loosen any internal drive fastener:
clean out all of the dirt, paint and other detritus from the slot/whatever before getting a tool out of its box. Picks, solvent and wirebrushes are the things to start with.
Check that both the fastener and tool are in good condition. No matter how good/expensive(not the same thing!) your #2 Philips screwdriver was, it’s a consumable. There are a lot of really crap drivers and allen keys out there.
Giving each fastener a good whack before you attempt to loosen it is well worth doing.
As soon as you feel the tool start to slip, stop and re-evaluate. Swapping to a different tool, or adding some grip paste might be enough to get the job done. If you do manage to remove the fastener this way, dispose of it immediately so you won’t be tempted to reuse it. The expensive grip paste my boss acquired worked well, but was indistinguishable from fine grinding paste that we already had, came in bigger containers and were a fraction of the price.
The traditional hit-it-with-a-hammer impact driver is well worth using from the start, whenever possible. That’s not a good idea when depanneling an aeroplane, which is a pain because whatever you do you never get all of the screws out without extra work. They’re probably the worst combination of small, countersunk, phillips head, steel screws into delicate aluminium kept in poor conditions.