/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 = 17275 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_weekly_bin897 RA = 256.06, Dec = 12.5752 tmin = 781488001, tmax = 782092801 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='14098914', job_status='RUN', time_executed='2025-10-20 15:27:15.779817', time_epoch_executed='1760999235.78' WHERE source_name='4FGL J1704.2+1234' and cadence='weekly' and bin_id='897' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14098914 Creating custom pfile directory: /lscratch/kocevski/14098914/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=781488001.0 && nMetStart<782092801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=781488001.0 && nMetStart<782092801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14098914/ft1_4FGL_J1704.2+1234_weekly_bin897.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=781488001.0 && nMetStart<782092801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14098914/ft1_4FGL_J1704.2+1234_weekly_bin897.fits outfile=/lscratch/kocevski/14098914/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin897.fits ra=256.06 dec=12.5752 rad=12.0 tmin=781488001.0 tmax=782092801.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.14 user 4.73 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.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/14098914/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin897.fits evtable="EVENTS" outfile="/lscratch/kocevski/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.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.80 user 0.25 sys 0.15 Number of photons that the gtmktime cut: 3178 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14098914/ltcube_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.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/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits .....................! real 22.04 user 21.21 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits evtable="EVENTS" scfile=/lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14098914/ltcube_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.fits outfile=/lscratch/kocevski/14098914/expmap_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.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/14098914/ltcube_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.fits .....................! real 76.24 user 70.85 sys 4.04 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/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits scfile=/lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits outfile=/lscratch/kocevski/14098914/cmap_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.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.73 user 0.27 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits scfile=/lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits outfile=/lscratch/kocevski/14098914/cmap_HighResolution_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.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.74 user 0.27 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits evtable="EVENTS" scfile=/lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14098914/Model_4FGL_J1704.2+1234_weekly_bin897.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/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits.....................! real 104.72 user 101.11 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits', '/lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits', expMap='/lscratch/kocevski/14098914/expmap_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.fits', expCube='/lscratch/kocevski/14098914/ltcube_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14098914/Model_4FGL_J1704.2+1234_weekly_bin897.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/14098914/ft1_filtered_4FGL_J1704.2+1234_weekly_bin897.fits Spacecraft file(s): /lscratch/kocevski/14098914/ft2_4FGL_J1704.2+1234_weekly_bin897.fits Exposure map: /lscratch/kocevski/14098914/expmap_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.fits Exposure cube: /lscratch/kocevski/14098914/ltcube_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14098914/Model_4FGL_J1704.2+1234_weekly_bin897.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) = 33470.9410996 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 33470.8929155 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.789 1.0000 .0000 .10000E+07 2 'Prefactor ' 4.0586 1.0000 .0000 .10000E+07 3 'Prefactor ' 5.6026 1.0000 .0000 .10000E+07 4 'Prefactor ' .68772E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .39232E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.6163 1.0000 .0000 .10000E+07 7 'Prefactor ' .13014E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .24500E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .43986E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' 3.8856 1.0000 .0000 .10000E+07 11 'norm ' 1.6914 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.5056 1.0000 .0000 .10000E+07 13 'norm ' 13.298 1.0000 .0000 .10000E+07 14 'Prefactor ' .26906E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' 24.818 1.0000 .0000 .10000E+07 16 'norm ' 32.239 1.0000 .0000 .10000E+07 17 'norm ' .10497E-03 1.0000 .0000 .10000E+07 18 'norm ' .45328 1.0000 .0000 .10000E+07 19 'Normalizat' .96300 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0117 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= 33470.89 FROM MIGRAD STATUS=CONVERGED 144 CALLS 1263 TOTAL EDM= .15E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.981 3.4540 -.13219E-07 .10796 2 Prefactor 4.0631 4.7678 -.64247E-07 -.25224E-02 3 Prefactor 5.6174 4.2902 -.59653E-08 .10312E-03 4 Prefactor .17116 3.8735 -.93658E-06** at limit ** 5 Prefactor .12518E-06 11.358 -.76612E-06** at limit ** 6 Prefactor 2.6684 3.6945 .10013E-06 -.11270E-02 7 Prefactor .12071E-05 98.586 .28136E-05** at limit ** 8 Prefactor .14905E-06 28.040 .17599E-06** at limit ** 9 Prefactor .10736E-06 8.4641 -.18468E-05** at limit ** 10 Prefactor 3.8923 5.0207 .17099E-07 .10192E-02 11 norm 1.6933 1.0386 -.14317E-06 .30837E-02 12 Prefactor 3.5177 3.3956 -.35059E-07 -.32280E-03 13 norm 13.206 6.4129 -.98926E-07 -.23150E-02 14 Prefactor .15313E-05 12.655 -.39421E-06** at limit ** 15 Prefactor 24.835 2.5713 -.14516E-07 -.17004E-02 16 norm 32.240 6.6237 -.63499E-07 .17846E-02 17 norm .28155E-06 12.761 -.26627E-06** at limit ** 18 norm .45394 .67179 -.43343E-07 -.23972E-05 19 Normalizat .96046 .16494 .10831E-04 -.14760E-03 20 Prefactor 1.0121 .55818E-01 .12426E-06 -.46964E-03 ERR DEF= .500 Final values: Prefactor = 14.9811 Prefactor = 4.06313 Prefactor = 5.61736 Prefactor = 0.171164 Prefactor = 1.25178e-07 Prefactor = 2.66839 Prefactor = 1.20715e-06 Prefactor = 1.49047e-07 Prefactor = 1.07359e-07 Prefactor = 3.89233 norm = 1.69333 Prefactor = 3.51774 norm = 13.2063 Prefactor = 1.53128e-06 Prefactor = 24.8349 norm = 32.2403 norm = 2.81553e-07 norm = 0.453944 Normalizat = 0.960461 Prefactor = 1.01205 ********** ** 18 **HESSE ********** FCN= 33470.89 FROM HESSE STATUS=OK 349 CALLS 1612 TOTAL EDM= .15E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.981 20.053 .26019E-03 -1.5631 2 Prefactor 4.0631 4.9883 .50025E-03 -1.5668 3 Prefactor 5.6174 4.3149 .42419E-03 -1.5661 4 Prefactor .17116 1.6233 .61787E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .12518E-06 1.3161 .58658E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.6684 3.7390 .63032E-03 -1.5675 7 Prefactor .12071E-05 97.648 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .14905E-06 28.700 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10736E-06 8.4734 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 3.8923 5.0318 .51164E-03 -1.5669 11 norm 1.6933 1.0401 .80905E-04 -1.5682 12 Prefactor 3.5177 3.3905 .53973E-03 -1.5670 13 norm 13.206 6.4157 .27443E-03 -1.5635 14 Prefactor .15313E-05 14.490 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 24.835 2.5727 .20077E-03 -1.5608 16 norm 32.240 6.6164 .17615E-03 -1.5594 17 norm .28155E-06 13.144 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .45394 .66966 .83556E-03 -1.5694 19 Normalizat .96046 .14844 .10718 -.94367 20 Prefactor 1.0121 .47904E-01 .43093E-01 -.92329 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.50117e-06 Minuit parameter uncertainties: 1 20.0535 2 4.98831 3 4.3149 4 1.05424 5 0.000811847 6 3.73902 7 0.0217146 8 0.00413683 9 0.00190777 10 5.0318 11 1.04006 12 3.39049 13 6.41574 14 0.009421 15 2.57271 16 6.61638 17 0.00384759 18 0.669662 19 0.148505 20 0.0479055 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 33470.8915167 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 1.490e-07 4.137e-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.012e+00 4.791e-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: 9.605e-01 1.485e-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: 3.97336766557e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00303126215792 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14098914/likelihoodResults_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 33470.9085502 delta logL = -0.0170335331859 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 33470.8748672 delta logL = 0.0166494819641 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .49119 1.0000 .0000 .10000E+07 2 'Index ' 3.4151 1.0000 .0000 10.000 3 'Normalizat' .95459 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0128 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. FCN= 33470.87 FROM MIGRAD STATUS=CONVERGED 67 CALLS 246 TOTAL EDM= .12E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .48471 1.1846 .79601E-02 .20435E-01 2 Index 3.4208 .77255E-01 .50000 .39730E-05 3 Normalizat .95445 .37304E-02 .10747 .12693E-03 4 Prefactor 1.0129 .12740E-02 .42951E-01 -.39145E-04 ERR DEF= .500 Final values: Prefactor = 0.484711 Index = 3.42082 Normalizat = 0.954451 Prefactor = 1.01285 ********** ** 18 **HESSE ********** FCN= 33470.87 FROM HESSE STATUS=NOT POSDEF 35 CALLS 281 TOTAL EDM= .28E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .48471 641.82 .28414E-03 -1.5694 2 Index 3.4208 7.1463 .27196E-02 -.32134 3 Normalizat .95445 .87606E-01 .47639E-03 -.94572 4 Prefactor 1.0129 .29293E-01 .15762E-03 -.92302 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.80534e-08 Minuit parameter uncertainties: 1 35.2796 2 25.5621 3 0.087619 4 0.0292931 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 33470.8748639 delta logL = 0.0166527949332 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 4.847e-01 3.528e+01 0.000e+00 1.000e+06 ( 1.000e-14) 264 Index: 3.421e+00 2.556e+01 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.013e+00 2.929e-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: 9.545e-01 8.762e-02 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/14098914/cmap_HighResolution_781488001_782092801_4FGL_J1704.2+1234_weekly_bin897.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-03', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2025-10-20 15:43:28.325358', job_id='14098914', GAL2='1.01', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1761000208.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.67e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='897' AND source_name='4FGL J1704.2+1234' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 15:43:28 PDT 2025