#!/bin/csh

rm -f Eu_R*.gif
rm -f Eu_R*.ps
rm -f Eu_R*.sm
/home/colin/research/analysis/RUN/pot_two_exp_fit_run << END
/home1/REFINED_DATA/su3/B300_AR3/ref_B300_AR3_S
fits_Eu.log
n
0
10
1
2
1
4
1

7
1
15
1
1024
n
n
y
4
Eu_R1
n

2
2
4
1

7
1
15
1
1024
n
n
y
4
Eu_R2
n

2
3
4
1

7
1
15
1
1024
n
n
y
4
Eu_R3
n

2
4
4
1

7
1
15
1
1024
n
n
y
4
Eu_R4
n

2
5
4
1

7
1
15
1
1024
n
n
y
4
Eu_R5
n

2
6
4
1

7
1
15
1
1024
n
n
y
4
Eu_R6
n

2
7
4
1

7
1
15
1
1024
n
n
y
4
Eu_R7
n

2
8
4
1

7
1
15
1
1024
n
n
y
4
Eu_R8
n

2
9
4
1

7
1
15
1
1024
n
n
y
4
Eu_R9
n

2
10
4
1

7
1
15
1
1024
n
n
y
4
Eu_R10
n

9
END
/usr/local/bin/ps2gif Eu_R1
/usr/local/bin/ps2gif Eu_R2
/usr/local/bin/ps2gif Eu_R3
/usr/local/bin/ps2gif Eu_R4
/usr/local/bin/ps2gif Eu_R5
/usr/local/bin/ps2gif Eu_R6
/usr/local/bin/ps2gif Eu_R7
/usr/local/bin/ps2gif Eu_R8
/usr/local/bin/ps2gif Eu_R9
/usr/local/bin/ps2gif Eu_R10
grep "R=" Eu_R1.sm >! Eu_res.dat
grep "E=" Eu_R1.sm >> Eu_res.dat
grep "Q=" Eu_R1.sm >> Eu_res.dat
grep "R=" Eu_R2.sm >> Eu_res.dat
grep "E=" Eu_R2.sm >> Eu_res.dat
grep "Q=" Eu_R2.sm >> Eu_res.dat
grep "R=" Eu_R3.sm >> Eu_res.dat
grep "E=" Eu_R3.sm >> Eu_res.dat
grep "Q=" Eu_R3.sm >> Eu_res.dat
grep "R=" Eu_R4.sm >> Eu_res.dat
grep "E=" Eu_R4.sm >> Eu_res.dat
grep "Q=" Eu_R4.sm >> Eu_res.dat
grep "R=" Eu_R5.sm >> Eu_res.dat
grep "E=" Eu_R5.sm >> Eu_res.dat
grep "Q=" Eu_R5.sm >> Eu_res.dat
grep "R=" Eu_R6.sm >> Eu_res.dat
grep "E=" Eu_R6.sm >> Eu_res.dat
grep "Q=" Eu_R6.sm >> Eu_res.dat
grep "R=" Eu_R7.sm >> Eu_res.dat
grep "E=" Eu_R7.sm >> Eu_res.dat
grep "Q=" Eu_R7.sm >> Eu_res.dat
grep "R=" Eu_R8.sm >> Eu_res.dat
grep "E=" Eu_R8.sm >> Eu_res.dat
grep "Q=" Eu_R8.sm >> Eu_res.dat
grep "R=" Eu_R9.sm >> Eu_res.dat
grep "E=" Eu_R9.sm >> Eu_res.dat
grep "Q=" Eu_R9.sm >> Eu_res.dat
grep "R=" Eu_R10.sm >> Eu_res.dat
grep "E=" Eu_R10.sm >> Eu_res.dat
grep "Q=" Eu_R10.sm >> Eu_res.dat
echo " " >> Eu_res.dat
grep "*** Final fit result" fits_Eu.log >> Eu_res.dat
