AAMES MORTGAGE INVESTMENT TRUST 2005-1 Mortgage Backed Notes UNDERWRITING AGREEMENT February 17, 2005