The name given already exists in your database, either as an aggregate name or as the name of a routine. (You cannot have an aggregate and a routine with the same name.)
Change your CREATE AGGREGATE statement to give the aggregate a unique name.