I have optimized my organic system in the ground state using DFT method followed by TD-DFT energy calculation based on the optimized geometry. That is, the TD-DFT job does not contain an OPT command but "#p td=(nstates=10) rb3lyp/6-311++g(d,p) scrf=(solvent=ethylethanoate) geom=connectivity". So my question is whether this OPT command is mandatory in the TD-DFT job card, or not...? Also, how do we make a reasonable 'nstates' in the input line...? [By default it is 6, but we can increase this to some higher values, but how we have to know the optimum value for an organic system with 35 number of atoms...?]