P.A.M. Swings to Third-Quarter Profit