/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 = 17421 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1821.6+6819_weekly_bin890 RA = 275.403, Dec = 68.3242 tmin = 777254401, tmax = 777859201 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='14135362', job_status='RUN', time_executed='2025-10-21 06:09:45.789434', time_epoch_executed='1761052185.79' WHERE source_name='4FGL J1821.6+6819' and cadence='weekly' and bin_id='890' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14135362 Creating custom pfile directory: /lscratch/kocevski/14135362/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=777254401.0 && nMetStart<777859201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=777254401.0 && nMetStart<777859201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14135362/ft1_4FGL_J1821.6+6819_weekly_bin890.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=777254401.0 && nMetStart<777859201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14135362/ft1_4FGL_J1821.6+6819_weekly_bin890.fits outfile=/lscratch/kocevski/14135362/ft1_filteredMKT_4FGL_J1821.6+6819_weekly_bin890.fits ra=275.403 dec=68.3242 rad=12.0 tmin=777254401.0 tmax=777859201.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.97 user 4.44 sys 0.32 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.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/14135362/ft1_filteredMKT_4FGL_J1821.6+6819_weekly_bin890.fits evtable="EVENTS" outfile="/lscratch/kocevski/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.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.52 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 2922 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14135362/ltcube_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.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/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits .....................! real 18.43 user 17.47 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14135362/ltcube_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.fits outfile=/lscratch/kocevski/14135362/expmap_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.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/14135362/ltcube_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.fits .....................! real 69.15 user 64.52 sys 4.03 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/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits scfile=/lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits outfile=/lscratch/kocevski/14135362/cmap_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.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.54 user 0.23 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits scfile=/lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits outfile=/lscratch/kocevski/14135362/cmap_HighResolution_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.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.53 user 0.24 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14135362/Model_4FGL_J1821.6+6819_weekly_bin890.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/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits.....................! real 114.55 user 112.91 sys 0.71 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits', '/lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits', expMap='/lscratch/kocevski/14135362/expmap_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.fits', expCube='/lscratch/kocevski/14135362/ltcube_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14135362/Model_4FGL_J1821.6+6819_weekly_bin890.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/14135362/ft1_filtered_4FGL_J1821.6+6819_weekly_bin890.fits Spacecraft file(s): /lscratch/kocevski/14135362/ft2_4FGL_J1821.6+6819_weekly_bin890.fits Exposure map: /lscratch/kocevski/14135362/expmap_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.fits Exposure cube: /lscratch/kocevski/14135362/ltcube_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14135362/Model_4FGL_J1821.6+6819_weekly_bin890.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) = 29749.5488882 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29749.3683 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .63841E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 12.884 1.0000 .0000 .10000E+07 3 'Prefactor ' .46587E-04 1.0000 .0000 .10000E+07 4 'norm ' 6.1077 1.0000 .0000 .10000E+07 5 'norm ' 1.0201 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.0282 1.0000 .0000 .10000E+07 7 'Prefactor ' .17258E-06 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.3743 1.0000 .0000 .10000E+07 9 'Prefactor ' .66254E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.2697 1.0000 .0000 .10000E+07 11 'Prefactor ' .44246E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .18603E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.522 1.0000 .0000 .10000E+07 14 'norm ' 4.4303 1.0000 .0000 .10000E+07 15 'norm ' 1.2485 1.0000 .0000 .10000E+07 16 'norm ' 12.798 1.0000 .0000 .10000E+07 17 'Prefactor ' 8.1388 1.0000 .0000 .10000E+07 18 'Prefactor ' .11958E-01 1.0000 .0000 .10000E+07 19 'Prefactor ' .15346E-03 1.0000 .0000 .10000E+07 20 'norm ' 10.227 1.0000 .0000 .10000E+07 21 'Prefactor ' 2.7123 1.0000 .0000 .10000E+07 22 'Prefactor ' 4.4884 1.0000 .0000 .10000E+07 23 'Prefactor ' .87184E-02 1.0000 .0000 .10000E+07 24 'norm ' .53459 1.0000 .0000 .10000E+07 25 'norm ' 2.4367 1.0000 .0000 .10000E+07 26 'norm ' .10940E-05 1.0000 .0000 .10000E+07 27 'Prefactor ' .14229E-03 1.0000 .0000 .10000E+07 28 'Prefactor ' .35843 1.0000 .0000 .10000E+07 29 'norm ' 1.9932 1.0000 .0000 .10000E+07 30 'norm ' .22045E-03 1.0000 .0000 .10000E+07 31 'norm ' 2.3231 1.0000 .0000 .10000E+07 32 'norm ' 7.4473 1.0000 .0000 .10000E+07 33 'Prefactor ' 25.617 1.0000 .0000 .10000E+07 34 'norm ' .89672E-05 1.0000 .0000 .10000E+07 35 'Prefactor ' .53346E-07 1.0000 .0000 .10000E+07 36 'Normalizat' .91535 1.0000 .10000E-01 10.000 37 'Prefactor ' 1.0659 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= 29749.37 FROM MIGRAD STATUS=CONVERGED 288 CALLS 4064 TOTAL EDM= .80E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .97816E-02 1285.2 .66826E-05** at limit ** 2 Prefactor 14.715 37.363 .39940E-06 -.32342E-01 3 Prefactor .55511E-10 3.9622 -.61418E-08** at limit ** 4 norm 6.0971 4.9702 .95106E-09 -.11124E-02 5 norm 1.0208 .41490 .24175E-08 .13945E-02 6 Prefactor 4.0191 4.5273 -.32257E-07 -.16550E-02 7 Prefactor .0000 .65325 -.68548E-08** at limit ** 8 Prefactor 9.3297 9.4876 .62855E-08 .56457E-02 9 Prefactor .0000 2.1278 .81768E-08** at limit ** 10 Prefactor 2.2674 17.839 -.96272E-07 -.71760E-02 11 Prefactor .0000 1.8732 .68796E-07** at limit ** 12 Prefactor .23070E-06 30.841 .10351E-07** at limit ** 13 Prefactor 12.810 22.112 .29167E-06 -.91189E-01 14 norm 4.4308 1.6987 .18158E-07 .11002E-02 15 norm 1.2486 .38420 .10690E-07 .78297E-02 16 norm 12.799 3.1184 -.36656E-07 -.38101E-02 17 Prefactor 8.1545 7.4060 .19593E-07 -.26063E-02 18 Prefactor .82134E-06 16.323 .27102E-06** at limit ** 19 Prefactor .11935E-07 13.499 -.13175E-07** at limit ** 20 norm 10.216 4.5803 .85528E-08 .81007E-03 21 Prefactor 2.7396 7.4852 -.21073E-06 -.21013E-01 22 Prefactor 4.4580 7.6718 .18984E-07 .10640E-02 23 Prefactor .69122E-06 8.7554 -.16970E-06** at limit ** 24 norm .53546 .80333 .19543E-07 .93875E-03 25 norm 2.4362 2.2560 .23978E-07 .89228E-03 26 norm .0000 3.7097 -.21453E-07** at limit ** 27 Prefactor .95257E-07 17.852 -.30327E-06** at limit ** 28 Prefactor .36778 4.8375 .51243E-09 -.86133E-03 29 norm 1.9920 .81995 .59095E-08 -.21818E-03 30 norm .43299E-08 9.8698 .26594E-07** at limit ** 31 norm 2.3234 2.1178 -.35426E-07 -.13047E-02 32 norm 7.4733 8.3648 -.23582E-06 -.14080E-01 33 Prefactor 25.655 12.337 .16874E-07 -.53565E-01 34 norm .0000 1.6495 -.89064E-08** at limit ** 35 Prefactor .0000 2.6167 -.35111E-07** at limit ** 36 Normalizat .91549 .12340 .50464E-06 .54931E-04 37 Prefactor 1.0658 .63775E-01 -.45478E-07 .63787E-04 ERR DEF= .500 Final values: norm = 0.00978155 Prefactor = 14.7146 Prefactor = 5.55112e-11 norm = 6.09707 norm = 1.02079 Prefactor = 4.0191 Prefactor = 0 Prefactor = 9.32972 Prefactor = 0 Prefactor = 2.26744 Prefactor = 0 Prefactor = 2.30704e-07 Prefactor = 12.8098 norm = 4.43079 norm = 1.24862 norm = 12.799 Prefactor = 8.15446 Prefactor = 8.21343e-07 Prefactor = 1.19349e-08 norm = 10.216 Prefactor = 2.73956 Prefactor = 4.45802 Prefactor = 6.91225e-07 norm = 0.535458 norm = 2.43621 norm = 0 Prefactor = 9.52571e-08 Prefactor = 0.367778 norm = 1.99204 norm = 4.32987e-09 norm = 2.32336 norm = 7.47329 Prefactor = 25.655 norm = 0 Prefactor = 0 Normalizat = 0.915486 Prefactor = 1.06575 ********** ** 18 **HESSE ********** FCN= 29749.37 FROM HESSE STATUS=OK 957 CALLS 5021 TOTAL EDM= .16E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .97816E-02 5.1387 .12365E-01 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 14.715 39.118 .27880E-03 -1.5631 3 Prefactor .55511E-10 3.9800 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 6.0971 4.9797 .40601E-03 -1.5659 5 norm 1.0208 .42255 .12796E-02 -1.5688 6 Prefactor 4.0191 4.5661 .50220E-03 -1.5668 7 Prefactor .0000 .65400 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 9.3297 9.5613 .32708E-03 -1.5647 9 Prefactor .0000 2.1212 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.2674 18.358 .68142E-03 -1.5678 11 Prefactor .0000 1.8746 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .23070E-06 30.959 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 12.810 41.616 .27213E-03 -1.5636 14 norm 4.4308 1.7064 .47820E-03 -1.5666 15 norm 1.2486 .39016 .10010E-02 -1.5686 16 norm 12.799 3.1910 .27974E-03 -1.5636 17 Prefactor 8.1545 7.4135 .35119E-03 -1.5651 18 Prefactor .82134E-06 19.368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .11935E-07 1.2617 .58584E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 10.216 4.5824 .31308E-03 -1.5644 21 Prefactor 2.7396 7.5475 .61819E-03 -1.5675 22 Prefactor 4.4580 8.2688 .47501E-03 -1.5666 23 Prefactor .69122E-06 20.358 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .53546 .98733 .42042E-02 -1.5693 25 norm 2.4362 2.2663 .65522E-03 -1.5677 26 norm .0000 3.7088 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .95257E-07 24.758 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor .36778 1.2916 .55233E-02 -1.5696 29 norm 1.9920 .82565 .73349E-03 -1.5680 30 norm .43299E-08 9.8669 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 31 norm 2.3234 2.1276 .67268E-03 -1.5677 32 norm 7.4733 8.4255 .36727E-03 -1.5653 33 Prefactor 25.655 12.516 .19762E-03 -1.5607 34 norm .0000 1.5887 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 35 Prefactor .0000 2.6211 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 36 Normalizat .91549 .11289 .84016E-01 -.95918 37 Prefactor 1.0658 .57181E-01 .39059E-01 -.90569 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.57318e-06 Minuit parameter uncertainties: 1 0.448397 2 39.119 3 2.10692e-05 4 4.9797 5 0.422554 6 4.56609 7 3.86775e-07 8 9.56132 9 1.2151e-05 10 12.9038 11 2.71332e-06 12 0.00534515 13 41.6167 14 1.70642 15 0.390164 16 3.19102 17 7.41354 18 0.00797686 19 0.000245293 20 4.58244 21 7.54753 22 8.26881 23 0.00750272 24 0.98733 25 2.26634 26 1.31042e-05 27 0.00307156 28 1.29157 29 0.825651 30 0.000412598 31 2.12761 32 8.42549 33 12.5156 34 3.66792e-06 35 4.04198e-06 36 0.112914 37 0.0571845 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29749.3661426 Extracting fit parameters... 4FGL J1821.6+6819 Spectrum: PowerLaw 357 Prefactor: 1.193e-08 2.453e-04 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: 1.066e+00 5.718e-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: 9.155e-01 1.129e-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: 4.27302871787e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00336729234458 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14135362/likelihoodResults_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.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) = 29749.3740808 delta logL = -0.00793812980555 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 29749.2596295 delta logL = 0.106513121147 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .31958E-04 1.0000 .0000 .10000E+07 2 'Index ' 9.6290 1.0000 .0000 10.000 3 'Normalizat' .90456 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0692 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= 29749.37 FROM MIGRAD STATUS=CONVERGED 110 CALLS 515 TOTAL EDM= .18E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .30643 .42118E-03** at limit ** 2 Index 1.1296 1.1692 -.36509E-06 .0000 3 Normalizat .91549 1.2465 -.17138E-06 -.61834E-04 4 Prefactor 1.0658 1.1702 .41330E-07 .10430E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.12963 Normalizat = 0.915486 Prefactor = 1.06575 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 29749.37 FROM HESSE STATUS=FAILED 9 CALLS 524 TOTAL EDM= .18E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .30643 .42118E-03 -20.420 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .76843E-01 1.3265 -.36509E-06 -39371. 3 Normalizat .91549 1.2465 -.17138E-06 1072.2 4 Prefactor 1.0658 1.1702 .41330E-07 1934.3 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.76386e-12 Minuit parameter uncertainties: 1 6.93256e-07 2 1.19757 3 1.28949 4 1.20021 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) = 29749.3661426 delta logL = 4.40195435658e-10 Extracting fit parameters... 4FGL J1821.6+6819 Spectrum: PowerLaw 357 Prefactor: 0.000e+00 6.933e-07 0.000e+00 1.000e+06 ( 1.000e-12) 358 Index: 1.130e+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: 1.066e+00 1.200e+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: 9.155e-01 1.289e+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/14135362/cmap_HighResolution_777254401_777859201_4FGL_J1821.6+6819_weekly_bin890.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.27e-08', time_completed='2025-10-21 06:39:22.738933', job_id='14135362', GAL2='1.07', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1761053962.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.40e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='890' AND source_name='4FGL J1821.6+6819' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 21 06:39:22 PDT 2025