/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 = 17295 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1821.6+6636_weekly_bin892 RA = 275.414, Dec = 66.6093 tmin = 778464001, tmax = 779068801 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='14135348', job_status='RUN', time_executed='2025-10-21 06:09:32.274803', time_epoch_executed='1761052172.27' WHERE source_name='4FGL J1821.6+6636' and cadence='weekly' and bin_id='892' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14135348 Creating custom pfile directory: /lscratch/kocevski/14135348/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=778464001.0 && nMetStart<779068801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=778464001.0 && nMetStart<779068801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14135348/ft1_4FGL_J1821.6+6636_weekly_bin892.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=778464001.0 && nMetStart<779068801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14135348/ft1_4FGL_J1821.6+6636_weekly_bin892.fits outfile=/lscratch/kocevski/14135348/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin892.fits ra=275.414 dec=66.6093 rad=12.0 tmin=778464001.0 tmax=779068801.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.74 user 4.07 sys 0.32 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.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/14135348/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin892.fits evtable="EVENTS" outfile="/lscratch/kocevski/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.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.84 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 2543 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14135348/ltcube_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.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/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits .....................! real 17.74 user 16.99 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14135348/ltcube_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.fits outfile=/lscratch/kocevski/14135348/expmap_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.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/14135348/ltcube_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.fits .....................! real 68.61 user 64.05 sys 3.95 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/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits scfile=/lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits outfile=/lscratch/kocevski/14135348/cmap_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.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.60 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits scfile=/lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits outfile=/lscratch/kocevski/14135348/cmap_HighResolution_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.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.53 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14135348/Model_4FGL_J1821.6+6636_weekly_bin892.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/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits.....................! real 103.54 user 101.80 sys 0.86 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits', '/lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits', expMap='/lscratch/kocevski/14135348/expmap_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.fits', expCube='/lscratch/kocevski/14135348/ltcube_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14135348/Model_4FGL_J1821.6+6636_weekly_bin892.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/14135348/ft1_filtered_4FGL_J1821.6+6636_weekly_bin892.fits Spacecraft file(s): /lscratch/kocevski/14135348/ft2_4FGL_J1821.6+6636_weekly_bin892.fits Exposure map: /lscratch/kocevski/14135348/expmap_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.fits Exposure cube: /lscratch/kocevski/14135348/ltcube_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14135348/Model_4FGL_J1821.6+6636_weekly_bin892.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) = 25970.586488 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25970.5326077 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .59089E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' .91289E-01 1.0000 .0000 .10000E+07 3 'norm ' 4.2336 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.6512 1.0000 .0000 .10000E+07 5 'norm ' .16812 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.2428 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.3847 1.0000 .0000 .10000E+07 8 'Prefactor ' .21487E-04 1.0000 .0000 .10000E+07 9 'Prefactor ' .11332E-05 1.0000 .0000 .10000E+07 10 'Prefactor ' .74109E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' .33862E-07 1.0000 .0000 .10000E+07 12 'Prefactor ' 26.691 1.0000 .0000 .10000E+07 13 'Prefactor ' .40568E-04 1.0000 .0000 .10000E+07 14 'norm ' 3.4508 1.0000 .0000 .10000E+07 15 'norm ' 2.3994 1.0000 .0000 .10000E+07 16 'norm ' 3.3883 1.0000 .0000 .10000E+07 17 'Prefactor ' 1.4760 1.0000 .0000 .10000E+07 18 'Prefactor ' .16781E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.2066 1.0000 .0000 .10000E+07 20 'norm ' 27.785 1.0000 .0000 .10000E+07 21 'Prefactor ' 1.6612 1.0000 .0000 .10000E+07 22 'Prefactor ' .22967E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' .65040E-03 1.0000 .0000 .10000E+07 24 'norm ' 5.3193 1.0000 .0000 .10000E+07 25 'norm ' .24092E-07 1.0000 .0000 .10000E+07 26 'norm ' .40301E-07 1.0000 .0000 .10000E+07 27 'norm ' 4.4754 1.0000 .0000 .10000E+07 28 'Prefactor ' 14.830 1.0000 .0000 .10000E+07 29 'Prefactor ' .17206 1.0000 .0000 .10000E+07 30 'norm ' 2.2836 1.0000 .0000 .10000E+07 31 'norm ' 6.0117 1.0000 .0000 .10000E+07 32 'norm ' .32057 1.0000 .0000 .10000E+07 33 'Prefactor ' 42.888 1.0000 .0000 .10000E+07 34 'norm ' 2.3653 1.0000 .0000 .10000E+07 35 'Normalizat' 1.0670 1.0000 .10000E-01 10.000 36 'Prefactor ' .97659 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= 25970.53 FROM MIGRAD STATUS=CONVERGED 201 CALLS 3867 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11801E-05 9.4306 -.50960E-07** at limit ** 2 Prefactor .43467E-01 22.459 -.57030E-05** at limit ** 3 norm 4.2502 4.8201 -.14958E-07 -.28375E-02 4 Prefactor 3.6636 9.6327 .17060E-05 .66853E-02 5 norm .16805 .30298 .26081E-07** at limit ** 6 Prefactor 3.2661 4.4087 -.14107E-06 -.21542E-02 7 Prefactor 1.3859 1.6084 .34262E-07 .73101E-02 8 Prefactor .44409E-09 3.8429 -.26792E-06** at limit ** 9 Prefactor .99920E-09 5.6677 -.54449E-06** at limit ** 10 Prefactor .11263E-05 26.054 .31616E-05** at limit ** 11 Prefactor .0000 1.5658 .15345E-06** at limit ** 12 Prefactor 26.683 7.5440 -.50893E-06 .59898E-02 13 Prefactor .70488E-06 18.138 -.18141E-05** at limit ** 14 norm 3.4508 1.3742 .34040E-07 -.83484E-02 15 norm 2.3997 .64269 -.67568E-07 .69372E-02 16 norm 3.3898 2.2594 -.14185E-06 -.80253E-02 17 Prefactor 1.5133 24.739 .86196E-05 .20891E-01 18 Prefactor .26168E-06 8.8770 -.79955E-06** at limit ** 19 Prefactor 2.2062 2.9372 .19027E-06 -.39554E-02 20 norm 27.769 6.1756 -.58725E-07 .37998E-03 21 Prefactor 1.6425 13.644 .64961E-06 .15815E-02 22 Prefactor .17764E-08 4.5142 .33002E-06** at limit ** 23 Prefactor .13378E-07 54.182 -.13692E-05** at limit ** 24 norm 5.3209 2.2319 .21806E-06 -.15202E-01 25 norm .55511E-10 .62254 -.11705E-07** at limit ** 26 norm .11102E-09 3.8762 .91889E-07** at limit ** 27 norm 4.4728 6.4991 .13962E-06 -.19305E-02 28 Prefactor 14.855 2.8906 -.54681E-06 -.26249E-01 29 Prefactor .18380 9.5937 -.14237E-05** at limit ** 30 norm 2.2836 .78743 -.41523E-07 .16687E-01 31 norm 6.0089 1.0949 .14037E-06 -.19296E-02 32 norm .32428 .71244 -.46897E-06 -.27591E-03 33 Prefactor 42.872 8.2843 .85262E-06 -.14040 34 norm 2.3646 2.0039 .39609E-07 .64618E-02 35 Normalizat 1.0668 .13473 .11317E-05 -.52723E-03 36 Prefactor .97660 .71698E-01 -.17233E-05 -.50984E-03 ERR DEF= .500 Final values: Prefactor = 1.18006e-06 Prefactor = 0.0434667 norm = 4.25024 Prefactor = 3.66362 norm = 0.168053 Prefactor = 3.26608 Prefactor = 1.38594 Prefactor = 4.44089e-10 Prefactor = 9.99201e-10 Prefactor = 1.12627e-06 Prefactor = 0 Prefactor = 26.6828 Prefactor = 7.04881e-07 norm = 3.45079 norm = 2.39965 norm = 3.3898 Prefactor = 1.51325 Prefactor = 2.6168e-07 Prefactor = 2.20623 norm = 27.7687 Prefactor = 1.64249 Prefactor = 1.77636e-09 Prefactor = 1.33782e-08 norm = 5.32089 norm = 5.55112e-11 norm = 1.11022e-10 norm = 4.47283 Prefactor = 14.8553 Prefactor = 0.183804 norm = 2.28359 norm = 6.00888 norm = 0.324279 Prefactor = 42.8725 norm = 2.36459 Normalizat = 1.0668 Prefactor = 0.976599 ********** ** 18 **HESSE ********** FCN= 25970.53 FROM HESSE STATUS=OK 911 CALLS 4778 TOTAL EDM= .18E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11801E-05 30.569 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .43467E-01 9.5135 .17278E-01 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 4.2502 4.8225 .48948E-03 -1.5667 4 Prefactor 3.6636 9.9387 .52841E-03 -1.5670 5 norm .16805 .29059 .27077E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.2661 4.5197 .56221E-03 -1.5672 7 Prefactor 1.3859 1.6304 .92400E-03 -1.5684 8 Prefactor .44409E-09 8.4388 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .99920E-09 5.5960 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .11263E-05 39.136 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .0000 1.5713 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 26.683 28.374 .19360E-03 -1.5605 13 Prefactor .70488E-06 28.769 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 3.4508 1.3784 .54419E-03 -1.5671 15 norm 2.3997 .64243 .66079E-03 -1.5677 16 norm 3.3898 2.2853 .54941E-03 -1.5671 17 Prefactor 1.5133 30.498 .88359E-03 -1.5683 18 Prefactor .26168E-06 29.841 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.2062 2.9819 .69225E-03 -1.5678 20 norm 27.769 6.1843 .18975E-03 -1.5603 21 Prefactor 1.6425 13.673 .81818E-03 -1.5682 22 Prefactor .17764E-08 8.1628 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .13378E-07 54.846 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 5.3209 2.2400 .43553E-03 -1.5662 25 norm .55511E-10 .62239 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .11102E-09 3.8312 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm 4.4728 6.5415 .47572E-03 -1.5666 28 Prefactor 14.855 10.209 .25983E-03 -1.5631 29 Prefactor .18380 .72459 .84005E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 norm 2.2836 .80516 .67912E-03 -1.5678 31 norm 6.0089 14.088 .40928E-03 -1.5659 32 norm .32428 3.8554 .99334E-02 -1.5697 33 Prefactor 42.872 16.891 .15271E-03 -1.5577 34 norm 2.3646 2.0044 .66602E-03 -1.5677 35 Normalizat 1.0668 .12338 .78609E-01 -.90825 36 Prefactor .97660 .63718E-01 .45974E-01 -.93514 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.84919e-06 Minuit parameter uncertainties: 1 0.0120123 2 1.28611 3 4.82251 4 9.93871 5 0.290588 6 4.51971 7 1.63043 8 0.000123709 9 0.000149954 10 0.0132781 11 5.81764e-06 12 28.3745 13 0.00900633 14 1.37839 15 0.642426 16 2.28528 17 13.5871 18 0.00558873 19 2.98191 20 6.18435 21 9.47794 22 0.000240469 23 0.00171179 24 2.24003 25 1.20215e-05 26 3.58308e-05 27 6.54152 28 10.2087 29 0.724591 30 0.805159 31 14.0882 32 2.23628 33 16.8915 34 2.00435 35 0.123414 36 0.0637227 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25970.5324417 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 2.617e-07 5.589e-03 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.766e-01 6.372e-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.067e+00 1.234e-01 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.6546478592e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00122293490001 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14135348/likelihoodResults_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.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) = 25970.5484884 delta logL = -0.0160466481393 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25970.532442 delta logL = -2.59002263192e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .59450E-05 1.0000 .0000 .10000E+07 2 'Index ' .38217 1.0000 .0000 10.000 3 'Normalizat' 1.0668 1.0000 .10000E-01 10.000 4 'Prefactor ' .97660 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25970.53 FROM MIGRAD STATUS=CONVERGED 95 CALLS 257 TOTAL EDM= .70E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16653E-09 .92787E-01 .84235E-04** at limit ** 2 Index 2.4642 6.8360 .51000 .75435E-08 3 Normalizat 1.0668 .17315E-03 .34796E-03 .37900E-04 4 Prefactor .97660 .96929E-04 .20130E-03 -.39015E-03 ERR DEF= .500 Final values: Prefactor = 1.66533e-10 Index = 2.46425 Normalizat = 1.06681 Prefactor = 0.976598 ********** ** 18 **HESSE ********** FCN= 25970.53 FROM HESSE STATUS=NOT POSDEF 23 CALLS 280 TOTAL EDM= .45E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16653E-09 .59551 .16847E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4642 5.7249 .51000 -.53188 3 Normalizat 1.0668 .43863E-03 .13918E-04 -.90825 4 Prefactor .97660 .24554E-03 .40259E-04 -.93514 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.51942e-11 Minuit parameter uncertainties: 1 2.12363e-05 2 3626.84 3 0.000438631 4 0.000245539 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) = 25970.5324417 delta logL = 4.412868293e-09 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 1.665e-10 2.124e-05 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 2.464e+00 3.627e+03 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.766e-01 2.455e-04 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.067e+00 4.386e-04 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/14135348/cmap_HighResolution_778464001_779068801_4FGL_J1821.6+6636_weekly_bin892.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-03', job_status='DONE', photon_flux_upper_limit='1.65e-08', time_completed='2025-10-21 06:33:43.047873', job_id='14135348', GAL2='0.98', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1761053623.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.41e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='892' AND source_name='4FGL J1821.6+6636' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 21 06:33:43 PDT 2025