A massive fire that broke out at the Exxon refinery in Louisiana has been contained, according to officials.