Dear Migal-san,
Thank you for the question.
The parameters 'nstate' and 'nelec' may be too small. From the 2nd line of the *.fhi files, the number of valence electrons are 6 and 12 for S and Cd, respectively.
Thus, the total number of electrons in the cell (i.e. nelec) is equal to 72 (=4*6+4*12). For spin-unpolarized systems, the number of states for calculation (=nstate) should be greater than nelec/2 for convergence.
Sincerely,
Shunsuke