A Ketchikan fisherman has pleaded guilty in federal court to killing an endangered sperm whale in a first-of-its-kind case that highlights a long, little known conflict between the giant toothed whales and the fishermen whose sablefish catch they have learned to raid.