Retirement tax questions

The 147,000 on Schedule SE line 7 is a preprinted amount.  It's just the max you have to pay Social Security tax on.  See it's even on the blank IRS form,

https://www.irs.gov/pub/irs-pdf/f1040sse.pdf