/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 87 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 = 7374 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1387 RA = 75.6341, Dec = 13.6685 tmin = 598838401, tmax = 599097601 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='927829', job_status='RUN', time_executed='2021-08-21 18:18:25.300227', time_epoch_executed='1629595105.3' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1387' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/927829 Creating custom pfile directory: /scratch/kocevski/927829/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=598838401.0 && nMetStart<599097601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=598838401.0 && nMetStart<599097601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/927829/ft1_4FGL_J0502.5+1340_daily_bin1387.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=598838401.0 && nMetStart<599097601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/927829/ft1_4FGL_J0502.5+1340_daily_bin1387.fits outfile=/scratch/kocevski/927829/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1387.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=598838401.0 tmax=599097601.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 7.46 user 2.67 sys 4.74 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.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/927829/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1387.fits evtable="EVENTS" outfile="/scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.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 5.21 user 0.33 sys 4.81 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits" evtable="EVENTS" scfile=/scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits sctable="SC_DATA" outfile=/scratch/kocevski/927829/ltcube_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.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/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits .....................! real 17.79 user 12.23 sys 5.51 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits sctable="SC_DATA" expcube=/scratch/kocevski/927829/ltcube_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.fits outfile=/scratch/kocevski/927829/expmap_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.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/927829/ltcube_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.fits .....................! real 196.59 user 186.11 sys 10.06 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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 161 point sources and 2 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits scfile=/scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits outfile=/scratch/kocevski/927829/cmap_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.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=75.6341 yref=13.6685 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 5.01 user 0.36 sys 4.62 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits scfile=/scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits outfile=/scratch/kocevski/927829/cmap_HighResolution_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.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=75.6341 yref=13.6685 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 5.10 user 0.40 sys 4.68 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/927829/Model_4FGL_J0502.5+1340_daily_bin1387.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 IC 443 adding source S 147 Working on... /scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits...................................! real 27.48 user 20.23 sys 7.09 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits', '/scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits', expMap='/scratch/kocevski/927829/expmap_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.fits', expCube='/scratch/kocevski/927829/ltcube_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/927829/Model_4FGL_J0502.5+1340_daily_bin1387.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/927829/ft1_filtered_4FGL_J0502.5+1340_daily_bin1387.fits Spacecraft file(s): /scratch/kocevski/927829/ft2_4FGL_J0502.5+1340_daily_bin1387.fits Exposure map: /scratch/kocevski/927829/expmap_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.fits Exposure cube: /scratch/kocevski/927829/ltcube_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/927829/Model_4FGL_J0502.5+1340_daily_bin1387.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 101 logL (Fixed Index) = 467.446367295 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 101 logL (Fixed Index) = 465.061238373 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 108.40 1.0000 .10000E-03 10000. 2 'Prefactor ' .22618 1.0000 .10000E-03 10000. 3 'Prefactor ' .68595E-01 1.0000 .10000E-03 10000. 4 'norm ' .10168E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 128.55 1.0000 .10000E-03 10000. 6 'Prefactor ' .12296E-03 1.0000 .10000E-03 10000. 7 'norm ' .10130E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .22347 1.0000 .10000E-03 10000. 9 'Prefactor ' .23322 1.0000 .10000E-03 10000. 10 'Prefactor ' .26313E-01 1.0000 .10000E-03 10000. 11 'norm ' .10057E-03 1.0000 .10000E-03 10000. 12 'norm ' .26217E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .72569E-03 1.0000 .10000E-03 10000. 14 'norm ' .14866 1.0000 .10000E-03 10000. 15 'Prefactor ' .32805E-01 1.0000 .10000E-03 10000. 16 'Prefactor ' 4.3770 1.0000 .10000E-03 10000. 17 'norm ' .99114E-01 1.0000 .10000E-03 10000. 18 'Prefactor ' .15810 1.0000 .10000E-03 10000. 19 'norm ' 4.7492 1.0000 .10000E-03 10000. 20 'norm ' 10.382 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.4160 1.0000 .10000E-03 10000. 22 'norm ' 5.5000 1.0000 .10000E-03 10000. 23 'Prefactor ' 2.3454 1.0000 .10000E-03 10000. 24 'Prefactor ' .54157 1.0000 .10000E-03 10000. 25 'Prefactor ' 1.5730 1.0000 .10000E-03 10000. 26 'Prefactor ' 1.9286 1.0000 .10000E-03 10000. 27 'Prefactor ' 1.7368 1.0000 .10000E-03 10000. 28 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 29 'Prefactor ' .73110 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 465.0532 FROM MIGRAD STATUS=CONVERGED 302 CALLS 664 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 111.20 126.66 .96575E-03 -.18401E-01 2 Prefactor .10008E-03 311.17 .10097E-01** at limit ** 3 Prefactor .10000E-03 161.15 .93604E-02** at limit ** 4 norm .10000E-03 6.6519 .90712E-02** at limit ** 5 Prefactor 133.23 177.05 .88771E-03 .33078E-01 6 Prefactor .10000E-03 21.543 .90712E-02** at limit ** 7 norm .10000E-03 6.0437 .90712E-02** at limit ** 8 Prefactor .10000E-03 75.680 .10084E-01** at limit ** 9 Prefactor .10000E-03 53.754 .10128E-01** at limit ** 10 Prefactor .10000E-03 102.50 .91538E-02** at limit ** 11 norm .10000E-03 1.0203 .90712E-02** at limit ** 12 norm .10000E-03 6.9513 .10723E-01** at limit ** 13 Prefactor .10000E-03 62.746 .10480E-01** at limit ** 14 norm .10000E-03 102.25 .97407E-02** at limit ** 15 Prefactor .11093E-03 279.42 .91858E-02** at limit ** 16 Prefactor .10142 7411.7 .48128E-02 .26779E-02 17 norm .10000E-03 124.69 .95070E-02** at limit ** 18 Prefactor .21060E-02 1912.0 .97847E-02** at limit ** 19 norm 4.7492 1.0056 .0000 .0000 20 norm 10.391 1.0015 -.57985E-06 -.28523E-04 21 Prefactor 1.4160 1.0821 .0000 .0000 22 norm 5.5000 1.0042 .0000 .0000 23 Prefactor 2.3454 1.0247 .0000 .0000 24 Prefactor .10112E-03 .32714 .13101E-04** at limit ** 25 Prefactor .10032E-03 .17942 -.52679E-05** at limit ** 26 Prefactor 1.9286 1.0383 .0000 .0000 27 Prefactor 1.7368 1.0490 .0000 .0000 28 Normalizat .10000E-01 .25505 -.21353E-04** at limit ** 29 Prefactor .72947 1.0797 .23734E-06 .17975E-04 ERR DEF= .500 Final values: Prefactor = 111.203 Prefactor = 0.000100083 Prefactor = 0.000100001 norm = 0.0001 Prefactor = 133.234 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.000110931 Prefactor = 0.101419 norm = 0.000100001 Prefactor = 0.00210602 norm = 4.74921 norm = 10.3905 Prefactor = 1.41602 norm = 5.5 Prefactor = 2.34537 Prefactor = 0.000101124 Prefactor = 0.000100319 Prefactor = 1.92859 Prefactor = 1.73681 Normalizat = 0.01 Prefactor = 0.729472 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 465.0532 FROM HESSE STATUS=FAILED 47 CALLS 711 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 111.20 126.66 .96575E-03 -1.3595 2 Prefactor .10008E-03 311.17 .10097E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 161.15 .93604E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10000E-03 6.6519 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 133.23 177.05 .88771E-03 -1.3394 6 Prefactor .10000E-03 21.543 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .10000E-03 6.0437 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 75.680 .10084E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 53.754 .10128E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 102.50 .91538E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 1.0203 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10000E-03 6.9513 .10723E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 62.746 .10480E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 102.25 .97407E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11093E-03 279.42 .91858E-02 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10142 7411.7 .48128E-02 -1.5644 17 norm .10000E-03 124.69 .95070E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .21060E-02 1912.0 .97847E-02 -1.5717 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 534.06 529.26 .0000 -1.5272 20 norm 10.391 1.0015 -.57985E-06 -1.5063 21 Prefactor 1.4160 1.0821 .0000 -1.5470 22 norm 5.5000 1.0042 .0000 -1.5239 23 Prefactor 2.3454 1.0247 .0000 -1.5402 24 Prefactor .10112E-03 .32714 .13101E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10032E-03 .17942 -.52679E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor 1.9286 1.0383 .0000 -1.5430 27 Prefactor 1.7368 1.0490 .0000 -1.5444 28 Normalizat .10000E-01 .25505 -.21353E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .72947 1.0797 .23734E-06 -1.0238 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.05279e-09 Minuit parameter uncertainties: 1 126.973 2 0.0101874 3 0.000808018 4 9.7335e-06 5 177.76 6 4.69866e-05 7 2.11937e-06 8 4.0317e-05 9 9.49322e-06 10 0.000110307 11 6.14321e-07 12 1.78522e-06 13 5.36907e-05 14 0.000140071 15 0.111056 16 49.0774 17 0.000675765 18 4.05389 19 1.00565 20 1.00155 21 1.08212 22 1.00419 23 1.02475 24 0.00121269 25 0.000478203 26 1.03833 27 1.04897 28 2.77306e-06 29 1.11337 Done. MINUIT Return Code (Fixed Index): 101 logL (Fixed Index) = 465.053190258 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 1.103e-04 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 7.295e-01 1.113e+00 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.000e-02 2.773e-06 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 3.50e-06 ph cm-2 s-1 Energy Flux Upper Limit: 2.68e-01 MeV cm-2 s-1 Saving results to: /scratch/kocevski/927829/likelihoodResults_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.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) = 465.053237492 delta logL = -4.72344563036e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 465.05319178 delta logL = -1.52208968984e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .26997E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4652 1.0000 .0000 10.000 3 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 4 'Prefactor ' .72947 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 465.0532 FROM MIGRAD STATUS=CONVERGED 93 CALLS 282 TOTAL EDM= .64E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10382E-03 49.267 .17878E-01** at limit ** 2 Index 2.4184 6.2011 .50000 .45884E-05 3 Normalizat .10000E-01 .71244E-03 .92226E-02** at limit ** 4 Prefactor .72947 .51430E-02 .11678E-03 .17687E-04 ERR DEF= .500 Final values: Prefactor = 0.000103823 Index = 2.41845 Normalizat = 0.01 Prefactor = 0.729472 ********** ** 18 **HESSE ********** FCN= 465.0532 FROM HESSE STATUS=NOT POSDEF 29 CALLS 311 TOTAL EDM= .59E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10382E-03 446.71 .18551E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4184 8.6101 .50000 -.54254 3 Normalizat .10000E-01 .66173E-02 .18445E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .72947 .15673E-01 .46713E-05 -1.0238 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 5.93324e-10 Minuit parameter uncertainties: 1 0.0832758 2 503.777 3 3.13693e-07 4 0.0156732 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/927829': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 465.053190441 delta logL = -1.83553709121e-07 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.038e-04 8.328e-02 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.418e+00 5.038e+02 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 7.295e-01 1.567e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.000e-02 3.137e-07 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 75.634 13.668 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/927829/cmap_HighResolution_598838401_599097601_4FGL_J0502.5+1340_daily_bin1387.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/927829 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-01', job_status='DONE', photon_flux_upper_limit='3.50e-06', time_completed='2021-08-21 18:25:36.972792', job_id='927829', GAL2='0.73', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629595536.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.73', dlogl='-1.84e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1387' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:25:37 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 927829: <4FGL_J0502.5+1340_daily_bin1387> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1387> was submitted from host by user in cluster at Sat Aug 21 18:15:35 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 21 18:15:37 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 21 18:15:37 2021 Terminated at Sat Aug 21 18:25:38 2021 Results reported at Sat Aug 21 18:25:38 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1387 75.6341 13.6685 598838401 599097601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 464.31 sec. Max Memory : 1093 MB Average Memory : 232.05 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 600 sec. Turnaround time : 603 sec. The output (if any) is above this job summary.