#!/bin/csh

rm -f A1g_gap_R*.gif
rm -f A1g_gap_R*.ps
rm -f A1g_gap_R*.sm
/home/colin/research/analysis/RUN/pot_sitwo_exp_fit_run << END
/home1/REFINED_DATA/su3/B250_AR5_B/ref5_B25AR5
fits_A1g_gap.log
y
/home1/REFINED_DATA/su3/B250_AR5_B/effmass5
0
1
1
3
3
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R3
n

3
4
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R4
n

3
5
5
1

1
8
1
11
1
11
1
512
n
n
y
4
A1g_gap_R5
n

3
6
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R6
n

3
7
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R7
n

3
8
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R8
n

3
9
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R9
n

3
10
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R10
n

3
11
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R11
n

3
12
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R12
n

3
13
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R13
n

3
14
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R14
n

3
15
5
1

1
8
1
12
1
12
1
512
n
n
y
4
A1g_gap_R15
n

3
16
5
1

1
8
1
10
1
10
1
512
n
n
y
4
A1g_gap_R16
n

3
17
5
1

1
8
1
10
1
10
1
512
n
n
y
4
A1g_gap_R17
n

3
18
5
1

1
8
1
10
1
10
1
512
n
n
y
4
A1g_gap_R18
n

3
19
5
1

1
8
1
8
1
8
1
512
n
n
y
4
A1g_gap_R19
n

3
20
5
1

1
8
1
8
1
8
1
512
n
n
y
4
A1g_gap_R20
n

9
END
/usr/local/bin/ps2gif A1g_gap_R3
/usr/local/bin/ps2gif A1g_gap_R4
/usr/local/bin/ps2gif A1g_gap_R5
/usr/local/bin/ps2gif A1g_gap_R6
/usr/local/bin/ps2gif A1g_gap_R7
/usr/local/bin/ps2gif A1g_gap_R8
/usr/local/bin/ps2gif A1g_gap_R9
/usr/local/bin/ps2gif A1g_gap_R10
/usr/local/bin/ps2gif A1g_gap_R11
/usr/local/bin/ps2gif A1g_gap_R12
/usr/local/bin/ps2gif A1g_gap_R13
/usr/local/bin/ps2gif A1g_gap_R14
/usr/local/bin/ps2gif A1g_gap_R15
/usr/local/bin/ps2gif A1g_gap_R16
/usr/local/bin/ps2gif A1g_gap_R17
/usr/local/bin/ps2gif A1g_gap_R18
/usr/local/bin/ps2gif A1g_gap_R19
/usr/local/bin/ps2gif A1g_gap_R20
grep "R=" A1g_gap_R3.sm >! A1g_gap_res.dat
grep "Delta" A1g_gap_R3.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R3.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R4.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R4.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R4.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R5.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R5.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R5.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R6.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R6.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R6.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R7.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R7.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R7.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R8.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R8.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R8.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R9.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R9.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R9.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R10.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R10.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R10.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R11.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R11.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R11.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R12.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R12.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R12.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R13.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R13.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R13.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R14.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R14.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R14.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R15.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R15.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R15.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R16.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R16.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R16.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R17.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R17.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R17.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R18.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R18.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R18.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R19.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R19.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R19.sm >> A1g_gap_res.dat
grep "R=" A1g_gap_R20.sm >> A1g_gap_res.dat
grep "Delta" A1g_gap_R20.sm >> A1g_gap_res.dat
grep "Q=" A1g_gap_R20.sm >> A1g_gap_res.dat
echo " " >> A1g_gap_res.dat
grep "*** Final fit result" fits_A1g_gap.log >> A1g_gap_res.dat
