Oil hits ceiling at $50 per barrel