/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 25 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 = 72988 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0358.9+6004_monthly_bin27 RA = 59.7328, Dec = 60.0767 tmin = 306979201, tmax = 309571201 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='771054', job_status='RUN', time_executed='2021-10-12 17:40:56.414872', time_epoch_executed='1634085656.41' WHERE source_name='4FGL J0358.9+6004' and cadence='monthly' and bin_id='27' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/771054 Creating custom pfile directory: /scratch/kocevski/771054/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=306979201.0 && nMetStart<309571201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=306979201.0 && nMetStart<309571201.0' /Data/Flight/Level1/LPA Retrieving 454 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/771054/ft1_4FGL_J0358.9+6004_monthly_bin27.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=306979201.0 && nMetStart<309571201.0' /Data/Flight/Level1/LPA Retrieving 454 files... Done. Merging files... Merged file saved to: /scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/771054/ft1_4FGL_J0358.9+6004_monthly_bin27.fits outfile=/scratch/kocevski/771054/ft1_filteredMKT_4FGL_J0358.9+6004_monthly_bin27.fits ra=59.7328 dec=60.0767 rad=12.0 tmin=306979201.0 tmax=309571201.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 45.74 user 44.25 sys 1.39 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.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/771054/ft1_filteredMKT_4FGL_J0358.9+6004_monthly_bin27.fits evtable="EVENTS" outfile="/scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.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.87 user 0.68 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits" evtable="EVENTS" scfile=/scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits sctable="SC_DATA" outfile=/scratch/kocevski/771054/ltcube_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.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/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits .....................! real 109.30 user 108.74 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits evtable="EVENTS" scfile=/scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits sctable="SC_DATA" expcube=/scratch/kocevski/771054/ltcube_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.fits outfile=/scratch/kocevski/771054/expmap_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.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/771054/ltcube_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.fits .....................! real 191.19 user 186.25 sys 4.56 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 G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template. Added 170 point sources and 4 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 J0358.9+6004 @ 59.7328 60.0767 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits scfile=/scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits outfile=/scratch/kocevski/771054/cmap_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.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=59.7328 yref=60.0767 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.85 user 0.69 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits scfile=/scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits outfile=/scratch/kocevski/771054/cmap_HighResolution_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.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=59.7328 yref=60.0767 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.85 user 0.69 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits evtable="EVENTS" scfile=/scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/771054/Model_4FGL_J0358.9+6004_monthly_bin27.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source HB 9 adding source W 3 Working on... /scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits.....................! real 6949.50 user 6934.80 sys 2.94 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits', '/scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits', expMap='/scratch/kocevski/771054/expmap_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.fits', expCube='/scratch/kocevski/771054/ltcube_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/771054/Model_4FGL_J0358.9+6004_monthly_bin27.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0358.9+6004' 4FGL J0358.9+6004 Spectrum: PowerLaw 327 Prefactor: 8.342e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 328 Index: 2.597e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 329 Scale: 9.308e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/771054/ft1_filtered_4FGL_J0358.9+6004_monthly_bin27.fits Spacecraft file(s): /scratch/kocevski/771054/ft2_4FGL_J0358.9+6004_monthly_bin27.fits Exposure map: /scratch/kocevski/771054/expmap_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.fits Exposure cube: /scratch/kocevski/771054/ltcube_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/771054/Model_4FGL_J0358.9+6004_monthly_bin27.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) = 375129.922706 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 375128.911417 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 4.7394 1.0000 .10000E-03 10000. 2 'norm ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 15.295 1.0000 .10000E-03 10000. 4 'Prefactor ' .82537 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.2524 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.2376 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.6933 1.0000 .10000E-03 10000. 8 'Prefactor ' .12526 1.0000 .10000E-03 10000. 9 'norm ' 5.0356 1.0000 .10000E-03 10000. 10 'Prefactor ' .97264 1.0000 .10000E-03 10000. 11 'norm ' .44863 1.0000 .10000E-03 10000. 12 'norm ' .10463E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 7.8471 1.0000 .10000E-03 10000. 14 'Prefactor ' .10393E-03 1.0000 .10000E-03 10000. 15 'norm ' .76611 1.0000 .10000E-03 10000. 16 'Normalizat' 1.3666 1.0000 .10000E-01 10.000 17 'Prefactor ' .97154 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5900E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 375128.9 FROM MIGRAD STATUS=CONVERGED 405 CALLS 1574 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 4.7394 .19087 .0000 .89112E-02 2 norm .10000E-03 .10873 .0000 ** at limit ** 3 Prefactor 15.289 8.9864 .0000 .42145E-03 4 Prefactor .82537 .97939 .0000 .37236E-01 5 Prefactor 1.2525 .64072 .0000 .16043E-01 6 Prefactor 1.2268 12.391 .0000 .18114E-01 7 Prefactor 1.6997 3.8627 .0000 .14612E-02 8 Prefactor .37145E-01 1.5195 .0000 .14314E-02 9 norm 5.0346 2.5014 .0000 .63126E-01 10 Prefactor .97347 1.3962 .0000 .20626E-01 11 norm .44770 .69316 .0000 .15688E-01 12 norm .10000E-03 3.5851 .0000 ** at limit ** 13 Prefactor 7.8491 2.6603 .0000 -.17486E-04 14 Prefactor .10000E-03 .90505 .0000 ** at limit ** 15 norm .56526 3.7634 .0000 .26910E-02 16 Normalizat 1.3668 .88946E-01 .0000 .14368E-02 17 Prefactor .97154 .90388E-02 .0000 .26926E-03 ERR DEF= .500 Final values: norm = 4.73935 norm = 0.0001 Prefactor = 15.2895 Prefactor = 0.825367 Prefactor = 1.25245 Prefactor = 1.2268 Prefactor = 1.69966 Prefactor = 0.0371453 norm = 5.03462 Prefactor = 0.973469 norm = 0.447704 norm = 0.0001 Prefactor = 7.84905 Prefactor = 0.0001 norm = 0.565255 Normalizat = 1.36676 Prefactor = 0.971539 ********** ** 18 **HESSE ********** FCN= 375128.9 FROM HESSE STATUS=OK 259 CALLS 1833 TOTAL EDM= .31E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 4.7394 .19079 .51524E-04 -1.5273 2 norm .10000E-03 .60155 .38674E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 15.289 8.8356 .10241E-03 -1.4926 4 Prefactor .82537 .95301 .50136E-03 -1.5526 5 Prefactor 1.2525 .63331 .33370E-03 -1.5484 6 Prefactor 1.2268 12.748 .20171E-02 -1.5486 7 Prefactor 1.6997 3.8360 .32343E-03 -1.5447 8 Prefactor .37145E-01 1.2197 .19608 -1.5669 9 norm 5.0346 2.4927 .89597E-03 -1.5259 10 Prefactor .97347 1.3601 .52274E-03 -1.5511 11 norm .44770 1.9293 .60580E-02 -1.5574 12 norm .10000E-03 3.7534 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 7.8491 2.6605 .14314E-03 -1.5148 14 Prefactor .10000E-03 .88817 .22162 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .56526 3.7632 .50000 -1.5558 16 Normalizat 1.3668 .87731E-01 .96097E-03 -.81595 17 Prefactor .97154 .92440E-02 .11836E-03 -.93684 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.05267e-06 Minuit parameter uncertainties: 1 0.190794 2 6.11163e-08 3 8.8364 4 0.953024 5 0.633312 6 7.91112 7 3.83651 8 0.425144 9 2.49274 10 1.36012 11 1.85868 12 2.88489e-06 13 2.66054 14 1.04867e-05 15 2.91698 16 0.0877409 17 0.00924397 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 375128.911307 Extracting fit parameters... 4FGL J0358.9+6004 Spectrum: PowerLaw 327 Prefactor: 3.715e-02 4.251e-01 1.000e-04 1.000e+04 ( 1.000e-13) 328 Index: 2.597e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 329 Scale: 9.308e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 575 Prefactor: 9.715e-01 9.244e-03 0.000e+00 1.000e+01 ( 1.000e+00) 576 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 577 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 570 Normalization: 1.367e+00 8.774e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 59.733 60.077 Photon Flux Upper Limit: 3.68e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.88e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/771054/likelihoodResults_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.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): 102 logL (Free Index) = 375128.911307 delta logL = 3.53902578354e-08 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 375128.404387 delta logL = 0.506919899955 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .28074 1.0000 .10000E-03 10000. 2 'Index ' 4.6345 1.0000 .0000 10.000 3 'Normalizat' 1.3454 1.0000 .10000E-01 10.000 4 'Prefactor ' .97224 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5900E+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= 375128.4 FROM MIGRAD STATUS=FAILED 116 CALLS 356 TOTAL EDM= .24E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .28323 12.205 .17136E-02 .82813E-02 2 Index 4.6315 7.2552 .61373E-02 .70421E-04 3 Normalizat 1.3454 .52890E-01 .96725E-03 -.37612E-04 4 Prefactor .97223 .55869E-02 .11832E-03 -.79943E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 375128.4 FROM SIMPLEX STATUS=UNCHANGED 83 CALLS 439 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .28323 12.205 .16157E-03 .82813E-02 2 Index 4.6315 7.2552 .26437E-02 .70421E-04 3 Normalizat 1.3454 .52890E-01 .61467E-04 -.37612E-04 4 Prefactor .97223 .55869E-02 .83902E-05 -.79943E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 375128.4 FROM MIGRAD STATUS=CONVERGED 38 CALLS 477 TOTAL EDM= .20E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .28323 5.1506 .68545E-04 .73242E-03 2 Index 4.6315 3.6749 .24549E-03 .38530E-04 3 Normalizat 1.3454 .86472E-01 .38690E-04 -.41373E-04 4 Prefactor .97223 .90807E-02 .47328E-05 -.92241E-04 ERR DEF= .500 Final values: Prefactor = 0.283228 Index = 4.63153 Normalizat = 1.3454 Prefactor = 0.972228 ********** ** 18 **HESSE ********** FCN= 375128.4 FROM HESSE STATUS=OK 23 CALLS 500 TOTAL EDM= .23E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .28323 1.6828 .27418E-05 -1.5602 2 Index 4.6315 2.2807 .98197E-05 -.73762E-01 3 Normalizat 1.3454 .86515E-01 .77380E-05 -.82221 4 Prefactor .97223 .90713E-02 .94655E-06 -.93661 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.33333e-11 Minuit parameter uncertainties: 1 1.38057 2 2.36878 3 0.0865246 4 0.00907132 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/771054': 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) = 375128.40438 delta logL = 0.506926401053 Extracting fit parameters... 4FGL J0358.9+6004 Spectrum: PowerLaw 327 Prefactor: 2.832e-01 1.381e+00 1.000e-04 1.000e+04 ( 1.000e-13) 328 Index: 4.632e+00 2.369e+00 0.000e+00 1.000e+01 (-1.000e+00) 329 Scale: 9.308e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 575 Prefactor: 9.722e-01 9.071e-03 0.000e+00 1.000e+01 ( 1.000e+00) 576 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 577 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 570 Normalization: 1.345e+00 8.652e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.09 Ra Dec: 59.733 60.077 Photon Index (Free Index): 4.63 +/- 2.37 Photon Flux (Free Index): 2.41e-08 +/- 2.45e-08 Energy Flux (Free Index): 3.31e-06 +/- 3.59e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -4.000e-01 [aplpy.core] INFO: Auto-setting vmax to 4.440e+00 [aplpy.core] Saving /scratch/kocevski/771054/cmap_HighResolution_306979201_309571201_4FGL_J0358.9+6004_monthly_bin27.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/771054 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-03', comment='SUCCESS', energy_flux2='3.31e-06', dlogl='5.07e-01', photon_flux2='2.41e-08', job_status='DONE', time_completed='2021-10-13 00:01:57.347344', photon_index_error2='2.37', photon_index2='4.63', ts='0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='3.59e-06', EG='1.37', time_epoch_completed='1634108517.35', return_code='0', job_id='771054', GAL2='0.97', EG2='1.35', return_code2='0', photon_flux_error2='2.45e-08', ts2='1.09', photon_index='2.60' WHERE bin_id='27' AND source_name='4FGL J0358.9+6004' AND cadence='monthly'; Database successfully updated. Analysis Complete. Wed Oct 13 00:01:57 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 771054: <4FGL_J0358.9+6004_monthly_bin27> in cluster Done Job <4FGL_J0358.9+6004_monthly_bin27> was submitted from host by user in cluster at Tue Oct 12 17:40:21 2021 Job was executed on host(s) , in queue , as user in cluster at Tue Oct 12 17:40:22 2021 was used as the home directory. was used as the working directory. Started at Tue Oct 12 17:40:22 2021 Terminated at Wed Oct 13 00:01:59 2021 Results reported at Wed Oct 13 00:01:59 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0358.9+6004_monthly_bin27 59.7328 60.0767 306979201 309571201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0358.9+6004 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 22678.00 sec. Max Memory : 913 MB Average Memory : 806.89 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 22897 sec. Turnaround time : 22898 sec. The output (if any) is above this job summary.