/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_J1821.6+6819_weekly_bin885 RA = 275.403, Dec = 68.3242 tmin = 774230401, tmax = 774835201 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='14135357', job_status='RUN', time_executed='2025-10-21 06:09:39.173849', time_epoch_executed='1761052179.17' WHERE source_name='4FGL J1821.6+6819' and cadence='weekly' and bin_id='885' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14135357 Creating custom pfile directory: /lscratch/kocevski/14135357/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=774230401.0 && nMetStart<774835201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=774230401.0 && nMetStart<774835201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14135357/ft1_4FGL_J1821.6+6819_weekly_bin885.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=774230401.0 && nMetStart<774835201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14135357/ft1_4FGL_J1821.6+6819_weekly_bin885.fits outfile=/lscratch/kocevski/14135357/ft1_filteredMKT_4FGL_J1821.6+6819_weekly_bin885.fits ra=275.403 dec=68.3242 rad=12.0 tmin=774230401.0 tmax=774835201.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.88 user 4.05 sys 0.31 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.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/14135357/ft1_filteredMKT_4FGL_J1821.6+6819_weekly_bin885.fits evtable="EVENTS" outfile="/lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.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.14 Number of photons that the gtmktime cut: 2525 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14135357/ltcube_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.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/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits .....................! real 18.17 user 17.52 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14135357/ltcube_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.fits outfile=/lscratch/kocevski/14135357/expmap_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.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/14135357/ltcube_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.fits .....................! real 69.84 user 65.30 sys 4.01 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 189 point sources and 0 extended sources Setting source of interest to: 4FGL J1821.6+6819 @ 275.403 68.3242 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits scfile=/lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits outfile=/lscratch/kocevski/14135357/cmap_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.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=275.403 yref=68.3242 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.75 user 0.24 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits scfile=/lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits outfile=/lscratch/kocevski/14135357/cmap_HighResolution_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.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=275.403 yref=68.3242 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.55 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14135357/Model_4FGL_J1821.6+6819_weekly_bin885.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/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits.....................! real 107.19 user 105.30 sys 0.85 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits', '/lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits', expMap='/lscratch/kocevski/14135357/expmap_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.fits', expCube='/lscratch/kocevski/14135357/ltcube_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14135357/Model_4FGL_J1821.6+6819_weekly_bin885.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1821.6+6819' 4FGL J1821.6+6819 Spectrum: PowerLaw 357 Prefactor: 4.076e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 358 Index: 2.718e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 359 Scale: 5.847e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14135357/ft1_filtered_4FGL_J1821.6+6819_weekly_bin885.fits Spacecraft file(s): /lscratch/kocevski/14135357/ft2_4FGL_J1821.6+6819_weekly_bin885.fits Exposure map: /lscratch/kocevski/14135357/expmap_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.fits Exposure cube: /lscratch/kocevski/14135357/ltcube_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14135357/Model_4FGL_J1821.6+6819_weekly_bin885.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) = 25951.9282504 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25951.9098256 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .82611E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' .51108E-01 1.0000 .0000 .10000E+07 3 'Prefactor ' .80621E-03 1.0000 .0000 .10000E+07 4 'norm ' 4.7656 1.0000 .0000 .10000E+07 5 'norm ' .73161 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.7643 1.0000 .0000 .10000E+07 7 'Prefactor ' .28647E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.4000 1.0000 .0000 .10000E+07 9 'Prefactor ' .89005E-05 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.7887 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.2223 1.0000 .0000 .10000E+07 12 'Prefactor ' 22.420 1.0000 .0000 .10000E+07 13 'Prefactor ' 10.525 1.0000 .0000 .10000E+07 14 'norm ' 7.6730 1.0000 .0000 .10000E+07 15 'norm ' .68963 1.0000 .0000 .10000E+07 16 'norm ' 6.5506 1.0000 .0000 .10000E+07 17 'Prefactor ' .78484E-02 1.0000 .0000 .10000E+07 18 'Prefactor ' 32.601 1.0000 .0000 .10000E+07 19 'Prefactor ' .21281E-02 1.0000 .0000 .10000E+07 20 'norm ' .15093E-04 1.0000 .0000 .10000E+07 21 'Prefactor ' .18548E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' .31809E-02 1.0000 .0000 .10000E+07 23 'Prefactor ' .15647E-01 1.0000 .0000 .10000E+07 24 'norm ' 3.5910 1.0000 .0000 .10000E+07 25 'norm ' 3.2995 1.0000 .0000 .10000E+07 26 'norm ' .10597E-04 1.0000 .0000 .10000E+07 27 'Prefactor ' .66053E-03 1.0000 .0000 .10000E+07 28 'Prefactor ' 1.5032 1.0000 .0000 .10000E+07 29 'norm ' 3.1673 1.0000 .0000 .10000E+07 30 'norm ' 3.9916 1.0000 .0000 .10000E+07 31 'norm ' 1.4271 1.0000 .0000 .10000E+07 32 'norm ' 6.2465 1.0000 .0000 .10000E+07 33 'Prefactor ' 22.675 1.0000 .0000 .10000E+07 34 'norm ' 1.1479 1.0000 .0000 .10000E+07 35 'Prefactor ' 18.306 1.0000 .0000 .10000E+07 36 'Normalizat' 1.1531 1.0000 .10000E-01 10.000 37 'Prefactor ' .95080 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25951.91 FROM MIGRAD STATUS=CONVERGED 254 CALLS 4028 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .61432E-05 92.354 .33122E-05** at limit ** 2 Prefactor .16653E-09 30.152 .20100E-06** at limit ** 3 Prefactor .11102E-09 7.2308 .13286E-05** at limit ** 4 norm 4.7993 5.6219 -.36358E-06 -.92097E-03 5 norm .73058 .37632 -.56009E-07 -.81632E-04 6 Prefactor 4.7909 5.1533 -.44462E-06 -.19217E-02 7 Prefactor .33307E-09 9.4844 .10939E-05** at limit ** 8 Prefactor 2.4463 6.0686 .30666E-06 -.80633E-03 9 Prefactor .0000 1.7243 .56778E-06** at limit ** 10 Prefactor 2.7740 10.977 .73774E-06 -.71482E-05 11 Prefactor 1.2351 3.7435 -.30197E-05 .24475E-02 12 Prefactor 22.048 23.151 .48922E-05 .19155 13 Prefactor 10.247 6.1969 -.95164E-06 -.15757E-01 14 norm 7.6709 2.0296 .23361E-06 -.40258E-02 15 norm .69017 .33753 .11995E-07 -.25204E-02 16 norm 6.5541 2.9712 -.29611E-06 -.72031E-02 17 Prefactor .68279E-08 13.976 .18642E-05** at limit ** 18 Prefactor 32.985 74.044 .12582E-04 -.76696E-01 19 Prefactor .16653E-09 6.6998 -.29976E-05** at limit ** 20 norm .0000 2.8257 -.26718E-06** at limit ** 21 Prefactor .22204E-09 19.787 -.14001E-05** at limit ** 22 Prefactor .17014E-06 8.1216 .12411E-05** at limit ** 23 Prefactor .55511E-10 24.495 .81644E-06** at limit ** 24 norm 3.5916 1.8739 .35640E-06 -.14022E-02 25 norm 3.3001 2.4736 -.46102E-06 -.15283E-02 26 norm .11102E-09 1.6248 -.16553E-06** at limit ** 27 Prefactor .38197E-06 8.0470 .21113E-05** at limit ** 28 Prefactor 1.5022 3.0818 .11225E-06 -.81984E-03 29 norm 3.1669 1.0185 .15779E-06 .14729E-01 30 norm 3.9676 1.0200 .37475E-07 -.51142E-03 31 norm 1.4275 1.5520 -.17589E-06 .13554E-02 32 norm 6.2586 6.2215 -.51523E-06 .10220E-02 33 Prefactor 22.675 2.1927 -.28059E-06 -.11002 34 norm 1.1478 1.0994 -.13261E-06 -.20431E-02 35 Prefactor 18.327 9.5634 .23848E-06 .45614E-02 36 Normalizat 1.1530 .13284 -.13474E-04 -.47437E-03 37 Prefactor .95081 .66606E-01 .34225E-05 -.63768E-03 ERR DEF= .500 Final values: norm = 6.1432e-06 Prefactor = 1.66533e-10 Prefactor = 1.11022e-10 norm = 4.79932 norm = 0.730581 Prefactor = 4.79091 Prefactor = 3.33067e-10 Prefactor = 2.44632 Prefactor = 0 Prefactor = 2.774 Prefactor = 1.23505 Prefactor = 22.0484 Prefactor = 10.2469 norm = 7.67087 norm = 0.690173 norm = 6.55412 Prefactor = 6.82787e-09 Prefactor = 32.9851 Prefactor = 1.66533e-10 norm = 0 Prefactor = 2.22045e-10 Prefactor = 1.70142e-07 Prefactor = 5.55112e-11 norm = 3.59156 norm = 3.30006 norm = 1.11022e-10 Prefactor = 3.81972e-07 Prefactor = 1.5022 norm = 3.16689 norm = 3.96755 norm = 1.4275 norm = 6.25856 Prefactor = 22.6748 norm = 1.14779 Prefactor = 18.3272 Normalizat = 1.15303 Prefactor = 0.950815 ********** ** 18 **HESSE ********** FCN= 25951.91 FROM HESSE STATUS=OK 939 CALLS 4967 TOTAL EDM= .11E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .61432E-05 92.366 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .16653E-09 30.101 .15497E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .11102E-09 7.2506 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 4.7993 5.6316 .46065E-03 -1.5664 5 norm .73058 .38438 .58179E-03 -1.5691 6 Prefactor 4.7909 5.1787 .46072E-03 -1.5664 7 Prefactor .33307E-09 .53920 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.4463 6.1396 .66069E-03 -1.5677 9 Prefactor .0000 1.7281 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.7740 12.087 .60904E-03 -1.5675 11 Prefactor 1.2351 3.8028 .10193E-02 -1.5686 12 Prefactor 22.048 36.633 .21125E-03 -1.5614 13 Prefactor 10.247 42.596 .30860E-03 -1.5644 14 norm 7.6709 2.0339 .36178E-03 -1.5653 15 norm .69017 .34003 .61554E-03 -1.5691 16 norm 6.5541 2.9808 .39187E-03 -1.5657 17 Prefactor .68279E-08 14.048 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 32.985 94.266 .17516E-03 -1.5593 19 Prefactor .16653E-09 6.6095 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .0000 2.8235 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .22204E-09 19.722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .17014E-06 16.256 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .55511E-10 24.421 .17342E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 3.5916 1.8828 .53301E-03 -1.5670 25 norm 3.3001 2.4780 .55712E-03 -1.5672 26 norm .11102E-09 1.6290 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .38197E-06 15.890 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor 1.5022 3.1053 .87277E-03 -1.5683 29 norm 3.1669 1.0671 .56923E-04 -1.5672 30 norm 3.9676 15.890 .50457E-03 -1.5668 31 norm 1.4275 1.5790 .90438E-03 -1.5684 32 norm 6.2586 6.2449 .40141E-03 -1.5658 33 Prefactor 22.675 15.483 .21006E-03 -1.5613 34 norm 1.1478 1.0945 .10810E-02 -1.5687 35 Prefactor 18.327 9.5692 .23382E-03 -1.5622 36 Normalizat 1.1530 .11878 .77276E-01 -.88067 37 Prefactor .95081 .59585E-01 .45649E-01 -.94387 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05812e-05 Minuit parameter uncertainties: 1 0.0476421 2 0.000132433 3 5.80465e-05 4 5.63158 5 0.384383 6 5.17866 7 2.71335e-05 8 6.13958 9 2.4273e-06 10 11.5812 11 3.80279 12 36.6336 13 41.7844 14 2.03387 15 0.340031 16 2.98083 17 0.000620317 18 94.27 19 6.09614e-05 20 1.30198e-05 21 0.000139557 22 0.00332619 23 7.02577e-05 24 1.88283 25 2.47796 26 2.45789e-05 27 0.00492719 28 3.1053 29 1.06711 30 15.8801 31 1.57899 32 6.24493 33 15.4828 34 1.0945 35 9.56918 36 0.118805 37 0.0595893 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25951.9078344 Extracting fit parameters... 4FGL J1821.6+6819 Spectrum: PowerLaw 357 Prefactor: 1.665e-10 6.096e-05 0.000e+00 1.000e+06 ( 1.000e-12) 358 Index: 2.718e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 359 Scale: 5.847e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 617 Prefactor: 9.508e-01 5.959e-02 0.000e+00 1.000e+01 ( 1.000e+00) 618 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 619 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 616 Normalization: 1.153e+00 1.188e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 275.403 68.324 Photon Flux Upper Limit: 5.51191973334e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00434358071228 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14135357/likelihoodResults_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.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) = 25951.91684 delta logL = -0.00900561698654 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25951.1441355 delta logL = 0.763698882845 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .63496E-04 1.0000 .0000 .10000E+07 2 'Index ' 9.9698 1.0000 .0000 10.000 3 'Normalizat' 1.1160 1.0000 .10000E-01 10.000 4 'Prefactor ' .96220 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25951.91 FROM MIGRAD STATUS=CONVERGED 149 CALLS 596 TOTAL EDM= .35E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.1047 .42118E-03** at limit ** 2 Index 1.6121 1.1769 .94686E-06 .0000 3 Normalizat 1.1530 1.1613 .15238E-05 .42555E-04 4 Prefactor .95081 1.2968 .48650E-06 -.14994E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.61208 Normalizat = 1.15303 Prefactor = 0.950815 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25951.91 FROM HESSE STATUS=FAILED 9 CALLS 605 TOTAL EDM= .35E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.1047 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .24807 1.5422 .94686E-06 -44.727 3 Normalizat 1.1530 1.1613 .15238E-05 -.88067 4 Prefactor .95081 1.2968 .48650E-06 -2.1977 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 3.50736e-12 Minuit parameter uncertainties: 1 4.4472e-06 2 1.19793 3 1.18879 4 1.34323 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) = 25951.9078344 delta logL = 6.54836185277e-11 Extracting fit parameters... 4FGL J1821.6+6819 Spectrum: PowerLaw 357 Prefactor: 0.000e+00 4.447e-06 0.000e+00 1.000e+06 ( 1.000e-12) 358 Index: 1.612e+00 1.198e+00 0.000e+00 1.000e+01 (-1.000e+00) 359 Scale: 5.847e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 617 Prefactor: 9.508e-01 1.343e+00 0.000e+00 1.000e+01 ( 1.000e+00) 618 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 619 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 616 Normalization: 1.153e+00 1.189e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 275.403 68.324 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/14135357/cmap_HighResolution_774230401_774835201_4FGL_J1821.6+6819_weekly_bin885.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-03', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2025-10-21 06:36:41.666934', job_id='14135357', GAL2='0.95', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1761053801.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='6.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='885' AND source_name='4FGL J1821.6+6819' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 21 06:36:41 PDT 2025