Pseudo-terminal will not be allocated because stdin is not a terminal.
mkdir: created directory `/u/scratch/gluex/b1pi/2013-12-30/Linux_RHEL6-x86_64-gcc4.4.7'
`/group/halld/Software/scripts/b1pi_macros/anal1.C' -> `./anal1.C'
`/group/halld/Software/scripts/b1pi_macros/b1_pi.C' -> `./b1_pi.C'
`/group/halld/Software/scripts/b1pi_macros/b1pi_cron.sh' -> `./b1pi_cron.sh'
`/group/halld/Software/scripts/b1pi_macros/b1pi_cron.sh~' -> `./b1pi_cron.sh~'
`/group/halld/Software/scripts/b1pi_macros/b1pi.csh' -> `./b1pi.csh'
`/group/halld/Software/scripts/b1pi_macros/b1pi_gen.C' -> `./b1pi_gen.C'
`/group/halld/Software/scripts/b1pi_macros/b1pi_gen.h' -> `./b1pi_gen.h'
`/group/halld/Software/scripts/b1pi_macros/b1_pi.h' -> `./b1_pi.h'
`/group/halld/Software/scripts/b1pi_macros/b1pi_message.sh' -> `./b1pi_message.sh'
`/group/halld/Software/scripts/b1pi_macros/b1pi_one.csh' -> `./b1pi_one.csh'
`/group/halld/Software/scripts/b1pi_macros/b1pi_rec.C' -> `./b1pi_rec.C'
`/group/halld/Software/scripts/b1pi_macros/b1pi_rec.h' -> `./b1pi_rec.h'
`/group/halld/Software/scripts/b1pi_macros/fit_voigt.C' -> `./fit_voigt.C'
`/group/halld/Software/scripts/b1pi_macros/index.html' -> `./index.html'
`/group/halld/Software/scripts/b1pi_macros/makeallplots.C' -> `./makeallplots.C'
`/group/halld/Software/scripts/b1pi_macros/mass_X.C' -> `./mass_X.C'
`/group/halld/Software/scripts/b1pi_macros/mkevents.sh' -> `./mkevents.sh'
`/group/halld/Software/scripts/b1pi_macros/mkevents.sh~' -> `./mkevents.sh~'
`/group/halld/Software/scripts/b1pi_macros/mk_pics.C' -> `./mk_pics.C'
`/group/halld/Software/scripts/b1pi_macros/momentum.C' -> `./momentum.C'
`/group/halld/Software/scripts/b1pi_macros/README' -> `./README'
`/group/halld/Software/scripts/b1pi_macros/StandardLabels.C' -> `./StandardLabels.C'
`/group/halld/Software/scripts/b1pi_macros/theta.C' -> `./theta.C'
Copying /group/halld/Software/builds/nightly/2013-12-30/sim-recon/src/programs/Simulation/genr8/InputFiles/b1_pi.input ...
Running genr8 ...
Maximum number of events: 20000
Opening file b1_pi.ascii for output. 
Reading: 	beamp.x 	beamp.y 	beamp.z 	beamMass
Found: 		0.000000 	0.000000 	9.000000 	0.000000 
Reading: 	targetp.x 	targetp.y 	targetp.z 	targetMass
Found: 		0.000000 	0.000000 	0.000000 	0.938000 
Reading: t-channelSlope
Found: 	5.000000 
Reading: number of particles need to describe the decay
Found: 	12 
Reading: 	part# 	chld1# 	chld2# 	prnt# 	Id 	nchld 	mass 		width 		chrg 	flag  
Found: 		0 	-1 	-1 	-1 	14 	0 	0.938000 	0.000000 	1 	11
Found: 		1 	2 	3 	-1 	0 	2 	2.000000 	0.100000 	1 	0
Found: 		2 	4 	5 	1 	0 	2 	1.235000 	0.142000 	1 	0
Found: 		3 	4 	5 	1 	9 	0 	0.140000 	0.000000 	-1 	11
Found: 		4 	6 	7 	2 	0 	2 	0.783000 	0.009000 	0 	0
Found: 		5 	6 	7 	2 	8 	0 	0.140000 	0.000000 	1 	11
Found: 		6 	8 	9 	4 	0 	2 	0.776000 	0.150000 	0 	0
Found: 		7 	10 	11 	4 	7 	2 	0.135000 	0.000000 	0 	0
Found: 		8 	10 	11 	6 	8 	0 	0.140000 	0.000000 	1 	11
Found: 		9 	10 	11 	6 	9 	0 	0.140000 	0.000000 	-1 	11
Found: 		10 	10 	11 	7 	1 	0 	0.000000 	0.000000 	0 	11
Found: 		11 	10 	11 	7 	1 	0 	0.000000 	0.000000 	0 	11
Found EOI----  Input File appears Fine.
Calculating Lorentz Factor: 9000 
Calculating Lorentz Factor: 8000 
Calculating Lorentz Factor: 7000 
Calculating Lorentz Factor: 6000 
Calculating Lorentz Factor: 5000 
Calculating Lorentz Factor: 4000 
Calculating Lorentz Factor: 3000 
Calculating Lorentz Factor: 2000 
Calculating Lorentz Factor: 1000 
Calculating Lorentz Factor: 100 
Calculating Lorentz Factor: 90 
Calculating Lorentz Factor: 80 
Calculating Lorentz Factor: 70 
Calculating Lorentz Factor: 60 
Calculating Lorentz Factor: 50 
Calculating Lorentz Factor: 40 
Calculating Lorentz Factor: 30 
Calculating Lorentz Factor: 20 
Calculating Lorentz Factor: 10 
Calculating Lorentz Factor: 0 
Events generated: 100 Events accepted: 47 
Events generated: 200 Events accepted: 95 
Events generated: 300 Events accepted: 142 
Events generated: 400 Events accepted: 183 
Events generated: 500 Events accepted: 229 
Events generated: 600 Events accepted: 275 
Events generated: 700 Events accepted: 317 
Events generated: 800 Events accepted: 369 
Events generated: 900 Events accepted: 410 
Events generated: 1000 Events accepted: 456 
Events generated: 10000 Events accepted: 4543 
Events generated: 20000 Events accepted: 9178 
Events generated: 30000 Events accepted: 13810 
Events generated: 40000 Events accepted: 18439 
Max Lorentz Factor:0.001312 Events generated:43345 Events acepted:20000

