flushing at end of csv write
added script to extract all log-likelihoods from all chains in a db dir