write single var hmm log to file