Add nAvg>0 condition for writing a new nActiveSpecies.out line.
nAvg could be zero if every cell in this proc gets a retrieved solution