/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 101 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7533 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1304.0+3704_daily_bin1216 RA = 196.008, Dec = 37.071 tmin = 554515201, tmax = 554774401 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='192608', job_status='RUN', time_executed='2021-09-06 19:57:47.357868', time_epoch_executed='1630983467.36' WHERE source_name='4FGL J1304.0+3704' and cadence='daily' and bin_id='1216' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/192608 Creating custom pfile directory: /scratch/kocevski/192608/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=554515201.0 && nMetStart<554774401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=554515201.0 && nMetStart<554774401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/192608/ft1_4FGL_J1304.0+3704_daily_bin1216.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=554515201.0 && nMetStart<554774401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/192608/ft1_4FGL_J1304.0+3704_daily_bin1216.fits outfile=/scratch/kocevski/192608/ft1_filteredMKT_4FGL_J1304.0+3704_daily_bin1216.fits ra=196.008 dec=37.071 rad=12.0 tmin=554515201.0 tmax=554774401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.15 user 3.87 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/192608/ft1_filteredMKT_4FGL_J1304.0+3704_daily_bin1216.fits evtable="EVENTS" outfile="/scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.42 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits" evtable="EVENTS" scfile=/scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits sctable="SC_DATA" outfile=/scratch/kocevski/192608/ltcube_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits .....................! real 16.15 user 15.30 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits evtable="EVENTS" scfile=/scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits sctable="SC_DATA" expcube=/scratch/kocevski/192608/ltcube_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits outfile=/scratch/kocevski/192608/expmap_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/192608/ltcube_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits .....................! real 192.74 user 186.76 sys 4.69 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 187 point sources and 0 extended sources Setting source of interest to: 4FGL J1304.0+3704 @ 196.008 37.071 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits scfile=/scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits outfile=/scratch/kocevski/192608/cmap_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=196.008 yref=37.071 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits scfile=/scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits outfile=/scratch/kocevski/192608/cmap_HighResolution_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=196.008 yref=37.071 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits evtable="EVENTS" scfile=/scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192608/Model_4FGL_J1304.0+3704_daily_bin1216.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits......................! real 31.46 user 28.82 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits', '/scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits', expMap='/scratch/kocevski/192608/expmap_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits', expCube='/scratch/kocevski/192608/ltcube_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/192608/Model_4FGL_J1304.0+3704_daily_bin1216.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1304.0+3704' 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 2.111e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/192608/ft1_filtered_4FGL_J1304.0+3704_daily_bin1216.fits Spacecraft file(s): /scratch/kocevski/192608/ft2_4FGL_J1304.0+3704_daily_bin1216.fits Exposure map: /scratch/kocevski/192608/expmap_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits Exposure cube: /scratch/kocevski/192608/ltcube_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/192608/Model_4FGL_J1304.0+3704_daily_bin1216.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2635.13454983 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2635.09045345 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 12.168 1.0000 .10000E-03 10000. 2 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.6283 1.0000 .10000E-03 10000. 4 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .12652E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 13.969 1.0000 .10000E-03 10000. 7 'Prefactor ' .10200E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10110E-03 1.0000 .10000E-03 10000. 9 'norm ' .10004E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 55.263 1.0000 .10000E-03 10000. 13 'norm ' 6.4366 1.0000 .10000E-03 10000. 14 'norm ' .10002E-03 1.0000 .10000E-03 10000. 15 'norm ' 18.699 1.0000 .10000E-03 10000. 16 'norm ' .10001E-03 1.0000 .10000E-03 10000. 17 'norm ' 8.0037 1.0000 .10000E-03 10000. 18 'Prefactor ' .58802 1.0000 .10000E-03 10000. 19 'Prefactor ' .73524E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .13490E-01 1.0000 .10000E-03 10000. 21 'Prefactor ' 84.130 1.0000 .10000E-03 10000. 22 'Prefactor ' 14.399 1.0000 .10000E-03 10000. 23 'Prefactor ' .13260E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 24.954 1.0000 .10000E-03 10000. 25 'Prefactor ' .10226E-03 1.0000 .10000E-03 10000. 26 'norm ' .10158E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 3.3377 1.0000 .10000E-03 10000. 28 'norm ' 14.243 1.0000 .10000E-03 10000. 29 'Normalizat' .30713 1.0000 .10000E-01 10.000 30 'Prefactor ' 1.4780 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 2635.090 FROM MIGRAD STATUS=CONVERGED 766 CALLS 4616 TOTAL EDM= .40E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 12.168 5.4550 .60113E-08 -.22729E-04 2 Prefactor .10000E-03 6.0819 -.68577E-07** at limit ** 3 Prefactor 1.6283 1.6169 -.23424E-07 .51528E-05 4 Prefactor .10000E-03 4.6149 -.26820E-07** at limit ** 5 Prefactor .10000E-03 234.82 .28251E-06** at limit ** 6 Prefactor 13.957 40.681 .18199E-06 -.19609E-04 7 Prefactor .10000E-03 56.006 -.13333E-06** at limit ** 8 Prefactor .10000E-03 6.1945 .26589E-06** at limit ** 9 norm .10000E-03 3.1659 .80878E-07** at limit ** 10 Prefactor .10000E-03 95.487 -.70786E-07** at limit ** 11 Prefactor .10000E-03 15.365 .16752E-06** at limit ** 12 Prefactor 55.294 47.184 -.10005E-05 -.18898E-03 13 norm 6.4359 8.3181 -.27018E-06 -.21881E-03 14 norm .10000E-03 16.890 .17538E-07** at limit ** 15 norm 18.701 8.4387 -.74913E-06 -.69415E-03 16 norm .10000E-03 4.6310 .24500E-06** at limit ** 17 norm 7.9878 25.001 -.11829E-04 .15347E-04 18 Prefactor .58231 10.726 .34988E-05 -.53226E-03 19 Prefactor .10001E-03 29.510 -.16367E-05** at limit ** 20 Prefactor .10000E-03 1117.7 .55312E-05** at limit ** 21 Prefactor 84.141 98.826 -.35178E-05 -.12183E-03 22 Prefactor 14.389 36.431 -.68464E-06 -.61068E-04 23 Prefactor .10000E-03 203.13 .67314E-06** at limit ** 24 Prefactor 24.965 46.574 .15227E-06 -.22956E-04 25 Prefactor .10000E-03 52.967 .15280E-06** at limit ** 26 norm .10000E-03 5.5262 -.15493E-06** at limit ** 27 Prefactor 3.3368 8.3639 .32648E-06 -.68661E-04 28 norm 14.246 35.813 .27709E-07 -.59931E-05 29 Normalizat .30669 .32834 -.72977E-06 -.14578E-03 30 Prefactor 1.4786 .36235 -.33504E-06 -.20392E-03 ERR DEF= .500 Final values: norm = 12.1676 Prefactor = 0.0001 Prefactor = 1.62828 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 13.9566 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 55.2942 norm = 6.43587 norm = 0.0001 norm = 18.7006 norm = 0.0001 norm = 7.98782 Prefactor = 0.58231 Prefactor = 0.000100007 Prefactor = 0.0001 Prefactor = 84.1415 Prefactor = 14.3892 Prefactor = 0.000100001 Prefactor = 24.9654 Prefactor = 0.0001 norm = 0.000100001 Prefactor = 3.33676 norm = 14.2463 Normalizat = 0.306687 Prefactor = 1.47859 ********** ** 18 **HESSE ********** FCN= 2635.090 FROM HESSE STATUS=OK 584 CALLS 5200 TOTAL EDM= .17E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 12.168 5.4428 .77058E-04 -1.5010 2 Prefactor .10000E-03 6.0917 .12362E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.6283 1.6353 .62997E-04 -1.5453 4 Prefactor .10000E-03 4.6361 .10770E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 234.89 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 13.957 40.734 .10717E-03 -1.4961 7 Prefactor .10000E-03 56.050 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 6.1996 .12472E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .10000E-03 3.1748 .89178E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 95.500 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 15.370 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 55.294 46.597 .53959E-04 -1.4219 13 norm 6.4359 8.3398 .15282E-03 -1.5201 14 norm .10000E-03 16.892 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 18.701 8.3470 .85498E-04 -1.4843 16 norm .10000E-03 4.6429 .10784E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 7.9878 24.817 .14172E-03 -1.5143 18 Prefactor .58231 24.500 .21287E-02 -1.5555 19 Prefactor .10001E-03 127.93 .43069E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 1117.5 .18181E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 84.141 98.687 .21898E-03 -1.3871 22 Prefactor 14.389 36.003 .10555E-03 -1.4949 23 Prefactor .10000E-03 203.17 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 24.965 46.141 .80190E-04 -1.4708 25 Prefactor .10000E-03 52.972 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .10000E-03 10.960 .23426E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 3.3368 8.2610 .21174E-03 -1.5343 28 norm 14.246 35.769 .10613E-03 -1.4953 29 Normalizat .30669 .32707 .41200E-03 -1.2244 30 Prefactor 1.4786 .38005 .24148E-03 -.78141 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.68966e-09 Minuit parameter uncertainties: 1 5.44302 2 3.84597e-06 3 1.63536 4 2.12903e-06 5 0.000439394 6 40.8157 7 7.9195e-05 8 6.66392e-06 9 4.96101e-06 10 7.14947e-05 11 9.66558e-06 12 46.6276 13 8.34129 14 4.05309e-06 15 8.3475 16 1.22657e-05 17 24.8486 18 7.55693 19 0.00186599 20 0.0007027 21 98.8803 22 36.0571 23 0.00100203 24 46.2072 25 0.000105741 26 0.000172011 27 8.26378 28 35.8227 29 0.329135 30 0.380779 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2635.09044292 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 5.529e+01 4.663e+01 1.000e-04 1.000e+04 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.479e+00 3.808e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 3.067e-01 3.291e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.34 Ra Dec: 196.008 37.071 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 1.13e-07 +/- 9.56e-08 Energy Flux (Fixed Index): 3.55e-05 +/- 2.99e-05 TS (Fixed Index): 2.34 Ra Dec: 196.008 37.071 Photon Flux Upper Limit: 2.98e-07 ph cm-2 s-1 Energy Flux Upper Limit: 2.31e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/192608/likelihoodResults_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 2633.49031967 delta logL = 1.60012325303 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 2633.47943967 delta logL = 1.6110032541 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.3579 1.0000 .10000E-03 10000. 2 'Index ' 4.1913 1.0000 .0000 10.000 3 'Normalizat' .13134 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.6381 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 2633.479 FROM MIGRAD STATUS=CONVERGED 81 CALLS 319 TOTAL EDM= .10E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.3532 162.70 .57625E-04 -.20300E-02 2 Index 4.1920 7.0242 .25148E-02 -.50858E-03 3 Normalizat .13055 .35098 .62113E-03 -.33821E-03 4 Prefactor 1.6389 .44218 .23105E-03 -.10201E-02 ERR DEF= .500 Final values: Prefactor = 5.35322 Index = 4.19202 Normalizat = 0.130546 Prefactor = 1.63892 ********** ** 18 **HESSE ********** FCN= 2633.479 FROM HESSE STATUS=OK 23 CALLS 342 TOTAL EDM= .29E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.3532 11.852 .11525E-04 -1.5245 2 Index 4.1920 1.1430 .10059E-03 -.16231 3 Normalizat .13055 .31824 .24845E-04 -1.3507 4 Prefactor 1.6389 .38574 .46209E-04 -.73720 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.88563e-09 Minuit parameter uncertainties: 1 11.8572 2 1.15349 3 0.322939 4 0.386437 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/192608': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 2633.47943661 delta logL = 1.61100631001 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 5.353e+00 1.186e+01 1.000e-04 1.000e+04 ( 1.000e-13) 314 Index: 4.192e+00 1.153e+00 0.000e+00 1.000e+01 (-1.000e+00) 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.639e+00 3.864e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 1.305e-01 3.229e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 6.31 Ra Dec: 196.008 37.071 Photon Index (Free Index): 4.19 +/- 1.15 Photon Flux (Free Index): 2.99e-07 +/- 1.68e-07 Energy Flux (Free Index): 4.34e-05 +/- 2.32e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/192608/cmap_HighResolution_554515201_554774401_4FGL_J1304.0+3704_daily_bin1216.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/192608 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-02', comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='4.34e-05', photon_flux_error='9.56e-08', dlogl='1.61e+00', energy_flux='3.55e-05', photon_flux2='2.99e-07', job_status='DONE', time_completed='2021-09-06 20:07:57.634705', photon_index_error2='1.15', photon_index2='4.19', ts='2.34', fit_tolerance='1e-08', GAL='1.48', photon_index_error='0.00', photon_flux_upper_limit='2.98e-07', energy_flux_error2='2.32e-05', EG='0.31', time_epoch_completed='1630984077.63', return_code='0', job_id='192608', GAL2='1.64', EG2='0.13', return_code2='0', energy_flux_error='2.99e-05', photon_flux_error2='1.68e-07', ts2='6.31', photon_index='2.44' WHERE bin_id='1216' AND source_name='4FGL J1304.0+3704' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 6 20:07:57 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 192608: <4FGL_J1304.0+3704_daily_bin1216> in cluster Done Job <4FGL_J1304.0+3704_daily_bin1216> was submitted from host by user in cluster at Mon Sep 6 19:55:49 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 6 19:55:57 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 6 19:55:57 2021 Terminated at Mon Sep 6 20:07:58 2021 Results reported at Mon Sep 6 20:07:58 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1304.0+3704_daily_bin1216 196.008 37.071 554515201 554774401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1304.0+3704 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 576.23 sec. Max Memory : 1256 MB Average Memory : 325.35 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 720 sec. Turnaround time : 729 sec. The output (if any) is above this job summary.