Analytical approach for the excited-state Hessian in time-dependent density functional theory: formalism, implementation, and performance.