/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 = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_weekly_bin932 RA = 256.06, Dec = 12.5752 tmin = 802656001, tmax = 803260801 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='31181751', job_status='RUN', time_executed='2026-07-09 23:39:14.603079', time_epoch_executed='1783665554.6' WHERE source_name='4FGL J1704.2+1234' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31181751 Creating custom pfile directory: /lscratch/kocevski/31181751/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31181751/ft1_4FGL_J1704.2+1234_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31181751/ft1_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181751/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin932.fits ra=256.06 dec=12.5752 rad=12.0 tmin=802656001.0 tmax=803260801.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.60 user 3.98 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.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/31181751/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.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.66 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 2277 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits sctable="SC_DATA" ouV2" 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/31181502/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits.....................! real 75.94 user 73.68 sys 1.40 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31181502/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits', '/lscratch/kocevski/31181502/ft2_4FGL_J1704.2+1234_weekly_bin932.fits', expMap='/lscratch/kocevski/31181502/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', expCube='/lscratch/kocevski/31181502/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31181502/Model_4FGL_J1704.2+1234_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.2+1234' 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 7.833e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31181502/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31181502/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Exposure map: /lscratch/kocevski/31181502/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31181502/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31181502/Model_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1350581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1164822 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 59.315 1.0000 .0000 .10000E+07 2 'Prefactor ' .16662E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.3698 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.3978 1.0000 .0000 .10000E+07 5 'Prefactor ' .90639E-05 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.2352 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.9456 1.0000 .0000 .10000E+07 8 'Prefactor ' .56487E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.0958 1.0000 .0000 .10000E+07 10 'Prefactor ' .85881 1.0000 .0000 .10000E+07 11 'norm ' .39413E-08 1.0000 .0000 .10000E+07 12 'Prefactor ' .31766E-03 1.0000 .0000 .10000E+07 13 'norm ' .32079E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' 103.06 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.367 1.0000 .0000 .10000E+07 16 'norm ' .12298E-03 1.0000 .0000 .10000E+07 17 'norm ' .75714E-03 1.0000 .0000 .10000E+07 18 'norm ' 5.7201 1.0000 .0000 .10000E+07 19 'Normalizat' .87672 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0486 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 142 CALLS 1635 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 59.359 7.9587 -.12142E-05 -.20735 2 Prefactor .17939E-04 27.882 .12368E-04** at limit ** 3 Prefactor 1.4532 5.3068 .12163E-05 -.12310E-02 4 Prefactor 2.4064 3.8023 .27022E-07 .20247E-02 5 Prefactor .0000 1.8698 .18884E-06** at limit ** 6 Prefactor 4.2157 5.0535 .12909E-06 .16093E-02 7 Prefactor 2.9643 19.743 .21599E-05 .18611E-01 8 Prefactor .20484E-07 15.746 -.34161E-05** at limit ** 9 Prefactor 7.1935 5.3920 .16656E-06 .75746E-03 10 Prefactor .85177 2.1167 .26530E-06 -.13185E-01 11 norm .0000 .46590 -.12762E-06** at limit ** 12 Prefactor .12434E-07 5.5714 -.75135E-06** at limit ** 13 norm .54727E-04 7.4740 .50257E-05** at limit ** 14 Prefactor 104.59 61.562 .11372E-05 -.29434E-01 15 Prefactor 18.366 2.9159 -.20744E-06 -.26799E-02 16 norm .34972E-08 3.3867 -.10277E-05** at limit ** 17 norm .17153E-07 11.755 .37532E-06** at limit ** 18 norm 5.7199 1.2247 .25852E-07 .39114E-02 19 Normalizat .87640 .19309 -.20946E-04 -.72149E-04 20 Prefactor 1.0484 .65574E-01 -.38690E-05 -.23363E-03 ERR DEF= .500 Final values: Prefactor = 59.359 Prefactor = 1.79389e-05 Prefactor = 1.4532 Prefactor = 2.40642 Prefactor = 0 Prefactor = 4.21567 Prefactor = 2.96426 Prefactor = 2.04836e-08 Prefactor = 7.1935 Prefactor = 0.851775 norm = 0 Prefactor = 1.24345e-08 norm = 5.47269e-05 Prefactor = 104.592 Prefactor = 18.3656 norm = 3.4972e-09 norm = 1.71529e-08 norm = 5.71993 Normalizat = 0.876399 Prefactor = 1.04836 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/31181518/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits.....................! real 71.65 user 69.60 sys 1.39 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31181518/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits', '/lscratch/kocevski/31181518/ft2_4FGL_J1704.2+1234_weekly_bin932.fits', expMap='/lscratch/kocevski/31181518/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', expCube='/lscratch/kocevski/31181518/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31181518/Model_4FGL_J1704.2+1234_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.2+1234' 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 7.833e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31181518/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31181518/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Exposure map: /lscratch/kocevski/31181518/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31181518/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31181518/Model_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1350581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1164822 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 59.315 1.0000 .0000 .10000E+07 2 'Prefactor ' .16662E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.3698 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.3978 1.0000 .0000 .10000E+07 5 'Prefactor ' .90639E-05 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.2352 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.9456 1.0000 .0000 .10000E+07 8 'Prefactor ' .56487E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.0958 1.0000 .0000 .10000E+07 10 'Prefactor ' .85881 1.0000 .0000 .10000E+07 11 'norm ' .39413E-08 1.0000 .0000 .10000E+07 12 'Prefactor ' .31766E-03 1.0000 .0000 .10000E+07 13 'norm ' .32079E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' 103.06 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.367 1.0000 .0000 .10000E+07 16 'norm ' .12298E-03 1.0000 .0000 .10000E+07 17 'norm ' .75714E-03 1.0000 .0000 .10000E+07 18 'norm ' 5.7201 1.0000 .0000 .10000E+07 19 'Normalizat' .87672 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0486 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 142 CALLS 1635 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 59.359 7.9587 -.12142E-05 -.20735 2 Prefactor .17939E-04 27.882 .12368E-04** at limit ** 3 Prefactor 1.4532 5.3068 .12163E-05 -.12310E-02 4 Prefactor 2.4064 3.8023 .27022E-07 .20247E-02 5 Prefactor .0000 1.8698 .18884E-06** at limit ** 6 Prefactor 4.2157 5.0535 .12909E-06 .16093E-02 7 Prefactor 2.9643 19.743 .21599E-05 .18611E-01 8 Prefactor .20484E-07 15.746 -.34161E-05** at limit ** 9 Prefactor 7.1935 5.3920 .16656E-06 .75746E-03 10 Prefactor .85177 2.1167 .26530E-06 -.13185E-01 11 norm .0000 .46590 -.12762E-06** at limit ** 12 Prefactor .12434E-07 5.5714 -.75135E-06** at limit ** 13 norm .54727E-04 7.4740 .50257E-05** at limit ** 14 Prefactor 104.59 61.562 .11372E-05 -.29434E-01 15 Prefactor 18.366 2.9159 -.20744E-06 -.26799E-02 16 norm .34972E-08 3.3867 -.10277E-05** at limit ** 17 norm .17153E-07 11.755 .37532E-06** at limit ** 18 norm 5.7199 1.2247 .25852E-07 .39114E-02 19 Normalizat .87640 .19309 -.20946E-04 -.72149E-04 20 Prefactor 1.0484 .65574E-01 -.38690E-05 -.23363E-03 ERR DEF= .500 Final values: Prefactor = 59.359 Prefactor = 1.79389e-05 Prefactor = 1.4532 Prefactor = 2.40642 Prefactor = 0 Prefactor = 4.21567 Prefactor = 2.96426 Prefactor = 2.04836e-08 Prefactor = 7.1935 Prefactor = 0.851775 norm = 0 Prefactor = 1.24345e-08 norm = 5.47269e-05 Prefactor = 104.592 Prefactor = 18.3656 norm = 3.4972e-09 norm = 1.71529e-08 norm = 5.71993 Normalizat = 0.876399 Prefactor = 1.04836 ********** ** 18 **HESSE ********** FCN= 24993.12 FROM HESSE STATUS=OK 343 CALLS 1978 TOTAL EDM= .35E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 59.359 24.024 .12985E-03 -1.5554 2 Prefactor .17939E-04 35.352 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.4532 5.3315 .93130E-03 -1.5684 4 Prefactor 2.4064 3.8851 .66103E-03 -1.5677 5 Prefactor .0000 1.8722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.2157 5.0891 .48939E-03 -1.5667 7 Prefactor 2.9643 21.835 .59151E-03 -1.5674 8 Prefactor .20484E-07 16.162 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.1935 5.4057 .37635E-03 -1.5654 10 Prefactor .85177 16.547 .48650E-03 -1.5690 11 norm .0000 .46538 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .12434E-07 5.5717 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .54727E-04 2.5880 .89013E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 104.59 61.958 .98511E-04 -1.5503 15 Prefactor 18.366 3.0017 .23342E-03 -1.5622 16 norm .34972E-08 3.3822 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .17153E-07 11.881 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 5.7199 1.2260 .41974E-03 -1.5660 19 Normalizat .87640 .17459 .11045 -.97294 20 Prefactor 1.0484 .57120E-01 .39991E-01 -.91134 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.45094e-06 Minuit parameter uncertainties: 1 24.0238 2 0.0503658 3 5.33156 4 3.88511 5 5.66378e-06 6 5.08914 7 16.0905 8 0.00115044 9 5.40571 10 7.50854 11 4.36386e-06 12 0.000525892 13 0.023802 14 61.9585 15 3.00169 16 0.00021807 17 0.000902922 18 1.22604 19 0.174699 20 0.0571234 tfile=/lscratch/kocevski/31181751/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits .....................! real 18.23 user 17.61 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31181751/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181751/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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/31181751/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits .....................! real 67.59 user 62.99 sys 3.88 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 179 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 J1704.2+1234 @ 256.06 12.5752 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits scfile=/lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181751/cmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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.06 yref=12.5752 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.67 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits scfile=/lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181751/cmap_HighResolution_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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.06 yref=12.5752 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.72 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31181751/Model_4FGL_J1704.2+1234_weekly_bin932.xml irfs="P8R3_SOURCE_V ********** ** 18 **HESSE ********** FCN= 24993.12 FROM HESSE STATUS=OK 343 CALLS 1978 TOTAL EDM= .35E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 59.359 24.024 .12985E-03 -1.5554 2 Prefactor .17939E-04 35.352 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.4532 5.3315 .93130E-03 -1.5684 4 Prefactor 2.4064 3.8851 .66103E-03 -1.5677 5 Prefactor .0000 1.8722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.2157 5.0891 .48939E-03 -1.5667 7 Prefactor 2.9643 21.835 .59151E-03 -1.5674 8 Prefactor .20484E-07 16.162 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.1935 5.4057 .37635E-03 -1.5654 10 Prefactor .85177 16.547 .48650E-03 -1.5690 11 norm .0000 .46538 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .12434E-07 5.5717 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .54727E-04 2.5880 .89013E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 104.59 61.958 .98511E-04 -1.5503 15 Prefactor 18.366 3.0017 .23342E-03 -1.5622 16 norm .34972E-08 3.3822 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .17153E-07 11.881 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 5.7199 1.2260 .41974E-03 -1.5660 19 Normalizat .87640 .17459 .11045 -.97294 20 Prefactor 1.0484 .57120E-01 .39991E-01 -.91134 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.45094e-06 Minuit parameter uncertainties: 1 24.0238 2 0.0503658 3 5.33156 4 3.88511 5 5.66378e-06 6 5.08914 7 16.0905 8 0.00115044 9 5.40571 10 7.50854 11 4.36386e-06 12 0.000525892 13 0.023802 14 61.9585 15 3.00169 16 0.00021807 17 0.000902922 18 1.22604 19 0.174699 20 0.0571234 number of points = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_weekly_bin932 RA = 256.06, Dec = 12.5752 tmin = 802656001, tmax = 803260801 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='31181882', job_status='RUN', time_executed='2026-07-09 23:41:15.930404', time_epoch_executed='1783665675.93' WHERE source_name='4FGL J1704.2+1234' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31181882 Creating custom pfile directory: /lscratch/kocevski/31181882/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31181882/ft1_4FGL_J1704.2+1234_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31181882/ft1_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181882/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin932.fits ra=256.06 dec=12.5752 rad=12.0 tmin=802656001.0 tmax=803260801.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.75 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.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/31181882/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.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.60 user 0.19 sys 0.15 Number of photons that the gtmktime cut: 2277 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits sctable="SC_DATA" oDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1156021 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.048e-08 1.150e-03 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 5.712e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.747e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 4.31477334829e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00329171883186 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31181502/likelihoodResults_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1452582 delta logL = -0.0296560599927 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 24993.1156021 delta logL = -4.01269062422e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58287E-08 1.0000 .0000 .10000E+07 2 'Index ' .22928 1.0000 .0000 10.000 3 'Normalizat' .87640 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0484 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 56 CALLS 237 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 7.6229 .42118E-03** at limit ** 2 Index 3.2077 1.6323 -.52470E-04 .0000 3 Normalizat .87640 1.2128 -.63267E-06 .29436E-05 4 Prefactor 1.0484 1.1931 .71980E-06 -.59416E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.20767 Normalizat = 0.8764 Prefactor = 1.04836 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM HESSE STATUS=FAILED 9 CALLS 246 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 7.6229 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.1571 2.1638 -.52470E-04 -.36662 3 Normalizat .87640 1.2128 -.63267E-06 -.97294 4 Prefactor 1.0484 1.1931 .71980E-06 -.91134 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 7.40193e-14 Minuit parameter uncertainties: 1 3.00757e-06 2 1.66752 3 1.25392 4 1.22557 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 24993.1156021 delta logL = 6.36646291241e-10 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 0.000e+00 3.008e-06 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 3.208e+00 1.668e+00 0.000e+00 1.000e+01 (-1.000e+00) 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 1.226e+00 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.254e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 256.060 12.575 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/31181502/cmap_HighResolution_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2026-07-09 23:45:57.725794', job_id='31181502', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1783665957.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.37e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='932' AND source_name='4FGL J1704.2+1234' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 23:45:58 PDT 2026 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/31181538/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits.....................! real 70.53 user 68.73 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31181538/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits', '/lscratch/kocevski/31181538/ft2_4FGL_J1704.2+1234_weekly_bin932.fits', expMap='/lscratch/kocevski/31181538/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', expCube='/lscratch/kocevski/31181538/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31181538/Model_4FGL_J1704.2+1234_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.2+1234' 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 7.833e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31181538/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31181538/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Exposure map: /lscratch/kocevski/31181538/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31181538/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31181538/Model_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1350581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1164822 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 59.315 1.0000 .0000 .10000E+07 2 'Prefactor ' .16662E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.3698 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.3978 1.0000 .0000 .10000E+07 5 'Prefactor ' .90639E-05 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.2352 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.9456 1.0000 .0000 .10000E+07 8 'Prefactor ' .56487E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.0958 1.0000 .0000 .10000E+07 10 'Prefactor ' .85881 1.0000 .0000 .10000E+07 11 'norm ' .39413E-08 1.0000 .0000 .10000E+07 12 'Prefactor ' .31766E-03 1.0000 .0000 .10000E+07 13 'norm ' .32079E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' 103.06 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.367 1.0000 .0000 .10000E+07 16 'norm ' .12298E-03 1.0000 .0000 .10000E+07 17 'norm ' .75714E-03 1.0000 .0000 .10000E+07 18 'norm ' 5.7201 1.0000 .0000 .10000E+07 19 'Normalizat' .87672 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0486 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 142 CALLS 1635 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 59.359 7.9587 -.12142E-05 -.20735 2 Prefactor .17939E-04 27.882 .12368E-04** at limit ** 3 Prefactor 1.4532 5.3068 .12163E-05 -.12310E-02 4 Prefactor 2.4064 3.8023 .27022E-07 .20247E-02 5 Prefactor .0000 1.8698 .18884E-06** at limit ** 6 Prefactor 4.2157 5.0535 .12909E-06 .16093E-02 7 Prefactor 2.9643 19.743 .21599E-05 .18611E-01 8 Prefactor .20484E-07 15.746 -.34161E-05** at limit ** 9 Prefactor 7.1935 5.3920 .16656E-06 .75746E-03 10 Prefactor .85177 2.1167 .26530E-06 -.13185E-01 11 norm .0000 .46590 -.12762E-06** at limit ** 12 Prefactor .12434E-07 5.5714 -.75135E-06** at limit ** 13 norm .54727E-04 7.4740 .50257E-05** at limit ** 14 Prefactor 104.59 61.562 .11372E-05 -.29434E-01 15 Prefactor 18.366 2.9159 -.20744E-06 -.26799E-02 16 norm .34972E-08 3.3867 -.10277E-05** at limit ** 17 norm .17153E-07 11.755 .37532E-06** at limit ** 18 norm 5.7199 1.2247 .25852E-07 .39114E-02 19 Normalizat .87640 .19309 -.20946E-04 -.72149E-04 20 Prefactor 1.0484 .65574E-01 -.38690E-05 -.23363E-03 ERR DEF= .500 Final values: Prefactor = 59.359 Prefactor = 1.79389e-05 Prefactor = 1.4532 Prefactor = 2.40642 Prefactor = 0 Prefactor = 4.21567 Prefactor = 2.96426 Prefactor = 2.04836e-08 Prefactor = 7.1935 Prefactor = 0.851775 norm = 0 Prefactor = 1.24345e-08 norm = 5.47269e-05 Prefactor = 104.592 Prefactor = 18.3656 norm = 3.4972e-09 norm = 1.71529e-08 norm = 5.71993 Normalizat = 0.876399 Prefactor = 1.04836 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1156021 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.048e-08 1.150e-03 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 5.712e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.747e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 4.31477334829e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00329171883186 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31181518/likelihoodResults_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1452582 delta logL = -0.0296560599927 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 24993.1156021 delta logL = -4.01269062422e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58287E-08 1.0000 .0000 .10000E+07 2 'Index ' .22928 1.0000 .0000 10.000 3 'Normalizat' .87640 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0484 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 56 CALLS 237 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 7.6229 .42118E-03** at limit ** 2 Index 3.2077 1.6323 -.52470E-04 .0000 3 Normalizat .87640 1.2128 -.63267E-06 .29436E-05 4 Prefactor 1.0484 1.1931 .71980E-06 -.59416E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.20767 Normalizat = 0.8764 Prefactor = 1.04836 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM HESSE STATUS=FAILED 9 CALLS 246 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 7.6229 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.1571 2.1638 -.52470E-04 -.36662 3 Normalizat .87640 1.2128 -.63267E-06 -.97294 4 Prefactor 1.0484 1.1931 .71980E-06 -.91134 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 7.40193e-14 Minuit parameter uncertainties: 1 3.00757e-06 2 1.66752 3 1.25392 4 1.22557 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 24993.1156021 delta logL = 6.36646291241e-10 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 0.000e+00 3.008e-06 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 3.208e+00 1.668e+00 0.000e+00 1.000e+01 (-1.000e+00) 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 1.226e+00 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.254e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 256.060 12.575 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/31181518/cmap_HighResolution_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2026-07-09 23:46:31.424750', job_id='31181518', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1783665991.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.37e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='932' AND source_name='4FGL J1704.2+1234' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 23:46:31 PDT 2026 utfile=/lscratch/kocevski/31181882/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits .....................! real 17.80 user 17.13 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31181882/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181882/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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/31181882/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits .....................! real 64.13 user 59.75 sys 3.79 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 179 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 J1704.2+1234 @ 256.06 12.5752 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits scfile=/lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181882/cmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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.06 yref=12.5752 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.71 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits scfile=/lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits outfile=/lscratch/kocevski/31181882/cmap_HighResolution_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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.06 yref=12.5752 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.65 user 0.21 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31181882/Model_4FGL_J1704.2+1234_weekly_bin932.xml irfs="P8R3_SOURCE_ ********** ** 18 **HESSE ********** FCN= 24993.12 FROM HESSE STATUS=OK 343 CALLS 1978 TOTAL EDM= .35E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 59.359 24.024 .12985E-03 -1.5554 2 Prefactor .17939E-04 35.352 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.4532 5.3315 .93130E-03 -1.5684 4 Prefactor 2.4064 3.8851 .66103E-03 -1.5677 5 Prefactor .0000 1.8722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.2157 5.0891 .48939E-03 -1.5667 7 Prefactor 2.9643 21.835 .59151E-03 -1.5674 8 Prefactor .20484E-07 16.162 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.1935 5.4057 .37635E-03 -1.5654 10 Prefactor .85177 16.547 .48650E-03 -1.5690 11 norm .0000 .46538 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .12434E-07 5.5717 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .54727E-04 2.5880 .89013E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 104.59 61.958 .98511E-04 -1.5503 15 Prefactor 18.366 3.0017 .23342E-03 -1.5622 16 norm .34972E-08 3.3822 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .17153E-07 11.881 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 5.7199 1.2260 .41974E-03 -1.5660 19 Normalizat .87640 .17459 .11045 -.97294 20 Prefactor 1.0484 .57120E-01 .39991E-01 -.91134 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.45094e-06 Minuit parameter uncertainties: 1 24.0238 2 0.0503658 3 5.33156 4 3.88511 5 5.66378e-06 6 5.08914 7 16.0905 8 0.00115044 9 5.40571 10 7.50854 11 4.36386e-06 12 0.000525892 13 0.023802 14 61.9585 15 3.00169 16 0.00021807 17 0.000902922 18 1.22604 19 0.174699 20 0.0571234 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1156021 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.048e-08 1.150e-03 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 5.712e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.747e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 4.31477334829e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00329171883186 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31181538/likelihoodResults_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1452582 delta logL = -0.0296560599927 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 24993.1156021 delta logL = -4.01269062422e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58287E-08 1.0000 .0000 .10000E+07 2 'Index ' .22928 1.0000 .0000 10.000 3 'Normalizat' .87640 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0484 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 56 CALLS 237 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 7.6229 .42118E-03** at limit ** 2 Index 3.2077 1.6323 -.52470E-04 .0000 3 Normalizat .87640 1.2128 -.63267E-06 .29436E-05 4 Prefactor 1.0484 1.1931 .71980E-06 -.59416E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.20767 Normalizat = 0.8764 Prefactor = 1.04836 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM HESSE STATUS=FAILED 9 CALLS 246 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 7.6229 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.1571 2.1638 -.52470E-04 -.36662 3 Normalizat .87640 1.2128 -.63267E-06 -.97294 4 Prefactor 1.0484 1.1931 .71980E-06 -.91134 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 7.40193e-14 Minuit parameter uncertainties: 1 3.00757e-06 2 1.66752 3 1.25392 4 1.22557 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 24993.1156021 delta logL = 6.36646291241e-10 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 0.000e+00 3.008e-06 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 3.208e+00 1.668e+00 0.000e+00 1.000e+01 (-1.000e+00) 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 1.226e+00 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.254e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 256.060 12.575 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/31181538/cmap_HighResolution_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2026-07-09 23:48:13.994035', job_id='31181538', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1783666093.99', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.37e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='932' AND source_name='4FGL J1704.2+1234' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 23:48:14 PDT 2026 2" 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/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits.....................! real 72.71 user 70.90 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits', '/lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits', expMap='/lscratch/kocevski/31181751/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', expCube='/lscratch/kocevski/31181751/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31181751/Model_4FGL_J1704.2+1234_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.2+1234' 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 7.833e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31181751/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31181751/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Exposure map: /lscratch/kocevski/31181751/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31181751/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31181751/Model_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1350581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1164822 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 59.315 1.0000 .0000 .10000E+07 2 'Prefactor ' .16662E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.3698 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.3978 1.0000 .0000 .10000E+07 5 'Prefactor ' .90639E-05 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.2352 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.9456 1.0000 .0000 .10000E+07 8 'Prefactor ' .56487E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.0958 1.0000 .0000 .10000E+07 10 'Prefactor ' .85881 1.0000 .0000 .10000E+07 11 'norm ' .39413E-08 1.0000 .0000 .10000E+07 12 'Prefactor ' .31766E-03 1.0000 .0000 .10000E+07 13 'norm ' .32079E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' 103.06 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.367 1.0000 .0000 .10000E+07 16 'norm ' .12298E-03 1.0000 .0000 .10000E+07 17 'norm ' .75714E-03 1.0000 .0000 .10000E+07 18 'norm ' 5.7201 1.0000 .0000 .10000E+07 19 'Normalizat' .87672 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0486 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 142 CALLS 1635 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 59.359 7.9587 -.12142E-05 -.20735 2 Prefactor .17939E-04 27.882 .12368E-04** at limit ** 3 Prefactor 1.4532 5.3068 .12163E-05 -.12310E-02 4 Prefactor 2.4064 3.8023 .27022E-07 .20247E-02 5 Prefactor .0000 1.8698 .18884E-06** at limit ** 6 Prefactor 4.2157 5.0535 .12909E-06 .16093E-02 7 Prefactor 2.9643 19.743 .21599E-05 .18611E-01 8 Prefactor .20484E-07 15.746 -.34161E-05** at limit ** 9 Prefactor 7.1935 5.3920 .16656E-06 .75746E-03 10 Prefactor .85177 2.1167 .26530E-06 -.13185E-01 11 norm .0000 .46590 -.12762E-06** at limit ** 12 Prefactor .12434E-07 5.5714 -.75135E-06** at limit ** 13 norm .54727E-04 7.4740 .50257E-05** at limit ** 14 Prefactor 104.59 61.562 .11372E-05 -.29434E-01 15 Prefactor 18.366 2.9159 -.20744E-06 -.26799E-02 16 norm .34972E-08 3.3867 -.10277E-05** at limit ** 17 norm .17153E-07 11.755 .37532E-06** at limit ** 18 norm 5.7199 1.2247 .25852E-07 .39114E-02 19 Normalizat .87640 .19309 -.20946E-04 -.72149E-04 20 Prefactor 1.0484 .65574E-01 -.38690E-05 -.23363E-03 ERR DEF= .500 Final values: Prefactor = 59.359 Prefactor = 1.79389e-05 Prefactor = 1.4532 Prefactor = 2.40642 Prefactor = 0 Prefactor = 4.21567 Prefactor = 2.96426 Prefactor = 2.04836e-08 Prefactor = 7.1935 Prefactor = 0.851775 norm = 0 Prefactor = 1.24345e-08 norm = 5.47269e-05 Prefactor = 104.592 Prefactor = 18.3656 norm = 3.4972e-09 norm = 1.71529e-08 norm = 5.71993 Normalizat = 0.876399 Prefactor = 1.04836 ********** ** 18 **HESSE ********** FCN= 24993.12 FROM HESSE STATUS=OK 343 CALLS 1978 TOTAL EDM= .35E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 59.359 24.024 .12985E-03 -1.5554 2 Prefactor .17939E-04 35.352 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.4532 5.3315 .93130E-03 -1.5684 4 Prefactor 2.4064 3.8851 .66103E-03 -1.5677 5 Prefactor .0000 1.8722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.2157 5.0891 .48939E-03 -1.5667 7 Prefactor 2.9643 21.835 .59151E-03 -1.5674 8 Prefactor .20484E-07 16.162 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.1935 5.4057 .37635E-03 -1.5654 10 Prefactor .85177 16.547 .48650E-03 -1.5690 11 norm .0000 .46538 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .12434E-07 5.5717 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .54727E-04 2.5880 .89013E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 104.59 61.958 .98511E-04 -1.5503 15 Prefactor 18.366 3.0017 .23342E-03 -1.5622 16 norm .34972E-08 3.3822 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .17153E-07 11.881 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 5.7199 1.2260 .41974E-03 -1.5660 19 Normalizat .87640 .17459 .11045 -.97294 20 Prefactor 1.0484 .57120E-01 .39991E-01 -.91134 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.45094e-06 Minuit parameter uncertainties: 1 24.0238 2 0.0503658 3 5.33156 4 3.88511 5 5.66378e-06 6 5.08914 7 16.0905 8 0.00115044 9 5.40571 10 7.50854 11 4.36386e-06 12 0.000525892 13 0.023802 14 61.9585 15 3.00169 16 0.00021807 17 0.000902922 18 1.22604 19 0.174699 20 0.0571234 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/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits.....................! real 68.33 user 66.36 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits', '/lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits', expMap='/lscratch/kocevski/31181882/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', expCube='/lscratch/kocevski/31181882/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31181882/Model_4FGL_J1704.2+1234_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.2+1234' 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 7.833e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31181882/ft1_filtered_4FGL_J1704.2+1234_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31181882/ft2_4FGL_J1704.2+1234_weekly_bin932.fits Exposure map: /lscratch/kocevski/31181882/expmap_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31181882/ltcube_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31181882/Model_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1350581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1164822 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 59.315 1.0000 .0000 .10000E+07 2 'Prefactor ' .16662E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.3698 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.3978 1.0000 .0000 .10000E+07 5 'Prefactor ' .90639E-05 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.2352 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.9456 1.0000 .0000 .10000E+07 8 'Prefactor ' .56487E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.0958 1.0000 .0000 .10000E+07 10 'Prefactor ' .85881 1.0000 .0000 .10000E+07 11 'norm ' .39413E-08 1.0000 .0000 .10000E+07 12 'Prefactor ' .31766E-03 1.0000 .0000 .10000E+07 13 'norm ' .32079E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' 103.06 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.367 1.0000 .0000 .10000E+07 16 'norm ' .12298E-03 1.0000 .0000 .10000E+07 17 'norm ' .75714E-03 1.0000 .0000 .10000E+07 18 'norm ' 5.7201 1.0000 .0000 .10000E+07 19 'Normalizat' .87672 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0486 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 142 CALLS 1635 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 59.359 7.9587 -.12142E-05 -.20735 2 Prefactor .17939E-04 27.882 .12368E-04** at limit ** 3 Prefactor 1.4532 5.3068 .12163E-05 -.12310E-02 4 Prefactor 2.4064 3.8023 .27022E-07 .20247E-02 5 Prefactor .0000 1.8698 .18884E-06** at limit ** 6 Prefactor 4.2157 5.0535 .12909E-06 .16093E-02 7 Prefactor 2.9643 19.743 .21599E-05 .18611E-01 8 Prefactor .20484E-07 15.746 -.34161E-05** at limit ** 9 Prefactor 7.1935 5.3920 .16656E-06 .75746E-03 10 Prefactor .85177 2.1167 .26530E-06 -.13185E-01 11 norm .0000 .46590 -.12762E-06** at limit ** 12 Prefactor .12434E-07 5.5714 -.75135E-06** at limit ** 13 norm .54727E-04 7.4740 .50257E-05** at limit ** 14 Prefactor 104.59 61.562 .11372E-05 -.29434E-01 15 Prefactor 18.366 2.9159 -.20744E-06 -.26799E-02 16 norm .34972E-08 3.3867 -.10277E-05** at limit ** 17 norm .17153E-07 11.755 .37532E-06** at limit ** 18 norm 5.7199 1.2247 .25852E-07 .39114E-02 19 Normalizat .87640 .19309 -.20946E-04 -.72149E-04 20 Prefactor 1.0484 .65574E-01 -.38690E-05 -.23363E-03 ERR DEF= .500 Final values: Prefactor = 59.359 Prefactor = 1.79389e-05 Prefactor = 1.4532 Prefactor = 2.40642 Prefactor = 0 Prefactor = 4.21567 Prefactor = 2.96426 Prefactor = 2.04836e-08 Prefactor = 7.1935 Prefactor = 0.851775 norm = 0 Prefactor = 1.24345e-08 norm = 5.47269e-05 Prefactor = 104.592 Prefactor = 18.3656 norm = 3.4972e-09 norm = 1.71529e-08 norm = 5.71993 Normalizat = 0.876399 Prefactor = 1.04836 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1156021 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.048e-08 1.150e-03 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 5.712e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.747e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 4.31477334829e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00329171883186 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31181751/likelihoodResults_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1452582 delta logL = -0.0296560599927 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 24993.1156021 delta logL = -4.01269062422e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58287E-08 1.0000 .0000 .10000E+07 2 'Index ' .22928 1.0000 .0000 10.000 3 'Normalizat' .87640 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0484 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 56 CALLS 237 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 7.6229 .42118E-03** at limit ** 2 Index 3.2077 1.6323 -.52470E-04 .0000 3 Normalizat .87640 1.2128 -.63267E-06 .29436E-05 4 Prefactor 1.0484 1.1931 .71980E-06 -.59416E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.20767 Normalizat = 0.8764 Prefactor = 1.04836 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM HESSE STATUS=FAILED 9 CALLS 246 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 7.6229 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.1571 2.1638 -.52470E-04 -.36662 3 Normalizat .87640 1.2128 -.63267E-06 -.97294 4 Prefactor 1.0484 1.1931 .71980E-06 -.91134 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 7.40193e-14 Minuit parameter uncertainties: 1 3.00757e-06 2 1.66752 3 1.25392 4 1.22557 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 24993.1156021 delta logL = 6.36646291241e-10 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 0.000e+00 3.008e-06 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 3.208e+00 1.668e+00 0.000e+00 1.000e+01 (-1.000e+00) 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 1.226e+00 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.254e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 256.060 12.575 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/31181751/cmap_HighResolution_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2026-07-09 23:52:45.883716', job_id='31181751', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1783666365.88', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.37e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='932' AND source_name='4FGL J1704.2+1234' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 23:52:46 PDT 2026 ********** ** 18 **HESSE ********** FCN= 24993.12 FROM HESSE STATUS=OK 343 CALLS 1978 TOTAL EDM= .35E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 59.359 24.024 .12985E-03 -1.5554 2 Prefactor .17939E-04 35.352 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.4532 5.3315 .93130E-03 -1.5684 4 Prefactor 2.4064 3.8851 .66103E-03 -1.5677 5 Prefactor .0000 1.8722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.2157 5.0891 .48939E-03 -1.5667 7 Prefactor 2.9643 21.835 .59151E-03 -1.5674 8 Prefactor .20484E-07 16.162 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.1935 5.4057 .37635E-03 -1.5654 10 Prefactor .85177 16.547 .48650E-03 -1.5690 11 norm .0000 .46538 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .12434E-07 5.5717 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .54727E-04 2.5880 .89013E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 104.59 61.958 .98511E-04 -1.5503 15 Prefactor 18.366 3.0017 .23342E-03 -1.5622 16 norm .34972E-08 3.3822 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .17153E-07 11.881 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 5.7199 1.2260 .41974E-03 -1.5660 19 Normalizat .87640 .17459 .11045 -.97294 20 Prefactor 1.0484 .57120E-01 .39991E-01 -.91134 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.45094e-06 Minuit parameter uncertainties: 1 24.0238 2 0.0503658 3 5.33156 4 3.88511 5 5.66378e-06 6 5.08914 7 16.0905 8 0.00115044 9 5.40571 10 7.50854 11 4.36386e-06 12 0.000525892 13 0.023802 14 61.9585 15 3.00169 16 0.00021807 17 0.000902922 18 1.22604 19 0.174699 20 0.0571234 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24993.1156021 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.048e-08 1.150e-03 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 5.712e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.747e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 4.31477334829e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00329171883186 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31181882/likelihoodResults_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.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) = 24993.1452582 delta logL = -0.0296560599927 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 24993.1156021 delta logL = -4.01269062422e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58287E-08 1.0000 .0000 .10000E+07 2 'Index ' .22928 1.0000 .0000 10.000 3 'Normalizat' .87640 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0484 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM MIGRAD STATUS=CONVERGED 56 CALLS 237 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 7.6229 .42118E-03** at limit ** 2 Index 3.2077 1.6323 -.52470E-04 .0000 3 Normalizat .87640 1.2128 -.63267E-06 .29436E-05 4 Prefactor 1.0484 1.1931 .71980E-06 -.59416E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.20767 Normalizat = 0.8764 Prefactor = 1.04836 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24993.12 FROM HESSE STATUS=FAILED 9 CALLS 246 TOTAL EDM= .74E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 7.6229 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.1571 2.1638 -.52470E-04 -.36662 3 Normalizat .87640 1.2128 -.63267E-06 -.97294 4 Prefactor 1.0484 1.1931 .71980E-06 -.91134 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 7.40193e-14 Minuit parameter uncertainties: 1 3.00757e-06 2 1.66752 3 1.25392 4 1.22557 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 24993.1156021 delta logL = 6.36646291241e-10 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 0.000e+00 3.008e-06 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 3.208e+00 1.668e+00 0.000e+00 1.000e+01 (-1.000e+00) 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.048e+00 1.226e+00 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 8.764e-01 1.254e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 256.060 12.575 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/31181882/cmap_HighResolution_802656001_803260801_4FGL_J1704.2+1234_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2026-07-09 23:54:17.106704', job_id='31181882', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1783666457.11', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.37e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='932' AND source_name='4FGL J1704.2+1234' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 23:54:17 PDT 2026