#!/bin/csh

rm -f Eup_gap_R*.gif
rm -f Eup_gap_R*.ps
rm -f Eup_gap_R*.sm
/home/colin/research/analysis/RUN/pot_sitwo_exp_fit_run << END
/home1/REFINED_DATA/su3_lgt4/B300_AR3/B30_AR3_REFBINS
fits_Eup_gap.log
y
/home1/REFINED_DATA/su3_lgt4/B300_AR3/B30_AR3_effmass
0
10
2
3
1
5
1

1
8
1
9
1
14
1
222
n
n
y
4
Eup_gap_R1
n

3
2
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R2
n

3
3
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R3
n

3
4
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R4
n

3
5
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R5
n

3
6
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R6
n

3
7
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R7
n

3
8
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R8
n

3
9
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R9
n

3
10
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R10
n

3
11
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R11
n

3
12
5
1

1
8
1
14
1
14
1
222
n
n
y
4
Eup_gap_R12
n

9
END
/usr/local/bin/ps2gif Eup_gap_R1
/usr/local/bin/ps2gif Eup_gap_R2
/usr/local/bin/ps2gif Eup_gap_R3
/usr/local/bin/ps2gif Eup_gap_R4
/usr/local/bin/ps2gif Eup_gap_R5
/usr/local/bin/ps2gif Eup_gap_R6
/usr/local/bin/ps2gif Eup_gap_R7
/usr/local/bin/ps2gif Eup_gap_R8
/usr/local/bin/ps2gif Eup_gap_R9
/usr/local/bin/ps2gif Eup_gap_R10
/usr/local/bin/ps2gif Eup_gap_R11
/usr/local/bin/ps2gif Eup_gap_R12
grep "R=" Eup_gap_R1.sm >! Eup_gap_res.dat
grep "Delta" Eup_gap_R1.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R1.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R2.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R2.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R2.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R3.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R3.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R3.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R4.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R4.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R4.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R5.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R5.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R5.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R6.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R6.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R6.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R7.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R7.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R7.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R8.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R8.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R8.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R9.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R9.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R9.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R10.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R10.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R10.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R11.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R11.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R11.sm >> Eup_gap_res.dat
grep "R=" Eup_gap_R12.sm >> Eup_gap_res.dat
grep "Delta" Eup_gap_R12.sm >> Eup_gap_res.dat
grep "Q=" Eup_gap_R12.sm >> Eup_gap_res.dat
echo " " >> Eup_gap_res.dat
grep "*** Final fit result" fits_Eup_gap.log >> Eup_gap_res.dat
