Hartz Mountain Industries has sold the larger of two buildings at its well-known, 1 million-square-foot office complex in Weehawken, the longtime home of UBS Financial Services.