/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 61 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 = 73197 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1836.4+3137_monthly_bin132 RA = 279.105, Dec = 31.618 tmin = 579139201, tmax = 581731201 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='601916', job_status='RUN', time_executed='2021-11-02 19:40:59.508715', time_epoch_executed='1635907259.51' WHERE source_name='4FGL J1836.4+3137' and cadence='monthly' and bin_id='132' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/601916 Creating custom pfile directory: /scratch/kocevski/601916/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=579139201.0 && nMetStart<581731201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=579139201.0 && nMetStart<581731201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/601916/ft1_4FGL_J1836.4+3137_monthly_bin132.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=579139201.0 && nMetStart<581731201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/601916/ft1_4FGL_J1836.4+3137_monthly_bin132.fits outfile=/scratch/kocevski/601916/ft1_filteredMKT_4FGL_J1836.4+3137_monthly_bin132.fits ra=279.105 dec=31.618 rad=12.0 tmin=579139201.0 tmax=581731201.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 28.25 user 27.46 sys 0.69 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.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/601916/ft1_filteredMKT_4FGL_J1836.4+3137_monthly_bin132.fits evtable="EVENTS" outfile="/scratch/kocevski/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.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.86 user 0.66 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits" evtable="EVENTS" scfile=/scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits sctable="SC_DATA" outfile=/scratch/kocevski/601916/ltcube_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.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/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits .....................! real 124.60 user 123.38 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits sctable="SC_DATA" expcube=/scratch/kocevski/601916/ltcube_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.fits outfile=/scratch/kocevski/601916/expmap_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.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/601916/ltcube_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.fits .....................! real 192.81 user 187.75 sys 4.64 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/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits scfile=/scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits outfile=/scratch/kocevski/601916/cmap_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.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.81 user 0.62 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits scfile=/scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits outfile=/scratch/kocevski/601916/cmap_HighResolution_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.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.80 user 0.64 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601916/Model_4FGL_J1836.4+3137_monthly_bin132.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/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits.....................! real 2415.68 user 2409.46 sys 1.48 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits', '/scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits', expMap='/scratch/kocevski/601916/expmap_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.fits', expCube='/scratch/kocevski/601916/ltcube_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/601916/Model_4FGL_J1836.4+3137_monthly_bin132.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/601916/ft1_filtered_4FGL_J1836.4+3137_monthly_bin132.fits Spacecraft file(s): /scratch/kocevski/601916/ft2_4FGL_J1836.4+3137_monthly_bin132.fits Exposure map: /scratch/kocevski/601916/expmap_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.fits Exposure cube: /scratch/kocevski/601916/ltcube_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/601916/Model_4FGL_J1836.4+3137_monthly_bin132.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) = 154160.145258 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 154160.109937 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.4414 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.7995 1.0000 .10000E-03 10000. 4 'Prefactor ' 15.484 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'norm ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' 10.804 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' 1.0732 1.0000 .10000E-03 10000. 10 'Prefactor ' 4.2865 1.0000 .10000E-03 10000. 11 'Prefactor ' .15334E-03 1.0000 .10000E-03 10000. 12 'norm ' 6.7848 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.4532 1.0000 .10000E-03 10000. 14 'norm ' .10000E-03 1.0000 .10000E-03 10000. 15 'norm ' .10015E-03 1.0000 .10000E-03 10000. 16 'norm ' .34435 1.0000 .10000E-03 10000. 17 'Prefactor ' .25022E-02 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 1.5253 1.0000 .10000E-03 10000. 20 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 2.0908 1.0000 .10000E-03 10000. 22 'Prefactor ' 39.210 1.0000 .10000E-03 10000. 23 'Normalizat' 1.2505 1.0000 .10000E-01 10.000 24 'Prefactor ' .98819 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. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 154160.1 FROM MIGRAD STATUS=CONVERGED 581 CALLS 2881 TOTAL EDM= .21E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.6699 -.18427E-07** at limit ** 2 Prefactor 3.4422 12.071 -.78017E-05 -.72693E-04 3 Prefactor 1.8024 5.5829 .78659E-05 -.45271E-04 4 Prefactor 15.474 13.778 .32859E-05 -.15043E-03 5 Prefactor .10000E-03 1.1183 -.44672E-07** at limit ** 6 norm .10000E-03 .69238E-01 -.36993E-07** at limit ** 7 norm 10.803 11.558 -.17742E-05 -.87744E-05 8 Prefactor .10000E-03 .39205 .32208E-08** at limit ** 9 norm 1.0731 .87728 .10247E-07 .64258E-04 10 Prefactor 4.2861 1.1175 -.50292E-07 -.58449E-02 11 Prefactor .10000E-03 3.0234 -.10228E-06** at limit ** 12 norm 6.7852 5.7547 -.12929E-05 -.20190E-04 13 Prefactor 3.4526 1.5812 -.10608E-07 -.49992E-02 14 norm .10000E-03 3.2953 .20185E-06** at limit ** 15 norm .10000E-03 .11519 -.22240E-07** at limit ** 16 norm .34439 .42930 .33501E-07 -.20456E-02 17 Prefactor .19208E-01 .50313 -.79428E-07 .14484E-03 18 Prefactor .10000E-03 6.2299 .79594E-07** at limit ** 19 Prefactor 1.5254 1.5649 .98218E-07 -.31884E-02 20 Prefactor .10000E-03 11.607 .41755E-06** at limit ** 21 Prefactor 2.0914 2.6497 -.81763E-07 -.59312E-04 22 Prefactor 39.164 35.517 -.11934E-04 -.89412E-05 23 Normalizat 1.2505 .61226E-01 -.20346E-06 .12418E-03 24 Prefactor .98818 .17659E-01 .11048E-06 -.21187E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 3.44222 Prefactor = 1.80241 Prefactor = 15.4741 Prefactor = 0.0001 norm = 0.0001 norm = 10.8032 Prefactor = 0.0001 norm = 1.07306 Prefactor = 4.28614 Prefactor = 0.0001 norm = 6.78519 Prefactor = 3.45261 norm = 0.0001 norm = 0.0001 norm = 0.344387 Prefactor = 0.0192076 Prefactor = 0.0001 Prefactor = 1.52542 Prefactor = 0.0001 Prefactor = 2.09136 Prefactor = 39.1641 Normalizat = 1.25047 Prefactor = 0.988183 ********** ** 18 **HESSE ********** FCN= 154160.1 FROM HESSE STATUS=OK 417 CALLS 3298 TOTAL EDM= .78E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.7375 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 3.4422 12.113 .21802E-03 -1.5337 3 Prefactor 1.8024 5.5273 .31165E-03 -1.5439 4 Prefactor 15.474 13.594 .10178E-03 -1.4921 5 Prefactor .10000E-03 1.1632 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 .34584 .20087E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 10.803 11.555 .12189E-03 -1.5050 8 Prefactor .10000E-03 .40862 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.0731 .87967 .32446E-03 -1.5501 10 Prefactor 4.2861 1.2151 .97296E-03 -1.5294 11 Prefactor .10000E-03 3.1461 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 6.7852 5.7557 .15404E-03 -1.5187 13 Prefactor 3.4526 1.9842 .10882E-02 -1.5336 14 norm .10000E-03 3.3278 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 .17047 .23128E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .34439 .37384 .24399E-03 -1.5591 17 Prefactor .19208E-01 .60866 .85998E-01 -1.5680 18 Prefactor .10000E-03 6.2561 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 1.5254 1.9609 .17289E-02 -1.5461 20 Prefactor .10000E-03 11.654 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 2.0914 2.6351 .28550E-03 -1.5419 22 Prefactor 39.164 35.521 .64010E-04 -1.4456 23 Normalizat 1.2505 .67816E-01 .44439E-03 -.85057 24 Prefactor .98818 .19524E-01 .14443E-03 -.93124 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.76398e-09 Minuit parameter uncertainties: 1 1.98014e-06 2 12.1221 3 5.52885 4 13.597 5 5.78287e-07 6 1.3153e-06 7 11.5571 8 2.83998e-07 9 0.879679 10 1.21515 11 7.21695e-06 12 5.75615 13 1.9842 14 2.17085e-07 15 2.04067e-07 16 0.373847 17 0.215687 18 5.87427e-07 19 1.96096 20 2.58408e-06 21 2.63525 22 35.5398 23 0.0678211 24 0.0195241 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 154160.109902 Extracting fit parameters... 4FGL J1836.4+3137 Spectrum: PowerLaw 356 Prefactor: 3.453e+00 1.984e+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.882e-01 1.952e-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 6.782e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.24 Ra Dec: 279.105 31.618 Photon Index (Fixed Index): 2.37 +/- 0.00 Photon Flux (Fixed Index): 2.03e-08 +/- 1.17e-08 Energy Flux (Fixed Index): 6.94e-06 +/- 3.99e-06 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): 102 logL (Free Index) = 154159.147568 delta logL = 0.962334084586 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 154159.12839 delta logL = 0.981512031867 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .94382 1.0000 .10000E-03 10000. 2 'Index ' 3.3041 1.0000 .0000 10.000 3 'Normalizat' 1.2230 1.0000 .10000E-01 10.000 4 'Prefactor ' .99211 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= 154159.1 FROM MIGRAD STATUS=FAILED 105 CALLS 294 TOTAL EDM= .48E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .94002 7.5313 .15046E-03 -.20311E-03 2 Index 3.3057 2.4345 .94135E-02 .12744E-01 3 Normalizat 1.2230 .59523E-01 .44862E-03 .89201E-05 4 Prefactor .99212 .15826E-01 .14417E-03 .18420E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 154159.1 FROM SIMPLEX STATUS=UNCHANGED 76 CALLS 370 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .94002 7.5313 .65137E-04 -.20311E-03 2 Index 3.3057 2.4345 .67011E-03 .12744E-01 3 Normalizat 1.2230 .59523E-01 .93285E-04 .89201E-05 4 Prefactor .99212 .15826E-01 .27208E-04 .18420E-03 ERR DEF= .500 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. FCN= 154159.1 FROM MIGRAD STATUS=CONVERGED 67 CALLS 437 TOTAL EDM= .24E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .94002 1.9247 .12036E-05 -.23605E-03 2 Index 3.3057 .92241 .37654E-03 -.21255E-04 3 Normalizat 1.2230 .69199E-01 .35890E-05 .81092E-05 4 Prefactor .99212 .19699E-01 .11534E-05 .18925E-03 ERR DEF= .500 Final values: Prefactor = 0.940022 Index = 3.30575 Normalizat = 1.223 Prefactor = 0.992116 ********** ** 18 **HESSE ********** FCN= 154159.1 FROM HESSE STATUS=OK 23 CALLS 460 TOTAL EDM= .28E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .94002 1.6888 .36988E-06 -1.5514 2 Index 3.3057 .81017 .15062E-04 -.34569 3 Normalizat 1.2230 .68760E-01 .35890E-05 -.85895 4 Prefactor .99212 .19545E-01 .23068E-06 -.92993 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.78963e-12 Minuit parameter uncertainties: 1 1.68891 2 0.814231 3 0.0687647 4 0.0195453 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/601916': 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) = 154159.128387 delta logL = 0.981514788116 Extracting fit parameters... 4FGL J1836.4+3137 Spectrum: PowerLaw 356 Prefactor: 9.400e-01 1.689e+00 1.000e-04 1.000e+04 ( 1.000e-13) 357 Index: 3.306e+00 8.142e-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.921e-01 1.955e-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.223e+00 6.876e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 6.47 Ra Dec: 279.105 31.618 Photon Index (Free Index): 3.31 +/- 0.81 Photon Flux (Free Index): 4.63e-08 +/- 2.18e-08 Energy Flux (Free Index): 8.16e-06 +/- 3.53e-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/601916/cmap_HighResolution_579139201_581731201_4FGL_J1836.4+3137_monthly_bin132.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/601916 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.03e-08', energy_flux2='8.16e-06', photon_flux_error='1.17e-08', dlogl='9.82e-01', energy_flux='6.94e-06', photon_flux2='4.63e-08', job_status='DONE', time_completed='2021-11-02 23:21:46.670774', photon_index_error2='0.81', photon_index2='3.31', ts='4.24', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.53e-06', EG='1.25', time_epoch_completed='1635920506.67', return_code='0', job_id='601916', GAL2='0.99', EG2='1.22', return_code2='0', energy_flux_error='3.99e-06', photon_flux_error2='2.18e-08', ts2='6.47', photon_index='2.37' WHERE bin_id='132' AND source_name='4FGL J1836.4+3137' AND cadence='monthly'; Database successfully updated. Analysis Complete. Tue Nov 2 23:21:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 601916: <4FGL_J1836.4+3137_monthly_bin132> in cluster Done Job <4FGL_J1836.4+3137_monthly_bin132> was submitted from host by user in cluster at Tue Nov 2 19:39:45 2021 Job was executed on host(s) , in queue , as user in cluster at Tue Nov 2 19:39:49 2021 was used as the home directory. was used as the working directory. Started at Tue Nov 2 19:39:49 2021 Terminated at Tue Nov 2 23:21:48 2021 Results reported at Tue Nov 2 23:21:48 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1836.4+3137_monthly_bin132 279.105 31.618 579139201 581731201 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 : 13102.00 sec. Max Memory : 640 MB Average Memory : 568.86 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 13318 sec. Turnaround time : 13323 sec. The output (if any) is above this job summary.