#!/bin/csh

rm -f Euppp_gap_R*.gif
rm -f Euppp_gap_R*.ps
rm -f Euppp_gap_R*.sm
/home/colin/research/analysis/RUN/pot_sitwo_exp_fit_run << END
/home1/REFINED_DATA/su3/B30_AR3_15x15x15x45/B30_AR3_15x15x15x45_refbins
fits_Euppp_gap.log
y
/home1/REFINED_DATA/su3/B30_AR3_15x15x15x45/B30_AR3_15x15x15x45_effmass
0
10
4
3
1
10
4
0
1

1
8
2
8
2
15
1
512
n
n
y
4
Euppp_gap_R1
n

3
2
10
4
0
1

1
8
2
15
2
15
1
512
n
n
y
4
Euppp_gap_R2
n

3
3
10
4
0
1

1
8
2
15
2
15
1
512
n
n
y
4
Euppp_gap_R3
n

3
4
10
4
0
1

1
8
2
15
2
12
1
512
n
n
y
4
Euppp_gap_R4
n

3
5
10
4
0
1

1
8
2
13
2
15
1
512
n
n
y
4
Euppp_gap_R5
n

3
6
10
4
0
1

1
8
2
13
2
13
1
512
n
n
y
4
Euppp_gap_R6
n

3
7
10
4
0
1

1
8
2
12
2
15
1
512
n
n
y
4
Euppp_gap_R7
n

3
8
10
4
0
1

1
8
2
10
2
15
1
512
n
n
y
4
Euppp_gap_R8
n

3
9
10
4
0
1

1
8
2
12
2
15
1
512
n
n
y
4
Euppp_gap_R9
n

9
END
/usr/local/bin/ps2gif Euppp_gap_R1
/usr/local/bin/ps2gif Euppp_gap_R2
/usr/local/bin/ps2gif Euppp_gap_R3
/usr/local/bin/ps2gif Euppp_gap_R4
/usr/local/bin/ps2gif Euppp_gap_R5
/usr/local/bin/ps2gif Euppp_gap_R6
/usr/local/bin/ps2gif Euppp_gap_R7
/usr/local/bin/ps2gif Euppp_gap_R8
/usr/local/bin/ps2gif Euppp_gap_R9
grep "R=" Euppp_gap_R1.sm >! Euppp_gap_res.dat
grep "Delta" Euppp_gap_R1.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R1.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R2.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R2.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R2.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R3.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R3.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R3.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R4.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R4.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R4.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R5.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R5.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R5.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R6.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R6.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R6.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R7.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R7.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R7.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R8.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R8.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R8.sm >> Euppp_gap_res.dat
grep "R=" Euppp_gap_R9.sm >> Euppp_gap_res.dat
grep "Delta" Euppp_gap_R9.sm >> Euppp_gap_res.dat
grep "Q=" Euppp_gap_R9.sm >> Euppp_gap_res.dat
echo " " >> Euppp_gap_res.dat
grep "*** Final fit result" fits_Euppp_gap.log >> Euppp_gap_res.dat
