Model calibration is important for accurate predictions in deep neural networks.Existing loss functions, like focal loss, fail to achieve optimal calibration performance.A new loss framework is proposed, addressing misalignment and uncertainty estimation issues.Extensive experiments show the proposed method achieves state-of-the-art performance.