Both Pujlos & Papi had great final seasons because they were being pitched to. Ortiz, statistics speaking, had his best year at 40, his final year.
But make no mistake, MLB puts the word out.... pitch to these guys because 100s of thousands of fans are coming to see Ortiz, Albert, Jeter, etc in the last hurrah!
Bonds also had a phenomenal final year, but no one (except me) was traveling to watch him play... so his stats were in line w career & prior years.