It has been headquartered in Gloucester , Massachusetts , since 1849 .
It has been based in Gloucester , Massachusetts , since 1849 .