Local heating at a ferromagnet-metal interface