/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). Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 44150.8229716 Extracting fit parameters... 4FGL J1707.9+0016 Spectrum: PowerLaw 248 Prefactor: 4.759e+01 7.197e+01 0.000e+00 1.000e+06 ( 1.000e-15) 249 Index: 2.077e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 250 Scale: 4.388e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 702 Prefactor: 1.016e+00 3.128e-02 0.000e+00 1.000e+01 ( 1.000e+00) 703 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 704 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 698 Normalization: 1.124e+00 1.761e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.67 Ra Dec: 256.989 0.273 Photon Flux Upper Limit: 5.73736369371e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00433004332397 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14104908/likelihoodResults_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.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) = 44150.8093143 delta logL = 0.0136572912161 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 44150.8027892 delta logL = 0.0201824189207 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 57.966 1.0000 .0000 .10000E+07 2 'Index ' 1.8044 1.0000 .0000 10.000 3 'Normalizat' 1.1285 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0158 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 44150.80 FROM MIGRAD STATUS=FAILED 94 CALLS 323 TOTAL EDM= .64E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 57.664 93.344 .26271E-04 -.33180E-02 2 Index 1.8060 1.1971 .25528E-02 -.25580E-02 3 Normalizat 1.1284 .17579 .66675E-03 -.61716E-02 4 Prefactor 1.0158 .32823E-01 .12944E-03 -.30373E-01 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 44150.80 FROM SIMPLEX STATUS=UNCHANGED 68 CALLS 391 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 57.664 93.344 .53950E-04 -1.5556 2 Index 1.8060 1.1971 .14888E-02 -.69293 3 Normalizat 1.1284 .17579 .29761E-03 -.88846 4 Prefactor 1.0158 .32823E-01 .57827E-04 -.92206 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 44150.80 FROM MIGRAD STATUS=CONVERGED 30 CALLS 421 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 57.643 93.044 .52541E-05 -.79280E-03 2 Index 1.8070 1.1938 .51056E-03 .81943E-05 3 Normalizat 1.1284 .17581 .13335E-03 -.51834E-04 4 Prefactor 1.0158 .32830E-01 .25889E-04 -.19392E-03 ERR DEF= .500 Final values: Prefactor = 57.6433 Index = 1.80696 Normalizat = 1.12838 Prefactor = 1.01577 ********** ** 18 **HESSE ********** FCN= 44150.80 FROM HESSE STATUS=OK 23 CALLS 444 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 57.643 93.003 .10508E-05 -1.5556 2 Index 1.8070 1.1922 .20422E-04 -.69269 3 Normalizat 1.1284 .17582 .53340E-05 -.88846 4 Prefactor 1.0158 .32835E-01 .51777E-05 -.92206 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.23171e-10 Minuit parameter uncertainties: 1 93.0049 2 1.21217 3 0.175908 4 0.0328359 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) = 44150.8027825 delta logL = 0.0201891378529 Extracting fit parameters... 4FGL J1707.9+0016 Spectrum: PowerLaw 248 Prefactor: 5.764e+01 9.300e+01 0.000e+00 1.000e+06 ( 1.000e-15) 249 Index: 1.807e+00 1.212e+00 0.000e+00 1.000e+01 (-1.000e+00) 250 Scale: 4.388e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 702 Prefactor: 1.016e+00 3.284e-02 0.000e+00 1.000e+01 ( 1.000e+00) 703 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 704 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 698 Normalization: 1.128e+00 1.759e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.67 Ra Dec: 256.989 0.273 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/14104908/cmap_HighResolution_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2025-10-20 17:32:39.662983', job_id='14104908', GAL2='1.02', fit_tolerance='1e-08', EG2='1.13', EG='1.12', time_epoch_completed='1761006759.66', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.02e-02', ts2='0.71', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='896' AND source_name='4FGL J1707.9+0016' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 17:32:40 PDT 2025 number of points = 17046 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1707.9+0016_weekly_bin896 RA = 256.989, Dec = 0.2731 tmin = 780883201, tmax = 781488001 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='14105607', job_status='RUN', time_executed='2025-10-20 17:32:21.045398', time_epoch_executed='1761006741.05' WHERE source_name='4FGL J1707.9+0016' and cadence='weekly' and bin_id='896' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14105607 Creating custom pfile directory: /lscratch/kocevski/14105607/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=780883201.0 && nMetStart<781488001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=780883201.0 && nMetStart<781488001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14105607/ft1_4FGL_J1707.9+0016_weekly_bin896.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=780883201.0 && nMetStart<781488001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14105607/ft1_4FGL_J1707.9+0016_weekly_bin896.fits outfile=/lscratch/kocevski/14105607/ft1_filteredMKT_4FGL_J1707.9+0016_weekly_bin896.fits ra=256.989 dec=0.2731 rad=12.0 tmin=780883201.0 tmax=781488001.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.49 user 5.10 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.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/14105607/ft1_filteredMKT_4FGL_J1707.9+0016_weekly_bin896.fits evtable="EVENTS" outfile="/lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.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.48 user 0.24 sys 0.15 Number of photons that the gtmktime cut: 4399 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14105607/ltcube_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.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/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits .....................! real 25.94 user 25.12 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits evtable="EVENTS" scfile=/lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14105607/ltcube_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.fits outfile=/lscratch/kocevski/14105607/expmap_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.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/14105607/ltcube_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.fits .....................! real 74.20 user 69.58 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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model. Added 202 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 J1707.9+0016 @ 256.989 0.2731 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits scfile=/lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits outfile=/lscratch/kocevski/14105607/cmap_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.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=256.989 yref=0.2731 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.66 user 0.26 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits scfile=/lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits outfile=/lscratch/kocevski/14105607/cmap_HighResolution_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.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=256.989 yref=0.2731 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.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits evtable="EVENTS" scfile=/lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14105607/Model_4FGL_J1707.9+0016_weekly_bin896.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 FHES J1723.5-0501 adding source GAL_V02 Working on... /lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits.....................! real 159.39 user 156.65 sys 1.34 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits', '/lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits', expMap='/lscratch/kocevski/14105607/expmap_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.fits', expCube='/lscratch/kocevski/14105607/ltcube_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14105607/Model_4FGL_J1707.9+0016_weekly_bin896.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1707.9+0016' 4FGL J1707.9+0016 Spectrum: PowerLaw 248 Prefactor: 8.322e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 249 Index: 2.077e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 250 Scale: 4.388e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14105607/ft1_filtered_4FGL_J1707.9+0016_weekly_bin896.fits Spacecraft file(s): /lscratch/kocevski/14105607/ft2_4FGL_J1707.9+0016_weekly_bin896.fits Exposure map: /lscratch/kocevski/14105607/expmap_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.fits Exposure cube: /lscratch/kocevski/14105607/ltcube_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14105607/Model_4FGL_J1707.9+0016_weekly_bin896.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) = 44150.8235456 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 44150.8243421 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .92344E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' .29327E-06 1.0000 .0000 .10000E+07 3 'Prefactor ' .62368E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .28836E-01 1.0000 .0000 .10000E+07 5 'Prefactor ' .11896E-06 1.0000 .0000 .10000E+07 6 'Prefactor ' .25502E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .92895E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.8537 1.0000 .0000 .10000E+07 9 'Prefactor ' 47.530 1.0000 .0000 .10000E+07 10 'Prefactor ' .16477E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' 6.8534 1.0000 .0000 .10000E+07 12 'norm ' 25.817 1.0000 .0000 .10000E+07 13 'norm ' 3.4159 1.0000 .0000 .10000E+07 14 'Normalizat' 1.1237 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0160 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 44150.82 FROM MIGRAD STATUS=CONVERGED 113 CALLS 1056 TOTAL EDM= .62E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .44464E-07 44.685 .32196E-06** at limit ** 2 Prefactor .0000 .83043 .31508E-07** at limit ** 3 Prefactor .12768E-08 22.405 -.56103E-07** at limit ** 4 Prefactor .0000 20.558 -.14134E-07** at limit ** 5 Prefactor .0000 .58786 -.19872E-07** at limit ** 6 Prefactor .0000 1.9465 -.38589E-07** at limit ** 7 Prefactor .0000 11.162 -.19655E-06** at limit ** 8 Prefactor 2.7962 4.5129 .58198E-07 -.12229E-03 9 Prefactor 47.587 2.2335 .62084E-09 -.37585E-01 10 Prefactor .65059E-07 47.935 .21463E-06** at limit ** 11 Prefactor 6.7274 4.3213 -.83438E-09 .23322E-01 12 norm 25.842 7.8048 -.52841E-08 -.22281E-02 13 norm 3.4173 2.0127 -.90187E-08 .63785E-04 14 Normalizat 1.1242 .18061 .81049E-06 -.18149E-04 15 Prefactor 1.0159 .33112E-01 .11833E-06 -.56971E-04 ERR DEF= .500 Final values: Prefactor = 4.44644e-08 Prefactor = 0 Prefactor = 1.27676e-09 Prefactor = 0 Prefactor = 0 Prefactor = 0 Prefactor = 0 Prefactor = 2.7962 Prefactor = 47.5866 Prefactor = 6.50591e-08 Prefactor = 6.72738 norm = 25.8422 norm = 3.41727 Normalizat = 1.12417 Prefactor = 1.01593 ********** ** 18 **HESSE ********** FCN= 44150.82 FROM HESSE STATUS=OK 216 CALLS 1272 TOTAL EDM= .82E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .44464E-07 44.794 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 .83158 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .12768E-08 22.116 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 4.8451 .16513E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .0000 .58819 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .0000 1.9411 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 11.192 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.7962 4.5072 .60158E-03 -1.5675 9 Prefactor 47.587 71.967 .14506E-03 -1.5570 10 Prefactor .65059E-07 46.878 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 6.7274 101.54 .38301E-03 -1.5656 12 norm 25.842 8.2432 .19685E-03 -1.5606 13 norm 3.4173 2.0196 .54709E-03 -1.5671 14 Normalizat 1.1242 .17606 .15030 -.88980 15 Prefactor 1.0159 .31276E-01 .29289E-01 -.92200 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.22712e-07 Minuit parameter uncertainties: 1 0.00282258 2 1.38849e-07 3 0.000333943 4 4.36047e-06 5 3.05202e-07 6 1.16903e-07 7 3.40716e-05 8 4.50719 9 71.9687 10 0.00349213 11 52.2729 12 8.24325 13 2.01959 14 0.176148 15 0.0312769 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 44150.8229716 Extracting fit parameters... 4FGL J1707.9+0016 Spectrum: PowerLaw 248 Prefactor: 4.759e+01 7.197e+01 0.000e+00 1.000e+06 ( 1.000e-15) 249 Index: 2.077e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 250 Scale: 4.388e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 702 Prefactor: 1.016e+00 3.128e-02 0.000e+00 1.000e+01 ( 1.000e+00) 703 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 704 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 698 Normalization: 1.124e+00 1.761e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.67 Ra Dec: 256.989 0.273 Photon Flux Upper Limit: 5.73736369371e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00433004332397 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14105607/likelihoodResults_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.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) = 44150.8093143 delta logL = 0.0136572912161 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 44150.8027892 delta logL = 0.0201824189207 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 57.966 1.0000 .0000 .10000E+07 2 'Index ' 1.8044 1.0000 .0000 10.000 3 'Normalizat' 1.1285 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0158 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 44150.80 FROM MIGRAD STATUS=FAILED 94 CALLS 323 TOTAL EDM= .64E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 57.664 93.344 .26271E-04 -.33180E-02 2 Index 1.8060 1.1971 .25528E-02 -.25580E-02 3 Normalizat 1.1284 .17579 .66675E-03 -.61716E-02 4 Prefactor 1.0158 .32823E-01 .12944E-03 -.30373E-01 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 44150.80 FROM SIMPLEX STATUS=UNCHANGED 68 CALLS 391 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 57.664 93.344 .53950E-04 -1.5556 2 Index 1.8060 1.1971 .14888E-02 -.69293 3 Normalizat 1.1284 .17579 .29761E-03 -.88846 4 Prefactor 1.0158 .32823E-01 .57827E-04 -.92206 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 44150.80 FROM MIGRAD STATUS=CONVERGED 30 CALLS 421 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 57.643 93.044 .52541E-05 -.79280E-03 2 Index 1.8070 1.1938 .51056E-03 .81943E-05 3 Normalizat 1.1284 .17581 .13335E-03 -.51834E-04 4 Prefactor 1.0158 .32830E-01 .25889E-04 -.19392E-03 ERR DEF= .500 Final values: Prefactor = 57.6433 Index = 1.80696 Normalizat = 1.12838 Prefactor = 1.01577 ********** ** 18 **HESSE ********** FCN= 44150.80 FROM HESSE STATUS=OK 23 CALLS 444 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 57.643 93.003 .10508E-05 -1.5556 2 Index 1.8070 1.1922 .20422E-04 -.69269 3 Normalizat 1.1284 .17582 .53340E-05 -.88846 4 Prefactor 1.0158 .32835E-01 .51777E-05 -.92206 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.23171e-10 Minuit parameter uncertainties: 1 93.0049 2 1.21217 3 0.175908 4 0.0328359 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) = 44150.8027825 delta logL = 0.0201891378529 Extracting fit parameters... 4FGL J1707.9+0016 Spectrum: PowerLaw 248 Prefactor: 5.764e+01 9.300e+01 0.000e+00 1.000e+06 ( 1.000e-15) 249 Index: 1.807e+00 1.212e+00 0.000e+00 1.000e+01 (-1.000e+00) 250 Scale: 4.388e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 702 Prefactor: 1.016e+00 3.284e-02 0.000e+00 1.000e+01 ( 1.000e+00) 703 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 704 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 698 Normalization: 1.128e+00 1.759e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.67 Ra Dec: 256.989 0.273 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/14105607/cmap_HighResolution_780883201_781488001_4FGL_J1707.9+0016_weekly_bin896.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2025-10-20 17:48:59.896360', job_id='14105607', GAL2='1.02', fit_tolerance='1e-08', EG2='1.13', EG='1.12', time_epoch_completed='1761007739.9', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.02e-02', ts2='0.71', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='896' AND source_name='4FGL J1707.9+0016' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 17:49:00 PDT 2025