/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 = 17525 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1606.9+5919_weekly_bin900 RA = 241.734, Dec = 59.3201 tmin = 783302401, tmax = 783907201 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='14972608', job_status='RUN', time_executed='2025-11-04 11:57:50.805238', time_epoch_executed='1762286270.81' WHERE source_name='4FGL J1606.9+5919' and cadence='weekly' and bin_id='900' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14972608 Creating custom pfile directory: /lscratch/kocevski/14972608/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14972608/ft1_4FGL_J1606.9+5919_weekly_bin900.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14972608/ft1_4FGL_J1606.9+5919_weekly_bin900.fits outfile=/lscratch/kocevski/14972608/ft1_filteredMKT_4FGL_J1606.9+5919_weekly_bin900.fits ra=241.734 dec=59.3201 rad=12.0 tmin=783302401.0 tmax=783907201.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.69 user 3.84 sys 0.31 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.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/14972608/ft1_filteredMKT_4FGL_J1606.9+5919_weekly_bin900.fits evtable="EVENTS" outfile="/lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.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.74 user 0.19 sys 0.15 Number of photons that the gtmktime cut: 1318 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14972608/ltcube_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.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/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits .....................! real 17.67 user 16.87 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits evtable="EVENTS" scfile=/lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14972608/ltcube_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.fits outfile=/lscratch/kocevski/14972608/expmap_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.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/14972608/ltcube_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.fits .....................! real 61.97 user 57.39 sys 3.92 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 221 point sources and 0 extended sources Setting source of interest to: 4FGL J1606.9+5919 @ 241.734 59.3201 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits scfile=/lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits outfile=/lscratch/kocevski/14972608/cmap_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.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=241.734 yref=59.3201 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.49 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits scfile=/lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits outfile=/lscratch/kocevski/14972608/cmap_HighResolution_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.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=241.734 yref=59.3201 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.57 user 0.23 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits evtable="EVENTS" scfile=/lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14972608/Model_4FGL_J1606.9+5919_weekly_bin900.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits.....................! real 38.76 user 37.60 sys 0.72 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits', '/lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits', expMap='/lscratch/kocevski/14972608/expmap_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.fits', expCube='/lscratch/kocevski/14972608/ltcube_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14972608/Model_4FGL_J1606.9+5919_weekly_bin900.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1606.9+5919' 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 2.197e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 330 Index: 2.114e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 331 Scale: 2.350e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14972608/ft1_filtered_4FGL_J1606.9+5919_weekly_bin900.fits Spacecraft file(s): /lscratch/kocevski/14972608/ft2_4FGL_J1606.9+5919_weekly_bin900.fits Exposure map: /lscratch/kocevski/14972608/expmap_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.fits Exposure cube: /lscratch/kocevski/14972608/ltcube_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14972608/Model_4FGL_J1606.9+5919_weekly_bin900.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) = 14177.4979757 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14177.4974467 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .21469E-04 1.0000 .0000 .10000E+07 2 'Prefactor ' .19849E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.7403 1.0000 .0000 .10000E+07 4 'Prefactor ' 32.625 1.0000 .0000 .10000E+07 5 'norm ' 1.9143 1.0000 .0000 .10000E+07 6 'Prefactor ' 40.122 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.2295 1.0000 .0000 .10000E+07 8 'norm ' 13.251 1.0000 .0000 .10000E+07 9 'Prefactor ' .45138E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' 28.275 1.0000 .0000 .10000E+07 11 'Prefactor ' .20253E-03 1.0000 .0000 .10000E+07 12 'norm ' 9.5112 1.0000 .0000 .10000E+07 13 'Prefactor ' .29857E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' 5.7549 1.0000 .0000 .10000E+07 15 'norm ' 10.678 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.2754 1.0000 .0000 .10000E+07 17 'Prefactor ' .14917E-03 1.0000 .0000 .10000E+07 18 'Prefactor ' 8.7684 1.0000 .0000 .10000E+07 19 'norm ' 3.4955 1.0000 .0000 .10000E+07 20 'Prefactor ' 4.3238 1.0000 .0000 .10000E+07 21 'Prefactor ' 9.5760 1.0000 .0000 .10000E+07 22 'Prefactor ' .95152E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' .78178E-04 1.0000 .0000 .10000E+07 24 'Prefactor ' .69206E-04 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0069 1.0000 .10000E-01 10.000 26 'Prefactor ' .80216 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7060E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14177.50 FROM MIGRAD STATUS=CONVERGED 151 CALLS 2219 TOTAL EDM= .66E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14433E-08 2.1818 -.76035E-07** at limit ** 2 Prefactor .10880E-07 8.6218 -.15652E-06** at limit ** 3 Prefactor 4.7677 4.2955 .57747E-07 .42545E-02 4 Prefactor 32.617 2.0827 .13375E-08 -.12374E-01 5 norm 1.9145 1.2425 -.17699E-07 -.47849E-02 6 Prefactor 40.088 24.590 -.10798E-07 .54834E-01 7 Prefactor 1.2302 4.8684 -.15906E-07 -.59945E-02 8 norm 13.232 5.4827 .11720E-07 .34197E-01 9 Prefactor .27756E-09 12.008 .44218E-08** at limit ** 10 Prefactor 28.159 19.906 -.77243E-08 -.10117E-01 11 Prefactor .44409E-09 3.0687 -.38262E-07** at limit ** 12 norm 9.5142 7.3132 -.11279E-07 .47383E-01 13 Prefactor .33307E-09 1.7842 .56926E-08** at limit ** 14 Prefactor 5.7054 9.2868 .31032E-08 -.27909E-01 15 norm 10.702 6.2570 -.16284E-07 -.69390E-02 16 Prefactor 3.2754 1.6148 .17846E-07 .57420E-02 17 Prefactor .55511E-09 1.5862 .28235E-07** at limit ** 18 Prefactor 8.7261 6.7898 .18188E-07 -.52950E-01 19 norm 3.4957 .65295 -.56640E-08 -.95369E-02 20 Prefactor 4.3306 4.3141 -.13486E-07 -.19134E-03 21 Prefactor 9.5774 1.0692 -.69494E-09 -.24807E-02 22 Prefactor .11879E-07 3.4019 -.41575E-07** at limit ** 23 Prefactor .49960E-09 2.7967 -.76933E-07** at limit ** 24 Prefactor .83267E-09 9.2390 -.91061E-07** at limit ** 25 Normalizat 1.0069 .12982 -.15143E-06 .36947E-03 26 Prefactor .80222 .12316 .82045E-06 .37245E-03 ERR DEF= .500 Final values: Prefactor = 1.44329e-09 Prefactor = 1.08802e-08 Prefactor = 4.76767 Prefactor = 32.617 norm = 1.9145 Prefactor = 40.0876 Prefactor = 1.23025 norm = 13.2324 Prefactor = 2.77556e-10 Prefactor = 28.1589 Prefactor = 4.44089e-10 norm = 9.51423 Prefactor = 3.33067e-10 Prefactor = 5.70542 norm = 10.7016 Prefactor = 3.27537 Prefactor = 5.55112e-10 Prefactor = 8.72611 norm = 3.49574 Prefactor = 4.33063 Prefactor = 9.57745 Prefactor = 1.18794e-08 Prefactor = 4.996e-10 Prefactor = 8.32667e-10 Normalizat = 1.00686 Prefactor = 0.802223 ********** ** 18 **HESSE ********** FCN= 14177.50 FROM HESSE STATUS=OK 512 CALLS 2731 TOTAL EDM= .56E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14433E-08 3.8237 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10880E-07 8.9750 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.7677 4.2784 .46191E-03 -1.5664 4 Prefactor 32.617 17.581 .17510E-03 -1.5594 5 norm 1.9145 1.2544 .75095E-03 -1.5680 6 Prefactor 40.088 40.076 .15789E-03 -1.5581 7 Prefactor 1.2302 5.3368 .10141E-02 -1.5686 8 norm 13.232 5.8063 .27491E-03 -1.5635 9 Prefactor .27756E-09 12.281 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 28.159 30.731 .18809E-03 -1.5602 11 Prefactor .44409E-09 3.0891 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 9.5142 8.1973 .32470E-03 -1.5646 13 Prefactor .33307E-09 1.7808 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 5.7054 20.981 .41845E-03 -1.5660 15 norm 10.702 6.2793 .30637E-03 -1.5643 16 Prefactor 3.2754 1.6166 .55926E-03 -1.5672 17 Prefactor .55511E-09 1.5914 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 8.7261 11.006 .33826E-03 -1.5649 19 norm 3.4957 .68156 .54054E-03 -1.5671 20 Prefactor 4.3306 4.3431 .48421E-03 -1.5666 21 Prefactor 9.5774 9.2423 .32360E-03 -1.5646 22 Prefactor .11879E-07 3.9060 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .49960E-09 4.1377 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .83267E-09 9.8551 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0069 .10985 .46254E-01 -.92801 26 Prefactor .80222 .10465 .43745E-01 -.99646 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.64285e-06 Minuit parameter uncertainties: 1 0.000148901 2 0.000625199 3 4.27843 4 17.5808 5 1.25442 6 40.0764 7 5.12467 8 5.8063 9 0.000112868 10 30.7312 11 7.2495e-05 12 8.1973 13 4.84712e-05 14 20.9808 15 6.27932 16 1.61659 17 6.0741e-05 18 11.0056 19 0.681558 20 4.3431 21 9.24233 22 0.000431072 23 9.31311e-05 24 0.000181995 25 0.109871 26 0.104673 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14177.4969123 Extracting fit parameters... 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 2.776e-10 1.129e-04 0.000e+00 1.000e+06 ( 1.000e-14) 330 Index: 2.114e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 331 Scale: 2.350e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 703 Prefactor: 8.022e-01 1.047e-01 0.000e+00 1.000e+01 ( 1.000e+00) 704 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 705 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 702 Normalization: 1.007e+00 1.099e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 241.734 59.320 Photon Flux Upper Limit: 2.90240153941e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00219684770394 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14972608/likelihoodResults_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.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) = 14177.5363342 delta logL = -0.0394219126993 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 14177.4792792 delta logL = 0.0176330996528 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .54732E-01 1.0000 .0000 .10000E+07 2 'Index ' 3.9487 1.0000 .0000 10.000 3 'Normalizat' 1.0008 1.0000 .10000E-01 10.000 4 'Prefactor ' .80578 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7060E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14177.48 FROM MIGRAD STATUS=CONVERGED 52 CALLS 248 TOTAL EDM= .78E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .54682E-01 1.0278 .15357E-02** at limit ** 2 Index 3.9496 1.3236 .20624 .79851E-04 3 Normalizat 1.0009 .69979E-02 .46177E-01 -.91268E-05 4 Prefactor .80574 .68588E-02 .43792E-01 .23507E-04 ERR DEF= .500 Final values: Prefactor = 0.0546816 Index = 3.9496 Normalizat = 1.00087 Prefactor = 0.805736 ********** ** 18 **HESSE ********** FCN= 14177.48 FROM HESSE STATUS=NOT POSDEF 35 CALLS 283 TOTAL EDM= .65E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .54682E-01 63.067 .88562E-04 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 3.9496 8.0149 .11976E-01 -.21166 3 Normalizat 1.0009 .52194E-01 .22740E-03 -.93001 4 Prefactor .80574 .50393E-01 .24453E-03 -.99517 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 6.50131e-09 Minuit parameter uncertainties: 1 3.71412 2 22.4464 3 0.0521964 4 0.0503962 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) = 14177.479279 delta logL = 0.0176332437259 Extracting fit parameters... 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 5.468e-02 3.714e+00 0.000e+00 1.000e+06 ( 1.000e-14) 330 Index: 3.950e+00 2.245e+01 0.000e+00 1.000e+01 (-1.000e+00) 331 Scale: 2.350e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 703 Prefactor: 8.057e-01 5.040e-02 0.000e+00 1.000e+01 ( 1.000e+00) 704 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 705 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 702 Normalization: 1.001e+00 5.220e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 241.734 59.320 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/14972608/cmap_HighResolution_783302401_783907201_4FGL_J1606.9+5919_weekly_bin900.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-03', job_status='DONE', photon_flux_upper_limit='2.90e-08', time_completed='2025-11-04 12:09:59.965583', job_id='14972608', GAL2='0.81', fit_tolerance='1e-08', EG2='1.00', EG='1.01', time_epoch_completed='1762286999.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.76e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='900' AND source_name='4FGL J1606.9+5919' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 4 12:10:00 PST 2025