Oil near 3-year high despite United States output up