* Iraq has cut oil output beyond quota pledge -minister
* Nigeria, Libya to attend OPEC, non-OPEC meeting on Friday-source
* U.S. crude stocks seen up while fuel draws down - Reuters poll
* Coming Up: API data on U.S. inventories at 4:30 p.m. (2030 GMT) (Updates to afternoon, updates prices and poll, adds details on refinery fire)
NEW YORK, Sept 19 (Reuters) - Oil prices edged lower on Tuesday, retreating from near-five-month highs in advance of data expected to show a build in U.S. crude inventories as imports resume and refineries were still restarting after recent storm activity.
The market, however, remained buoyant ahead of Friday's meeting between the Organization of the Petroleum Exporting Countries with non-OPEC producers to discuss progress of their 1.8-million barrel-per-day supply cut deal.
OPEC's second-biggest producer Iraq said that the group was discussing several options for its supply pact, including an extension beyond March and a further output cut.
Nigeria and Libya will send representatives to the meeting despite being exempt from the current deal, two OPEC sources said. Rising output from both countries has kept a lid on price gains, prompting suggestions that they could be included in the deal.
Brent crude futures were down 30 cents at $55.20 a barrel by 2:30 p.m. EDT (1830 GMT), not far off a five-month high of $55.99. U.S. West Texas Intermediate (WTI) crude futures fell 35 cents to $49.56.
"It feels kind of like positioning ahead of tonight's report but there's not a lot of action behind the move," said Phil Flynn, analyst at Price Futures Group in Chicago.
Industry group the American Petroleum Institute releases its U.S. weekly oil stock data at 4:30 p.m. EDT (2030 GMT), a day ahead of data from the U.S. Energy Department.
Analysts forecast crude stocks rose 3.5 million barrels last week, as fuel inventories drew down, which would continue a trend established in the wake of Hurricane Harvey, as imports resumed while refineries were still restarting.
Restarts have run into problems in places. Valero's Port Arthur refinery shut its crude unit on Tuesday after a tank fire broke out in the early morning.
Demand for crude is expected to rebound in coming weeks in the United States in the wake of Harvey, which hit the Gulf Coast in late August.
The current threat is Hurricane Maria, now making its way through the Caribbean, but it is not expected to threaten the U.S. Gulf, instead turning north in the Atlantic Ocean.
Still, cargoes have been shifted around as the storm could dampen oil demand and disrupt maritime trading.
The market has been strong since last week, when Brent gained over 3 percent and WTI jumped nearly 5 percent in the week, after the International Energy Agency lifted its 2017 demand outlook and OPEC estimated the world would need more of its crude next year.
(Additional reporting by Karolin Schaps in Amsterdam and Henning Gloystein in Singapore; Editing by Marguerita Choy and David Goodman)