Activated STAT5 promotes long-lived cytotoxic CD8+ T cells that induce regression of autochthonous melanoma.