Setting random number seed to: 1388427100
Converting generated events to HDDM ...
Wrote event 1000
Wrote event 2000
Wrote event 3000
Wrote event 4000
Wrote event 5000
Wrote event 6000
Wrote event 7000
Wrote event 8000
Wrote event 9000
Wrote event 10000
Wrote event 11000
Wrote event 12000
Wrote event 13000
Wrote event 14000
Wrote event 15000
Wrote event 16000
Wrote event 17000
Wrote event 18000
Wrote event 19000
Wrote event 20000
Wrote 20000 events to b1_pi.hddm
mv: cannot stat `output.hddm': No such file or directory
Creating control.in file ...
Running hdgeant ...



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x000000398baac8fd in waitpid () from /lib64/libc.so.6
#1  0x000000398ba3e909 in do_system () from /lib64/libc.so.6
#2  0x000000398ba3ec40 in system () from /lib64/libc.so.6
#3  0x00007f0378d2fe28 in TUnixSystem::StackTrace() () from /group/halld/Software/ExternalPackages/ROOT/v5.34.01/root_Linux_CentOS6-x86_64-gcc4.4.6/lib/libCore.so
#4  0x00007f0378d2e923 in TUnixSystem::DispatchSignals(ESignals) () from /group/halld/Software/ExternalPackages/ROOT/v5.34.01/root_Linux_CentOS6-x86_64-gcc4.4.6/lib/libCore.so
#5  <signal handler called>
#6  0x0000000000000004 in ?? ()
#7  0x00007f0379eaacaf in ccdb::Calibration::GetCalib (this=0x7fffbdde4570, values=std::vector of length -34913201514908, capacity -34911080064908 = {...}, namepath=Traceback (most recent call last):
    header = ptr.cast(reptype) - 1
#8  0x00000000007ce7bc in jana::JCalibrationGeneratorCCDB::MakeJCalibration(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#9  0x00000000007bfc45 in jana::JApplication::GetJCalibration(unsigned int) ()
#10 0x0000000000567ada in initcalibdb_ ()
#11 0x0000000000590c07 in uginit_ ()
#12 0x0000000000580e8d in hdgeant_ ()
#13 0x0000000000564974 in main ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6  0x0000000000000004 in ?? ()
#7  0x00007f0379eaacaf in ccdb::Calibration::GetCalib (this=0x7fffbdde4570, values=std::vector of length -34913201514908, capacity -34911080064908 = {...}, namepath=Traceback (most recent call last):
    header = ptr.cast(reptype) - 1
#8  0x00000000007ce7bc in jana::JCalibrationGeneratorCCDB::MakeJCalibration(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#9  0x00000000007bfc45 in jana::JApplication::GetJCalibration(unsigned int) ()
#10 0x0000000000567ada in initcalibdb_ ()
#11 0x0000000000590c07 in uginit_ ()
#12 0x0000000000580e8d in hdgeant_ ()
#13 0x0000000000564974 in main ()
===========================================================



 MZSTOR.  ZEBRA table base TAB(0) in /MZCC/ at adr    17555423     10BDFDF HEX

 MZSTOR.  Initialize Store  0  in /GCBANK/
          with Store/Table at absolute adrs    11988533    17555423
                                        HEX      B6EE35     10BDFDF
                                        HEX    FFAB0C7A           0
                              relative adrs    -5567366           0
          with     1 Str. in     2 Links in   5300 Low words in 4999970 words.
          This store has a fence of   16 words.

 MZLOGL.  Set Log Level 0 for store  0

 MZSTOR.  Initialize Store  1  in /PAWC/  
          with Store/Table at absolute adrs     6988521    11988112
                                        HEX      6AA2E9      B6EC90
                                        HEX    FF5EC12E    FFAB0CB1
                              relative adrs   -10567378    -5567311
          with     1 Str. in     1 Links in   5001 Low words in 4999990 words.
          This store has a fence of    5 words.

 MZLINK.  Initialize Link Area  /HCBOOK/  for Store  1 NL/NS=    49     4

 MZDIV.   Initialize Division  HIGZ      in Store  1
          NW/NWMAX=   10005000000,  MODE/KIND=  0  3
          Division 20 initialized.

 MZLINK.  Initialize Link Area  /HILINK/  for Store  1 NL/NS=    42     2
 Version 1.29/04 of HIGZ started
1*****  GEANT Version  3.21/14 Released on 19032002
0*****  Correction Cradle Version  0.1400

  MODE VERSION 1.00 : 


 MZDIV.   Initialize Division  Constant  in Store  0
          NW/NWMAX=   20004000000,  MODE/KIND=  1  2
          Division 20 initialized.

 MZLINK.  Initialize Link Area  /GCLINK/  for Store  0 NL/NS=    20    20

 MZLINK.  Initialize Link Area  /GCSLNK/  for Store  0 NL/NS=   100   100
Running mcsmear ...
BCAL values will  be smeared
BCAL values will  be added

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x000000398baac8be in waitpid () from /lib64/libc.so.6
#1  0x000000398ba3e909 in do_system () from /lib64/libc.so.6
#2  0x00007f3cb843fe28 in TUnixSystem::StackTrace() () from /group/halld/Software/ExternalPackages/ROOT/v5.34.01/root_Linux_CentOS6-x86_64-gcc4.4.6/lib/libCore.so
#3  0x00007f3cb843e923 in TUnixSystem::DispatchSignals(ESignals) () from /group/halld/Software/ExternalPackages/ROOT/v5.34.01/root_Linux_CentOS6-x86_64-gcc4.4.6/lib/libCore.so
#4  <signal handler called>
#5  0x00007f3cb3874cad in ccdb::Calibration::GetCalib (this=0x7ffff2643b30, values=std::vector of length -34974662566088, capacity -34973598732108 = {...}, namepath=Traceback (most recent call last):
    header = ptr.cast(reptype) - 1
#6  0x00000000005a3acc in jana::JCalibrationGeneratorCCDB::MakeJCalibration(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#7  0x0000000000594ed5 in jana::JApplication::GetJCalibration(unsigned int) ()
#8  0x000000000050f0e3 in main ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  0x00007f3cb3874cad in ccdb::Calibration::GetCalib (this=0x7ffff2643b30, values=std::vector of length -34974662566088, capacity -34973598732108 = {...}, namepath=Traceback (most recent call last):
    header = ptr.cast(reptype) - 1
#6  0x00000000005a3acc in jana::JCalibrationGeneratorCCDB::MakeJCalibration(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#7  0x0000000000594ed5 in jana::JApplication::GetJCalibration(unsigned int) ()
#8  0x000000000050f0e3 in main ()
===========================================================


Running hd_root with danarest ...
JANA >>OUTPUT_FILENAME: hd_root.root
JANA >>Initializing plugin "/group/halld/Software/builds/nightly/2013-12-30/sim-recon/lib/Linux_RHEL6-x86_64-gcc4.4.7/danarest.so" ...
Opened ROOT file "hd_root.root" ...
JANA ERROR>>
JANA ERROR>>  xxxxxxxxxxxx  Unable to open event source "hdgeant_smeared.hddm"!  xxxxxxxxxxxx
JANA ERROR>>
JANA ERROR>>   xxxxxxxxxxxx  NO VALID EVENT SOURCES GIVEN !!!   xxxxxxxJANA >>
JANA >>Telling all threads to quit ...
xxxxx  
JANA ERROR>>
JANA >>Launching threads .
JANA >>
JANA >>Telling all threads to quit ...
JANA >>Merging event reader thread ...
JANA >> 0 events processed  (0 events read) Average rate: 0.0Hz
JANA >>Closing shared object handle 0 ...

Closed ROOT file
Running hd_root with b1pi_hists ...
JANA >>OUTPUT_FILENAME: hd_root.root
JANA >>Initializing plugin "/group/halld/Software/builds/nightly/2013-12-30/sim-recon/lib/Linux_RHEL6-x86_64-gcc4.4.7/b1pi_hists.so" ...
Opened ROOT file "hd_root.root" ...
JANA ERROR>>
JANA ERROR>>  xxxxxxxxxxxx  Unable to open event source "dana_rest.hddm"!  xxxxxxxxxxxx
JANA ERROR>>
JANA ERROR>>   xxxxxxxxxxxx  NO VALID EVENT SJANA >>
JANA >>Telling all threads to quit ...
OURCES GIVEN !!!   xxxxxxxxxxxx  
JANA ERROR>>
JANA >>Launching threads .
JANA >>
JANA >>Telling all threads to quit ...
JANA >>Merging event reader thread ...
JANA >> 0 events processed  (0 events read) Average rate: 0.0Hz
JANA >>Closing shared object handle 0 ...

Closed ROOT file
Create plots