add diagnostic_file option to fun stan as in Stan