Dynamic-then-Static Approach for Core Excitations of Open-Shell Molecules.