Approximation of Markov semigroups in total variation distance under an irregular setting: An application to the CIR process