/sdf/group/fermi/u/kocevski/software/conda/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) 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). /sdf/group/fermi/u/kocevski/software/conda/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). outfile=/lscratch/kocevski/18871665/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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 /lscratch/kocevski/18871665/ft2_4FGL_J1111.8+4858_weekly_bin777.fits .....................! real 16.31 user 15.81 sys 0.20 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18871665/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18871665/ft2_4FGL_J1111.8+4858_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18871665/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits outfile=/lscratch/kocevski/18871665/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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 /lscratch/kocevski/18871665/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits .....................! real 59.52 user 55.59 sys 3.45 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 Added 220 point sources and 0 extended sources Setting source of interest to: 4FGL J1111.8+4858 @ 167.969 48.9798 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18871665/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits scfile=/lscratch/kocevski/18871665/ft2_4FGL_J1111.8+4858_weekly_bin777.fits outfile=/lscratch/kocevski/18871665/cmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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=167.969 yref=48.9798 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.60 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18871665/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits scfile=/lscratch/kocevski/18871665/ft2_4FGL_J1111.8+4858_weekly_bin777.fits outfile=/lscratch/kocevski/18871665/cmap_HighResolution_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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=167.969 yref=48.9798 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.55 user 0.20 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18871665/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18871665/ft2_4FGL_J1111.8+4858_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18871665/Model_4FGL_J1111.8+4858_weekly_bin777.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 sourcnumber of points = 17691 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1111.8+4858_weekly_bin777 RA = 167.969, Dec = 48.9798 tmin = 708912001, tmax = 709516801 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='18873548', job_status='RUN', time_executed='2023-07-10 09:18:57.286277', time_epoch_executed='1689005937.29' WHERE source_name='4FGL J1111.8+4858' and cadence='weekly' and bin_id='777' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18873548 Creating custom pfile directory: /lscratch/kocevski/18873548/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18873548/ft1_4FGL_J1111.8+4858_weekly_bin777.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18873548/ft1_4FGL_J1111.8+4858_weekly_bin777.fits outfile=/lscratch/kocevski/18873548/ft1_filteredMKT_4FGL_J1111.8+4858_weekly_bin777.fits ra=167.969 dec=48.9798 rad=12.0 tmin=708912001.0 tmax=709516801.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 3.31 user 2.82 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/18873548/ft1_filteredMKT_4FGL_J1111.8+4858_weekly_bin777.fits evtable="EVENTS" outfile="/lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.57 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 2153 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits sctable="SC_DATA"e GAL_V02 Working on... /lscratch/kocevski/18870952/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits.....................! real 63.05 user 61.55 sys 0.85 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18870952/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits', '/lscratch/kocevski/18870952/ft2_4FGL_J1111.8+4858_weekly_bin777.fits', expMap='/lscratch/kocevski/18870952/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits', expCube='/lscratch/kocevski/18870952/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18870952/Model_4FGL_J1111.8+4858_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1111.8+4858' 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 2.239e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 1.825e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18870952/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18870952/ft2_4FGL_J1111.8+4858_weekly_bin777.fits Exposure map: /lscratch/kocevski/18870952/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18870952/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18870952/Model_4FGL_J1111.8+4858_weekly_bin777.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) = 23284.9725874 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23284.9473321 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11696E-06 1.0000 .0000 .10000E+07 2 'norm ' 2.0555 1.0000 .0000 .10000E+07 3 'Prefactor ' .45286E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .89454 1.0000 .0000 .10000E+07 5 'norm ' 2.0500 1.0000 .0000 .10000E+07 6 'Prefactor ' .33231 1.0000 .0000 .10000E+07 7 'Prefactor ' 43.102 1.0000 .0000 .10000E+07 8 'norm ' .10047 1.0000 .0000 .10000E+07 9 'Prefactor ' 19.487 1.0000 .0000 .10000E+07 10 'norm ' 2.0180 1.0000 .0000 .10000E+07 11 'Prefactor ' 12.331 1.0000 .0000 .10000E+07 12 'Prefactor ' .31812E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' .22545E-02 1.0000 .0000 .10000E+07 14 'norm ' .14799E-02 1.0000 .0000 .10000E+07 15 'Prefactor ' .35690E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' 5.8425 1.0000 .0000 .10000E+07 17 'norm ' 2.3818 1.0000 .0000 .10000E+07 18 'Prefactor ' 6.4744 1.0000 .0000 .10000E+07 19 'norm ' 1.4059 1.0000 .0000 .10000E+07 20 'norm ' 2.9722 1.0000 .0000 .10000E+07 21 'Prefactor ' 2.6261 1.0000 .0000 .10000E+07 22 'Prefactor ' 24.481 1.0000 .0000 .10000E+07 23 'Prefactor ' 14.807 1.0000 .0000 .10000E+07 24 'norm ' .75218E-07 1.0000 .0000 .10000E+07 25 'norm ' .94278E-01 1.0000 .0000 .10000E+07 26 'Normalizat' 1.2269 1.0000 .10000E-01 10.000 27 'Prefactor ' .95111 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7000E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 23284.95 FROM MIGRAD STATUS=CONVERGED 158 CALLS 2420 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.1488 .30023E-07** at limit ** 2 norm 2.0555 1.0345 .15937E-08 -.11669E-03 3 Prefactor .0000 7.0515 -.88272E-07** at limit ** 4 Prefactor .89520 1.0927 -.18450E-07 -.17118E-02 5 norm 2.0495 .78960 -.66856E-08 -.31199E-02 6 Prefactor .70305E-06 300.10 -.36189E-06** at limit ** 7 Prefactor 43.817 45.572 .12238E-07 -.11298E-01 8 norm .10153 .88839 -.11914E-06** at limit ** 9 Prefactor 19.512 2.7227 .93173E-08 -.96709E-01 10 norm 2.0177 .21898 -.12336E-08 -.10116E-01 11 Prefactor 12.332 3.0195 -.10008E-08 -.64365E-01 12 Prefactor .0000 2.7789 -.27005E-08** at limit ** 13 Prefactor .55511E-10 17.634 -.70833E-07** at limit ** 14 norm .0000 4.8183 -.68095E-07** at limit ** 15 Prefactor .0000 1.4915 .51545E-07** at limit ** 16 Prefactor 5.8445 8.0422 -.16538E-07 .13938E-01 17 norm 2.3823 1.3079 .21086E-07 .22650E-02 18 Prefactor 6.5540 1.8516 -.30977E-08 .14884E-01 19 norm 1.4054 .55373 .11636E-08 -.16022E-02 20 norm 2.9715 2.6354 .13387E-07 .44384E-03 21 Prefactor 2.6272 1.7914 -.17751E-07 -.33802E-02 22 Prefactor 24.496 2.2990 -.39162E-08 .53343E-01 23 Prefactor 14.808 10.349 -.27579E-07 .27675E-02 24 norm .0000 .56478 .12218E-07** at limit ** 25 norm .10579 17.246 .46765E-07** at limit ** 26 Normalizat 1.2266 .10569 .19758E-06 -.39657E-03 27 Prefactor .95119 .13318 -.15281E-05 -.32307E-03 ERR DEF= .500 Final values: Prefactor = 0 norm = 2.05547 Prefactor = 0 Prefactor = 0.895202 norm = 2.04949 Prefactor = 7.03049e-07 Prefactor = 43.8167 norm = 0.101529 Prefactor = 19.5121 norm = 2.01771 Prefactor = 12.3322 Prefactor = 0 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 5.84454 norm = 2.38225 Prefactor = 6.55397 norm = 1.40538 norm = 2.97154 Prefactor = 2.62717 Prefactor = 24.4958 Prefactor = 14.8081 norm = 0 norm = 0.105792 Normalizat = 1.22662 Prefactor = 0.951192 outfile=/lscratch/kocevski/18873548/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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 /lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits .....................! real 18.25 user 17.64 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18873548/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits outfile=/lscratch/kocevski/18873548/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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 /lscratch/kocevski/18873548/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits .....................! real 64.89 user 60.61 sys 3.71 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 Added 220 point sources and 0 extended sources Setting source of interest to: 4FGL J1111.8+4858 @ 167.969 48.9798 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits scfile=/lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits outfile=/lscratch/kocevski/18873548/cmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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=167.969 yref=48.9798 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.63 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits scfile=/lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits outfile=/lscratch/kocevski/18873548/cmap_HighResolution_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.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=167.969 yref=48.9798 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.63 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18873548/Model_4FGL_J1111.8+4858_weekly_bin777.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 Working on... /lscratch/kocevski/18871665/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits.....................! real 57.63 user 55.79 sys 0.75 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18871665/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits', '/lscratch/kocevski/18871665/ft2_4FGL_J1111.8+4858_weekly_bin777.fits', expMap='/lscratch/kocevski/18871665/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits', expCube='/lscratch/kocevski/18871665/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18871665/Model_4FGL_J1111.8+4858_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1111.8+4858' 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 2.239e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 1.825e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18871665/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18871665/ft2_4FGL_J1111.8+4858_weekly_bin777.fits Exposure map: /lscratch/kocevski/18871665/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18871665/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18871665/Model_4FGL_J1111.8+4858_weekly_bin777.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) = 23284.9725874 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23284.9473321 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11696E-06 1.0000 .0000 .10000E+07 2 'norm ' 2.0555 1.0000 .0000 .10000E+07 3 'Prefactor ' .45286E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .89454 1.0000 .0000 .10000E+07 5 'norm ' 2.0500 1.0000 .0000 .10000E+07 6 'Prefactor ' .33231 1.0000 .0000 .10000E+07 7 'Prefactor ' 43.102 1.0000 .0000 .10000E+07 8 'norm ' .10047 1.0000 .0000 .10000E+07 9 'Prefactor ' 19.487 1.0000 .0000 .10000E+07 10 'norm ' 2.0180 1.0000 .0000 .10000E+07 11 'Prefactor ' 12.331 1.0000 .0000 .10000E+07 12 'Prefactor ' .31812E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' .22545E-02 1.0000 .0000 .10000E+07 14 'norm ' .14799E-02 1.0000 .0000 .10000E+07 15 'Prefactor ' .35690E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' 5.8425 1.0000 .0000 .10000E+07 17 'norm ' 2.3818 1.0000 .0000 .10000E+07 18 'Prefactor ' 6.4744 1.0000 .0000 .10000E+07 19 'norm ' 1.4059 1.0000 .0000 .10000E+07 20 'norm ' 2.9722 1.0000 .0000 .10000E+07 21 'Prefactor ' 2.6261 1.0000 .0000 .10000E+07 22 'Prefactor ' 24.481 1.0000 .0000 .10000E+07 23 'Prefactor ' 14.807 1.0000 .0000 .10000E+07 24 'norm ' .75218E-07 1.0000 .0000 .10000E+07 25 'norm ' .94278E-01 1.0000 .0000 .10000E+07 26 'Normalizat' 1.2269 1.0000 .10000E-01 10.000 27 'Prefactor ' .95111 1.0000 ********** ** 18 **HESSE ********** FCN= 23284.95 FROM HESSE STATUS=OK 570 CALLS 2990 TOTAL EDM= .35E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.1484 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 2.0555 1.0407 .72062E-04 -1.5679 3 Prefactor .0000 7.0643 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .89520 1.0975 .46139E-03 -1.5689 5 norm 2.0495 .79056 .72173E-03 -1.5679 6 Prefactor .70305E-06 22.572 .23609E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 43.817 46.113 .15233E-03 -1.5576 8 norm .10153 .38116 .31373E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 19.512 19.244 .22661E-03 -1.5620 10 norm 2.0177 .21983 .51826E-03 -1.5680 11 Prefactor 12.332 9.1258 .28501E-03 -1.5638 12 Prefactor .0000 2.7838 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .55511E-10 17.664 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .0000 4.8263 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 1.4863 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 5.8445 8.4903 .41525E-03 -1.5660 17 norm 2.3823 1.3346 .66347E-03 -1.5677 18 Prefactor 6.5540 22.622 .39419E-03 -1.5657 19 norm 1.4054 .62738 .91398E-03 -1.5684 20 norm 2.9715 2.6403 .58868E-03 -1.5673 21 Prefactor 2.6272 1.8171 .62904E-03 -1.5676 22 Prefactor 24.496 20.911 .20215E-03 -1.5609 23 Prefactor 14.808 10.522 .26002E-03 -1.5631 24 norm .0000 .54793 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .10579 1.0969 .86534E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.2266 .89975E-01 .51339E-01 -.85784 27 Prefactor .95119 .11228 .73321E-01 -.94375 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.54682e-07 Minuit parameter uncertainties: 1 3.85109e-06 2 1.04066 3 2.19582e-05 4 1.09754 5 0.790564 6 0.0079673 7 46.1136 8 0.381159 9 19.2445 10 0.219825 11 9.12581 12 4.77166e-07 13 4.62163e-05 14 1.86524e-05 15 6.1856e-06 16 8.49033 17 1.33455 18 22.6218 19 0.627384 20 2.64033 21 1.81709 22 20.9108 23 10.5223 24 7.76827e-07 25 0.681313 26 0.089986 27 0.112308 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7000E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 23284.95 FROM MIGRAD STATUS=CONVERGED 158 CALLS 2420 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.1488 .30023E-07** at limit ** 2 norm 2.0555 1.0345 .15937E-08 -.11669E-03 3 Prefactor .0000 7.0515 -.88272E-07** at limit ** 4 Prefactor .89520 1.0927 -.18450E-07 -.17118E-02 5 norm 2.0495 .78960 -.66856E-08 -.31199E-02 6 Prefactor .70305E-06 300.10 -.36189E-06** at limit ** 7 Prefactor 43.817 45.572 .12238E-07 -.11298E-01 8 norm .10153 .88839 -.11914E-06** at limit ** 9 Prefactor 19.512 2.7227 .93173E-08 -.96709E-01 10 norm 2.0177 .21898 -.12336E-08 -.10116E-01 11 Prefactor 12.332 3.0195 -.10008E-08 -.64365E-01 12 Prefactor .0000 2.7789 -.27005E-08** at limit ** 13 Prefactor .55511E-10 17.634 -.70833E-07** at limit ** 14 norm .0000 4.8183 -.68095E-07** at limit ** 15 Prefactor .0000 1.4915 .51545E-07** at limit ** 16 Prefactor 5.8445 8.0422 -.16538E-07 .13938E-01 17 norm 2.3823 1.3079 .21086E-07 .22650E-02 18 Prefactor 6.5540 1.8516 -.30977E-08 .14884E-01 19 norm 1.4054 .55373 .11636E-08 -.16022E-02 20 norm 2.9715 2.6354 .13387E-07 .44384E-03 21 Prefactor 2.6272 1.7914 -.17751E-07 -.33802E-02 22 Prefactor 24.496 2.2990 -.39162E-08 .53343E-01 23 Prefactor 14.808 10.349 -.27579E-07 .27675E-02 24 norm .0000 .56478 .12218E-07** at limit ** 25 norm .10579 17.246 .46765E-07** at limit ** 26 Normalizat 1.2266 .10569 .19758E-06 -.39657E-03 27 Prefactor .95119 .13318 -.15281E-05 -.32307E-03 ERR DEF= .500 Final values: Prefactor = 0 norm = 2.05547 Prefactor = 0 Prefactor = 0.895202 norm = 2.04949 Prefactor = 7.03049e-07 Prefactor = 43.8167 norm = 0.101529 Prefactor = 19.5121 norm = 2.01771 Prefactor = 12.3322 Prefactor = 0 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 5.84454 norm = 2.38225 Prefactor = 6.55397 norm = 1.40538 norm = 2.97154 Prefactor = 2.62717 Prefactor = 24.4958 Prefactor = 14.8081 norm = 0 norm = 0.105792 Normalizat = 1.22662 Prefactor = 0.951192 ********** ** 18 **HESSE ********** FCN= 23284.95 FROM HESSE STATUS=OK 570 CALLS 2990 TOTAL EDM= .35E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.1484 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 2.0555 1.0407 .72062E-04 -1.5679 3 Prefactor .0000 7.0643 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .89520 1.0975 .46139E-03 -1.5689 5 norm 2.0495 .79056 .72173E-03 -1.5679 6 Prefactor .70305E-06 22.572 .23609E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 43.817 46.113 .15233E-03 -1.5576 8 norm .10153 .38116 .31373E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 19.512 19.244 .22661E-03 -1.5620 10 norm 2.0177 .21983 .51826E-03 -1.5680 11 Prefactor 12.332 9.1258 .28501E-03 -1.5638 12 Prefactor .0000 2.7838 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .55511E-10 17.664 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .0000 4.8263 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 1.4863 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 5.8445 8.4903 .41525E-03 -1.5660 17 norm 2.3823 1.3346 .66347E-03 -1.5677 18 Prefactor 6.5540 22.622 .39419E-03 -1.5657 19 norm 1.4054 .62738 .91398E-03 -1.5684 20 norm 2.9715 2.6403 .58868E-03 -1.5673 21 Prefactor 2.6272 1.8171 .62904E-03 -1.5676 22 Prefactor 24.496 20.911 .20215E-03 -1.5609 23 Prefactor 14.808 10.522 .26002E-03 -1.5631 24 norm .0000 .54793 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .10579 1.0969 .86534E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.2266 .89975E-01 .51339E-01 -.85784 27 Prefactor .95119 .11228 .73321E-01 -.94375 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.54682e-07 Minuit parameter uncertainties: 1 3.85109e-06 2 1.04066 3 2.19582e-05 4 1.09754 5 0.790564 6 0.0079673 7 46.1136 8 0.381159 9 19.2445 10 0.219825 11 9.12581 12 4.77166e-07 13 4.62163e-05 14 1.86524e-05 15 6.1856e-06 16 8.49033 17 1.33455 18 22.6218 19 0.627384 20 2.64033 21 1.81709 22 20.9108 23 10.5223 24 7.76827e-07 25 0.681313 26 0.089986 27 0.112308 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23284.9460604 Extracting fit parameters... 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 5.551e-11 4.622e-05 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 1.825e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 697 Prefactor: 9.512e-01 1.123e-01 0.000e+00 1.000e+01 ( 1.000e+00) 698 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 699 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 696 Normalization: 1.227e+00 8.999e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 167.969 48.980 Photon Flux Upper Limit: 1.50963485278e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00111494153609 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18870952/likelihoodResults_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 23284.97318 delta logL = -0.0271195286987 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 23284.9460625 delta logL = -2.11484803003e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .29199E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0738 1.0000 .0000 10.000 3 'Normalizat' 1.2268 1.0000 .10000E-01 10.000 4 'Prefactor ' .95092 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7000E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 23284.95 FROM MIGRAD STATUS=CONVERGED 51 CALLS 270 TOTAL EDM= .16E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 13.318 .42118E-03** at limit ** 2 Index .70711 .64366 -.51367E-04 .0000 3 Normalizat 1.2266 1.0977 -.46096E-06 -.45565E-04 4 Prefactor .95119 1.2933 -.14833E-05 -.54591E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.707113 Normalizat = 1.22662 Prefactor = 0.951192 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 23284.95 FROM HESSE STATUS=FAILED 9 CALLS 279 TOTAL EDM= .16E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 13.318 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .20032E-02 .84264 -.51367E-04 -1.0325 3 Normalizat 1.2266 1.0977 -.46096E-06 -.85784 4 Prefactor .95119 1.2933 -.14833E-05 -.94375 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.62492e-12 Minuit parameter uncertainties: 1 2.06668e-05 2 0.650622 3 1.11943 4 1.3393 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 23284.9460604 delta logL = 2.54658516496e-11 Extracting fit parameters... 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 0.000e+00 2.067e-05 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 7.071e-01 6.506e-01 0.000e+00 1.000e+01 (-1.000e+00) 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 697 Prefactor: 9.512e-01 1.339e+00 0.000e+00 1.000e+01 ( 1.000e+00) 698 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 699 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 696 Normalization: 1.227e+00 1.119e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 167.969 48.980 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18870952/cmap_HighResolution_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-03', job_status='DONE', photon_flux_upper_limit='1.51e-08', time_completed='2023-07-10 09:28:30.484417', job_id='18870952', GAL2='0.95', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1689006510.48', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='777' AND source_name='4FGL J1111.8+4858' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:28:30 PDT 2023 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23284.9460604 Extracting fit parameters... 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 5.551e-11 4.622e-05 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 1.825e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 697 Prefactor: 9.512e-01 1.123e-01 0.000e+00 1.000e+01 ( 1.000e+00) 698 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 699 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 696 Normalization: 1.227e+00 8.999e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 167.969 48.980 Photon Flux Upper Limit: 1.50963485278e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00111494153609 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18871665/likelihoodResults_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 23284.97318 delta logL = -0.0271195286987 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 23284.9460625 delta logL = -2.11484803003e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .29199E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0738 1.0000 .0000 10.000 3 'Normalizat' 1.2268 1.0000 .10000E-01 10.000 4 'Prefactor ' .95092 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7000E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 23284.95 FROM MIGRAD STATUS=CONVERGED 51 CALLS 270 TOTAL EDM= .16E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 13.318 .42118E-03** at limit ** 2 Index .70711 .64366 -.51367E-04 .0000 3 Normalizat 1.2266 1.0977 -.46096E-06 -.45565E-04 4 Prefactor .95119 1.2933 -.14833E-05 -.54591E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.707113 Normalizat = 1.22662 Prefactor = 0.951192 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 23284.95 FROM HESSE STATUS=FAILED 9 CALLS 279 TOTAL EDM= .16E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 13.318 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .20032E-02 .84264 -.51367E-04 -1.0325 3 Normalizat 1.2266 1.0977 -.46096E-06 -.85784 4 Prefactor .95119 1.2933 -.14833E-05 -.94375 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.62492e-12 Minuit parameter uncertainties: 1 2.06668e-05 2 0.650622 3 1.11943 4 1.3393 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 23284.9460604 delta logL = 2.54658516496e-11 Extracting fit parameters... 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 0.000e+00 2.067e-05 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 7.071e-01 6.506e-01 0.000e+00 1.000e+01 (-1.000e+00) 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 697 Prefactor: 9.512e-01 1.339e+00 0.000e+00 1.000e+01 ( 1.000e+00) 698 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 699 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 696 Normalization: 1.227e+00 1.119e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 167.969 48.980 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18871665/cmap_HighResolution_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-03', job_status='DONE', photon_flux_upper_limit='1.51e-08', time_completed='2023-07-10 09:29:35.834758', job_id='18871665', GAL2='0.95', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1689006575.83', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='777' AND source_name='4FGL J1111.8+4858' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:29:36 PDT 2023 e GAL_V02 Working on... /lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits.....................! real 64.16 user 62.53 sys 1.11 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits', '/lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits', expMap='/lscratch/kocevski/18873548/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits', expCube='/lscratch/kocevski/18873548/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18873548/Model_4FGL_J1111.8+4858_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1111.8+4858' 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 2.239e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 1.825e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18873548/ft1_filtered_4FGL_J1111.8+4858_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18873548/ft2_4FGL_J1111.8+4858_weekly_bin777.fits Exposure map: /lscratch/kocevski/18873548/expmap_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18873548/ltcube_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18873548/Model_4FGL_J1111.8+4858_weekly_bin777.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) = 23284.9725874 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23284.9473321 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11696E-06 1.0000 .0000 .10000E+07 2 'norm ' 2.0555 1.0000 .0000 .10000E+07 3 'Prefactor ' .45286E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .89454 1.0000 .0000 .10000E+07 5 'norm ' 2.0500 1.0000 .0000 .10000E+07 6 'Prefactor ' .33231 1.0000 .0000 .10000E+07 7 'Prefactor ' 43.102 1.0000 .0000 .10000E+07 8 'norm ' .10047 1.0000 .0000 .10000E+07 9 'Prefactor ' 19.487 1.0000 .0000 .10000E+07 10 'norm ' 2.0180 1.0000 .0000 .10000E+07 11 'Prefactor ' 12.331 1.0000 .0000 .10000E+07 12 'Prefactor ' .31812E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' .22545E-02 1.0000 .0000 .10000E+07 14 'norm ' .14799E-02 1.0000 .0000 .10000E+07 15 'Prefactor ' .35690E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' 5.8425 1.0000 .0000 .10000E+07 17 'norm ' 2.3818 1.0000 .0000 .10000E+07 18 'Prefactor ' 6.4744 1.0000 .0000 .10000E+07 19 'norm ' 1.4059 1.0000 .0000 .10000E+07 20 'norm ' 2.9722 1.0000 .0000 .10000E+07 21 'Prefactor ' 2.6261 1.0000 .0000 .10000E+07 22 'Prefactor ' 24.481 1.0000 .0000 .10000E+07 23 'Prefactor ' 14.807 1.0000 .0000 .10000E+07 24 'norm ' .75218E-07 1.0000 .0000 .10000E+07 25 'norm ' .94278E-01 1.0000 .0000 .10000E+07 26 'Normalizat' 1.2269 1.0000 .10000E-01 10.000 27 'Prefactor ' .95111 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7000E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 23284.95 FROM MIGRAD STATUS=CONVERGED 158 CALLS 2420 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.1488 .30023E-07** at limit ** 2 norm 2.0555 1.0345 .15937E-08 -.11669E-03 3 Prefactor .0000 7.0515 -.88272E-07** at limit ** 4 Prefactor .89520 1.0927 -.18450E-07 -.17118E-02 5 norm 2.0495 .78960 -.66856E-08 -.31199E-02 6 Prefactor .70305E-06 300.10 -.36189E-06** at limit ** 7 Prefactor 43.817 45.572 .12238E-07 -.11298E-01 8 norm .10153 .88839 -.11914E-06** at limit ** 9 Prefactor 19.512 2.7227 .93173E-08 -.96709E-01 10 norm 2.0177 .21898 -.12336E-08 -.10116E-01 11 Prefactor 12.332 3.0195 -.10008E-08 -.64365E-01 12 Prefactor .0000 2.7789 -.27005E-08** at limit ** 13 Prefactor .55511E-10 17.634 -.70833E-07** at limit ** 14 norm .0000 4.8183 -.68095E-07** at limit ** 15 Prefactor .0000 1.4915 .51545E-07** at limit ** 16 Prefactor 5.8445 8.0422 -.16538E-07 .13938E-01 17 norm 2.3823 1.3079 .21086E-07 .22650E-02 18 Prefactor 6.5540 1.8516 -.30977E-08 .14884E-01 19 norm 1.4054 .55373 .11636E-08 -.16022E-02 20 norm 2.9715 2.6354 .13387E-07 .44384E-03 21 Prefactor 2.6272 1.7914 -.17751E-07 -.33802E-02 22 Prefactor 24.496 2.2990 -.39162E-08 .53343E-01 23 Prefactor 14.808 10.349 -.27579E-07 .27675E-02 24 norm .0000 .56478 .12218E-07** at limit ** 25 norm .10579 17.246 .46765E-07** at limit ** 26 Normalizat 1.2266 .10569 .19758E-06 -.39657E-03 27 Prefactor .95119 .13318 -.15281E-05 -.32307E-03 ERR DEF= .500 Final values: Prefactor = 0 norm = 2.05547 Prefactor = 0 Prefactor = 0.895202 norm = 2.04949 Prefactor = 7.03049e-07 Prefactor = 43.8167 norm = 0.101529 Prefactor = 19.5121 norm = 2.01771 Prefactor = 12.3322 Prefactor = 0 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 5.84454 norm = 2.38225 Prefactor = 6.55397 norm = 1.40538 norm = 2.97154 Prefactor = 2.62717 Prefactor = 24.4958 Prefactor = 14.8081 norm = 0 norm = 0.105792 Normalizat = 1.22662 Prefactor = 0.951192 ********** ** 18 **HESSE ********** FCN= 23284.95 FROM HESSE STATUS=OK 570 CALLS 2990 TOTAL EDM= .35E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.1484 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 2.0555 1.0407 .72062E-04 -1.5679 3 Prefactor .0000 7.0643 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .89520 1.0975 .46139E-03 -1.5689 5 norm 2.0495 .79056 .72173E-03 -1.5679 6 Prefactor .70305E-06 22.572 .23609E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 43.817 46.113 .15233E-03 -1.5576 8 norm .10153 .38116 .31373E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 19.512 19.244 .22661E-03 -1.5620 10 norm 2.0177 .21983 .51826E-03 -1.5680 11 Prefactor 12.332 9.1258 .28501E-03 -1.5638 12 Prefactor .0000 2.7838 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .55511E-10 17.664 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .0000 4.8263 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 1.4863 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 5.8445 8.4903 .41525E-03 -1.5660 17 norm 2.3823 1.3346 .66347E-03 -1.5677 18 Prefactor 6.5540 22.622 .39419E-03 -1.5657 19 norm 1.4054 .62738 .91398E-03 -1.5684 20 norm 2.9715 2.6403 .58868E-03 -1.5673 21 Prefactor 2.6272 1.8171 .62904E-03 -1.5676 22 Prefactor 24.496 20.911 .20215E-03 -1.5609 23 Prefactor 14.808 10.522 .26002E-03 -1.5631 24 norm .0000 .54793 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .10579 1.0969 .86534E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.2266 .89975E-01 .51339E-01 -.85784 27 Prefactor .95119 .11228 .73321E-01 -.94375 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.54682e-07 Minuit parameter uncertainties: 1 3.85109e-06 2 1.04066 3 2.19582e-05 4 1.09754 5 0.790564 6 0.0079673 7 46.1136 8 0.381159 9 19.2445 10 0.219825 11 9.12581 12 4.77166e-07 13 4.62163e-05 14 1.86524e-05 15 6.1856e-06 16 8.49033 17 1.33455 18 22.6218 19 0.627384 20 2.64033 21 1.81709 22 20.9108 23 10.5223 24 7.76827e-07 25 0.681313 26 0.089986 27 0.112308 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 23284.9460604 Extracting fit parameters... 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 5.551e-11 4.622e-05 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 1.825e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 697 Prefactor: 9.512e-01 1.123e-01 0.000e+00 1.000e+01 ( 1.000e+00) 698 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 699 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 696 Normalization: 1.227e+00 8.999e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 167.969 48.980 Photon Flux Upper Limit: 1.50963485278e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00111494153609 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18873548/likelihoodResults_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 23284.97318 delta logL = -0.0271195286987 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 23284.9460625 delta logL = -2.11484803003e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .29199E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0738 1.0000 .0000 10.000 3 'Normalizat' 1.2268 1.0000 .10000E-01 10.000 4 'Prefactor ' .95092 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7000E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 23284.95 FROM MIGRAD STATUS=CONVERGED 51 CALLS 270 TOTAL EDM= .16E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 13.318 .42118E-03** at limit ** 2 Index .70711 .64366 -.51367E-04 .0000 3 Normalizat 1.2266 1.0977 -.46096E-06 -.45565E-04 4 Prefactor .95119 1.2933 -.14833E-05 -.54591E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.707113 Normalizat = 1.22662 Prefactor = 0.951192 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 23284.95 FROM HESSE STATUS=FAILED 9 CALLS 279 TOTAL EDM= .16E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 13.318 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .20032E-02 .84264 -.51367E-04 -1.0325 3 Normalizat 1.2266 1.0977 -.46096E-06 -.85784 4 Prefactor .95119 1.2933 -.14833E-05 -.94375 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.62492e-12 Minuit parameter uncertainties: 1 2.06668e-05 2 0.650622 3 1.11943 4 1.3393 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 23284.9460604 delta logL = 2.54658516496e-11 Extracting fit parameters... 4FGL J1111.8+4858 Spectrum: PowerLaw 372 Prefactor: 0.000e+00 2.067e-05 0.000e+00 1.000e+06 ( 1.000e-15) 373 Index: 7.071e-01 6.506e-01 0.000e+00 1.000e+01 (-1.000e+00) 374 Scale: 5.853e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 697 Prefactor: 9.512e-01 1.339e+00 0.000e+00 1.000e+01 ( 1.000e+00) 698 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 699 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 696 Normalization: 1.227e+00 1.119e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 167.969 48.980 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18873548/cmap_HighResolution_708912001_709516801_4FGL_J1111.8+4858_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-03', job_status='DONE', photon_flux_upper_limit='1.51e-08', time_completed='2023-07-10 09:36:05.915590', job_id='18873548', GAL2='0.95', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1689006965.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='777' AND source_name='4FGL J1111.8+4858' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:36:06 PDT 2023