AMENDMENT NO. 1 AND AGREEMENT dated as of November 22, 2006 (this “Amendment”), to the Second Amended and Restated Credit Agreement dated as of June 22, 2006 (the “Credit Agreement”), among ATP OIL & GAS CORPORATION (the “Borrower”), the Lenders (as...