When I first learned what my employer charges for 1 hour of my time, I was shocked and had to completely retool how I thought about these things...and that was knowing beforehand that, by law, we're not allowed to profit, and management had artificially lowered the engineering rate 2 years in row to make up for inefficiencies on the production side, keeping the organization competitive as a whole.
The mission is usually a big boost to your morale and engagement, but it's not the same for everyone.
Our branch's projects manifest when: 1) data rights are on lockdown and can't legally be distributed; 2) data is limited, making acquisition risk too high; or 3) bids from the private sector far exceed what acquisition estimates suggest they should reasonably be. In general, these constraints tend to keep things both interesting and challenging.