print prun command in analyze_grid