Why a Coast Guard boat with a machine gun is patrolling Bar Harbor