#!/bin/csh

rm -f Euppp_R*.gif
rm -f Euppp_R*.ps
rm -f Euppp_R*.sm
/home/colin/research/analysis/RUN/pot_two_exp_fit_run << END
/home1/REFINED_DATA/su3/B30_AR3_15x15x15x45/B30_AR3_15x15x15x45_refbins
fits_Euppp.log
y
/home1/REFINED_DATA/su3/B30_AR3_15x15x15x45/B30_AR3_15x15x15x45_effmass
0
10
4
2
1
10
4
0
1

2
7
2
15
1
1024
n
n
y
4
Euppp_R1
n

2
2
10
4
0
1

2
7
2
15
1
1024
n
n
y
4
Euppp_R2
n

2
3
10
4
0
1

2
7
2
15
1
1024
n
n
y
4
Euppp_R3
n

2
4
10
4
0
1

2
7
2
12
1
1024
n
n
y
4
Euppp_R4
n

2
5
10
4
0
1

2
7
2
15
1
1024
n
n
y
4
Euppp_R5
n

2
6
10
4
0
1

2
7
2
13
1
1024
n
n
y
4
Euppp_R6
n

2
7
10
4
0
1

2
7
2
15
1
1024
n
n
y
4
Euppp_R7
n

2
8
10
4
0
1

2
7
2
15
1
1024
n
n
y
4
Euppp_R8
n

2
9
10
4
0
1

2
7
2
15
1
1024
n
n
y
4
Euppp_R9
n

9
END
/usr/local/bin/ps2gif Euppp_R1
/usr/local/bin/ps2gif Euppp_R2
/usr/local/bin/ps2gif Euppp_R3
/usr/local/bin/ps2gif Euppp_R4
/usr/local/bin/ps2gif Euppp_R5
/usr/local/bin/ps2gif Euppp_R6
/usr/local/bin/ps2gif Euppp_R7
/usr/local/bin/ps2gif Euppp_R8
/usr/local/bin/ps2gif Euppp_R9
grep "R=" Euppp_R1.sm >! Euppp_res.dat
grep "E=" Euppp_R1.sm >> Euppp_res.dat
grep "Q=" Euppp_R1.sm >> Euppp_res.dat
grep "R=" Euppp_R2.sm >> Euppp_res.dat
grep "E=" Euppp_R2.sm >> Euppp_res.dat
grep "Q=" Euppp_R2.sm >> Euppp_res.dat
grep "R=" Euppp_R3.sm >> Euppp_res.dat
grep "E=" Euppp_R3.sm >> Euppp_res.dat
grep "Q=" Euppp_R3.sm >> Euppp_res.dat
grep "R=" Euppp_R4.sm >> Euppp_res.dat
grep "E=" Euppp_R4.sm >> Euppp_res.dat
grep "Q=" Euppp_R4.sm >> Euppp_res.dat
grep "R=" Euppp_R5.sm >> Euppp_res.dat
grep "E=" Euppp_R5.sm >> Euppp_res.dat
grep "Q=" Euppp_R5.sm >> Euppp_res.dat
grep "R=" Euppp_R6.sm >> Euppp_res.dat
grep "E=" Euppp_R6.sm >> Euppp_res.dat
grep "Q=" Euppp_R6.sm >> Euppp_res.dat
grep "R=" Euppp_R7.sm >> Euppp_res.dat
grep "E=" Euppp_R7.sm >> Euppp_res.dat
grep "Q=" Euppp_R7.sm >> Euppp_res.dat
grep "R=" Euppp_R8.sm >> Euppp_res.dat
grep "E=" Euppp_R8.sm >> Euppp_res.dat
grep "Q=" Euppp_R8.sm >> Euppp_res.dat
grep "R=" Euppp_R9.sm >> Euppp_res.dat
grep "E=" Euppp_R9.sm >> Euppp_res.dat
grep "Q=" Euppp_R9.sm >> Euppp_res.dat
echo " " >> Euppp_res.dat
grep "*** Final fit result" fits_Euppp.log >> Euppp_res.dat
