Accurately Predicting Probabilities of Safety-Critical Rare Events for Intelligent Systems