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/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). number of points = 17284 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0638.7+5658_weekly_bin937 RA = 99.6895, Dec = 56.9785 tmin = 805680001, tmax = 806284801 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='32596844', job_status='RUN', time_executed='2026-07-21 04:58:26.387742', time_epoch_executed='1784635106.39' WHERE source_name='4FGL J0638.7+5658' and cadence='weekly' and bin_id='937' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32596844 Creating custom pfile directory: /lscratch/kocevski/32596844/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32596844/ft1_4FGL_J0638.7+5658_weekly_bin937.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32596844/ft1_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596844/ft1_filteredMKT_4FGL_J0638.7+5658_weekly_bin937.fits ra=99.6895 dec=56.9785 rad=12.0 tmin=805680001.0 tmax=806284801.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 4.90 user 4.19 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.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/32596844/ft1_filteredMKT_4FGL_J0638.7+5658_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.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.84 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 2386 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits sctable="SC_DATA"number of points = 17284 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0638.7+5658_weekly_bin937 RA = 99.6895, Dec = 56.9785 tmin = 805680001, tmax = 806284801 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='32596878', job_status='RUN', time_executed='2026-07-21 04:58:43.850893', time_epoch_executed='1784635123.85' WHERE source_name='4FGL J0638.7+5658' and cadence='weekly' and bin_id='937' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32596878 Creating custom pfile directory: /lscratch/kocevski/32596878/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32596878/ft1_4FGL_J0638.7+5658_weekly_bin937.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32596878/ft1_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596878/ft1_filteredMKT_4FGL_J0638.7+5658_weekly_bin937.fits ra=99.6895 dec=56.9785 rad=12.0 tmin=805680001.0 tmax=806284801.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 5.19 user 4.17 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.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/32596878/ft1_filteredMKT_4FGL_J0638.7+5658_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.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.97 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 2386 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32596844/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits .....................! real 17.98 user 17.15 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32596844/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596844/expmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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/32596844/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits .....................! real 68.03 user 62.94 sys 4.01 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template. Added 185 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 J0638.7+5658 @ 99.6895 56.9785 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits scfile=/lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596844/cmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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=99.6895 yref=56.9785 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 1.01 user 0.24 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits scfile=/lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596844/cmap_HighResolution_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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=99.6895 yref=56.9785 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 1.15 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch outfile=/lscratch/kocevski/32596878/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits .....................! real 17.88 user 16.97 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32596878/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596878/expmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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/32596878/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits .....................! real 68.06 user 63.21 sys 3.92 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template. Added 185 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 J0638.7+5658 @ 99.6895 56.9785 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits scfile=/lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596878/cmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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=99.6895 yref=56.9785 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.83 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits scfile=/lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits outfile=/lscratch/kocevski/32596878/cmap_HighResolution_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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=99.6895 yref=56.9785 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.87 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32596844/Model_4FGL_J0638.7+5658_weekly_bin937.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source G150.3+4.5 adding source GAL_V02 adding source HB 9 Working on... /lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits.....................! real 133.97 user 131.14 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits', '/lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits', expMap='/lscratch/kocevski/32596844/expmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits', expCube='/lscratch/kocevski/32596844/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32596844/Model_4FGL_J0638.7+5658_weekly_bin937.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0638.7+5658' 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 3.366e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/32596844/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32596844/ft2_4FGL_J0638.7+5658_weekly_bin937.fits Exposure map: /lscratch/kocevski/32596844/expmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32596844/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32596844/Model_4FGL_J0638.7+5658_weekly_bin937.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) = 25250.4975284 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3355185 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 34.694 1.0000 .0000 .10000E+07 2 'norm ' .36526E-07 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.2093 1.0000 .0000 .10000E+07 4 'Prefactor ' .48517E-06 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.7712 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.3922 1.0000 .0000 .10000E+07 7 'Prefactor ' .16318E-01 1.0000 .0000 .10000E+07 8 'norm ' .36471E-07 1.0000 .0000 .10000E+07 9 'norm ' .16955E-05 1.0000 .0000 .10000E+07 10 'norm ' 1.8095 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.8676 1.0000 .0000 .10000E+07 12 'Prefactor ' .27299E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 11.096 1.0000 .0000 .10000E+07 14 'Prefactor ' .85420E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' 4.0339 1.0000 .0000 .10000E+07 16 'Prefactor ' 38.182 1.0000 .0000 .10000E+07 17 'norm ' .74391 1.0000 .0000 .10000E+07 18 'norm ' 2.9494 1.0000 .0000 .10000E+07 19 'Normalizat' .92318 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0312 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 **********/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32596878/Model_4FGL_J0638.7+5658_weekly_bin937.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source G150.3+4.5 adding source GAL_V02 adding source HB 9 Working on... /lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits.....................! real 127.66 user 125.42 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits', '/lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits', expMap='/lscratch/kocevski/32596878/expmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits', expCube='/lscratch/kocevski/32596878/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32596878/Model_4FGL_J0638.7+5658_weekly_bin937.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0638.7+5658' 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 3.366e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/32596878/ft1_filtered_4FGL_J0638.7+5658_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32596878/ft2_4FGL_J0638.7+5658_weekly_bin937.fits Exposure map: /lscratch/kocevski/32596878/expmap_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32596878/ltcube_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32596878/Model_4FGL_J0638.7+5658_weekly_bin937.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) = 25250.4975284 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3355185 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 34.694 1.0000 .0000 .10000E+07 2 'norm ' .36526E-07 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.2093 1.0000 .0000 .10000E+07 4 'Prefactor ' .48517E-06 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.7712 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.3922 1.0000 .0000 .10000E+07 7 'Prefactor ' .16318E-01 1.0000 .0000 .10000E+07 8 'norm ' .36471E-07 1.0000 .0000 .10000E+07 9 'norm ' .16955E-05 1.0000 .0000 .10000E+07 10 'norm ' 1.8095 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.8676 1.0000 .0000 .10000E+07 12 'Prefactor ' .27299E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 11.096 1.0000 .0000 .10000E+07 14 'Prefactor ' .85420E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' 4.0339 1.0000 .0000 .10000E+07 16 'Prefactor ' 38.182 1.0000 .0000 .10000E+07 17 'norm ' .74391 1.0000 .0000 .10000E+07 18 'norm ' 2.9494 1.0000 .0000 .10000E+07 19 'Normalizat' .92318 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0312 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25250.33 FROM MIGRAD STATUS=CONVERGED 116 CALLS 1215 TOTAL EDM= .37E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 32.879 22.760 -.15190E-05 .94774E-02 2 norm .55511E-10 1.0083 .81871E-08** at limit ** 3 Prefactor 2.7014 2.4349 -.42802E-06 .76112E-02 4 Prefactor .41078E-08 30.145 .23496E-05** at limit ** 5 Prefactor 3.7685 3.4858 -.22627E-07 .15418E-02 6 Prefactor 4.3864 2.1126 .23763E-06 .87198E-02 7 Prefactor .55511E-10 17.004 .25282E-07** at limit ** 8 norm .0000 .83800 .95871E-08** at limit ** 9 norm .61062E-09 4.9066 .62097E-07** at limit ** 10 norm 1.8138 2.0736 .12832E-06 .10134E-01 11 Prefactor 2.9135 9.2056 .61886E-06 .29412E-02 12 Prefactor .55511E-10 1.8250 .15880E-07** at limit ** 13 Prefactor 10.938 8.7203 -.16041E-05 -.20697E-01 14 Prefactor .55511E-10 6.2615 -.88532E-07** at limit ** 15 Prefactor 4.0655 4.7333 .83894E-06 -.23711E-01 16 Prefactor 38.071 1.9279 -.12536E-06 -.67116E-02 17 norm .74383 .43872 -.64711E-08 -.17202E-01 18 norm 2.9486 1.8922 -.17174E-07 -.99121E-03 19 Normalizat .92300 .11816 .14215E-05 .12507E-03 20 Prefactor 1.0316 .49455E-01 .45898E-06 .56660E-03 ERR DEF= .500 Final values: Prefactor = 32.879 norm = 5.55112e-11 Prefactor = 2.70144 Prefactor = 4.10783e-09 Prefactor = 3.7685 Prefactor = 4.3864 Prefactor = 5.55112e-11 norm = 0 norm = 6.10623e-10 norm = 1.81375 Prefactor = 2.91349 Prefactor = 5.55112e-11 Prefactor = 10.9377 Prefactor = 5.55112e-11 Prefactor = 4.06549 Prefactor = 38.0708 norm = 0.743831 norm = 2.94862 Normalizat = 0.923004 Prefactor = 1.03156 ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25250.33 FROM MIGRAD STATUS=CONVERGED 116 CALLS 1215 TOTAL EDM= .37E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 32.879 22.760 -.15190E-05 .94774E-02 2 norm .55511E-10 1.0083 .81871E-08** at limit ** 3 Prefactor 2.7014 2.4349 -.42802E-06 .76112E-02 4 Prefactor .41078E-08 30.145 .23496E-05** at limit ** 5 Prefactor 3.7685 3.4858 -.22627E-07 .15418E-02 6 Prefactor 4.3864 2.1126 .23763E-06 .87198E-02 7 Prefactor .55511E-10 17.004 .25282E-07** at limit ** 8 norm .0000 .83800 .95871E-08** at limit ** 9 norm .61062E-09 4.9066 .62097E-07** at limit ** 10 norm 1.8138 2.0736 .12832E-06 .10134E-01 11 Prefactor 2.9135 9.2056 .61886E-06 .29412E-02 12 Prefactor .55511E-10 1.8250 .15880E-07** at limit ** 13 Prefactor 10.938 8.7203 -.16041E-05 -.20697E-01 14 Prefactor .55511E-10 6.2615 -.88532E-07** at limit ** 15 Prefactor 4.0655 4.7333 .83894E-06 -.23711E-01 16 Prefactor 38.071 1.9279 -.12536E-06 -.67116E-02 17 norm .74383 .43872 -.64711E-08 -.17202E-01 18 norm 2.9486 1.8922 -.17174E-07 -.99121E-03 19 Normalizat .92300 .11816 .14215E-05 .12507E-03 20 Prefactor 1.0316 .49455E-01 .45898E-06 .56660E-03 ERR DEF= .500 Final values: Prefactor = 32.879 norm = 5.55112e-11 Prefactor = 2.70144 Prefactor = 4.10783e-09 Prefactor = 3.7685 Prefactor = 4.3864 Prefactor = 5.55112e-11 norm = 0 norm = 6.10623e-10 norm = 1.81375 Prefactor = 2.91349 Prefactor = 5.55112e-11 Prefactor = 10.9377 Prefactor = 5.55112e-11 Prefactor = 4.06549 Prefactor = 38.0708 norm = 0.743831 norm = 2.94862 Normalizat = 0.923004 Prefactor = 1.03156 ********** ** 18 **HESSE ********** FCN= 25250.33 FROM HESSE STATUS=OK 341 CALLS 1556 TOTAL EDM= .37E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 32.879 23.156 .16980E-03 -1.5593 2 norm .55511E-10 .97651 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.7014 16.688 .69178E-03 -1.5675 4 Prefactor .41078E-08 29.561 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.7685 3.4955 .51962E-03 -1.5669 6 Prefactor 4.3864 17.478 .48032E-03 -1.5666 7 Prefactor .55511E-10 16.452 .17292E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 .83587 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .61062E-09 4.8304 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.8138 2.1014 .77644E-03 -1.5681 11 Prefactor 2.9135 9.2535 .60002E-03 -1.5674 12 Prefactor .55511E-10 1.8198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 10.938 9.3802 .30051E-03 -1.5642 14 Prefactor .55511E-10 6.3306 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 4.0655 12.001 .50182E-03 -1.5668 16 Prefactor 38.071 19.946 .16185E-03 -1.5585 17 norm .74383 .44512 .57213E-03 -1.5691 18 norm 2.9486 1.8954 .59110E-03 -1.5674 19 Normalizat .92300 .11321 .85430E-01 -.95656 20 Prefactor 1.0316 .45204E-01 .41162E-01 -.91685 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.73418e-08 Minuit parameter uncertainties: 1 23.1559 2 1.48839e-05 3 13.4285 4 0.000697781 5 3.49547 6 17.4781 7 6.30385e-05 8 2.03198e-06 9 0.000110173 10 2.10137 11 9.25352 12 1.53482e-05 13 9.38026 14 3.26296e-05 15 12.0011 16 19.9465 17 0.445125 18 1.89536 19 0.113244 20 0.0452056 ********** ** 18 **HESSE ********** FCN= 25250.33 FROM HESSE STATUS=OK 341 CALLS 1556 TOTAL EDM= .37E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 32.879 23.156 .16980E-03 -1.5593 2 norm .55511E-10 .97651 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.7014 16.688 .69178E-03 -1.5675 4 Prefactor .41078E-08 29.561 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.7685 3.4955 .51962E-03 -1.5669 6 Prefactor 4.3864 17.478 .48032E-03 -1.5666 7 Prefactor .55511E-10 16.452 .17292E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 .83587 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .61062E-09 4.8304 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.8138 2.1014 .77644E-03 -1.5681 11 Prefactor 2.9135 9.2535 .60002E-03 -1.5674 12 Prefactor .55511E-10 1.8198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 10.938 9.3802 .30051E-03 -1.5642 14 Prefactor .55511E-10 6.3306 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 4.0655 12.001 .50182E-03 -1.5668 16 Prefactor 38.071 19.946 .16185E-03 -1.5585 17 norm .74383 .44512 .57213E-03 -1.5691 18 norm 2.9486 1.8954 .59110E-03 -1.5674 19 Normalizat .92300 .11321 .85430E-01 -.95656 20 Prefactor 1.0316 .45204E-01 .41162E-01 -.91685 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.73418e-08 Minuit parameter uncertainties: 1 23.1559 2 1.48839e-05 3 13.4285 4 0.000697781 5 3.49547 6 17.4781 7 6.30385e-05 8 2.03198e-06 9 0.000110173 10 2.10137 11 9.25352 12 1.53482e-05 13 9.38026 14 3.26296e-05 15 12.0011 16 19.9465 17 0.445125 18 1.89536 19 0.113244 20 0.0452056 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3310423 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 4.386e+00 1.748e+01 0.000e+00 1.000e+06 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 1.032e+00 4.521e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 9.230e-01 1.132e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.07 Ra Dec: 99.689 56.978 Photon Flux Upper Limit: 5.45525986117e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0042595812257 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32596844/likelihoodResults_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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) = 25250.2486314 delta logL = 0.0824108985435 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25250.2281099 delta logL = 0.102932415572 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.8156 1.0000 .0000 .10000E+07 2 'Index ' 3.8233 1.0000 .0000 10.000 3 'Normalizat' .90855 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0348 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 25250.23 FROM MIGRAD STATUS=FAILED 108 CALLS 293 TOTAL EDM= .76E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8062 311.11 .15497E-03 .23656E-01 2 Index 3.8274 6.2681 .52275E-02 -.11787E-04 3 Normalizat .90867 .93883E-01 .38110E-03 -.32695E-04 4 Prefactor 1.0348 .39529E-01 .15264E-03 -.25920E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 25250.23 FROM SIMPLEX STATUS=UNCHANGED 92 CALLS 385 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8062 311.11 .29098E-04 .23656E-01 2 Index 3.8274 6.2681 .21043E-02 -.11787E-04 3 Normalizat .90867 .93883E-01 .10870E-03 -.32695E-04 4 Prefactor 1.0348 .39529E-01 .14755E-04 -.25920E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25250.23 FROM MIGRAD STATUS=CONVERGED 39 CALLS 424 TOTAL EDM= .91E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8062 32.420 .30995E-04 -.11972E-02 2 Index 3.8274 6.7977 .20910E-03 -.13266E-04 3 Normalizat .90867 .12152 .15244E-04 -.31025E-04 4 Prefactor 1.0348 .49975E-01 .61055E-05 -.25324E-04 ERR DEF= .500 Final values: Prefactor = 1.80617 Index = 3.82737 Normalizat = 0.908673 Prefactor = 1.03481 ********** ** 18 **HESSE ********** FCN= 25250.23 FROM HESSE STATUS=OK 23 CALLS 447 TOTAL EDM= .95E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.8062 15.018 .12398E-05 -1.5681 2 Index 3.8274 3.1230 .83639E-05 -.23673 3 Normalizat .90867 .12149 .30488E-05 -.96156 4 Prefactor 1.0348 .49914E-01 .12211E-05 -.91578 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.46467e-12 Minuit parameter uncertainties: 1 10.4165 2 3.39159 3 0.121531 4 0.0499159 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25250.2281077 delta logL = 0.102934563896 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.806e+00 1.042e+01 0.000e+00 1.000e+06 ( 1.000e-13) 255 Index: 3.827e+00 3.392e+00 0.000e+00 1.000e+01 (-1.000e+00) 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 1.035e+00 4.992e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 9.087e-01 1.215e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.07 Ra Dec: 99.689 56.978 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/32596844/cmap_HighResolution_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-21 05:11:52.066043', job_id='32596844', GAL2='1.03', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1784635912.07', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.03e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='937' AND source_name='4FGL J0638.7+5658' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 05:11:52 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25250.3310423 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 4.386e+00 1.748e+01 0.000e+00 1.000e+06 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 1.032e+00 4.521e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 9.230e-01 1.132e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.07 Ra Dec: 99.689 56.978 Photon Flux Upper Limit: 5.45525986117e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0042595812257 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32596878/likelihoodResults_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.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) = 25250.2486314 delta logL = 0.0824108985435 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25250.2281099 delta logL = 0.102932415572 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.8156 1.0000 .0000 .10000E+07 2 'Index ' 3.8233 1.0000 .0000 10.000 3 'Normalizat' .90855 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0348 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 25250.23 FROM MIGRAD STATUS=FAILED 108 CALLS 293 TOTAL EDM= .76E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8062 311.11 .15497E-03 .23656E-01 2 Index 3.8274 6.2681 .52275E-02 -.11787E-04 3 Normalizat .90867 .93883E-01 .38110E-03 -.32695E-04 4 Prefactor 1.0348 .39529E-01 .15264E-03 -.25920E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 25250.23 FROM SIMPLEX STATUS=UNCHANGED 92 CALLS 385 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8062 311.11 .29098E-04 .23656E-01 2 Index 3.8274 6.2681 .21043E-02 -.11787E-04 3 Normalizat .90867 .93883E-01 .10870E-03 -.32695E-04 4 Prefactor 1.0348 .39529E-01 .14755E-04 -.25920E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25250.23 FROM MIGRAD STATUS=CONVERGED 39 CALLS 424 TOTAL EDM= .91E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8062 32.420 .30995E-04 -.11972E-02 2 Index 3.8274 6.7977 .20910E-03 -.13266E-04 3 Normalizat .90867 .12152 .15244E-04 -.31025E-04 4 Prefactor 1.0348 .49975E-01 .61055E-05 -.25324E-04 ERR DEF= .500 Final values: Prefactor = 1.80617 Index = 3.82737 Normalizat = 0.908673 Prefactor = 1.03481 ********** ** 18 **HESSE ********** FCN= 25250.23 FROM HESSE STATUS=OK 23 CALLS 447 TOTAL EDM= .95E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.8062 15.018 .12398E-05 -1.5681 2 Index 3.8274 3.1230 .83639E-05 -.23673 3 Normalizat .90867 .12149 .30488E-05 -.96156 4 Prefactor 1.0348 .49914E-01 .12211E-05 -.91578 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.46467e-12 Minuit parameter uncertainties: 1 10.4165 2 3.39159 3 0.121531 4 0.0499159 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25250.2281077 delta logL = 0.102934563896 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.806e+00 1.042e+01 0.000e+00 1.000e+06 ( 1.000e-13) 255 Index: 3.827e+00 3.392e+00 0.000e+00 1.000e+01 (-1.000e+00) 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 1.035e+00 4.992e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 9.087e-01 1.215e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.07 Ra Dec: 99.689 56.978 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/32596878/cmap_HighResolution_805680001_806284801_4FGL_J0638.7+5658_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-21 05:12:02.502461', job_id='32596878', GAL2='1.03', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1784635922.5', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.03e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='937' AND source_name='4FGL J0638.7+5658' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 05:12:02 PDT 2026