/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 = 17309 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1821.6+6636_weekly_bin893 RA = 275.414, Dec = 66.6093 tmin = 779068801, tmax = 779673601 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='14135349', job_status='RUN', time_executed='2025-10-21 06:09:34.849370', time_epoch_executed='1761052174.85' WHERE source_name='4FGL J1821.6+6636' and cadence='weekly' and bin_id='893' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14135349 Creating custom pfile directory: /lscratch/kocevski/14135349/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=779068801.0 && nMetStart<779673601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=779068801.0 && nMetStart<779673601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14135349/ft1_4FGL_J1821.6+6636_weekly_bin893.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=779068801.0 && nMetStart<779673601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14135349/ft1_4FGL_J1821.6+6636_weekly_bin893.fits outfile=/lscratch/kocevski/14135349/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin893.fits ra=275.414 dec=66.6093 rad=12.0 tmin=779068801.0 tmax=779673601.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 5.59 user 4.94 sys 0.34 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.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/14135349/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin893.fits evtable="EVENTS" outfile="/lscratch/kocevski/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.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.61 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 2670 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14135349/ltcube_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.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/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits .....................! real 18.12 user 17.20 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14135349/ltcube_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.fits outfile=/lscratch/kocevski/14135349/expmap_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.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/14135349/ltcube_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.fits .....................! real 68.89 user 64.24 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 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/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits scfile=/lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits outfile=/lscratch/kocevski/14135349/cmap_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.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.50 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits scfile=/lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits outfile=/lscratch/kocevski/14135349/cmap_HighResolution_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.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.50 user 0.23 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits evtable="EVENTS" scfile=/lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14135349/Model_4FGL_J1821.6+6636_weekly_bin893.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/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits.....................! real 104.71 user 103.06 sys 0.89 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits', '/lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits', expMap='/lscratch/kocevski/14135349/expmap_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.fits', expCube='/lscratch/kocevski/14135349/ltcube_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14135349/Model_4FGL_J1821.6+6636_weekly_bin893.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/14135349/ft1_filtered_4FGL_J1821.6+6636_weekly_bin893.fits Spacecraft file(s): /lscratch/kocevski/14135349/ft2_4FGL_J1821.6+6636_weekly_bin893.fits Exposure map: /lscratch/kocevski/14135349/expmap_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.fits Exposure cube: /lscratch/kocevski/14135349/ltcube_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14135349/Model_4FGL_J1821.6+6636_weekly_bin893.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) = 27008.6957285 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27008.6827813 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34133 1.0000 .0000 .10000E+07 2 'Prefactor ' 7.3905 1.0000 .0000 .10000E+07 3 'norm ' 8.1511 1.0000 .0000 .10000E+07 4 'Prefactor ' 15.078 1.0000 .0000 .10000E+07 5 'norm ' .37823 1.0000 .0000 .10000E+07 6 'Prefactor ' .14379E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' .16265E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' .37295E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .42398E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.776 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.9859 1.0000 .0000 .10000E+07 12 'Prefactor ' .18231E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' 140.20 1.0000 .0000 .10000E+07 14 'norm ' 4.2992 1.0000 .0000 .10000E+07 15 'norm ' 1.2342 1.0000 .0000 .10000E+07 16 'norm ' 8.4461 1.0000 .0000 .10000E+07 17 'Prefactor ' .13776E-02 1.0000 .0000 .10000E+07 18 'Prefactor ' .57835E-04 1.0000 .0000 .10000E+07 19 'Prefactor ' .36593E-06 1.0000 .0000 .10000E+07 20 'norm ' 34.105 1.0000 .0000 .10000E+07 21 'Prefactor ' .58669E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.9638 1.0000 .0000 .10000E+07 23 'Prefactor ' .75375E-03 1.0000 .0000 .10000E+07 24 'norm ' 3.4852 1.0000 .0000 .10000E+07 25 'norm ' 2.3445 1.0000 .0000 .10000E+07 26 'norm ' .54689E-05 1.0000 .0000 .10000E+07 27 'norm ' 4.7229 1.0000 .0000 .10000E+07 28 'Prefactor ' .29184E-03 1.0000 .0000 .10000E+07 29 'Prefactor ' 1.9221 1.0000 .0000 .10000E+07 30 'norm ' 4.3829 1.0000 .0000 .10000E+07 31 'norm ' .11342E-02 1.0000 .0000 .10000E+07 32 'norm ' .25679E-06 1.0000 .0000 .10000E+07 33 'Prefactor ' 31.105 1.0000 .0000 .10000E+07 34 'norm ' .10408E-05 1.0000 .0000 .10000E+07 35 'Normalizat' .98743 1.0000 .10000E-01 10.000 36 'Prefactor ' .94628 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= 27008.68 FROM MIGRAD STATUS=CONVERGED 211 CALLS 3795 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50471E-06 4.2124 .27387E-06** at limit ** 2 Prefactor 7.3626 1.2649 .11189E-07 .32576E-02 3 norm 8.1840 5.1412 .29987E-07 .22431E-02 4 Prefactor 15.075 1.7533 -.80435E-07 -.57423E-01 5 norm .37862 .41324 .16081E-06 .94704E-03 6 Prefactor .19434E-06 8.4220 -.57156E-06** at limit ** 7 Prefactor .27756E-09 3.7518 .25801E-06** at limit ** 8 Prefactor .13128E-06 7.9872 -.79057E-06** at limit ** 9 Prefactor .31306E-05 1.3455 -.25747E-06** at limit ** 10 Prefactor 19.753 1.5907 .25977E-07 -.89738E-02 11 Prefactor 2.9764 3.3689 -.10696E-06 .10013E-02 12 Prefactor .80175E-06 7.4040 -.50300E-06** at limit ** 13 Prefactor 140.66 9.7937 .14978E-06 -.54018 14 norm 4.2994 1.4831 -.58828E-07 -.71521E-03 15 norm 1.2345 .47817 .19477E-07 .42588E-02 16 norm 8.4489 2.7407 -.13450E-06 -.11587E-02 17 Prefactor .20595E-07 7.1951 .80126E-06** at limit ** 18 Prefactor .69343E-05 60.762 -.33689E-05** at limit ** 19 Prefactor .0000 1.1102 .14670E-06** at limit ** 20 norm 34.181 6.3788 -.11905E-09 -.50764E-03 21 Prefactor .22204E-09 5.2966 -.80221E-06** at limit ** 22 Prefactor 3.9120 5.7044 -.99102E-07 -.52336E-03 23 Prefactor .66003E-07 10.440 .74519E-06** at limit ** 24 norm 3.4881 1.6242 -.12641E-06 .12889E-02 25 norm 2.3440 1.4426 -.29636E-06 -.75063E-03 26 norm .0000 1.1086 .17324E-06** at limit ** 27 norm 4.7076 4.2199 -.16839E-06 .40839E-03 28 Prefactor .55511E-10 3.3483 -.33397E-06** at limit ** 29 Prefactor 1.9235 2.8063 -.80425E-06 -.18150E-02 30 norm 4.3827 1.0331 .65706E-07 .31686E-02 31 norm .10146E-05 37.156 -.23691E-05** at limit ** 32 norm .55511E-10 3.2002 .23134E-07** at limit ** 33 Prefactor 31.107 1.0541 .23984E-08 -.34784E-02 34 norm .0000 .94011 .61083E-07** at limit ** 35 Normalizat .98726 .12334 .11517E-04 .82589E-04 36 Prefactor .94635 .66337E-01 -.35453E-05 .14530E-03 ERR DEF= .500 Final values: Prefactor = 5.04707e-07 Prefactor = 7.3626 norm = 8.18402 Prefactor = 15.0745 norm = 0.37862 Prefactor = 1.94345e-07 Prefactor = 2.77556e-10 Prefactor = 1.31284e-07 Prefactor = 3.13055e-06 Prefactor = 19.753 Prefactor = 2.97637 Prefactor = 8.01748e-07 Prefactor = 140.66 norm = 4.2994 norm = 1.23454 norm = 8.44888 Prefactor = 2.05946e-08 Prefactor = 6.93434e-06 Prefactor = 0 norm = 34.1811 Prefactor = 2.22045e-10 Prefactor = 3.91195 Prefactor = 6.60028e-08 norm = 3.48806 norm = 2.34405 norm = 0 norm = 4.70762 Prefactor = 5.55112e-11 Prefactor = 1.92352 norm = 4.38269 norm = 1.01458e-06 norm = 5.55112e-11 Prefactor = 31.1067 norm = 0 Normalizat = 0.987264 Prefactor = 0.946348 ********** ** 18 **HESSE ********** FCN= 27008.68 FROM HESSE STATUS=OK 895 CALLS 4690 TOTAL EDM= .98E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .50471E-06 56.041 .96626E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 7.3626 14.824 .36869E-03 -1.5654 3 norm 8.1840 5.1559 .35093E-03 -1.5651 4 Prefactor 15.075 11.061 .25768E-03 -1.5630 5 norm .37862 .41661 .92053E-03 -1.5720 6 Prefactor .19434E-06 8.5640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .27756E-09 .58010 .63551E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .13128E-06 15.635 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .31306E-05 1.2571 .62283E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 19.753 15.666 .22495E-03 -1.5619 11 Prefactor 2.9764 3.4155 .58725E-03 -1.5673 12 Prefactor .80175E-06 14.679 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 140.66 56.978 .84462E-04 -1.5471 14 norm 4.2994 1.4848 .48563E-03 -1.5666 15 norm 1.2345 .48256 .10108E-02 -1.5686 16 norm 8.4489 2.7426 .34470E-03 -1.5650 17 Prefactor .20595E-07 7.2640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .69343E-05 62.264 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .0000 1.1079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 34.181 6.3866 .17125E-03 -1.5591 21 Prefactor .22204E-09 5.2959 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 3.9120 5.7290 .50639E-03 -1.5668 23 Prefactor .66003E-07 11.315 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 3.4881 1.6294 .54137E-03 -1.5671 25 norm 2.3440 1.4440 .66928E-03 -1.5677 26 norm .0000 1.1068 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm 4.7076 4.2198 .46278E-03 -1.5665 28 Prefactor .55511E-10 3.3481 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor 1.9235 2.8211 .74916E-03 -1.5680 30 norm 4.3827 1.0739 .48084E-04 -1.5666 31 norm .10146E-05 37.733 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 norm .55511E-10 3.2015 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 33 Prefactor 31.107 14.687 .17933E-03 -1.5596 34 norm .0000 .93102 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 35 Normalizat .98726 .11296 .79998E-01 -.93458 36 Prefactor .94635 .59573E-01 .45592E-01 -.94540 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.77729e-06 Minuit parameter uncertainties: 1 0.0106367 2 14.824 3 5.15587 4 11.0606 5 0.416606 6 0.00258024 7 2.60093e-05 8 0.00286517 9 0.00396751 10 15.6661 11 3.41551 12 0.00686113 13 56.9784 14 1.48482 15 0.482564 16 2.74257 17 0.000773531 18 0.0415581 19 4.37301e-07 20 6.38663 21 6.46473e-05 22 5.72905 23 0.00172871 24 1.6294 25 1.44404 26 5.54028e-07 27 4.21982 28 3.05552e-05 29 2.82106 30 1.07393 31 0.0123747 32 2.72447e-05 33 14.6866 34 3.85781e-07 35 0.112988 36 0.0595766 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27008.678948 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 6.934e-06 4.156e-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.463e-01 5.958e-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: 9.873e-01 1.130e-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.6127050747e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00119193537665 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14135349/likelihoodResults_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.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) = 27008.6868715 delta logL = -0.00792352500866 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 27008.6789501 delta logL = -2.10936195799e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .71331E-04 1.0000 .0000 .10000E+07 2 'Index ' 1.6898 1.0000 .0000 10.000 3 'Normalizat' .98734 1.0000 .10000E-01 10.000 4 'Prefactor ' .94637 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= 27008.68 FROM MIGRAD STATUS=CONVERGED 51 CALLS 219 TOTAL EDM= .25E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 48.366 .42118E-03** at limit ** 2 Index 1.3564 .94459 -.26911E-04 .0000 3 Normalizat .98726 1.3178 -.32515E-05 -.36535E-04 4 Prefactor .94635 1.2888 .15849E-05 .23733E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.35636 Normalizat = 0.987264 Prefactor = 0.946348 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 27008.68 FROM HESSE STATUS=FAILED 9 CALLS 228 TOTAL EDM= .25E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 48.366 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .14851 1.3492 -.26911E-04 -.81646 3 Normalizat .98726 1.3178 -.32515E-05 -.93458 4 Prefactor .94635 1.2888 .15849E-05 -.94540 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.4992e-12 Minuit parameter uncertainties: 1 7.10049e-05 2 0.956997 3 1.36543 4 1.33456 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) = 27008.6789479 delta logL = 5.55883161724e-08 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 0.000e+00 7.100e-05 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.356e+00 9.570e-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.463e-01 1.335e+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: 9.873e-01 1.365e+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/14135349/cmap_HighResolution_779068801_779673601_4FGL_J1821.6+6636_weekly_bin893.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-03', job_status='DONE', photon_flux_upper_limit='1.61e-08', time_completed='2025-10-21 06:34:24.827242', job_id='14135349', GAL2='0.95', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1761053664.83', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='5.56e-08', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='893' AND source_name='4FGL J1821.6+6636' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 21 06:34:25 PDT 2025