/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 1 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 = 73140 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1836.4+3137_monthly_bin47 RA = 279.105, Dec = 31.618 tmin = 358819201, tmax = 361411201 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='587186', job_status='RUN', time_executed='2021-11-02 18:50:34.963474', time_epoch_executed='1635904234.96' WHERE source_name='4FGL J1836.4+3137' and cadence='monthly' and bin_id='47' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/587186 Creating custom pfile directory: /scratch/kocevski/587186/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=358819201.0 && nMetStart<361411201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=358819201.0 && nMetStart<361411201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/587186/ft1_4FGL_J1836.4+3137_monthly_bin47.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=358819201.0 && nMetStart<361411201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/587186/ft1_4FGL_J1836.4+3137_monthly_bin47.fits outfile=/scratch/kocevski/587186/ft1_filteredMKT_4FGL_J1836.4+3137_monthly_bin47.fits ra=279.105 dec=31.618 rad=12.0 tmin=358819201.0 tmax=361411201.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 31.63 user 30.75 sys 0.74 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.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/587186/ft1_filteredMKT_4FGL_J1836.4+3137_monthly_bin47.fits evtable="EVENTS" outfile="/scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.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.85 user 0.67 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits" evtable="EVENTS" scfile=/scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits sctable="SC_DATA" outfile=/scratch/kocevski/587186/ltcube_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.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/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits .....................! real 120.41 user 119.43 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits evtable="EVENTS" scfile=/scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits sctable="SC_DATA" expcube=/scratch/kocevski/587186/ltcube_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.fits outfile=/scratch/kocevski/587186/expmap_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.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/587186/ltcube_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.fits .....................! real 194.09 user 188.30 sys 5.01 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 Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template. Added 231 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1836.4+3137 @ 279.105 31.618 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits scfile=/scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits outfile=/scratch/kocevski/587186/cmap_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.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=279.105 yref=31.618 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.80 user 0.62 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits scfile=/scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits outfile=/scratch/kocevski/587186/cmap_HighResolution_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.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=279.105 yref=31.618 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.81 user 0.63 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits evtable="EVENTS" scfile=/scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/587186/Model_4FGL_J1836.4+3137_monthly_bin47.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 adding source W 51C Working on... /scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits.....................! real 1965.67 user 1957.19 sys 1.69 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits', '/scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits', expMap='/scratch/kocevski/587186/expmap_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.fits', expCube='/scratch/kocevski/587186/ltcube_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/587186/Model_4FGL_J1836.4+3137_monthly_bin47.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1836.4+3137' 4FGL J1836.4+3137 Spectrum: PowerLaw 356 Prefactor: 2.008e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 357 Index: 2.369e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 358 Scale: 1.684e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/587186/ft1_filtered_4FGL_J1836.4+3137_monthly_bin47.fits Spacecraft file(s): /scratch/kocevski/587186/ft2_4FGL_J1836.4+3137_monthly_bin47.fits Exposure map: /scratch/kocevski/587186/expmap_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.fits Exposure cube: /scratch/kocevski/587186/ltcube_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/587186/Model_4FGL_J1836.4+3137_monthly_bin47.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) = 126876.183042 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 126876.085983 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.7238 1.0000 .10000E-03 10000. 3 'Prefactor ' .31998E-01 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.7047 1.0000 .10000E-03 10000. 6 'norm ' .68538 1.0000 .10000E-03 10000. 7 'norm ' 12.126 1.0000 .10000E-03 10000. 8 'Prefactor ' .36653E-01 1.0000 .10000E-03 10000. 9 'norm ' .78743 1.0000 .10000E-03 10000. 10 'Prefactor ' .52934 1.0000 .10000E-03 10000. 11 'Prefactor ' 6.0398 1.0000 .10000E-03 10000. 12 'norm ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.8817 1.0000 .10000E-03 10000. 14 'norm ' 2.8816 1.0000 .10000E-03 10000. 15 'norm ' 3.6589 1.0000 .10000E-03 10000. 16 'norm ' .61383 1.0000 .10000E-03 10000. 17 'Prefactor ' 4.3273 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.2839 1.0000 .10000E-03 10000. 19 'Prefactor ' 4.6473 1.0000 .10000E-03 10000. 20 'Prefactor ' 18.312 1.0000 .10000E-03 10000. 21 'Prefactor ' 3.8351 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'Normalizat' 1.2661 1.0000 .10000E-01 10.000 24 'Prefactor ' .93219 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8100E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 126876.1 FROM MIGRAD STATUS=CONVERGED 579 CALLS 2483 TOTAL EDM= .52E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.0513 .0000 ** at limit ** 2 Prefactor 3.7269 9.1521 .0000 .14319E-02 3 Prefactor .10000E-03 1.9645 .0000 ** at limit ** 4 Prefactor .10000E-03 5.4082 .0000 ** at limit ** 5 Prefactor 1.7050 1.7537 .0000 .49129E-02 6 norm .68541 .30853 .0000 -.95878E-03 7 norm 12.126 13.505 .0000 .11285E-02 8 Prefactor .35179E-01 .26079 .0000 .83265E-02 9 norm .78778 1.0097 .0000 .11193E-01 10 Prefactor .52975 1.1118 .0000 .66377 11 Prefactor 6.0402 5.1324 .0000 .10904E-02 12 norm .10000E-03 2.3824 .0000 ** at limit ** 13 Prefactor 2.8813 1.9614 .0000 .88789E-01 14 norm 2.8815 5.4571 .0000 .83490E-02 15 norm 3.6578 1.6626 .0000 .58893E-02 16 norm .61461 1.0638 .0000 .29726E-01 17 Prefactor 4.3270 2.7163 .0000 .32579E-01 18 Prefactor 5.2820 10.672 .0000 .26473E-02 19 Prefactor 4.6471 3.1437 .0000 .33121E-02 20 Prefactor 18.310 17.922 .0000 -.11163E-02 21 Prefactor 3.8356 4.9066 .0000 .59983E-02 22 Prefactor .10000E-03 24.652 .0000 ** at limit ** 23 Normalizat 1.2662 .69651E-01 .0000 .14078E-02 24 Prefactor .93219 .18751E-01 .0000 .84030E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 3.7269 Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 1.70497 norm = 0.685409 norm = 12.126 Prefactor = 0.0351789 norm = 0.787777 Prefactor = 0.529754 Prefactor = 6.04021 norm = 0.0001 Prefactor = 2.88134 norm = 2.88152 norm = 3.65781 norm = 0.61461 Prefactor = 4.327 Prefactor = 5.282 Prefactor = 4.64714 Prefactor = 18.3103 Prefactor = 3.83563 Prefactor = 0.0001 Normalizat = 1.26617 Prefactor = 0.932192 ********** ** 18 **HESSE ********** FCN= 126876.1 FROM HESSE STATUS=OK 427 CALLS 2910 TOTAL EDM= .48E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.0599 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 3.7269 9.1392 .20926E-03 -1.5322 3 Prefactor .10000E-03 1.9413 .15303 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 5.4176 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.7050 1.7419 .32209E-03 -1.5447 6 norm .68541 .31600 .12924E-02 -1.5542 7 norm 12.126 13.507 .11504E-03 -1.5011 8 Prefactor .35179E-01 .28194 .63917E-01 -1.5671 9 norm .78778 1.1497 .38629E-02 -1.5530 10 Prefactor .52975 1.1016 .22780E-02 -1.5562 11 Prefactor 6.0402 5.0106 .16337E-03 -1.5216 12 norm .10000E-03 2.4197 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.8813 1.9456 .11971E-02 -1.5368 14 norm 2.8815 5.4395 .11971E-02 -1.5368 15 norm 3.6578 1.3203 .16620E-03 -1.5325 16 norm .61461 .82812 .24620E-03 -1.5551 17 Prefactor 4.3270 2.7143 .96823E-03 -1.5292 18 Prefactor 5.2820 10.376 .17485E-03 -1.5248 19 Prefactor 4.6471 3.1431 .93345E-03 -1.5277 20 Prefactor 18.310 17.931 .46798E-03 -1.4852 21 Prefactor 3.8356 4.9010 .20609E-03 -1.5316 22 Prefactor .10000E-03 24.683 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat 1.2662 .76503E-01 .43876E-03 -.84582 24 Prefactor .93219 .20822E-01 .14263E-03 -.95025 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.83264e-08 Minuit parameter uncertainties: 1 2.80847e-07 2 9.14265 3 7.53011e-05 4 7.59956e-06 5 1.74191 6 0.316005 7 13.51 8 0.198899 9 1.14976 10 1.10167 11 5.01097 12 4.97006e-06 13 1.94568 14 5.44039 15 1.32032 16 0.828139 17 2.71438 18 10.3797 19 3.14319 20 17.9359 21 4.90148 22 0.000131671 23 0.0765095 24 0.020822 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 126876.085966 Extracting fit parameters... 4FGL J1836.4+3137 Spectrum: PowerLaw 356 Prefactor: 2.881e+00 1.946e+00 1.000e-04 1.000e+04 ( 1.000e-13) 357 Index: 2.369e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 358 Scale: 1.684e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 803 Prefactor: 9.322e-01 2.082e-02 0.000e+00 1.000e+01 ( 1.000e+00) 804 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 805 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 802 Normalization: 1.266e+00 7.651e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.32 Ra Dec: 279.105 31.618 Photon Index (Fixed Index): 2.37 +/- 0.00 Photon Flux (Fixed Index): 1.69e-08 +/- 1.14e-08 Energy Flux (Fixed Index): 5.79e-06 +/- 3.91e-06 TS (Fixed Index): 3.32 Ra Dec: 279.105 31.618 Photon Flux Upper Limit: 3.92e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.02e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/587186/likelihoodResults_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.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) = 126875.822556 delta logL = 0.263409490901 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 126875.822186 delta logL = 0.263779628382 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.4852 1.0000 .10000E-03 10000. 2 'Index ' 2.9611 1.0000 .0000 10.000 3 'Normalizat' 1.2501 1.0000 .10000E-01 10.000 4 'Prefactor ' .93432 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8100E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 126875.8 FROM MIGRAD STATUS=FAILED 96 CALLS 343 TOTAL EDM= .98E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4935 21.025 .22727E-03 .26972E-03 2 Index 2.9580 3.5652 .79503E-02 .35007E-02 3 Normalizat 1.2502 .91294E-01 .44111E-03 -.50432E-03 4 Prefactor .93431 .19726E-01 .14248E-03 -.38554E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 126875.8 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 427 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4935 21.025 .81541E-04 .26972E-03 2 Index 2.9580 3.5652 .81255E-03 .35007E-02 3 Normalizat 1.2502 .91294E-01 .91127E-04 -.50432E-03 4 Prefactor .93431 .19726E-01 .22932E-04 -.38554E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 126875.8 FROM MIGRAD STATUS=CONVERGED 38 CALLS 465 TOTAL EDM= .90E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4935 3.4673 .90908E-05 .12005E-03 2 Index 2.9580 1.2558 .15901E-02 .12813E-04 3 Normalizat 1.2502 .78070E-01 .17644E-04 -.48040E-03 4 Prefactor .93431 .21054E-01 .56993E-05 -.39576E-03 ERR DEF= .500 Final values: Prefactor = 1.49349 Index = 2.95797 Normalizat = 1.25018 Prefactor = 0.934309 ********** ** 18 **HESSE ********** FCN= 126875.8 FROM HESSE STATUS=OK 23 CALLS 488 TOTAL EDM= .79E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.4935 2.5960 .18182E-05 -1.5464 2 Index 2.9580 .94467 .63602E-04 -.42071 3 Normalizat 1.2502 .76034E-01 .35289E-05 -.85066 4 Prefactor .93431 .20817E-01 .11399E-05 -.94952 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.89326e-11 Minuit parameter uncertainties: 1 2.59618 2 0.951553 3 0.0760405 4 0.0208171 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/587186': 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) = 126875.82218 delta logL = 0.263785191972 Extracting fit parameters... 4FGL J1836.4+3137 Spectrum: PowerLaw 356 Prefactor: 1.493e+00 2.596e+00 1.000e-04 1.000e+04 ( 1.000e-13) 357 Index: 2.958e+00 9.516e-01 0.000e+00 1.000e+01 (-1.000e+00) 358 Scale: 1.684e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 803 Prefactor: 9.343e-01 2.082e-02 0.000e+00 1.000e+01 ( 1.000e+00) 804 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 805 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 802 Normalization: 1.250e+00 7.604e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.94 Ra Dec: 279.105 31.618 Photon Index (Free Index): 2.96 +/- 0.95 Photon Flux (Free Index): 3.24e-08 +/- 2.53e-08 Energy Flux (Free Index): 6.61e-06 +/- 3.68e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/587186/cmap_HighResolution_358819201_361411201_4FGL_J1836.4+3137_monthly_bin47.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/587186 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.02e-03', comment='SUCCESS', photon_flux='1.69e-08', energy_flux2='6.61e-06', photon_flux_error='1.14e-08', dlogl='2.64e-01', energy_flux='5.79e-06', photon_flux2='3.24e-08', job_status='DONE', time_completed='2021-11-02 22:12:53.235470', photon_index_error2='0.95', photon_index2='2.96', ts='3.32', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='3.92e-08', energy_flux_error2='3.68e-06', EG='1.27', time_epoch_completed='1635916373.24', return_code='0', job_id='587186', GAL2='0.93', EG2='1.25', return_code2='0', energy_flux_error='3.91e-06', photon_flux_error2='2.53e-08', ts2='3.94', photon_index='2.37' WHERE bin_id='47' AND source_name='4FGL J1836.4+3137' AND cadence='monthly'; Database successfully updated. Analysis Complete. Tue Nov 2 22:12:53 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 587186: <4FGL_J1836.4+3137_monthly_bin47> in cluster Done Job <4FGL_J1836.4+3137_monthly_bin47> was submitted from host by user in cluster at Tue Nov 2 18:50:16 2021 Job was executed on host(s) , in queue , as user in cluster at Tue Nov 2 18:50:25 2021 was used as the home directory. was used as the working directory. Started at Tue Nov 2 18:50:25 2021 Terminated at Tue Nov 2 22:12:54 2021 Results reported at Tue Nov 2 22:12:54 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1836.4+3137_monthly_bin47 279.105 31.618 358819201 361411201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1836.4+3137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 12011.00 sec. Max Memory : 1266 MB Average Memory : 533.43 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 12149 sec. Turnaround time : 12158 sec. The output (if any) is above this job summary.