/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 = 17478 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0704.8+4907_weekly_bin939 RA = 106.207, Dec = 49.1318 tmin = 806889601, tmax = 807494401 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='34147722', job_status='RUN', time_executed='2026-08-04 05:21:35.133347', time_epoch_executed='1785846095.13' WHERE source_name='4FGL J0704.8+4907' and cadence='weekly' and bin_id='939' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/34147722 Creating custom pfile directory: /lscratch/kocevski/34147722/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/34147722/ft1_4FGL_J0704.8+4907_weekly_bin939.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/34147722/ft1_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147722/ft1_filteredMKT_4FGL_J0704.8+4907_weekly_bin939.fits ra=106.207 dec=49.1318 rad=12.0 tmin=806889601.0 tmax=807494401.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.25 user 3.65 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.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/34147722/ft1_filteredMKT_4FGL_J0704.8+4907_weekly_bin939.fits evtable="EVENTS" outfile="/lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.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.58 user 0.21 sys 0.14 Number of photons that the gtmktime cut: 1527 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits sctable="SC_DATA"number of points = 17478 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0704.8+4907_weekly_bin939 RA = 106.207, Dec = 49.1318 tmin = 806889601, tmax = 807494401 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='34147817', job_status='RUN', time_executed='2026-08-04 05:22:52.117198', time_epoch_executed='1785846172.12' WHERE source_name='4FGL J0704.8+4907' and cadence='weekly' and bin_id='939' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/34147817 Creating custom pfile directory: /lscratch/kocevski/34147817/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/34147817/ft1_4FGL_J0704.8+4907_weekly_bin939.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/34147817/ft1_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147817/ft1_filteredMKT_4FGL_J0704.8+4907_weekly_bin939.fits ra=106.207 dec=49.1318 rad=12.0 tmin=806889601.0 tmax=807494401.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.45 user 3.65 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.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/34147817/ft1_filteredMKT_4FGL_J0704.8+4907_weekly_bin939.fits evtable="EVENTS" outfile="/lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.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.61 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 1527 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34147722/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits .....................! real 19.23 user 18.59 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34147722/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147722/expmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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/34147722/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits .....................! real 70.65 user 65.68 sys 4.16 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 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 191 point sources and 1 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 J0704.8+4907 @ 106.207 49.1318 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits scfile=/lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147722/cmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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=106.207 yref=49.1318 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.77 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits scfile=/lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147722/cmap_HighResolution_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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=106.207 yref=49.1318 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.75 user 0.25 sys 0.11 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits sctab outfile=/lscratch/kocevski/34147817/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits .....................! real 18.67 user 18.12 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34147817/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147817/expmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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/34147817/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits .....................! real 69.44 user 64.61 sys 4.07 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 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 191 point sources and 1 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 J0704.8+4907 @ 106.207 49.1318 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits scfile=/lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147817/cmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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=106.207 yref=49.1318 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.77 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits scfile=/lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits outfile=/lscratch/kocevski/34147817/cmap_HighResolution_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.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=106.207 yref=49.1318 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.81 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34147722/Model_4FGL_J0704.8+4907_weekly_bin939.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 adding source HB 9 Working on... /lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits.....................! real 85.15 user 83.12 sys 1.03 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits', '/lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits', expMap='/lscratch/kocevski/34147722/expmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits', expCube='/lscratch/kocevski/34147722/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34147722/Model_4FGL_J0704.8+4907_weekly_bin939.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0704.8+4907' 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 1.520e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 2.321e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/34147722/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits Spacecraft file(s): /lscratch/kocevski/34147722/ft2_4FGL_J0704.8+4907_weekly_bin939.fits Exposure map: /lscratch/kocevski/34147722/expmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits Exposure cube: /lscratch/kocevski/34147722/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/34147722/Model_4FGL_J0704.8+4907_weekly_bin939.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) = 16396.9474832 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16396.9190025 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 42.454 1.0000 .0000 .10000E+07 2 'norm ' 1.9542 1.0000 .0000 .10000E+07 3 'norm ' .87477E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' 5.5113 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.0565 1.0000 .0000 .10000E+07 6 'Prefactor ' 20.157 1.0000 .0000 .10000E+07 7 'Prefactor ' .53781E-02 1.0000 .0000 .10000E+07 8 'norm ' 2.8828 1.0000 .0000 .10000E+07 9 'norm ' 2.1588 1.0000 .0000 .10000E+07 10 'norm ' .64306E-01 1.0000 .0000 .10000E+07 11 'Prefactor ' .68984E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' 2.1430 1.0000 .0000 .10000E+07 13 'Prefactor ' .51118E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' .63729E-03 1.0000 .0000 .10000E+07 15 'norm ' 9.5419 1.0000 .0000 .10000E+07 16 'Prefactor ' 23.355 1.0000 .0000 .10000E+07 17 'Prefactor ' .23941E-02 1.0000 .0000 .10000E+07 18 'norm ' .71066 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.5981 1.0000 .0000 .10000E+07 20 'Prefactor ' 58.705 1.0000 .0000 .10000E+07 21 'norm ' .62855E-06 1.0000 .0000 .10000E+07 22 'Prefactor ' .74294E-05 1.0000 .0000 .10000E+07 23 'Prefactor ' .10504E-01 1.0000 .0000 .10000E+07 24 'norm ' .19448E-03 1.0000 .0000 .10000E+07 25 'norm ' 1.8744 1.0000 .0000 .10000E+07 26 'Normalizat' 1.4890 1.0000 .10000E-01 10.000 27 'Prefactor ' .85523 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16396.92 FROM MIGRAD STATUS=CONVERGED 200 CALLS 2447 TOTAL EDM= .60E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 42.476 1.3416 .44178E-08 -.59227E-02 2 norm 1.9530 1.5848 .11076E-06 -.71862E-03 3 norm .0000 1.9777 -.51957E-07** at limit ** 4 Prefactor 5.4338 5.6839 .67981E-07 .12414E-02 5 Prefactor 3.0451 4.9185 .66427E-07 .16158E-02 6 Prefactor 20.060 17.664 -.10296E-06 -.25071E-01 7 Prefactor .19118E-06 72.912 .16287E-06** at limit ** 8 norm 2.8812 2.3124 .20517E-07 -.47550E-04 9 norm 2.1577 2.3528 -.14172E-07 .26122E-03 10 norm .79179E-01 11.926 -.42088E-06** at limit ** 11 Prefactor .16653E-09 2.6664 .36884E-07** at limit ** 12 Prefactor 2.1229 4.8681 -.10833E-06 .12648E-02 13 Prefactor .36082E-08 3.7000 .80903E-07** at limit ** 14 Prefactor .33862E-08 4.7716 .18237E-06** at limit ** 15 norm 9.5344 6.6043 -.23944E-07 -.69876E-02 16 Prefactor 23.349 2.9219 .13673E-07 .33790E-01 17 Prefactor .44409E-09 6.3062 .26270E-06** at limit ** 18 norm .71020 .61503 .42680E-07 -.72574E-03 19 Prefactor 1.5832 2.7566 -.64585E-07 -.21167E-01 20 Prefactor 59.094 6.2457 -.36361E-07 .19620 21 norm .0000 1.0074 -.20358E-06** at limit ** 22 Prefactor .88818E-09 3.3270 -.11219E-06** at limit ** 23 Prefactor .27922E-07 27.930 .46979E-06** at limit ** 24 norm .0000 2.1023 .32277E-07** at limit ** 25 norm 1.8750 1.5324 -.55615E-07 .27359E-03 26 Normalizat 1.4890 .17233 -.37455E-05 .77454E-04 27 Prefactor .85539 .74726E-01 -.87577E-06 .13645E-03 ERR DEF= .500 Final values: Prefactor = 42.476 norm = 1.953 norm = 0 Prefactor = 5.4338 Prefactor = 3.0451 Prefactor = 20.0596 Prefactor = 1.9118e-07 norm = 2.88121 norm = 2.15766 norm = 0.0791792 Prefactor = 1.66533e-10 Prefactor = 2.12291 Prefactor = 3.60822e-09 Prefactor = 3.38618e-09 norm = 9.53438 Prefactor = 23.3488 Prefactor = 4.44089e-10 norm = 0.710199 Prefactor = 1.58324 Prefactor = 59.0938 norm = 0 Prefactor = 8.88178e-10 Prefactor = 2.79221e-08 norm = 0 norm = 1.87497 Normalizat = 1.48897 Prefactor = 0.855392 le="SC_DATA" srcmdl=/lscratch/kocevski/34147817/Model_4FGL_J0704.8+4907_weekly_bin939.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 adding source HB 9 Working on... /lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits.....................! real 84.50 user 82.33 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits', '/lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits', expMap='/lscratch/kocevski/34147817/expmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits', expCube='/lscratch/kocevski/34147817/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34147817/Model_4FGL_J0704.8+4907_weekly_bin939.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0704.8+4907' 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 1.520e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 2.321e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/34147817/ft1_filtered_4FGL_J0704.8+4907_weekly_bin939.fits Spacecraft file(s): /lscratch/kocevski/34147817/ft2_4FGL_J0704.8+4907_weekly_bin939.fits Exposure map: /lscratch/kocevski/34147817/expmap_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits Exposure cube: /lscratch/kocevski/34147817/ltcube_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/34147817/Model_4FGL_J0704.8+4907_weekly_bin939.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) = 16396.9474832 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16396.9190025 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 42.454 1.0000 .0000 .10000E+07 2 'norm ' 1.9542 1.0000 .0000 .10000E+07 3 'norm ' .87477E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' 5.5113 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.0565 1.0000 .0000 .10000E+07 6 'Prefactor ' 20.157 1.0000 .0000 .10000E+07 7 'Prefactor ' .53781E-02 1.0000 .0000 .10000E+07 8 'norm ' 2.8828 1.0000 .0000 .10000E+07 9 'norm ' 2.1588 1.0000 .0000 .10000E+07 10 'norm ' .64306E-01 1.0000 .0000 .10000E+07 11 'Prefactor ' .68984E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' 2.1430 1.0000 .0000 .10000E+07 13 'Prefactor ' .51118E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' .63729E-03 1.0000 .0000 .10000E+07 15 'norm ' 9.5419 1.0000 .0000 .10000E+07 16 'Prefactor ' 23.355 1.0000 .0000 .10000E+07 17 'Prefactor ' .23941E-02 1.0000 .0000 .10000E+07 18 'norm ' .71066 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.5981 1.0000 .0000 .10000E+07 20 'Prefactor ' 58.705 1.0000 .0000 .10000E+07 21 'norm ' .62855E-06 1.0000 .0000 ********** ** 18 **HESSE ********** FCN= 16396.92 FROM HESSE STATUS=OK 552 CALLS 2999 TOTAL EDM= .65E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 42.476 22.725 .15349E-03 -1.5578 2 norm 1.9530 1.5781 .74196E-03 -1.5680 3 norm .0000 1.9511 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 5.4338 5.6972 .42774E-03 -1.5661 5 Prefactor 3.0451 4.9308 .58002E-03 -1.5673 6 Prefactor 20.060 18.298 .22281E-03 -1.5618 7 Prefactor .19118E-06 72.965 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 2.8812 2.3214 .59833E-03 -1.5674 9 norm 2.1577 2.3676 .70084E-03 -1.5679 10 norm .79179E-01 1.0281 .67753E-02 -1.5714 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .16653E-09 2.6629 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.1229 4.9273 .70375E-03 -1.5679 13 Prefactor .36082E-08 3.7612 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .33862E-08 4.8253 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 9.5344 6.6497 .32418E-03 -1.5646 16 Prefactor 23.349 17.556 .20697E-03 -1.5611 17 Prefactor .44409E-09 6.3359 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .71020 .62322 .59848E-03 -1.5691 19 Prefactor 1.5832 19.725 .83849E-03 -1.5683 20 Prefactor 59.094 29.620 .13052E-03 -1.5554 21 norm .0000 1.0076 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .88818E-09 3.3412 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .27922E-07 28.107 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .0000 2.0931 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 1.8750 1.5279 .76031E-03 -1.5681 26 Normalizat 1.4890 .15603 .73847E-01 -.78089 27 Prefactor .85539 .65832E-01 .44432E-01 -.97718 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.5468e-07 Minuit parameter uncertainties: 1 22.7247 2 1.57815 3 1.1369e-08 4 5.69726 5 4.93082 6 18.2985 7 0.00747026 8 2.32136 9 2.36757 10 0.570632 11 4.01401e-05 12 4.92735 13 0.000233024 14 0.000255831 15 6.64968 16 17.5557 17 0.000102735 18 0.623221 19 11.1767 20 29.6197 21 4.29566e-06 22 0.000108991 23 0.00177177 24 5.84712e-06 25 1.52789 26 0.15608 27 0.0658377 .10000E+07 22 'Prefactor ' .74294E-05 1.0000 .0000 .10000E+07 23 'Prefactor ' .10504E-01 1.0000 .0000 .10000E+07 24 'norm ' .19448E-03 1.0000 .0000 .10000E+07 25 'norm ' 1.8744 1.0000 .0000 .10000E+07 26 'Normalizat' 1.4890 1.0000 .10000E-01 10.000 27 'Prefactor ' .85523 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16396.92 FROM MIGRAD STATUS=CONVERGED 200 CALLS 2447 TOTAL EDM= .60E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 42.476 1.3416 .44178E-08 -.59227E-02 2 norm 1.9530 1.5848 .11076E-06 -.71862E-03 3 norm .0000 1.9777 -.51957E-07** at limit ** 4 Prefactor 5.4338 5.6839 .67981E-07 .12414E-02 5 Prefactor 3.0451 4.9185 .66427E-07 .16158E-02 6 Prefactor 20.060 17.664 -.10296E-06 -.25071E-01 7 Prefactor .19118E-06 72.912 .16287E-06** at limit ** 8 norm 2.8812 2.3124 .20517E-07 -.47550E-04 9 norm 2.1577 2.3528 -.14172E-07 .26122E-03 10 norm .79179E-01 11.926 -.42088E-06** at limit ** 11 Prefactor .16653E-09 2.6664 .36884E-07** at limit ** 12 Prefactor 2.1229 4.8681 -.10833E-06 .12648E-02 13 Prefactor .36082E-08 3.7000 .80903E-07** at limit ** 14 Prefactor .33862E-08 4.7716 .18237E-06** at limit ** 15 norm 9.5344 6.6043 -.23944E-07 -.69876E-02 16 Prefactor 23.349 2.9219 .13673E-07 .33790E-01 17 Prefactor .44409E-09 6.3062 .26270E-06** at limit ** 18 norm .71020 .61503 .42680E-07 -.72574E-03 19 Prefactor 1.5832 2.7566 -.64585E-07 -.21167E-01 20 Prefactor 59.094 6.2457 -.36361E-07 .19620 21 norm .0000 1.0074 -.20358E-06** at limit ** 22 Prefactor .88818E-09 3.3270 -.11219E-06** at limit ** 23 Prefactor .27922E-07 27.930 .46979E-06** at limit ** 24 norm .0000 2.1023 .32277E-07** at limit ** 25 norm 1.8750 1.5324 -.55615E-07 .27359E-03 26 Normalizat 1.4890 .17233 -.37455E-05 .77454E-04 27 Prefactor .85539 .74726E-01 -.87577E-06 .13645E-03 ERR DEF= .500 Final values: Prefactor = 42.476 norm = 1.953 norm = 0 Prefactor = 5.4338 Prefactor = 3.0451 Prefactor = 20.0596 Prefactor = 1.9118e-07 norm = 2.88121 norm = 2.15766 norm = 0.0791792 Prefactor = 1.66533e-10 Prefactor = 2.12291 Prefactor = 3.60822e-09 Prefactor = 3.38618e-09 norm = 9.53438 Prefactor = 23.3488 Prefactor = 4.44089e-10 norm = 0.710199 Prefactor = 1.58324 Prefactor = 59.0938 norm = 0 Prefactor = 8.88178e-10 Prefactor = 2.79221e-08 norm = 0 norm = 1.87497 Normalizat = 1.48897 Prefactor = 0.855392 ********** ** 18 **HESSE ********** FCN= 16396.92 FROM HESSE STATUS=OK 552 CALLS 2999 TOTAL EDM= .65E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 42.476 22.725 .15349E-03 -1.5578 2 norm 1.9530 1.5781 .74196E-03 -1.5680 3 norm .0000 1.9511 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 5.4338 5.6972 .42774E-03 -1.5661 5 Prefactor 3.0451 4.9308 .58002E-03 -1.5673 6 Prefactor 20.060 18.298 .22281E-03 -1.5618 7 Prefactor .19118E-06 72.965 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 2.8812 2.3214 .59833E-03 -1.5674 9 norm 2.1577 2.3676 .70084E-03 -1.5679 10 norm .79179E-01 1.0281 .67753E-02 -1.5714 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .16653E-09 2.6629 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.1229 4.9273 .70375E-03 -1.5679 13 Prefactor .36082E-08 3.7612 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .33862E-08 4.8253 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 9.5344 6.6497 .32418E-03 -1.5646 16 Prefactor 23.349 17.556 .20697E-03 -1.5611 17 Prefactor .44409E-09 6.3359 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .71020 .62322 .59848E-03 -1.5691 19 Prefactor 1.5832 19.725 .83849E-03 -1.5683 20 Prefactor 59.094 29.620 .13052E-03 -1.5554 21 norm .0000 1.0076 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .88818E-09 3.3412 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .27922E-07 28.107 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .0000 2.0931 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 1.8750 1.5279 .76031E-03 -1.5681 26 Normalizat 1.4890 .15603 .73847E-01 -.78089 27 Prefactor .85539 .65832E-01 .44432E-01 -.97718 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.5468e-07 Minuit parameter uncertainties: 1 22.7247 2 1.57815 3 1.1369e-08 4 5.69726 5 4.93082 6 18.2985 7 0.00747026 8 2.32136 9 2.36757 10 0.570632 11 4.01401e-05 12 4.92735 13 0.000233024 14 0.000255831 15 6.64968 16 17.5557 17 0.000102735 18 0.623221 19 11.1767 20 29.6197 21 4.29566e-06 22 0.000108991 23 0.00177177 24 5.84712e-06 25 1.52789 26 0.15608 27 0.0658377 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16396.9180452 Extracting fit parameters... 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 7.918e-02 5.706e-01 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 2.321e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 621 Prefactor: 8.554e-01 6.584e-02 0.000e+00 1.000e+01 ( 1.000e+00) 622 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 623 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 620 Normalization: 1.489e+00 1.561e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 106.207 49.132 Photon Flux Upper Limit: 3.99261251405e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.43695483879e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/34147722/likelihoodResults_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16396.9035918 delta logL = 0.0144533947641 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16396.8545389 delta logL = 0.0635062658585 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .68668 1.0000 .0000 .10000E+07 2 'alpha ' 1.6601 1.0000 .0000 5.0000 3 'Normalizat' 1.4898 1.0000 .10000E-01 10.000 4 'Prefactor ' .85422 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+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. FCN= 16396.85 FROM MIGRAD STATUS=CONVERGED 100 CALLS 277 TOTAL EDM= .76E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .68517 2.0947 .12359E-03 .19674E-01 2 alpha 1.6608 1.2726 .62947E-01 -.12234E-03 3 Normalizat 1.4897 .16378 .32668E-03 .20880E-05 4 Prefactor .85420 .72617E-01 .18354E-03 -.22299E-05 ERR DEF= .500 Final values: norm = 0.685166 alpha = 1.66078 Normalizat = 1.48973 Prefactor = 0.854196 ********** ** 18 **HESSE ********** FCN= 16396.85 FROM HESSE STATUS=OK 27 CALLS 304 TOTAL EDM= .53E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .68517 2.1003 .24718E-04 -1.5691 2 alpha 1.6608 1.2789 .12589E-01 -.34233 3 Normalizat 1.4897 .16389 .13067E-04 -.78067 4 Prefactor .85420 .72664E-01 .73417E-05 -.97760 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.25632e-12 Minuit parameter uncertainties: 1 2.10028 2 1.352 3 0.163947 4 0.0726723 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) = 16396.8545374 delta logL = 0.0635078119594 Extracting fit parameters... 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 6.852e-01 2.100e+00 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 1.661e+00 1.352e+00 0.000e+00 5.000e+00 ( 1.000e+00) 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 621 Prefactor: 8.542e-01 7.267e-02 0.000e+00 1.000e+01 ( 1.000e+00) 622 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 623 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 620 Normalization: 1.490e+00 1.639e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 106.207 49.132 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/34147722/cmap_HighResolution_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-05', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-08-04 05:33:55.900549', job_id='34147722', GAL2='0.85', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1785846835.9', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='6.35e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='939' AND source_name='4FGL J0704.8+4907' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 4 05:33:56 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16396.9180452 Extracting fit parameters... 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 7.918e-02 5.706e-01 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 2.321e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 621 Prefactor: 8.554e-01 6.584e-02 0.000e+00 1.000e+01 ( 1.000e+00) 622 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 623 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 620 Normalization: 1.489e+00 1.561e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 106.207 49.132 Photon Flux Upper Limit: 3.99261251405e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.43695483879e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/34147817/likelihoodResults_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16396.9035918 delta logL = 0.0144533947641 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16396.8545389 delta logL = 0.0635062658585 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .68668 1.0000 .0000 .10000E+07 2 'alpha ' 1.6601 1.0000 .0000 5.0000 3 'Normalizat' 1.4898 1.0000 .10000E-01 10.000 4 'Prefactor ' .85422 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+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. FCN= 16396.85 FROM MIGRAD STATUS=CONVERGED 100 CALLS 277 TOTAL EDM= .76E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .68517 2.0947 .12359E-03 .19674E-01 2 alpha 1.6608 1.2726 .62947E-01 -.12234E-03 3 Normalizat 1.4897 .16378 .32668E-03 .20880E-05 4 Prefactor .85420 .72617E-01 .18354E-03 -.22299E-05 ERR DEF= .500 Final values: norm = 0.685166 alpha = 1.66078 Normalizat = 1.48973 Prefactor = 0.854196 ********** ** 18 **HESSE ********** FCN= 16396.85 FROM HESSE STATUS=OK 27 CALLS 304 TOTAL EDM= .53E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .68517 2.1003 .24718E-04 -1.5691 2 alpha 1.6608 1.2789 .12589E-01 -.34233 3 Normalizat 1.4897 .16389 .13067E-04 -.78067 4 Prefactor .85420 .72664E-01 .73417E-05 -.97760 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.25632e-12 Minuit parameter uncertainties: 1 2.10028 2 1.352 3 0.163947 4 0.0726723 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) = 16396.8545374 delta logL = 0.0635078119594 Extracting fit parameters... 4FGL J0704.8+4907 Spectrum: LogParabola 265 norm: 6.852e-01 2.100e+00 0.000e+00 1.000e+06 ( 1.000e-12) 266 alpha: 1.661e+00 1.352e+00 0.000e+00 5.000e+00 ( 1.000e+00) 267 beta: 1.530e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 268 Eb: 7.828e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 621 Prefactor: 8.542e-01 7.267e-02 0.000e+00 1.000e+01 ( 1.000e+00) 622 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 623 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 620 Normalization: 1.490e+00 1.639e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 106.207 49.132 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/34147817/cmap_HighResolution_806889601_807494401_4FGL_J0704.8+4907_weekly_bin939.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-05', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-08-04 05:35:02.371851', job_id='34147817', GAL2='0.85', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1785846902.37', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='6.35e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='939' AND source_name='4FGL J0704.8+4907' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 4 05:35:02 PDT 2026