A man who pleaded guilty to starting a fire in his own apartment in December 2024 has been sentenced to prison.