MATERIAL: Gains in energy and chemical companies nudged the stock market higher Thursday. Cabot Oil & Gas and Range Resources reported revenue and earnings that trumped estimates, sending their stocks up 7 percent.

LIKED: Facebook soared 30 percent after reporting earnings late Wednesday that easily beat analysts' forecasts thanks to higher revenue from ads on mobile devices. Facebook's stock gained $7.85 to $34.36.

FINAL SCORE: The Dow Jones industrial average rose 13.37 points, or 0.1 percent, to close at 15,555.61. The Standard & Poor's 500 index rose 4.31 points, or 0.3 percent, to 1,690.25.