/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 215 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 = 17290 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1304.0+3704_weekly_bin679 RA = 196.008, Dec = 37.071 tmin = 649641601, tmax = 650246401 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='617118', job_status='RUN', time_executed='2021-12-08 16:49:54.870050', time_epoch_executed='1639010994.87' WHERE source_name='4FGL J1304.0+3704' and cadence='weekly' and bin_id='679' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/617118 Creating custom pfile directory: /scratch/kocevski/617118/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=649641601.0 && nMetStart<650246401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=649641601.0 && nMetStart<650246401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/617118/ft1_4FGL_J1304.0+3704_weekly_bin679.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=649641601.0 && nMetStart<650246401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/617118/ft1_4FGL_J1304.0+3704_weekly_bin679.fits outfile=/scratch/kocevski/617118/ft1_filteredMKT_4FGL_J1304.0+3704_weekly_bin679.fits ra=196.008 dec=37.071 rad=12.0 tmin=649641601.0 tmax=650246401.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 8.10 user 7.75 sys 0.29 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.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/617118/ft1_filteredMKT_4FGL_J1304.0+3704_weekly_bin679.fits evtable="EVENTS" outfile="/scratch/kocevski/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.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 0.58 user 0.40 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits" evtable="EVENTS" scfile=/scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits sctable="SC_DATA" outfile=/scratch/kocevski/617118/ltcube_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.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/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits .....................! real 30.82 user 29.89 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits evtable="EVENTS" scfile=/scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits sctable="SC_DATA" expcube=/scratch/kocevski/617118/ltcube_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.fits outfile=/scratch/kocevski/617118/expmap_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.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/617118/ltcube_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.fits .....................! real 195.06 user 188.08 sys 4.92 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/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits scfile=/scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits outfile=/scratch/kocevski/617118/cmap_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.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.64 user 0.43 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits scfile=/scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits outfile=/scratch/kocevski/617118/cmap_HighResolution_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.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.60 user 0.42 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits evtable="EVENTS" scfile=/scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617118/Model_4FGL_J1304.0+3704_weekly_bin679.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/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits.....................! real 102.78 user 101.18 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits', '/scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits', expMap='/scratch/kocevski/617118/expmap_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.fits', expCube='/scratch/kocevski/617118/ltcube_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/617118/Model_4FGL_J1304.0+3704_weekly_bin679.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/617118/ft1_filtered_4FGL_J1304.0+3704_weekly_bin679.fits Spacecraft file(s): /scratch/kocevski/617118/ft2_4FGL_J1304.0+3704_weekly_bin679.fits Exposure map: /scratch/kocevski/617118/expmap_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.fits Exposure cube: /scratch/kocevski/617118/ltcube_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/617118/Model_4FGL_J1304.0+3704_weekly_bin679.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) = 14667.2764889 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14667.1713345 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 8.4571 1.0000 .10000E-03 10000. 2 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 16.210 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' .11266E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.3916 1.0000 .10000E-03 10000. 13 'norm ' 4.5055 1.0000 .10000E-03 10000. 14 'norm ' 4.4394 1.0000 .10000E-03 10000. 15 'norm ' 7.0592 1.0000 .10000E-03 10000. 16 'norm ' .27762 1.0000 .10000E-03 10000. 17 'norm ' 4.2158 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.7330 1.0000 .10000E-03 10000. 19 'Prefactor ' .10753E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10222E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10167E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 21.750 1.0000 .10000E-03 10000. 24 'Prefactor ' 16.318 1.0000 .10000E-03 10000. 25 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 26 'norm ' .84999 1.0000 .10000E-03 10000. 27 'Prefactor ' .87477 1.0000 .10000E-03 10000. 28 'norm ' .10000E-03 1.0000 .10000E-03 10000. 29 'Normalizat' 1.3254 1.0000 .10000E-01 10.000 30 'Prefactor ' .87070 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= 14667.17 FROM MIGRAD STATUS=CONVERGED 808 CALLS 3465 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 8.4572 2.7567 .13884E-07 -.89496E-04 2 Prefactor .10000E-03 7.0477 .49931E-06** at limit ** 3 Prefactor .10000E-03 .60711 .48088E-09** at limit ** 4 Prefactor .10000E-03 2.8319 -.34921E-08** at limit ** 5 Prefactor .10000E-03 25.076 .33202E-05** at limit ** 6 Prefactor .10000E-03 2.3440 -.14221E-07** at limit ** 7 Prefactor 16.221 38.406 -.41464E-05 -.79945E-04 8 Prefactor .10000E-03 .75886 -.39312E-07** at limit ** 9 norm .10009E-03 2.7057 -.29633E-05** at limit ** 10 Prefactor .10000E-03 7.0777 -.65700E-06** at limit ** 11 Prefactor .10000E-03 4.6737 .34196E-07** at limit ** 12 Prefactor 3.3919 4.3965 .10593E-05 .30207E-03 13 norm 4.5059 2.9644 -.16213E-06 -.31047E-03 14 norm 4.4400 6.2303 .28340E-05 .13420E-02 15 norm 7.0587 3.3747 .22452E-06 .16401E-03 16 norm .28213 3.4286 -.68124E-06 -.12061E-03 17 norm 4.2158 2.4606 .70545E-07 .25357E-03 18 Prefactor 1.7325 2.4377 .45760E-06 -.23060E-03 19 Prefactor .10003E-03 9.4487 .63705E-05** at limit ** 20 Prefactor .10000E-03 70.409 -.36244E-05** at limit ** 21 Prefactor .10000E-03 17.540 .16414E-05** at limit ** 22 Prefactor .10000E-03 11.693 -.23594E-05** at limit ** 23 Prefactor 21.752 26.536 .77836E-06 .17599E-03 24 Prefactor 16.320 14.578 .30534E-06 .14603E-03 25 Prefactor .10000E-03 125.96 .51132E-05** at limit ** 26 norm .84998 .72200 .51548E-07 .30765E-03 27 Prefactor .88110 2.6819 .14741E-05 .77827E-03 28 norm .10000E-03 2.7471 -.26065E-07** at limit ** 29 Normalizat 1.3254 .11450 -.35695E-06 -.46240E-03 30 Prefactor .87064 .13799 -.34840E-06 -.24529E-03 ERR DEF= .500 Final values: norm = 8.45716 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 16.2211 Prefactor = 0.0001 norm = 0.000100095 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.39188 norm = 4.50593 norm = 4.43997 norm = 7.05871 norm = 0.282133 norm = 4.2158 Prefactor = 1.73248 Prefactor = 0.000100032 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 21.7521 Prefactor = 16.32 Prefactor = 0.0001 norm = 0.849978 Prefactor = 0.881096 norm = 0.0001 Normalizat = 1.3254 Prefactor = 0.870638 ********** ** 18 **HESSE ********** FCN= 14667.17 FROM HESSE STATUS=OK 598 CALLS 4063 TOTAL EDM= .25E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 8.4572 2.7444 .11118E-03 -1.5126 2 Prefactor .10000E-03 7.3185 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 .62252 .18346E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 2.8473 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 25.431 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 2.3449 .18108E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 16.221 38.590 .99479E-04 -1.4902 8 Prefactor .10000E-03 .76135 .10302E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .10009E-03 1.2904 .44907E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 7.0836 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 4.6801 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.3919 4.4015 .21969E-03 -1.5340 13 norm 4.5059 2.9528 .16065E-03 -1.5283 14 norm 4.4400 6.7287 .95560E-03 -1.5287 15 norm 7.0587 3.9378 .57094E-03 -1.5177 16 norm .28213 16.768 .33335E-02 -1.5602 17 norm 4.2158 2.4583 .14065E-03 -1.5297 18 Prefactor 1.7325 2.2833 .19404E-03 -1.5445 19 Prefactor .10003E-03 19.697 .46189E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 72.071 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 17.559 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 11.963 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 21.752 26.413 .85885E-04 -1.4775 24 Prefactor 16.320 14.574 .99148E-04 -1.4900 25 Prefactor .10000E-03 127.85 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .84998 .71135 .91113E-04 -1.5524 27 Prefactor .88110 2.7298 .33973E-03 -1.5520 28 norm .10000E-03 2.7583 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Normalizat 1.3254 .13825 .21975E-03 -.82811 30 Prefactor .87064 .16569 .32113E-03 -.97175 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.53772e-07 Minuit parameter uncertainties: 1 2.74442 2 3.45218e-06 3 6.34424e-08 4 2.13291e-06 5 0.000152425 6 9.65737e-07 7 38.6493 8 2.022e-06 9 0.000699333 10 3.02501e-05 11 9.25008e-06 12 4.40187 13 2.95294 14 6.72987 15 3.93796 16 4.35057 17 2.45835 18 2.28343 19 0.00160012 20 7.47334e-05 21 9.32627e-05 22 2.54904e-05 23 26.427 24 14.5767 25 0.00042502 26 0.711356 27 2.73016 28 1.75985e-06 29 0.138289 30 0.165787 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14667.1713299 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 3.392e+00 4.402e+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 GAL_V02 Spectrum: PowerLaw 596 Prefactor: 8.706e-01 1.658e-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.325e+00 1.383e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.29 Ra Dec: 196.008 37.071 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 6.96e-09 +/- 9.02e-09 Energy Flux (Fixed Index): 2.18e-06 +/- 2.83e-06 TS (Fixed Index): 1.29 Ra Dec: 196.008 37.071 Photon Flux Upper Limit: 3.61e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.80e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/617118/likelihoodResults_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.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) = 14666.1452862 delta logL = 1.02604372447 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14666.1271224 delta logL = 1.04420758336 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.0842 1.0000 .10000E-03 10000. 2 'Index ' 1.3818 1.0000 .0000 10.000 3 'Normalizat' 1.3306 1.0000 .10000E-01 10.000 4 'Prefactor ' .86670 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. FCN= 14666.13 FROM MIGRAD STATUS=CONVERGED 57 CALLS 219 TOTAL EDM= .19E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.0874 4.4482 .49873E-02 -.23272E-03 2 Index 1.3819 .44305 .31318 -.10515E-03 3 Normalizat 1.3306 .11196 .49620E-01 .53567E-05 4 Prefactor .86670 .13649 .72701E-01 .47990E-04 ERR DEF= .500 Final values: Prefactor = 4.08737 Index = 1.38194 Normalizat = 1.33058 Prefactor = 0.866699 ********** ** 18 **HESSE ********** FCN= 14666.13 FROM HESSE STATUS=OK 33 CALLS 252 TOTAL EDM= .60E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.0874 5.2367 .19949E-03 -1.5304 2 Index 1.3819 .63381 .15001E-01 -.80902 3 Normalizat 1.3306 .13453 .21937E-03 -.82658 4 Prefactor .86670 .16377 .32171E-03 -.97315 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.03728e-09 Minuit parameter uncertainties: 1 5.23724 2 0.637426 3 0.134565 4 0.163862 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/617118': 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) = 14666.1271222 delta logL = 1.044207764 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 4.087e+00 5.237e+00 1.000e-04 1.000e+04 ( 1.000e-13) 314 Index: 1.382e+00 6.374e-01 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: 8.667e-01 1.639e-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.331e+00 1.346e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.38 Ra Dec: 196.008 37.071 Photon Index (Free Index): 1.38 +/- 0.64 Photon Flux (Free Index): 2.50e-09 +/- 3.43e-09 Energy Flux (Free Index): 1.17e-05 +/- 1.93e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/617118/cmap_HighResolution_649641601_650246401_4FGL_J1304.0+3704_weekly_bin679.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/617118 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-03', comment='SUCCESS', photon_flux='6.96e-09', energy_flux2='1.17e-05', photon_flux_error='9.02e-09', dlogl='1.04e+00', energy_flux='2.18e-06', photon_flux2='2.50e-09', job_status='DONE', time_completed='2021-12-08 17:16:00.270383', photon_index_error2='0.64', photon_index2='1.38', ts='1.29', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.61e-08', energy_flux_error2='1.93e-05', EG='1.33', time_epoch_completed='1639012560.27', return_code='0', job_id='617118', GAL2='0.87', EG2='1.33', return_code2='0', energy_flux_error='2.83e-06', photon_flux_error2='3.43e-09', ts2='3.38', photon_index='2.44' WHERE bin_id='679' AND source_name='4FGL J1304.0+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Dec 8 17:16:00 PST 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 617118: <4FGL_J1304.0+3704_weekly_bin679> in cluster Done Job <4FGL_J1304.0+3704_weekly_bin679> was submitted from host by user in cluster at Wed Dec 8 16:40:30 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Dec 8 16:46:12 2021 was used as the home directory. was used as the working directory. Started at Wed Dec 8 16:46:12 2021 Terminated at Wed Dec 8 17:16:00 2021 Results reported at Wed Dec 8 17:16:00 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1304.0+3704_weekly_bin679 196.008 37.071 649641601 650246401 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 : 1559.33 sec. Max Memory : 632 MB Average Memory : 288.10 MB Total Requested Memory : - Delta Memory : - Max Swap : 2934 MB Max Processes : 6 Max Threads : 21 Run time : 1788 sec. Turnaround time : 2130 sec. The output (if any) is above this job summary.