Still, if you assume something like a 4% return (maybe comparable to the bonds behind them?), that 1.1%/year amounts to another 27.5% on top of your gross pay.
And that's not considering the likelihood that you'll be earning more at the end of your tenure than at the start. You're effectively earning that significant fraction of your final pay on top of whatever you see in your pay check.
So if I work for 20 years and have an average of 100k for my high 3-year, I'm getting $20k/year for the rest of my life.
In the same circumstances but I retire at age 62 (leave work at age 62), I get $22k/year for the rest of my life.
The current President is also talking about eliminating the cost-of-living adjustmetns that have been typical (intended to keep with inflation) for retirees, and changing the 3-year average to a 5-year average.
The other number I gave (5%) is a matching contribution to the TSP (401k equivalent), that is cash given each year and will add up to something more substantial. Even assuming a modest 4%/year return over 20-30 years of contributing.
Now, if you're including the TSP (401k equivalent), maybe? That's 5%/year extra if you also contribute 5%. However, that's what you and the government put into the account, not what's available when you retire. Perhaps it works out to close to 3% average with some estimate of your TSP earnings? I never crunched those numbers.
Government salary ranges can be found at OPM. Look up the GS pay scale. Programmers will be GS-12 to GS-14 positions (most likely 12 or 13, 14 if you're a true subject matter expert, have a Phd, or maybe work at the right facility, otherwise 14s are management).