&GLOBAL
  PRINT_LEVEL LOW
  PROJECT ftest
  RUN_TYPE DEBUG
  ##  RUN_TYPE ENERGY_FORCE
&END GLOBAL

&DEBUG
  DE 0.0002
  DEBUG_DIPOLE .FALSE.
  DEBUG_FORCES .TRUE.
  DEBUG_POLARIZABILITY .FALSE.
  DEBUG_STRESS_TENSOR .FALSE.
  STOP_ON_MISMATCH T
&END DEBUG

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    CHARGE 1
    LSD
    &EXCITED_STATES T
      STATE 5
    &END EXCITED_STATES
    &QS
      METHOD xTB
      &XTB
        DO_EWALD F
      &END XTB
    &END QS
    &SCF
      EPS_SCF 1.0E-7
      MAX_SCF 50
      SCF_GUESS ATOMIC
      &OT
        MINIMIZER DIIS
        PRECONDITIONER FULL_SINGLE_INVERSE
      &END OT
      &OUTER_SCF
        EPS_SCF 1.0E-7
        MAX_SCF 10
      &END OUTER_SCF
    &END SCF
  &END DFT
  &PRINT
    &FORCES
    &END FORCES
  &END PRINT
  &PROPERTIES
    &TDDFPT
      CONVERGENCE [eV] 1.0e-7
      KERNEL sTDA
      MAX_ITER 50
      NSTATES 5
      RKS_TRIPLETS F
      &STDA
        FRACTION 0.50
      &END STDA
    &END TDDFPT
  &END PROPERTIES
  &SUBSYS
    &CELL
      ABC [angstrom] 6.0 6.0 6.0
      PERIODIC NONE
    &END CELL
    &COORD
      O   0.000000    0.000000    0.000000
      H   0.000000   -0.757136    0.580545
      H   0.000000    0.757136    0.580545
    &END COORD
    &TOPOLOGY
      &CENTER_COORDINATES
      &END CENTER_COORDINATES
    &END TOPOLOGY
  &END SUBSYS
&END FORCE_EVAL
