* FTSEurofirst 300 up 0.4 pct, Euro STOXX 50 flat
* Euro STOXX 50 touches new 2-1/2 year high
* Europe's earnings momentum improves, but still negative
* Philips, Accor, Whitbread gain after upgrades
By Alistair Smout
LONDON, Oct 11 (Reuters) - European stocks edged higher on Friday, building on a rally in the previous session, as investors hoped that an agreement would finally be reached in Washington on the U.S. debt ceiling.
At 1454 GMT, the FTSEurofirst 300 index of top European shares was up 0.4 percent at 1,249.79 points, after surging 1.7 percent on Thursday.
The euro zone's blue-chip Euro STOXX 50 index was flat at 2,971.39 points, after hitting a new 2-1/2 year high.
Stocks around the world had lost ground in the past three weeks after an impasse in U.S. budget talks led to a partial government shutdown and sparked concerns about the extension of Washington's borrowing authority beyond an Oct. 17 deadline.
On Thursday, President Barack Obama and Republican leaders appeared ready to end the deadlock. One senior Republican said an agreement could come on Friday.
After having dropped seven of the previous nine sessions, the FTSEurofirst has rebounded, adding 2 percent over the last 2 sessions.
"Over the last few days we've seen something of a turnaround on optimism that the debt ceiling will get raised, and at least there'll be a temporary measure if not a permanent measure. The confidence seems to be returning to the market," Manoj Ladwa, head of trading at TJM Partners, said.
The Euro STOXX 50 Volatility index, known as the VSTOXX, was down 6.4 percent, indicating a drop in investors' risk aversion. Europe's widely-used gauge of investor sentiment, which is based on put and call options on Euro STOXX 50 stocks, has fallen 21.7 percent since a peak hit on Wednesday.
"Even though investors get nervous when political tensions rise, the backdrop for equities remains quite positive: very accommodative central banks, improvement on the macro front, and relatively good corporate fundamentals," said Jeanne Asseraf-Bitton, head of global cross-asset research at Lyxor Asset Management, which has $98 billion under management.
"It's sort of a 'sweet spot' for stocks. Now, with the earnings season set to start, we need to see an improvement in the earnings momentum. It has improved lately in Europe, although it remains negative for now."
Europe's earnings momentum - analyst forecast upgrades minus downgrades as a percentage of total - has recently improved, from minus 3.2 percent in July to minus 2.1 percent currently, data from Thomson Reuters Datastream shows.
Many of the top gainers were spurred by upgrades. Philips gained 2.6 percent after being raised to "buy" from "neutral", while Costa-owner Whitbread and hotel operator Accor rose 2.6 percent and 1.6 percent respectively after receiving upgrades from Citi.