/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 = 17168 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1821.6+6636_weekly_bin905 RA = 275.414, Dec = 66.6093 tmin = 786326401, tmax = 786931201 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='16909816', job_status='RUN', time_executed='2025-12-09 01:53:17.292526', time_epoch_executed='1765273997.29' WHERE source_name='4FGL J1821.6+6636' and cadence='weekly' and bin_id='905' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/16909816 Creating custom pfile directory: /lscratch/kocevski/16909816/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=786326401.0 && nMetStart<786931201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=786326401.0 && nMetStart<786931201.0' /Data/Flight/Level1/LPA Retrieving 110 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/16909816/ft1_4FGL_J1821.6+6636_weekly_bin905.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=786326401.0 && nMetStart<786931201.0' /Data/Flight/Level1/LPA Retrieving 110 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/16909816/ft1_4FGL_J1821.6+6636_weekly_bin905.fits outfile=/lscratch/kocevski/16909816/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin905.fits ra=275.414 dec=66.6093 rad=12.0 tmin=786326401.0 tmax=786931201.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 3.67 user 2.86 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.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/16909816/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin905.fits evtable="EVENTS" outfile="/lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.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.89 user 0.22 sys 0.12 Number of photons that the gtmktime cut: 4374 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits" evtable="EVENTS" scfile=/lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits sctable="SC_DATA" outfile=/lscratch/kocevski/16909816/ltcube_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.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/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits .....................! real 20.02 user 18.98 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits evtable="EVENTS" scfile=/lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits sctable="SC_DATA" expcube=/lscratch/kocevski/16909816/ltcube_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.fits outfile=/lscratch/kocevski/16909816/expmap_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.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/16909816/ltcube_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.fits .....................! real 70.35 user 65.94 sys 3.77 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 185 point sources and 0 extended sources Setting source of interest to: 4FGL J1821.6+6636 @ 275.414 66.6093 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits scfile=/lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits outfile=/lscratch/kocevski/16909816/cmap_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.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.414 yref=66.6093 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.52 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits scfile=/lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits outfile=/lscratch/kocevski/16909816/cmap_HighResolution_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.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.414 yref=66.6093 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.54 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits evtable="EVENTS" scfile=/lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/16909816/Model_4FGL_J1821.6+6636_weekly_bin905.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/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits.....................! real 179.78 user 177.48 sys 1.08 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits', '/lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits', expMap='/lscratch/kocevski/16909816/expmap_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.fits', expCube='/lscratch/kocevski/16909816/ltcube_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/16909816/Model_4FGL_J1821.6+6636_weekly_bin905.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1821.6+6636' 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 6.650e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.833e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 353 Scale: 4.696e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/16909816/ft1_filtered_4FGL_J1821.6+6636_weekly_bin905.fits Spacecraft file(s): /lscratch/kocevski/16909816/ft2_4FGL_J1821.6+6636_weekly_bin905.fits Exposure map: /lscratch/kocevski/16909816/expmap_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.fits Exposure cube: /lscratch/kocevski/16909816/ltcube_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/16909816/Model_4FGL_J1821.6+6636_weekly_bin905.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) = 44534.3395032 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 44534.1452979 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .20800E-06 1.0000 .0000 .10000E+07 2 'Prefactor ' .20400E-04 1.0000 .0000 .10000E+07 3 'norm ' .43921 1.0000 .0000 .10000E+07 4 'Prefactor ' .31370E-04 1.0000 .0000 .10000E+07 5 'norm ' 4.0604 1.0000 .0000 .10000E+07 6 'Prefactor ' 5.4998 1.0000 .0000 .10000E+07 7 'Prefactor ' .18319E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.5133 1.0000 .0000 .10000E+07 9 'Prefactor ' .13910 1.0000 .0000 .10000E+07 10 'Prefactor ' .18442E-03 1.0000 .0000 .10000E+07 11 'Prefactor ' 3.6201 1.0000 .0000 .10000E+07 12 'Prefactor ' .69967E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' .19901E-03 1.0000 .0000 .10000E+07 14 'norm ' 4.9732 1.0000 .0000 .10000E+07 15 'norm ' 1.7525 1.0000 .0000 .10000E+07 16 'norm ' 2.3494 1.0000 .0000 .10000E+07 17 'Prefactor ' .12955E-03 1.0000 .0000 .10000E+07 18 'Prefactor ' .43613E-05 1.0000 .0000 .10000E+07 19 'Prefactor ' .31183E-03 1.0000 .0000 .10000E+07 20 'norm ' 4.3467 1.0000 .0000 .10000E+07 21 'Prefactor ' .54195 1.0000 .0000 .10000E+07 22 'Prefactor ' .95164E-05 1.0000 .0000 .10000E+07 23 'Prefactor ' .12731E-04 1.0000 .0000 .10000E+07 24 'norm ' 3.3009 1.0000 .0000 .10000E+07 25 'norm ' 3.8212 1.0000 .0000 .10000E+07 26 'norm ' 5.6805 1.0000 .0000 .10000E+07 27 'norm ' 9.7045 1.0000 .0000 .10000E+07 28 'Prefactor ' .55685E-04 1.0000 .0000 .10000E+07 29 'Prefactor ' .32657E-06 1.0000 .0000 .10000E+07 30 'norm ' 4.0798 1.0000 .0000 .10000E+07 31 'norm ' .21446 1.0000 .0000 .10000E+07 32 'norm ' 1.5967 1.0000 .0000 .10000E+07 33 'Prefactor ' 8.9679 1.0000 .0000 .10000E+07 34 'norm ' 2.1260 1.0000 .0000 .10000E+07 35 'Normalizat' 1.2246 1.0000 .10000E-01 10.000 36 'Prefactor ' .92864 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6130E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 44534.14 FROM MIGRAD STATUS=CONVERGED 224 CALLS 2991 TOTAL EDM= .40E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .96984E-06 36.075 .19339E-06** at limit ** 2 Prefactor .0000 4.6862 .10085E-06** at limit ** 3 norm .43229 5.9247 -.23116E-06 -.16209E-03 4 Prefactor .0000 3.2576 .21386E-06** at limit ** 5 norm 4.0608 .54483 .24463E-08 -.35502E-03 6 Prefactor 5.4900 3.6859 -.31859E-07 -.24663E-03 7 Prefactor .0000 .60120 .10495E-07** at limit ** 8 Prefactor 9.5124 5.3982 -.53624E-07 -.32951E-03 9 Prefactor .13534 5.5042 .14462E-06** at limit ** 10 Prefactor .11158E-07 7.1806 -.52141E-06** at limit ** 11 Prefactor 3.6133 2.5714 .11278E-06 .18406E-03 12 Prefactor .87685E-06 18.740 .81483E-06** at limit ** 13 Prefactor .24925E-06 13.389 .52109E-06** at limit ** 14 norm 4.9733 1.3064 .39545E-08 .35566E-03 15 norm 1.7524 .48804 .26970E-08 -.11194E-02 16 norm 2.3487 1.9737 -.77308E-07 .16918E-03 17 Prefactor .0000 4.1785 .51872E-07** at limit ** 18 Prefactor .63688E-06 14.630 .12349E-05** at limit ** 19 Prefactor .45037E-04 1.3150 .52739E-07** at limit ** 20 norm 4.3460 2.8207 -.87261E-07 -.81449E-03 21 Prefactor .55909 7.9861 -.45922E-06 -.63158E-02 22 Prefactor .27881E-05 9.6566 .90364E-07** at limit ** 23 Prefactor .75517E-06 21.528 .16089E-05** at limit ** 24 norm 3.3009 1.2228 -.19359E-07 -.82414E-04 25 norm 3.8220 1.4973 .30381E-08 .29001E-03 26 norm 5.6826 2.3383 -.32879E-07 -.47068E-03 27 norm 9.7042 5.1798 -.96588E-07 -.60594E-03 28 Prefactor .18874E-07 7.1502 .13623E-07** at limit ** 29 Prefactor .0000 1.5150 -.13495E-06** at limit ** 30 norm 4.0794 .81249 .17254E-08 .69449E-03 31 norm .26072E-04 16.025 -.37301E-06** at limit ** 32 norm 1.5967 4.1071 .33944E-06 .98955E-04 33 Prefactor 8.9695 8.7590 .26990E-07 .13549E-02 34 norm 2.1262 1.5616 -.53152E-07 -.17762E-04 35 Normalizat 1.2246 .10541 -.28217E-06 -.63548E-04 36 Prefactor .92869 .56410E-01 -.60001E-08 -.86492E-04 ERR DEF= .500 Final values: Prefactor = 9.69835e-07 Prefactor = 0 norm = 0.432292 Prefactor = 0 norm = 4.06077 Prefactor = 5.48996 Prefactor = 0 Prefactor = 9.51239 Prefactor = 0.135343 Prefactor = 1.11577e-08 Prefactor = 3.61333 Prefactor = 8.76854e-07 Prefactor = 2.49245e-07 norm = 4.97334 norm = 1.7524 norm = 2.34866 Prefactor = 0 Prefactor = 6.36879e-07 Prefactor = 4.50368e-05 norm = 4.34598 Prefactor = 0.559091 Prefactor = 2.7881e-06 Prefactor = 7.55174e-07 norm = 3.30088 norm = 3.82199 norm = 5.68264 norm = 9.70419 Prefactor = 1.88738e-08 Prefactor = 0 norm = 4.07944 norm = 2.60716e-05 norm = 1.59672 Prefactor = 8.96947 norm = 2.1262 Normalizat = 1.22462 Prefactor = 0.928691 ********** ** 18 **HESSE ********** FCN= 44534.14 FROM HESSE STATUS=OK 917 CALLS 3908 TOTAL EDM= .50E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .96984E-06 45.377 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 4.6976 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .43229 1.3659 .85078E-02 -1.5695 4 Prefactor .0000 3.2568 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.0608 .54515 .50013E-03 -1.5668 6 Prefactor 5.4900 3.6955 .42820E-03 -1.5661 7 Prefactor .0000 .59770 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 9.5124 5.3975 .32467E-03 -1.5646 9 Prefactor .13534 .55683 .83375E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .11158E-07 8.5986 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 3.6133 2.5860 .53077E-03 -1.5670 12 Prefactor .87685E-06 22.125 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .24925E-06 14.341 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 4.9733 1.3115 .45072E-03 -1.5663 15 norm 1.7524 .48746 .79159E-03 -1.5681 16 norm 2.3487 2.0698 .66850E-03 -1.5677 17 Prefactor .0000 4.1808 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .63688E-06 40.977 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .45037E-04 1.2315 .57846E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 4.3460 2.8260 .48290E-03 -1.5666 21 Prefactor .55909 2.9572 .98834E-02 -1.5693 22 Prefactor .27881E-05 18.480 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .75517E-06 39.465 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 3.3009 1.2268 .55699E-03 -1.5672 25 norm 3.8220 1.5007 .51608E-03 -1.5669 26 norm 5.6826 2.3429 .42122E-03 -1.5660 27 norm 9.7042 5.1910 .32144E-03 -1.5646 28 Prefactor .18874E-07 8.4327 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .0000 1.4998 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 norm 4.0794 .81167 .49891E-03 -1.5668 31 norm .26072E-04 5.3901 .19587E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 norm 1.5967 4.1486 .83898E-03 -1.5683 33 Prefactor 8.9695 8.7671 .33445E-03 -1.5648 34 norm 2.1262 1.5569 .70693E-03 -1.5679 35 Normalizat 1.2246 .95352E-01 .76882E-01 -.85845 36 Prefactor .92869 .49389E-01 .45369E-01 -.95146 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.96892e-07 Minuit parameter uncertainties: 1 0.0132679 2 6.63565e-06 3 1.36587 4 2.6963e-06 5 0.545149 6 3.69551 7 5.47407e-07 8 5.39753 9 0.549045 10 0.000620209 11 2.58598 12 0.00880934 13 0.00378106 14 1.31152 15 0.487459 16 2.06982 17 1.9342e-05 18 0.0102172 19 0.0148949 20 2.82601 21 2.57165 22 0.0143561 23 0.0109183 24 1.22685 25 1.50074 26 2.34293 27 5.191 28 0.000797778 29 4.37144e-06 30 0.811674 31 0.023709 32 4.14857 33 8.76712 34 1.55688 35 0.0953652 36 0.0493915 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 44534.1448014 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 6.369e-07 1.022e-02 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.833e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 353 Scale: 4.696e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 610 Prefactor: 9.287e-01 4.939e-02 0.000e+00 1.000e+01 ( 1.000e+00) 611 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 612 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 609 Normalization: 1.225e+00 9.537e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 275.414 66.609 Photon Flux Upper Limit: 1.48915256069e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00110061885844 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/16909816/likelihoodResults_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.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) = 44534.1565799 delta logL = -0.0117785571856 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 44534.1448073 delta logL = -5.9652084019e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .36816E-04 1.0000 .0000 .10000E+07 2 'Index ' 2.7984 1.0000 .0000 10.000 3 'Normalizat' 1.2243 1.0000 .10000E-01 10.000 4 'Prefactor ' .92883 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6130E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 44534.14 FROM MIGRAD STATUS=CONVERGED 64 CALLS 238 TOTAL EDM= .12E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 20.543 .42118E-03** at limit ** 2 Index .95637 .65932 -.34774E-04 -.54870E-11 3 Normalizat 1.2246 1.0986 -.45495E-06 -.26495E-04 4 Prefactor .92869 1.2722 -.26546E-06 -.65913E-04 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 0.956366 Normalizat = 1.22462 Prefactor = 0.928691 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 44534.14 FROM HESSE STATUS=FAILED 9 CALLS 247 TOTAL EDM= .12E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 20.543 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .35249E-01 1.0240 -.34774E-04 -.94198 3 Normalizat 1.2246 1.0986 -.45495E-06 -.85845 4 Prefactor .92869 1.2722 -.26546E-06 -.95146 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.24846e-12 Minuit parameter uncertainties: 1 5.21337e-05 2 0.664971 3 1.12048 4 1.3169 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) = 44534.1448014 delta logL = 7.77072273195e-09 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 5.551e-11 5.213e-05 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 9.564e-01 6.650e-01 0.000e+00 1.000e+01 (-1.000e+00) 353 Scale: 4.696e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 610 Prefactor: 9.287e-01 1.317e+00 0.000e+00 1.000e+01 ( 1.000e+00) 611 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 612 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 609 Normalization: 1.225e+00 1.120e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 275.414 66.609 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/16909816/cmap_HighResolution_786326401_786931201_4FGL_J1821.6+6636_weekly_bin905.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-03', job_status='DONE', photon_flux_upper_limit='1.49e-08', time_completed='2025-12-09 02:30:20.488245', job_id='16909816', GAL2='0.93', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1765276220.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='7.77e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='905' AND source_name='4FGL J1821.6+6636' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Dec 9 02:30:21 PST 2025