aklog: Couldn't determine realm of user:aklog: No credentials cache found while getting realm /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 213 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. 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 = 17500 number of fields = 31 RA_SUN column already exists. File will not be modified.DDone. Performing analysis on: 4FGL_J0502.5+1340_weekly_bin737 RA = 75.6341, Dec = 13.6685 tmin = 684720001, tmax = 685324801 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='436478', job_status='RUN', time_executed='2022-09-20 00:20:22.391192', time_epoch_executed='1663658422.39' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='737' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/436478 Creating custom pfile directory: /scratch/kocevski/436478/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=684720001.0 && nMetStart<685324801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=684720001.0 && nMetStart<685324801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/436478/ft1_4FGL_J0502.5+1340_weekly_bin737.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=684720001.0 && nMetStart<685324801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/436478/ft1_4FGL_J0502.5+1340_weekly_bin737.fits outfile=/scratch/kocevski/436478/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin737.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=684720001.0 tmax=685324801.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 6.66 user 6.37 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.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/436478/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin737.fits evtable="EVENTS" outfile="/scratch/kocevski/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.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.58 user 0.41 sys 0.15 Number of photons that the gtmktime cut: 6607 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits" evtable="EVENTS" scfile=/scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits sctable="SC_DATA" outfile=/scratch/kocevski/436478/ltcube_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.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/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits .....................! real 31.82 user 31.42 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits sctable="SC_DATA" expcube=/scratch/kocevski/436478/ltcube_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.fits outfile=/scratch/kocevski/436478/expmap_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.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/436478/ltcube_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.fits .....................! real 191.19 user 186.04 sys 4.70 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_8years/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/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits scfile=/scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits outfile=/scratch/kocevski/436478/cmap_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.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 0.62 user 0.43 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits scfile=/scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits outfile=/scratch/kocevski/436478/cmap_HighResolution_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.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 0.62 user 0.44 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436478/Model_4FGL_J0502.5+1340_weekly_bin737.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/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits.....................! real 1377.28 user 1373.46 sys 1.29 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits', '/scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits', expMap='/scratch/kocevski/436478/expmap_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.fits', expCube='/scratch/kocevski/436478/ltcube_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/436478/Model_4FGL_J0502.5+1340_weekly_bin737.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 0.000e+00 1.000e+06 ( 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/436478/ft1_filtered_4FGL_J0502.5+1340_weekly_bin737.fits Spacecraft file(s): /scratch/kocevski/436478/ft2_4FGL_J0502.5+1340_weekly_bin737.fits Exposure map: /scratch/kocevski/436478/expmap_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.fits Exposure cube: /scratch/kocevski/436478/ltcube_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/436478/Model_4FGL_J0502.5+1340_weekly_bin737.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 64041.7034183 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 64041.5582254 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.8518 1.0000 .0000 .10000E+07 2 'Prefactor ' .27885E-04 1.0000 .0000 .10000E+07 3 'norm ' .34207 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.073 1.0000 .0000 .10000E+07 5 'norm ' 10.499 1.0000 .0000 .10000E+07 6 'Prefactor ' .77233E-04 1.0000 .0000 .10000E+07 7 'Prefactor ' .13189E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .31970 1.0000 .0000 .10000E+07 9 'norm ' .12077 1.0000 .0000 .10000E+07 10 'norm ' 8.7541 1.0000 .0000 .10000E+07 11 'Prefactor ' .35199E-05 1.0000 .0000 .10000E+07 12 'norm ' .20655E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 3.8053 1.0000 .0000 .10000E+07 14 'Prefactor ' .13552E-02 1.0000 .0000 .10000E+07 15 'norm ' 4.1070 1.0000 .0000 .10000E+07 16 'norm ' .45954E-05 1.0000 .0000 .10000E+07 17 'norm ' .28844E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' 1.1821 1.0000 .10000E-03 10000. 19 'Prefactor ' 2.1391 1.0000 .0000 .10000E+07 20 'Prefactor ' .34555E-04 1.0000 .0000 .10000E+07 21 'Prefactor ' .54691E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' .82198 1.0000 .0000 .10000E+07 23 'Normalizat' .96043 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0823 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 64041.56 FROM MIGRAD STATUS=CONVERGED 177 CALLS 1686 TOTAL EDM= .74E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.9027 2.6784 .10191E-06 .48337E-03 2 Prefactor .0000 1.6540 .72899E-07** at limit ** 3 norm .34892 1.2041 -.66999E-07 -.88196E-03 4 Prefactor 12.903 10.692 .31668E-06 -.35715E-01 5 norm 10.497 1.4815 -.45255E-07 -.46080E-02 6 Prefactor .72164E-09 8.7905 -.53298E-07** at limit ** 7 Prefactor .16653E-09 14.693 -.37056E-06** at limit ** 8 Prefactor .32683 2.4960 -.29027E-06 -.35143E-01 9 norm .12114 .23855 -.31480E-07** at limit ** 10 norm 8.7557 2.1392 .69494E-07 .51612E-03 11 Prefactor .55511E-10 2.6672 -.16704E-06** at limit ** 12 norm .94369E-09 3.6379 -.40364E-07** at limit ** 13 Prefactor 3.8042 2.4133 -.19966E-06 -.31459E-02 14 Prefactor .20539E-08 54.406 -.74324E-06** at limit ** 15 norm 4.1060 1.2160 .46812E-08 .49112E-03 16 norm .22204E-09 2.0023 .17701E-07** at limit ** 17 norm .28609E-01 2.2866 -.30538E-07** at limit ** 18 Prefactor 1.1819 .66757E-01 -.45501E-09 -.34627E-02 19 Prefactor 2.1400 .52171 -.82454E-08 -.42499E-02 20 Prefactor .27756E-09 4.2709 -.96587E-07** at limit ** 21 Prefactor .55511E-10 3.5270 -.19052E-06** at limit ** 22 Prefactor .81801 2.1121 -.24430E-06 -.35727E-02 23 Normalizat .96025 .16421 .18371E-05 -.87793E-04 24 Prefactor 1.0824 .32363E-01 -.43082E-06 -.15656E-03 ERR DEF= .500 Final values: Prefactor = 6.90272 Prefactor = 0 norm = 0.348923 Prefactor = 12.9026 norm = 10.4973 Prefactor = 7.21645e-10 Prefactor = 1.66533e-10 Prefactor = 0.32683 norm = 0.121136 norm = 8.75573 Prefactor = 5.55112e-11 norm = 9.4369e-10 Prefactor = 3.80419 Prefactor = 2.05391e-09 norm = 4.10595 norm = 2.22045e-10 norm = 0.0286094 Prefactor = 1.18191 Prefactor = 2.14001 Prefactor = 2.77556e-10 Prefactor = 5.55112e-11 Prefactor = 0.818011 Normalizat = 0.960249 Prefactor = 1.08235 ********** ** 18 **HESSE ********** FCN= 64041.56 FROM HESSE STATUS=OK 475 CALLS 2161 TOTAL EDM= .16E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.9027 12.104 .38306E-03 -1.5655 2 Prefactor .0000 1.6604 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .34892 .73871 .50359E-02 -1.5696 4 Prefactor 12.903 12.258 .27678E-03 -1.5636 5 norm 10.497 1.4855 .30898E-03 -1.5643 6 Prefactor .72164E-09 8.8482 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .16653E-09 14.718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .32683 1.2385 .99451E-02 -1.5697 9 norm .12114 .18769 .24062E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 8.7557 2.1566 .33854E-03 -1.5649 11 Prefactor .55511E-10 2.5980 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .94369E-09 .48246 .65752E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.8042 2.4187 .51720E-03 -1.5669 14 Prefactor .20539E-08 54.098 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 4.1060 1.2227 .49720E-03 -1.5667 16 norm .22204E-09 1.9921 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .28609E-01 .10741 .47621E-02 -1.5705 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 1.1819 .65500E-01 .26963E-02 -1.5491 19 Prefactor 2.1400 .51746 .70447E-03 -1.5679 20 Prefactor .27756E-09 4.2781 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .55511E-10 3.5368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .81801 2.1236 .51311E-03 -1.5690 23 Normalizat .96025 .16721 .17313 -.94374 24 Prefactor 1.0824 .31134E-01 .38302E-01 -.90033 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.55558e-06 Minuit parameter uncertainties: 1 12.1037 2 4.14109e-06 3 0.738706 4 12.2579 5 1.48553 6 0.000158952 7 0.000105976 8 1.23854 9 0.187691 10 2.15662 11 2.41777e-05 12 4.23031e-05 13 2.41874 14 0.000663258 15 1.22275 16 4.3182e-05 17 0.107406 18 0.0655 19 0.517459 20 6.64952e-05 21 3.35179e-05 22 2.12357 23 0.167302 24 0.0311341DDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 64041.5579401 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 3.268e-01 1.239e+00 0.000e+00 1.000e+06 ( 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: 1.082e+00 3.113e-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: 9.602e-01 1.673e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.01 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 5.42e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.14e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/436478/likelihoodResults_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.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) = 64041.3053078 delta logL = 0.252632329939 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 64041.2011764 delta logL = 0.356763727737 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16820E-06 1.0000 .0000 .10000E+07 2 'Index ' 8.6741 1.0000 .0000 10.000 3 'Normalizat' .92922 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0862 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 64041.20 FROM MIGRAD STATUS=FAILED 432 CALLS 1026 TOTAL EDM= .19E+04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14022E-06 .90455E-07 .0000 ** at limit ** 2 Index 8.7371 2.2082 .0000 77.923 3 Normalizat .92916 .54625E-02 .0000 .35212E-03 4 Prefactor 1.0862 .11085E-02 .0000 -.42386E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 64041.20 FROM SIMPLEX STATUS=UNCHANGED 96 CALLS 1122 TOTAL EDM= .83E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14022E-06 .90455E-07 .19704E-07** at limit ** 2 Index 8.7371 2.2082 .50122E-02 77.923 3 Normalizat .92916 .54625E-02 .15580E-04 .35212E-03 4 Prefactor 1.0862 .11085E-02 .59235E-06 -.42386E-03 ERR DEF= .500 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 64041.20 FROM MIGRAD STATUS=FAILED 40 CALLS 1162 TOTAL EDM= .39E+04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14022E-06 .12779E-06 .0000 ** at limit ** 2 Index 8.7371 7.3213 .0000 77.923 3 Normalizat .92916 .76679E-02 .0000 .38391E-04 4 Prefactor 1.0862 .15671E-02 .0000 -.51487E-03 ERR DEF= .500 Final values: Prefactor = 1.40221e-07 Index = 8.73707 Normalizat = 0.929156 Prefactor = 1.08618 ********** ** 18 **HESSE ********** FCN= 64041.20 FROM HESSE STATUS=NOT POSDEF 27 CALLS 1189 TOTAL EDM= .77E+04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14022E-06 .12779E-06 .52319E-03 -2194.4 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 8.7371 7.3213 5.6436 -.11835E+08 3 Normalizat .92916 .76679E-02 .31271E-04 -252.28 4 Prefactor 1.0862 .15671E-02 .11192E-04 -234.72 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7705.63 Minuit parameter uncertainties: 1 1.27781e-07 2 3.40911 3 0.00766794 4 0.00156713 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/436478': 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): 1 logL (Free Index) = 64041.201153 delta logL = 0.356787135694 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.402e-07 1.278e-07 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 8.737e+00 3.409e+00 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: 1.086e+00 1.567e-03 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: 9.292e-01 7.668e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.01 Ra Dec: 75.634 13.668 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.003e-01 [aplpy.core] INFO: Auto-setting vmax to 1.113e+00 [aplpy.core] Saving /scratch/kocevski/436478/cmap_HighResolution_684720001_685324801_4FGL_J0502.5+1340_weekly_bin737.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/436478 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-03', job_status='DONE', photon_flux_upper_limit='5.42e-08', time_completed='2022-09-20 01:42:42.661432', job_id='436478', GAL2='1.09', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1663663362.66', return_code2='1', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.57e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='737' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 20 01:42:42 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 436479: <4FGL_J0502.5+1340_weekly_bin737> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin737> was submitted from host by user in cluster at Tue Sep 20 00:05:43 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Sep 20 00:16:40 2022 was used as the home directory. was used as the working directory. Started at Tue Sep 20 00:16:40 2022 Terminated at Tue Sep 20 01:39:01 2022 Results reported at Tue Sep 20 01:39:01 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin737 75.6341 13.6685 684720001 685324801 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 : 4882.45 sec. Max Memory : 1265 MB Average Memory : 452.01 MB Total Requested Memory : - Delta Memory : - Max Swap : 2942 MB Max Processes : 6 Max Threads : 21 Run time : 4940 sec. Turnaround time : 5598 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 436478: <4FGL_J0502.5+1340_weekly_bin737> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin737> was submitted from host by user in cluster at Tue Sep 20 00:05:43 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Sep 20 00:16:40 2022 was used as the home directory. was used as the working directory. Started at Tue Sep 20 00:16:40 2022 Terminated at Tue Sep 20 01:42:43 2022 Results reported at Tue Sep 20 01:42:43 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin737 75.6341 13.6685 684720001 685324801 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 : 4931.43 sec. Max Memory : 632 MB Average Memory : 435.14 MB Total Requested Memory : - Delta Memory : - Max Swap : 2942 MB Max Processes : 6 Max Threads : 21 Run time : 5163 sec. Turnaround time : 5820 sec. The output (if any) is above this job summary.