Measurement of localized heating in fiber optic components with millimeter spatial resolution