1,500,000 Shares ATP Oil & Gas Corporation UNDERWRITING AGREEMENT