/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 146 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 = 7400 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2040.5-1705_daily_bin1238 RA = 310.136, Dec = -17.0901 tmin = 560217601, tmax = 560476801 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='113026', job_status='RUN', time_executed='2021-09-25 16:03:06.631688', time_epoch_executed='1632610986.63' WHERE source_name='4FGL J2040.5-1705' and cadence='daily' and bin_id='1238' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/113026 Creating custom pfile directory: /scratch/kocevski/113026/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=560217601.0 && nMetStart<560476801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=560217601.0 && nMetStart<560476801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/113026/ft1_4FGL_J2040.5-1705_daily_bin1238.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=560217601.0 && nMetStart<560476801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/113026/ft1_4FGL_J2040.5-1705_daily_bin1238.fits outfile=/scratch/kocevski/113026/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin1238.fits ra=310.136 dec=-17.0901 rad=12.0 tmin=560217601.0 tmax=560476801.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 3.68 user 3.45 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.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/113026/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin1238.fits evtable="EVENTS" outfile="/scratch/kocevski/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.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.50 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits" evtable="EVENTS" scfile=/scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits sctable="SC_DATA" outfile=/scratch/kocevski/113026/ltcube_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.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/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits .....................! real 14.29 user 13.92 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits sctable="SC_DATA" expcube=/scratch/kocevski/113026/ltcube_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.fits outfile=/scratch/kocevski/113026/expmap_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.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/113026/ltcube_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.fits .....................! real 193.56 user 188.75 sys 4.42 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/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits scfile=/scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits outfile=/scratch/kocevski/113026/cmap_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.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.55 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits scfile=/scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits outfile=/scratch/kocevski/113026/cmap_HighResolution_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.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.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/113026/Model_4FGL_J2040.5-1705_daily_bin1238.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/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits.....................! real 80.48 user 79.19 sys 1.13 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits', '/scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits', expMap='/scratch/kocevski/113026/expmap_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.fits', expCube='/scratch/kocevski/113026/ltcube_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/113026/Model_4FGL_J2040.5-1705_daily_bin1238.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/113026/ft1_filtered_4FGL_J2040.5-1705_daily_bin1238.fits Spacecraft file(s): /scratch/kocevski/113026/ft2_4FGL_J2040.5-1705_daily_bin1238.fits Exposure map: /scratch/kocevski/113026/expmap_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.fits Exposure cube: /scratch/kocevski/113026/ltcube_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/113026/Model_4FGL_J2040.5-1705_daily_bin1238.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) = 8828.71139699 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8828.63819052 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 17.632 1.0000 .10000E-03 10000. 2 'Prefactor ' 31.344 1.0000 .10000E-03 10000. 3 'Prefactor ' .25863 1.0000 .10000E-03 10000. 4 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 5 'norm ' 16.416 1.0000 .10000E-03 10000. 6 'norm ' .10041E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 36.203 1.0000 .10000E-03 10000. 8 'norm ' .10073E-03 1.0000 .10000E-03 10000. 9 'norm ' 26.151 1.0000 .10000E-03 10000. 10 'norm ' 9.6508 1.0000 .10000E-03 10000. 11 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 6.9556 1.0000 .10000E-03 10000. 13 'norm ' 2.0522 1.0000 .10000E-03 10000. 14 'Prefactor ' 7.3236 1.0000 .10000E-03 10000. 15 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 16 'norm ' 10.479 1.0000 .10000E-03 10000. 17 'Prefactor ' 7.7668 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.6601 1.0000 .10000E-03 10000. 19 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10067E-03 1.0000 .10000E-03 10000. 21 'Normalizat' .99983 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.0634 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= 8828.638 FROM MIGRAD STATUS=CONVERGED 481 CALLS 2427 TOTAL EDM= .86E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.633 17.708 -.99274E-07 -.13225E-04 2 Prefactor 31.346 28.701 .30970E-06 .28328E-04 3 Prefactor .25950 1.2718 .75556E-06 -.51290E-03 4 Prefactor .10000E-03 10.002 -.19787E-06** at limit ** 5 norm 16.416 17.293 .22522E-06 .16083E-04 6 norm .10000E-03 3.3752 -.56174E-06** at limit ** 7 Prefactor 35.793 120.16 .54966E-06 -.87451E-04 8 norm .10000E-03 19.564 .56739E-06** at limit ** 9 norm 26.155 29.395 .69620E-07 .24003E-04 10 norm 9.6505 1.7749 .38795E-07 .75666E-04 11 Prefactor .10000E-03 5.3463 .24488E-06** at limit ** 12 Prefactor 6.9551 10.377 -.82541E-07 -.69668E-05 13 norm 2.0521 1.9735 .21647E-07 .21506E-04 14 Prefactor 7.3225 5.3877 .67591E-06 .78105E-05 15 Prefactor .10000E-03 69.120 .10262E-06** at limit ** 16 norm 10.479 22.349 -.96401E-06 -.73843E-05 17 Prefactor 7.7660 10.477 .32411E-05 .14940E-03 18 Prefactor 3.6586 11.951 .15820E-04 .27789E-03 19 Prefactor .10000E-03 13.141 .71433E-06** at limit ** 20 Prefactor .10000E-03 31.755 .31818E-05** at limit ** 21 Normalizat 1.0002 .28148 -.12906E-04 .15055E-03 22 Prefactor 1.0633 .11505 .42668E-05 -.59579E-03 ERR DEF= .500 Final values: Prefactor = 17.6328 Prefactor = 31.3462 Prefactor = 0.2595 Prefactor = 0.0001 norm = 16.4163 norm = 0.000100003 Prefactor = 35.7929 norm = 0.0001 norm = 26.155 norm = 9.65051 Prefactor = 0.0001 Prefactor = 6.95507 norm = 2.05211 Prefactor = 7.32251 Prefactor = 0.0001 norm = 10.4792 Prefactor = 7.766 Prefactor = 3.65857 Prefactor = 0.0001 Prefactor = 0.000100001 Normalizat = 1.00015 Prefactor = 1.06329 ********** ** 18 **HESSE ********** FCN= 8828.638 FROM HESSE STATUS=OK 352 CALLS 2779 TOTAL EDM= .47E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.633 17.683 .95383E-04 -1.4868 2 Prefactor 31.346 28.732 .71569E-04 -1.4588 3 Prefactor .25950 2.5730 .19508E-02 -1.5606 4 Prefactor .10000E-03 10.023 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 16.416 17.307 .98852E-04 -1.4897 6 norm .10000E-03 14.234 .32825E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 35.793 120.29 .33303E-03 -1.4511 8 norm .10000E-03 19.942 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 26.155 29.407 .78337E-04 -1.4685 10 norm 9.6505 1.7735 .51121E-04 -1.5087 11 Prefactor .10000E-03 5.3649 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.9551 10.370 .15212E-03 -1.5180 13 norm 2.0521 1.9854 .12584E-03 -1.5421 14 Prefactor 7.3225 5.3924 .14821E-03 -1.5167 15 Prefactor .10000E-03 69.168 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 10.479 22.344 .12377E-03 -1.5060 17 Prefactor 7.7660 10.484 .71942E-03 -1.5151 18 Prefactor 3.6586 12.066 .10557E-02 -1.5325 19 Prefactor .10000E-03 13.270 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 32.867 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat 1.0002 .31002 .42704E-03 -.93025 22 Prefactor 1.0633 .12904 .17453E-03 -.90649 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.65694e-08 Minuit parameter uncertainties: 1 17.6883 2 28.7443 3 1.63401 4 2.98509e-05 5 17.3121 6 0.000416534 7 121.123 8 2.27211e-05 9 29.4228 10 1.77355 11 1.17636e-05 12 10.3723 13 1.98543 14 5.39278 15 7.9562e-05 16 22.3619 17 10.4869 18 12.0739 19 2.24394e-05 20 0.000270751 21 0.310576 22 0.129075 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8828.63818391 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 7.323e+00 5.393e+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: 1.063e+00 1.291e-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.000e+00 3.106e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.47 Ra Dec: 310.136 -17.090 Photon Index (Fixed Index): 2.54 +/- 0.00 Photon Flux (Fixed Index): 8.58e-08 +/- 6.31e-08 Energy Flux (Fixed Index): 2.38e-05 +/- 1.75e-05 TS (Fixed Index): 2.47 Ra Dec: 310.136 -17.090 Photon Flux Upper Limit: 2.06e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.61e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/113026/likelihoodResults_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.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) = 8828.02530551 delta logL = 0.612878400465 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8827.99941287 delta logL = 0.638771041293 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.6335 1.0000 .10000E-03 10000. 2 'Index ' 3.8174 1.0000 .0000 10.000 3 'Normalizat' .90720 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0935 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= 8827.999 FROM MIGRAD STATUS=CONVERGED 55 CALLS 259 TOTAL EDM= .17E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.6345 12.502 .82698E-02 .85936E-03 2 Index 3.8172 2.5385 .14329 .18477E-03 3 Normalizat .90735 .70792E-01 .10063 .37548E-04 4 Prefactor 1.0935 .29576E-01 .37840E-01 .81784E-06 ERR DEF= .500 Final values: Prefactor = 1.63453 Index = 3.81725 Normalizat = 0.90735 Prefactor = 1.09345 ********** ** 18 **HESSE ********** FCN= 8827.999 FROM HESSE STATUS=NOT POSDEF 33 CALLS 292 TOTAL EDM= .12E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.6345 25.745 .66147E-04 -1.5452 2 Index 3.8172 4.0556 .51382E-02 -.23881 3 Normalizat .90735 .28840 .44591E-03 -.96202 4 Prefactor 1.0935 .12157 .17237E-03 -.89676 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.15163e-09 Minuit parameter uncertainties: 1 12.9803 2 4.79873 3 0.288892 4 0.121605 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/113026': 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): 102 logL (Free Index) = 8827.99941226 delta logL = 0.638771650401 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.635e+00 1.298e+01 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 3.817e+00 4.799e+00 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: 1.093e+00 1.216e-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: 9.073e-01 2.889e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.99 Ra Dec: 310.136 -17.090 Photon Index (Free Index): 3.82 +/- 4.80 Photon Flux (Free Index): 1.43e-07 +/- 8.74e-08 Energy Flux (Free Index): 2.21e-05 +/- 2.10e-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/113026/cmap_HighResolution_560217601_560476801_4FGL_J2040.5-1705_daily_bin1238.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/113026 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-02', comment='SUCCESS', photon_flux='8.58e-08', energy_flux2='2.21e-05', photon_flux_error='6.31e-08', dlogl='6.39e-01', energy_flux='2.38e-05', photon_flux2='1.43e-07', job_status='DONE', time_completed='2021-09-25 16:16:49.007643', photon_index_error2='4.80', photon_index2='3.82', ts='2.47', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='2.06e-07', energy_flux_error2='2.10e-05', EG='1.00', time_epoch_completed='1632611809.01', return_code='0', job_id='113026', GAL2='1.09', EG2='0.91', return_code2='102', energy_flux_error='1.75e-05', photon_flux_error2='8.74e-08', ts2='3.99', photon_index='2.54' WHERE bin_id='1238' AND source_name='4FGL J2040.5-1705' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 16:16:49 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 113026: <4FGL_J2040.5-1705_daily_bin1238> in cluster Done Job <4FGL_J2040.5-1705_daily_bin1238> was submitted from host by user in cluster at Sat Sep 25 16:00:24 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 16:00:30 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 16:00:30 2021 Terminated at Sat Sep 25 16:16:49 2021 Results reported at Sat Sep 25 16:16:49 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2040.5-1705_daily_bin1238 310.136 -17.0901 560217601 560476801 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 : 821.00 sec. Max Memory : 1257 MB Average Memory : 282.29 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 981 sec. Turnaround time : 985 sec. The output (if any) is above this job summary.