/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 177 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 = 7548 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2040.5-1705_daily_bin845 RA = 310.136, Dec = -17.0901 tmin = 458352001, tmax = 458611201 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='110026', job_status='RUN', time_executed='2021-09-25 15:55:24.003433', time_epoch_executed='1632610524.0' WHERE source_name='4FGL J2040.5-1705' and cadence='daily' and bin_id='845' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/110026 Creating custom pfile directory: /scratch/kocevski/110026/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=458352001.0 && nMetStart<458611201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=458352001.0 && nMetStart<458611201.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/110026/ft1_4FGL_J2040.5-1705_daily_bin845.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=458352001.0 && nMetStart<458611201.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/110026/ft1_4FGL_J2040.5-1705_daily_bin845.fits outfile=/scratch/kocevski/110026/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin845.fits ra=310.136 dec=-17.0901 rad=12.0 tmin=458352001.0 tmax=458611201.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.85 user 3.50 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.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/110026/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin845.fits evtable="EVENTS" outfile="/scratch/kocevski/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.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.44 user 0.28 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits" evtable="EVENTS" scfile=/scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits sctable="SC_DATA" outfile=/scratch/kocevski/110026/ltcube_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.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/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits .....................! real 10.76 user 10.37 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits evtable="EVENTS" scfile=/scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits sctable="SC_DATA" expcube=/scratch/kocevski/110026/ltcube_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.fits outfile=/scratch/kocevski/110026/expmap_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.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/110026/ltcube_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.fits .....................! real 156.94 user 151.99 sys 4.29 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/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits scfile=/scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits outfile=/scratch/kocevski/110026/cmap_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.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.53 user 0.33 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits scfile=/scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits outfile=/scratch/kocevski/110026/cmap_HighResolution_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.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.53 user 0.31 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits evtable="EVENTS" scfile=/scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110026/Model_4FGL_J2040.5-1705_daily_bin845.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/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits.....................! real 65.82 user 64.33 sys 1.03 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits', '/scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits', expMap='/scratch/kocevski/110026/expmap_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.fits', expCube='/scratch/kocevski/110026/ltcube_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/110026/Model_4FGL_J2040.5-1705_daily_bin845.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/110026/ft1_filtered_4FGL_J2040.5-1705_daily_bin845.fits Spacecraft file(s): /scratch/kocevski/110026/ft2_4FGL_J2040.5-1705_daily_bin845.fits Exposure map: /scratch/kocevski/110026/expmap_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.fits Exposure cube: /scratch/kocevski/110026/ltcube_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/110026/Model_4FGL_J2040.5-1705_daily_bin845.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) = 8591.24624044 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8591.18877577 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10132E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 59.736 1.0000 .10000E-03 10000. 3 'Prefactor ' .36188 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'norm ' .10326E-03 1.0000 .10000E-03 10000. 6 'norm ' 11.153 1.0000 .10000E-03 10000. 7 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 8 'norm ' 27.462 1.0000 .10000E-03 10000. 9 'norm ' .10002E-03 1.0000 .10000E-03 10000. 10 'norm ' 8.1304 1.0000 .10000E-03 10000. 11 'Prefactor ' 54.972 1.0000 .10000E-03 10000. 12 'Prefactor ' .13747E-02 1.0000 .10000E-03 10000. 13 'norm ' 1.5043 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.2933 1.0000 .10000E-03 10000. 15 'Prefactor ' .10218E-03 1.0000 .10000E-03 10000. 16 'norm ' 79.736 1.0000 .10000E-03 10000. 17 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 17.398 1.0000 .10000E-03 10000. 19 'Prefactor ' 43.550 1.0000 .10000E-03 10000. 20 'Prefactor ' .10088E-03 1.0000 .10000E-03 10000. 21 'Normalizat' .68689 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.1260 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= 8591.189 FROM MIGRAD STATUS=CONVERGED 519 CALLS 2101 TOTAL EDM= .56E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 30.898 .20173E-06** at limit ** 2 Prefactor 59.739 42.843 -.15501E-06 .55515E-06 3 Prefactor .36169 1.2624 .12965E-05 .87986E-04 4 Prefactor .10000E-03 4.2961 -.82281E-07** at limit ** 5 norm .10000E-03 14.165 -.14086E-06** at limit ** 6 norm 11.156 9.9525 -.31082E-06 -.11965E-03 7 Prefactor .10000E-03 27.776 .17041E-07** at limit ** 8 norm 27.462 17.214 .19434E-07 -.13736E-05 9 norm .10000E-03 9.0974 .14575E-07** at limit ** 10 norm 8.1313 2.3660 -.10930E-07 -.34582E-04 11 Prefactor 54.982 27.879 .72178E-07 .33602E-04 12 Prefactor .10518 4.6193 .35521E-06 -.18848E-03 13 norm 1.5045 2.3495 .19805E-06 -.15599E-05 14 Prefactor 4.2964 4.2350 .19702E-06 -.29585E-04 15 Prefactor .10000E-03 78.634 -.18873E-05** at limit ** 16 norm 79.689 35.871 .80036E-08 -.10628E-03 17 Prefactor .10000E-03 7.1640 .66568E-07** at limit ** 18 Prefactor 17.405 10.351 .58691E-07 -.11287E-04 19 Prefactor 43.563 25.602 .58356E-07 .29350E-04 20 Prefactor .10000E-03 7.2666 .29813E-06** at limit ** 21 Normalizat .68595 .27697 .46340E-06 -.81576E-04 22 Prefactor 1.1262 .11350 -.32348E-06 -.16334E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 59.7389 Prefactor = 0.361685 Prefactor = 0.0001 norm = 0.0001 norm = 11.1564 Prefactor = 0.0001 norm = 27.4622 norm = 0.0001 norm = 8.13134 Prefactor = 54.9816 Prefactor = 0.105179 norm = 1.50447 Prefactor = 4.29635 Prefactor = 0.0001 norm = 79.6891 Prefactor = 0.0001 Prefactor = 17.4045 Prefactor = 43.5635 Prefactor = 0.0001 Normalizat = 0.685953 Prefactor = 1.12616 ********** ** 18 **HESSE ********** FCN= 8591.189 FROM HESSE STATUS=OK 350 CALLS 2451 TOTAL EDM= .20E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 31.000 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 59.739 42.919 .51911E-04 -1.4161 3 Prefactor .36169 1.2627 .18904E-03 -1.5588 4 Prefactor .10000E-03 4.3040 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .10000E-03 14.382 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 11.156 9.9837 .11996E-03 -1.5040 7 Prefactor .10000E-03 27.777 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 27.462 17.223 .76448E-04 -1.4659 9 norm .10000E-03 9.1086 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 8.1313 2.3683 .68212E-04 -1.5138 11 Prefactor 54.982 27.901 .54101E-04 -1.4224 12 Prefactor .10518 5.1995 .60212E-01 -1.5643 13 norm 1.5045 2.3193 .17267E-03 -1.5463 14 Prefactor 4.2964 4.2230 .17920E-03 -1.5293 15 Prefactor .10000E-03 78.673 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 79.689 35.870 .22488E-03 -1.3920 17 Prefactor .10000E-03 7.1860 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 17.405 10.361 .96022E-04 -1.4873 19 Prefactor 43.563 25.590 .60749E-04 -1.4387 20 Prefactor .10000E-03 7.2845 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat .68595 .30061 .49585E-03 -1.0445 22 Prefactor 1.1262 .12553 .16800E-03 -.88635 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.02997e-10 Minuit parameter uncertainties: 1 2.0371e-05 2 42.9412 3 1.26277 4 8.10748e-06 5 2.05383e-06 6 9.98518 7 6.96379e-06 8 17.226 9 5.30522e-07 10 2.36835 11 27.9078 12 1.47847 13 2.31943 14 4.22325 15 6.13745e-06 16 35.8797 17 8.33088e-08 18 10.3618 19 25.5961 20 1.65733e-06 21 0.301332 22 0.125568 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8591.18860404 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 4.296e+00 4.223e+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.126e+00 1.256e-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: 6.860e-01 3.013e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.46 Ra Dec: 310.136 -17.090 Photon Index (Fixed Index): 2.54 +/- 0.00 Photon Flux (Fixed Index): 5.03e-08 +/- 4.94e-08 Energy Flux (Fixed Index): 1.40e-05 +/- 1.37e-05 TS (Fixed Index): 1.46 Ra Dec: 310.136 -17.090 Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/110026/likelihoodResults_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.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) = 8591.17573266 delta logL = 0.0128713794475 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8591.17196937 delta logL = 0.0166346727183 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.6980 1.0000 .10000E-03 10000. 2 'Index ' 2.4075 1.0000 .0000 10.000 3 'Normalizat' .69231 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1244 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= 8591.172 FROM MIGRAD STATUS=CONVERGED 48 CALLS 207 TOTAL EDM= .60E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6980 130.76 .46414E-02 .62909E-03 2 Index 2.4076 6.1486 .23875 .54474E-04 3 Normalizat .69219 .93368E-01 .11135 .37032E-04 4 Prefactor 1.1244 .35167E-01 .36727E-01 -.38672E-04 ERR DEF= .500 Final values: Prefactor = 4.69804 Index = 2.40763 Normalizat = 0.692193 Prefactor = 1.12439 ********** ** 18 **HESSE ********** FCN= 8591.172 FROM HESSE STATUS=OK 33 CALLS 240 TOTAL EDM= .13E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.6980 5.0351 .18566E-03 -1.5274 2 Index 2.4076 .73098 .10131E-01 -.54507 3 Normalizat .69219 .28667 .49374E-03 -1.0420 4 Prefactor 1.1244 .12163 .16811E-03 -.88691 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.32952e-09 Minuit parameter uncertainties: 1 5.0356 2 0.734591 3 0.287292 4 0.121664 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/110026': 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) = 8591.17196926 delta logL = 0.0166347804388 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 4.698e+00 5.036e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.408e+00 7.346e-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: 1.124e+00 1.217e-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: 6.922e-01 2.873e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.48 Ra Dec: 310.136 -17.090 Photon Index (Free Index): 2.41 +/- 0.73 Photon Flux (Free Index): 4.58e-08 +/- 5.14e-08 Energy Flux (Free Index): 1.49e-05 +/- 1.58e-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/110026/cmap_HighResolution_458352001_458611201_4FGL_J2040.5-1705_daily_bin845.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/110026 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', photon_flux='5.03e-08', energy_flux2='1.49e-05', photon_flux_error='4.94e-08', dlogl='1.66e-02', energy_flux='1.40e-05', photon_flux2='4.58e-08', job_status='DONE', time_completed='2021-09-25 16:05:51.458120', photon_index_error2='0.73', photon_index2='2.41', ts='1.46', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.58e-05', EG='0.69', time_epoch_completed='1632611151.46', return_code='0', job_id='110026', GAL2='1.12', EG2='0.69', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='5.14e-08', ts2='1.48', photon_index='2.54' WHERE bin_id='845' AND source_name='4FGL J2040.5-1705' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 16:05:51 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 110026: <4FGL_J2040.5-1705_daily_bin845> in cluster Done Job <4FGL_J2040.5-1705_daily_bin845> was submitted from host by user in cluster at Sat Sep 25 15:50:22 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 15:52:20 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 15:52:20 2021 Terminated at Sat Sep 25 16:05:52 2021 Results reported at Sat Sep 25 16:05:52 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2040.5-1705_daily_bin845 310.136 -17.0901 458352001 458611201 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 : 624.00 sec. Max Memory : 1094 MB Average Memory : 246.89 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 813 sec. Turnaround time : 930 sec. The output (if any) is above this job summary.