Why did one of the U.S. Navy’s most advanced subs return to port with a pirate flag?

Washington Post – An image posted to a Pentagon media site and tweeted by Scottish journalist Ian Keddie shows the USS Jimmy Carter, a Seawolf-class nuclear-powered submarine, returning to her home port in Washington Tuesday flying the American flag alongside the unmistakable pirate skull and crossed bones, known as the Jolly Roger.