Lower corporate costs also enabled the company to beat profit estimates, said RBC Capital Markets analyst Biraj Borkhataria. Earnings from producing gasoline and diesel were $323 million