/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 131 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 = 7371 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0159.5+1046_daily_bin912 RA = 29.8858, Dec = 10.7737 tmin = 475718401, tmax = 475977601 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='999976', job_status='RUN', time_executed='2021-08-15 00:44:09.197539', time_epoch_executed='1629013449.2' WHERE source_name='4FGL J0159.5+1046' and cadence='daily' and bin_id='912' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/999976 Creating custom pfile directory: /scratch/kocevski/999976/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=475718401.0 && nMetStart<475977601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=475718401.0 && nMetStart<475977601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/999976/ft1_4FGL_J0159.5+1046_daily_bin912.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=475718401.0 && nMetStart<475977601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/999976/ft1_4FGL_J0159.5+1046_daily_bin912.fits outfile=/scratch/kocevski/999976/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin912.fits ra=29.8858 dec=10.7737 rad=12.0 tmin=475718401.0 tmax=475977601.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.41 user 3.26 sys 1.11 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.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/999976/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin912.fits evtable="EVENTS" outfile="/scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.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.43 user 0.34 sys 1.04 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits" evtable="EVENTS" scfile=/scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits sctable="SC_DATA" outfile=/scratch/kocevski/999976/ltcube_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.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/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits .....................! real 15.09 user 13.66 sys 1.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits evtable="EVENTS" scfile=/scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits sctable="SC_DATA" expcube=/scratch/kocevski/999976/ltcube_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.fits outfile=/scratch/kocevski/999976/expmap_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.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/999976/ltcube_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.fits .....................! real 192.69 user 186.29 sys 5.85 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 170 point sources and 0 extended sources Setting source of interest to: 4FGL J0159.5+1046 @ 29.8858 10.7737 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits scfile=/scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits outfile=/scratch/kocevski/999976/cmap_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.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=29.8858 yref=10.7737 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 1.43 user 0.39 sys 1.02 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits scfile=/scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits outfile=/scratch/kocevski/999976/cmap_HighResolution_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.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=29.8858 yref=10.7737 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 1.33 user 0.37 sys 0.95 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits evtable="EVENTS" scfile=/scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/999976/Model_4FGL_J0159.5+1046_daily_bin912.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/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits.....................! real 79.09 user 76.15 sys 2.47 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits', '/scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits', expMap='/scratch/kocevski/999976/expmap_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.fits', expCube='/scratch/kocevski/999976/ltcube_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/999976/Model_4FGL_J0159.5+1046_daily_bin912.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0159.5+1046' 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 2.134e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.995e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/999976/ft1_filtered_4FGL_J0159.5+1046_daily_bin912.fits Spacecraft file(s): /scratch/kocevski/999976/ft2_4FGL_J0159.5+1046_daily_bin912.fits Exposure map: /scratch/kocevski/999976/expmap_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.fits Exposure cube: /scratch/kocevski/999976/ltcube_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/999976/Model_4FGL_J0159.5+1046_daily_bin912.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) = 6795.05110959 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6794.98582799 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .40794 1.0000 .10000E-03 10000. 2 'Prefactor ' 4.4960 1.0000 .10000E-03 10000. 3 'Prefactor ' 10.660 1.0000 .10000E-03 10000. 4 'Prefactor ' 4.4276 1.0000 .10000E-03 10000. 5 'norm ' 14.107 1.0000 .10000E-03 10000. 6 'Prefactor ' 4.7437 1.0000 .10000E-03 10000. 7 'Prefactor ' .43971 1.0000 .10000E-03 10000. 8 'norm ' 10.109 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'norm ' 1.1496 1.0000 .10000E-03 10000. 11 'Prefactor ' .11325E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 15.157 1.0000 .10000E-03 10000. 13 'Prefactor ' .10045E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .15721E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 23.068 1.0000 .10000E-03 10000. 16 'Prefactor ' .11070E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .50986 1.0000 .10000E-03 10000. 18 'Prefactor ' 8.1638 1.0000 .10000E-03 10000. 19 'norm ' 4.4662 1.0000 .10000E-03 10000. 20 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10184E-03 1.0000 .10000E-03 10000. 22 'norm ' 6.6727 1.0000 .10000E-03 10000. 23 'Prefactor ' .10572E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .92056 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0861 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5380E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6794.986 FROM MIGRAD STATUS=CONVERGED 603 CALLS 2516 TOTAL EDM= .15E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .28417 14.160 .26652E-05 -.31159E-03 2 Prefactor 4.4140 174.60 -.33197E-05 -.59667E-04 3 Prefactor 10.649 10.470 .12191E-06 -.58108E-04 4 Prefactor 4.4258 6.0633 .53226E-06 .74759E-05 5 norm 14.102 12.588 .11104E-06 -.77139E-05 6 Prefactor 4.7426 4.4023 .64378E-08 -.64373E-04 7 Prefactor .44077 2.4633 .30562E-05 .56903E-03 8 norm 10.110 6.0197 .39798E-07 -.12050E-03 9 Prefactor .10000E-03 1.0014 .11653E-06** at limit ** 10 norm 1.1495 .83358 .52230E-07 -.88985E-05 11 Prefactor .10000E-03 69.248 .10261E-05** at limit ** 12 Prefactor 15.168 34.516 .36402E-06 -.31988E-04 13 Prefactor .10000E-03 4.8748 .12879E-07** at limit ** 14 Prefactor .10000E-03 36.514 .57658E-07** at limit ** 15 Prefactor 23.076 11.431 .24007E-07 -.24228E-04 16 Prefactor .10000E-03 16.756 .18871E-06** at limit ** 17 Prefactor .54454 11.652 -.31350E-05 .68974E-03 18 Prefactor 8.1626 8.4592 .47136E-07 -.12973E-04 19 norm 4.4662 .94248 .11665E-07 -.15040E-03 20 Prefactor .10000E-03 16.694 .53103E-07** at limit ** 21 Prefactor .10000E-03 9.3619 .10262E-06** at limit ** 22 norm 6.6706 8.7017 .32324E-07 .60947E-04 23 Prefactor .10000E-03 22.029 .23784E-07** at limit ** 24 Normalizat .92085 .20445 -.13628E-05 -.37891E-03 25 Prefactor 1.0859 .12784 -.95738E-06 -.54373E-03 ERR DEF= .500 Final values: Prefactor = 0.284165 Prefactor = 4.41399 Prefactor = 10.6489 Prefactor = 4.42582 norm = 14.1016 Prefactor = 4.74261 Prefactor = 0.440772 norm = 10.1102 Prefactor = 0.0001 norm = 1.14952 Prefactor = 0.000100001 Prefactor = 15.1681 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 23.0762 Prefactor = 0.0001 Prefactor = 0.544538 Prefactor = 8.16255 norm = 4.46621 Prefactor = 0.0001 Prefactor = 0.0001 norm = 6.67055 Prefactor = 0.0001 Normalizat = 0.920854 Prefactor = 1.08591 ********** ** 18 **HESSE ********** FCN= 6794.986 FROM HESSE STATUS=OK 441 CALLS 2957 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .28417 17.912 .85342E-01 -1.5601 2 Prefactor 4.4140 178.00 .18988E-03 -1.5288 3 Prefactor 10.649 10.477 .12271E-03 -1.5055 4 Prefactor 4.4258 6.0787 .19138E-03 -1.5287 5 norm 14.102 12.590 .10664E-03 -1.4957 6 Prefactor 4.7426 4.4013 .16185E-03 -1.5272 7 Prefactor .44077 2.5825 .24955E-03 -1.5575 8 norm 10.110 6.0199 .12602E-03 -1.5072 9 Prefactor .10000E-03 1.0136 .80564E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.1495 .83785 .61972E-04 -1.5494 11 Prefactor .10000E-03 71.269 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 15.168 34.525 .10288E-03 -1.4929 13 Prefactor .10000E-03 4.8969 .17759E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 36.543 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 23.076 11.399 .83399E-04 -1.4747 16 Prefactor .10000E-03 16.832 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .54454 40.830 .43560E-02 -1.5560 18 Prefactor 8.1626 8.4659 .14032E-03 -1.5136 19 norm 4.4662 .94423 .34728E-04 -1.5285 20 Prefactor .10000E-03 16.699 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 9.3699 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 6.6706 8.6937 .15534E-03 -1.5191 23 Prefactor .10000E-03 22.059 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .92085 .23154 .33605E-03 -.95731 25 Prefactor 1.0859 .14560 .19849E-03 -.89918 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.06717e-08 Minuit parameter uncertainties: 1 4.51279 2 56.2403 3 10.4784 4 6.07956 5 12.5924 6 4.40159 7 2.13372 8 6.02025 9 5.82241e-06 10 0.837859 11 0.000449689 12 34.5701 13 9.62559e-06 14 3.09428e-05 15 11.4004 16 5.17415e-05 17 9.43626 18 8.46713 19 0.944233 20 3.27381e-05 21 1.68223e-05 22 8.69531 23 1.34026e-05 24 0.231786 25 0.145651 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6794.98578629 Extracting fit parameters... 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 4.743e+00 4.402e+00 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.995e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 535 Prefactor: 1.086e+00 1.457e-01 0.000e+00 1.000e+01 ( 1.000e+00) 536 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 537 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 534 Normalization: 9.209e-01 2.318e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.37 Ra Dec: 29.886 10.774 Photon Index (Fixed Index): 1.99 +/- 0.00 Photon Flux (Fixed Index): 2.20e-08 +/- 2.04e-08 Energy Flux (Fixed Index): 1.54e-05 +/- 1.43e-05 TS (Fixed Index): 3.37 Ra Dec: 29.886 10.774 Photon Flux Upper Limit: 8.02e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.01e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/999976/likelihoodResults_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.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) = 6794.77567613 delta logL = 0.210110164557 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6794.77560982 delta logL = 0.210176477002 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.0357 1.0000 .10000E-03 10000. 2 'Index ' 1.6021 1.0000 .0000 10.000 3 'Normalizat' .92534 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0859 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5380E+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= 6794.776 FROM MIGRAD STATUS=CONVERGED 96 CALLS 308 TOTAL EDM= .42E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.0280 5.8150 .81716E-03 .53927E-03 2 Index 1.6011 .60644 .10945E-01 .10054E-03 3 Normalizat .92527 .22054 .33537E-03 .72239E-04 4 Prefactor 1.0860 .14133 .19851E-03 .74796E-04 ERR DEF= .500 Final values: Prefactor = 6.02797 Index = 1.60106 Normalizat = 0.925268 Prefactor = 1.08602 ********** ** 18 **HESSE ********** FCN= 6794.776 FROM HESSE STATUS=OK 25 CALLS 333 TOTAL EDM= .41E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.0280 5.8050 .32686E-04 -1.5217 2 Index 1.6011 .60569 .43782E-03 -.74747 3 Normalizat .92527 .22067 .13415E-04 -.95578 4 Prefactor 1.0860 .14143 .39701E-04 -.89915 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.10044e-10 Minuit parameter uncertainties: 1 5.80559 2 0.608479 3 0.220889 4 0.141474 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/999976': 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) = 6794.77560733 delta logL = 0.210178958599 Extracting fit parameters... 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 6.028e+00 5.806e+00 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.601e+00 6.085e-01 0.000e+00 1.000e+01 (-1.000e+00) 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 535 Prefactor: 1.086e+00 1.415e-01 0.000e+00 1.000e+01 ( 1.000e+00) 536 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 537 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 534 Normalization: 9.253e-01 2.209e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.79 Ra Dec: 29.886 10.774 Photon Index (Free Index): 1.60 +/- 0.61 Photon Flux (Free Index): 1.36e-08 +/- 1.80e-08 Energy Flux (Free Index): 3.06e-05 +/- 4.50e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/999976/cmap_HighResolution_475718401_475977601_4FGL_J0159.5+1046_daily_bin912.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/999976 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', comment='SUCCESS', photon_flux='2.20e-08', energy_flux2='3.06e-05', photon_flux_error='2.04e-08', dlogl='2.10e-01', energy_flux='1.54e-05', photon_flux2='1.36e-08', job_status='DONE', time_completed='2021-08-15 00:56:36.056445', photon_index_error2='0.61', photon_index2='1.60', ts='3.37', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='8.02e-08', energy_flux_error2='4.50e-05', EG='0.92', time_epoch_completed='1629014196.06', return_code='0', job_id='999976', GAL2='1.09', EG2='0.93', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='1.80e-08', ts2='3.79', photon_index='1.99' WHERE bin_id='912' AND source_name='4FGL J0159.5+1046' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 15 00:56:36 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 999976: <4FGL_J0159.5+1046_daily_bin912> in cluster Done Job <4FGL_J0159.5+1046_daily_bin912> was submitted from host by user in cluster at Sun Aug 15 00:40:38 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 15 00:41:34 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 15 00:41:34 2021 Terminated at Sun Aug 15 00:56:36 2021 Results reported at Sun Aug 15 00:56:36 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0159.5+1046_daily_bin912 29.8858 10.7737 475718401 475977601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0159.5+1046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 755.00 sec. Max Memory : 1094 MB Average Memory : 283.14 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 903 sec. Turnaround time : 958 sec. The output (if any) is above this job summary.