ATLAS RESOURCE PARTNERS, L.P. 3,200,000 8.625% Class D Cumulative Redeemable Perpetual Preferred Units UNDERWRITING AGREEMENT