write result to file immediately
results of grid search