U.S. Markets close in 5 hrs 57 mins

Hopes for deal keep market afloat

The markets ended higher, reports CNBC's Seema Mody. Hopes remain for a deal to raise the debt ceiling.