Density matrix-based time-dependent configuration interaction approach to ultrafast spin-flip dynamics. (18th August 2017)