/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. 'Matplotlib is building the font cache using fc-list. ' /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 229 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 = 6336 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2040.5-1705_daily_bin1338 RA = 310.136, Dec = -17.0901 tmin = 586137601, tmax = 586396801 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='113187', job_status='RUN', time_executed='2021-09-25 16:04:57.015526', time_epoch_executed='1632611097.02' WHERE source_name='4FGL J2040.5-1705' and cadence='daily' and bin_id='1338' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/113187 Creating custom pfile directory: /scratch/kocevski/113187/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=586137601.0 && nMetStart<586396801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=586137601.0 && nMetStart<586396801.0' /Data/Flight/Level1/LPA Retrieving 41 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/113187/ft1_4FGL_J2040.5-1705_daily_bin1338.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=586137601.0 && nMetStart<586396801.0' /Data/Flight/Level1/LPA Retrieving 41 files... Done. Merging files... Merged file saved to: /scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/113187/ft1_4FGL_J2040.5-1705_daily_bin1338.fits outfile=/scratch/kocevski/113187/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin1338.fits ra=310.136 dec=-17.0901 rad=12.0 tmin=586137601.0 tmax=586396801.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.54 user 4.32 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.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/113187/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin1338.fits evtable="EVENTS" outfile="/scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.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.49 user 0.32 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/113187/ltcube_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.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/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits .....................! real 10.89 user 10.54 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/113187/ltcube_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.fits outfile=/scratch/kocevski/113187/expmap_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.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/113187/ltcube_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.fits .....................! real 192.37 user 186.39 sys 5.65 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 181 point sources and 0 extended sources Setting source of interest to: 4FGL J2040.5-1705 @ 310.136 -17.0901 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits scfile=/scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits outfile=/scratch/kocevski/113187/cmap_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.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=310.136 yref=-17.0901 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.54 user 0.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits scfile=/scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits outfile=/scratch/kocevski/113187/cmap_HighResolution_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.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=310.136 yref=-17.0901 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.55 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/113187/Model_4FGL_J2040.5-1705_daily_bin1338.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/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits.....................! real 63.72 user 62.37 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits', '/scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits', expMap='/scratch/kocevski/113187/expmap_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.fits', expCube='/scratch/kocevski/113187/ltcube_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/113187/Model_4FGL_J2040.5-1705_daily_bin1338.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2040.5-1705' 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.223e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.541e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/113187/ft1_filtered_4FGL_J2040.5-1705_daily_bin1338.fits Spacecraft file(s): /scratch/kocevski/113187/ft2_4FGL_J2040.5-1705_daily_bin1338.fits Exposure map: /scratch/kocevski/113187/expmap_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.fits Exposure cube: /scratch/kocevski/113187/ltcube_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/113187/Model_4FGL_J2040.5-1705_daily_bin1338.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) = 6566.56559982 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6566.56229176 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 26.553 1.0000 .10000E-03 10000. 2 'Prefactor ' .21064 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.1155 1.0000 .10000E-03 10000. 4 'Prefactor ' .10040E-03 1.0000 .10000E-03 10000. 5 'norm ' .10021E-03 1.0000 .10000E-03 10000. 6 'norm ' .10105E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10034E-03 1.0000 .10000E-03 10000. 8 'norm ' 14.526 1.0000 .10000E-03 10000. 9 'norm ' 16.703 1.0000 .10000E-03 10000. 10 'norm ' 3.3953 1.0000 .10000E-03 10000. 11 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10090E-03 1.0000 .10000E-03 10000. 13 'norm ' 2.7035 1.0000 .10000E-03 10000. 14 'Prefactor ' 7.7186 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 5.7021 1.0000 .10000E-03 10000. 17 'Prefactor ' .10968E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 28.436 1.0000 .10000E-03 10000. 20 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 21 'Normalizat' 1.3645 1.0000 .10000E-01 10.000 22 'Prefactor ' .92143 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= 6566.562 FROM MIGRAD STATUS=CONVERGED 857 CALLS 3053 TOTAL EDM= .32E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 26.571 42.431 .77742E-04 -.13746E-04 2 Prefactor .15350E-01 53.474 .14441 .23953E-04 3 Prefactor 3.1162 1.8793 .81816E-04 -.35447E-03 4 Prefactor .10000E-03 7.2998 .18142E-02** at limit ** 5 norm .10000E-03 3.9740 .15759E-02** at limit ** 6 norm .10000E-03 6.8735 .18142E-02** at limit ** 7 Prefactor .10000E-03 82.396 .18142E-02** at limit ** 8 norm 14.526 15.686 .10509E-03 -.15902E-04 9 norm 16.708 29.350 .97998E-04 .12877E-04 10 norm 3.3952 1.6466 .70083E-04 -.34698E-03 11 Prefactor .10000E-03 11.537 .18142E-02** at limit ** 12 Prefactor .10000E-03 12.736 .33118E-02** at limit ** 13 norm 2.7036 3.3911 .16267E-03 -.36621E-04 14 Prefactor 7.7192 5.7995 .14434E-03 -.84279E-05 15 Prefactor .10000E-03 20.330 .18142E-02** at limit ** 16 norm 5.7022 15.274 .16821E-03 -.70965E-05 17 Prefactor .10000E-03 87.325 .36285E-03** at limit ** 18 Prefactor .10000E-03 2.5488 .12607E-02** at limit ** 19 Prefactor 28.427 30.070 .75130E-04 .24665E-04 20 Prefactor .10000E-03 8.2871 .18142E-02** at limit ** 21 Normalizat 1.3645 .32272 .35520E-03 -.15395E-04 22 Prefactor .92135 .13820 .17690E-03 .23462E-03 ERR DEF= .500 Final values: Prefactor = 26.571 Prefactor = 0.0153496 Prefactor = 3.11616 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 Prefactor = 0.000100001 norm = 14.5263 norm = 16.7077 norm = 3.39517 Prefactor = 0.0001 Prefactor = 0.000100001 norm = 2.70362 Prefactor = 7.71921 Prefactor = 0.0001 norm = 5.70219 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 28.4273 Prefactor = 0.0001 Normalizat = 1.3645 Prefactor = 0.921345 ********** ** 18 **HESSE ********** FCN= 6566.562 FROM HESSE STATUS=OK 330 CALLS 3383 TOTAL EDM= .33E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 26.571 42.429 .31097E-05 -1.4677 2 Prefactor .15350E-01 55.883 .14077 -1.5683 3 Prefactor 3.1162 1.8792 .32727E-05 -1.5355 4 Prefactor .10000E-03 7.3006 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .10000E-03 3.9742 .31518E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 6.8763 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 82.397 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 14.526 15.685 .42036E-05 -1.4946 9 norm 16.708 29.345 .39199E-05 -1.4890 10 norm 3.3952 1.6466 .28033E-05 -1.5339 11 Prefactor .10000E-03 11.539 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 12.825 .66235E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 2.7036 3.3911 .65068E-05 -1.5379 14 Prefactor 7.7192 5.7994 .57735E-05 -1.5152 15 Prefactor .10000E-03 20.330 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.7022 15.273 .67285E-05 -1.5230 17 Prefactor .10000E-03 87.329 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 2.5490 .25214E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 28.427 30.072 .30052E-05 -1.4641 20 Prefactor .10000E-03 8.2875 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat 1.3645 .32302 .14208E-04 -.81661 22 Prefactor .92135 .13837 .35381E-04 -.95399 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.25406e-10 Minuit parameter uncertainties: 1 42.4772 2 1.848 3 1.87925 4 3.80698e-05 5 1.8023e-06 6 7.46683e-06 7 0.000451515 8 15.689 9 29.3704 10 1.6466 11 4.30142e-05 12 0.000263735 13 3.3913 14 5.79979 15 3.04846e-05 16 15.2833 17 0.000190518 18 3.85378e-06 19 30.0881 20 6.01137e-06 21 0.323507 22 0.138418 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6566.56228038 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 7.719e+00 5.800e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.541e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 9.213e-01 1.384e-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.364e+00 3.235e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.62 Ra Dec: 310.136 -17.090 Photon Index (Fixed Index): 2.54 +/- 0.00 Photon Flux (Fixed Index): 9.04e-08 +/- 6.79e-08 Energy Flux (Fixed Index): 2.51e-05 +/- 1.89e-05 TS (Fixed Index): 2.62 Ra Dec: 310.136 -17.090 Photon Flux Upper Limit: 2.29e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.78e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/113187/likelihoodResults_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.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) = 6566.38792112 delta logL = 0.174359256269 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6566.38176416 delta logL = 0.180516212085 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.4012 1.0000 .10000E-03 10000. 2 'Index ' 2.9852 1.0000 .0000 10.000 3 'Normalizat' 1.3226 1.0000 .10000E-01 10.000 4 'Prefactor ' .93272 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= 6566.382 FROM MIGRAD STATUS=CONVERGED 83 CALLS 272 TOTAL EDM= .47E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.4003 7.0380 .12022E-03 .22563E-03 2 Index 2.9848 .91428 .65981E-02 .48265E-04 3 Normalizat 1.3224 .32928 .35989E-03 -.39650E-03 4 Prefactor .93284 .13467 .17591E-03 -.85934E-03 ERR DEF= .500 Final values: Prefactor = 5.40029 Index = 2.98482 Normalizat = 1.32238 Prefactor = 0.932844 ********** ** 18 **HESSE ********** FCN= 6566.382 FROM HESSE STATUS=OK 25 CALLS 297 TOTAL EDM= .45E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.4003 6.0844 .48088E-05 -1.5243 2 Index 2.9848 .79001 .26392E-03 -.41483 3 Normalizat 1.3224 .32868 .71978E-04 -.82901 4 Prefactor .93284 .13446 .35182E-04 -.95003 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.49179e-10 Minuit parameter uncertainties: 1 6.08514 2 0.793993 3 0.3292 4 0.134503 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/113187': 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) = 6566.38176313 delta logL = 0.180517246067 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 5.400e+00 6.085e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.985e+00 7.940e-01 0.000e+00 1.000e+01 (-1.000e+00) 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 9.328e-01 1.345e-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.322e+00 3.292e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.04 Ra Dec: 310.136 -17.090 Photon Index (Free Index): 2.98 +/- 0.79 Photon Flux (Free Index): 1.22e-07 +/- 9.30e-08 Energy Flux (Free Index): 2.45e-05 +/- 1.69e-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/113187/cmap_HighResolution_586137601_586396801_4FGL_J2040.5-1705_daily_bin1338.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/113187 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', comment='SUCCESS', photon_flux='9.04e-08', energy_flux2='2.45e-05', photon_flux_error='6.79e-08', dlogl='1.81e-01', energy_flux='2.51e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-09-25 16:17:39.648002', photon_index_error2='0.79', photon_index2='2.98', ts='2.62', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='2.29e-07', energy_flux_error2='1.69e-05', EG='1.36', time_epoch_completed='1632611859.65', return_code='0', job_id='113187', GAL2='0.93', EG2='1.32', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='9.30e-08', ts2='3.04', photon_index='2.54' WHERE bin_id='1338' AND source_name='4FGL J2040.5-1705' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 16:17:39 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 113187: <4FGL_J2040.5-1705_daily_bin1338> in cluster Done Job <4FGL_J2040.5-1705_daily_bin1338> was submitted from host by user in cluster at Sat Sep 25 16:00:39 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 16:00:53 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 16:00:53 2021 Terminated at Sat Sep 25 16:17:40 2021 Results reported at Sat Sep 25 16:17:40 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2040.5-1705_daily_bin1338 310.136 -17.0901 586137601 586396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2040.5-1705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 745.03 sec. Max Memory : 1093 MB Average Memory : 262.35 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1006 sec. Turnaround time : 1021 sec. The output (if any) is above this job summary.