/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 = 17701 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1821.6+6636_weekly_bin882 RA = 275.414, Dec = 66.6093 tmin = 772416001, tmax = 773020801 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='7239579', job_status='RUN', time_executed='2025-07-01 12:21:30.196738', time_epoch_executed='1751397690.2' WHERE source_name='4FGL J1821.6+6636' and cadence='weekly' and bin_id='882' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/7239579 Creating custom pfile directory: /lscratch/kocevski/7239579/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/7239579/ft1_4FGL_J1821.6+6636_weekly_bin882.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/7239579/ft1_4FGL_J1821.6+6636_weekly_bin882.fits outfile=/lscratch/kocevski/7239579/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin882.fits ra=275.414 dec=66.6093 rad=12.0 tmin=772416001.0 tmax=773020801.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 8.58 user 6.32 sys 0.42 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.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/7239579/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin882.fits evtable="EVENTS" outfile="/lscratch/kocevski/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.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 2.65 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 2768 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits" evtable="EVENTS" scfile=/lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits sctable="SC_DATA" outfile=/lscratch/kocevski/7239579/ltcube_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.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/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits .....................! real 19.12 user 16.79 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits sctable="SC_DATA" expcube=/lscratch/kocevski/7239579/ltcube_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.fits outfile=/lscratch/kocevski/7239579/expmap_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.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/7239579/ltcube_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.fits .....................! real 66.84 user 60.59 sys 3.92 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/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits scfile=/lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits outfile=/lscratch/kocevski/7239579/cmap_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.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 2.12 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits scfile=/lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits outfile=/lscratch/kocevski/7239579/cmap_HighResolution_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.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 1.94 user 0.21 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/7239579/Model_4FGL_J1821.6+6636_weekly_bin882.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/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits.....................! real 110.16 user 105.97 sys 0.86 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits', '/lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits', expMap='/lscratch/kocevski/7239579/expmap_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.fits', expCube='/lscratch/kocevski/7239579/ltcube_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/7239579/Model_4FGL_J1821.6+6636_weekly_bin882.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/7239579/ft1_filtered_4FGL_J1821.6+6636_weekly_bin882.fits Spacecraft file(s): /lscratch/kocevski/7239579/ft2_4FGL_J1821.6+6636_weekly_bin882.fits Exposure map: /lscratch/kocevski/7239579/expmap_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.fits Exposure cube: /lscratch/kocevski/7239579/ltcube_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/7239579/Model_4FGL_J1821.6+6636_weekly_bin882.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) = 28218.1318168 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28218.1268074 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 125.60 1.0000 .0000 .10000E+07 2 'Prefactor ' 18.884 1.0000 .0000 .10000E+07 3 'norm ' 2.8483 1.0000 .0000 .10000E+07 4 'Prefactor ' .20037E-02 1.0000 .0000 .10000E+07 5 'norm ' .16653E-09 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.3231 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.0363 1.0000 .0000 .10000E+07 8 'Prefactor ' 13.880 1.0000 .0000 .10000E+07 9 'Prefactor ' .13007E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' .65744E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' 3.6028 1.0000 .0000 .10000E+07 12 'Prefactor ' 30.839 1.0000 .0000 .10000E+07 13 'Prefactor ' 38.404 1.0000 .0000 .10000E+07 14 'norm ' 7.2314 1.0000 .0000 .10000E+07 15 'norm ' 1.6327 1.0000 .0000 .10000E+07 16 'norm ' 4.3549 1.0000 .0000 .10000E+07 17 'Prefactor ' .58158E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' .10529E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' 9.3419 1.0000 .0000 .10000E+07 20 'norm ' 15.028 1.0000 .0000 .10000E+07 21 'Prefactor ' .70541 1.0000 .0000 .10000E+07 22 'Prefactor ' .23709E-02 1.0000 .0000 .10000E+07 23 'Prefactor ' .13287E-05 1.0000 .0000 .10000E+07 24 'norm ' .65048E-01 1.0000 .0000 .10000E+07 25 'norm ' 1.7315 1.0000 .0000 .10000E+07 26 'norm ' .52575E-06 1.0000 .0000 .10000E+07 27 'norm ' .54563E-03 1.0000 .0000 .10000E+07 28 'Prefactor ' 11.480 1.0000 .0000 .10000E+07 29 'Prefactor ' .62672E-07 1.0000 .0000 .10000E+07 30 'norm ' 2.6728 1.0000 .0000 .10000E+07 31 'norm ' .95290 1.0000 .0000 .10000E+07 32 'norm ' 2.1970 1.0000 .0000 .10000E+07 33 'Prefactor ' .81433E-04 1.0000 .0000 .10000E+07 34 'norm ' .27883E-06 1.0000 .0000 .10000E+07 35 'Normalizat' 1.0550 1.0000 .10000E-01 10.000 36 'Prefactor ' .95576 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= 28218.13 FROM MIGRAD STATUS=CONVERGED 245 CALLS 3884 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 125.50 18.491 -.95925E-07 .18835 2 Prefactor 18.884 1.2318 .80547E-08 .58919E-02 3 norm 2.8328 4.8346 .93644E-07 -.86156E-03 4 Prefactor .0000 4.9956 -.15403E-06** at limit ** 5 norm .0000 .23142 -.12995E-06** at limit ** 6 Prefactor 4.3193 4.2895 .85163E-08 -.95999E-03 7 Prefactor 1.0357 1.2979 -.25218E-07 -.55193E-03 8 Prefactor 13.894 7.9701 .22938E-07 -.12444E-01 9 Prefactor .11102E-09 2.4465 -.56031E-06** at limit ** 10 Prefactor .36082E-08 23.740 -.30810E-06** at limit ** 11 Prefactor 3.6005 4.4241 .72901E-07 -.15887E-02 12 Prefactor 31.133 31.888 .22770E-06 .68140E-01 13 Prefactor 38.310 20.082 -.18190E-06 .83198E-01 14 norm 7.2312 1.9904 .10655E-07 .16643E-03 15 norm 1.6328 .62258 -.77407E-08 -.16730E-02 16 norm 4.3613 2.6717 .12007E-07 -.37534E-03 17 Prefactor .54636E-01 5.1083 -.74523E-07** at limit ** 18 Prefactor .68279E-08 21.061 -.82098E-06** at limit ** 19 Prefactor 9.3147 4.2639 .41795E-07 -.12930E-02 20 norm 15.047 5.6362 -.52355E-07 -.17310E-02 21 Prefactor .69848 4.2526 -.26238E-06 -.67482E-01 22 Prefactor .34917E-07 13.624 -.33302E-06** at limit ** 23 Prefactor .24203E-07 11.324 -.62240E-06** at limit ** 24 norm .66159E-01 3.7468 .19772E-06** at limit ** 25 norm 1.7315 1.3820 .38871E-07 .15558E-02 26 norm .0000 .66800 -.16954E-07** at limit ** 27 norm .0000 3.8499 -.14437E-06** at limit ** 28 Prefactor 11.473 3.1945 -.21110E-07 -.34636E-01 29 Prefactor .0000 1.1967 .18591E-07** at limit ** 30 norm 2.6733 .80913 -.82341E-08 .10690E-02 31 norm 1.0043 3.3760 .12465E-06 .89747E-02 32 norm 2.1823 4.7423 .95630E-07 .21775E-03 33 Prefactor .16653E-09 3.9545 .97319E-09** at limit ** 34 norm .0000 .77733 .26147E-06** at limit ** 35 Normalizat 1.0551 .12989 -.65449E-06 -.14945E-03 36 Prefactor .95570 .64935E-01 -.76022E-06 -.30449E-03 ERR DEF= .500 Final values: Prefactor = 125.499 Prefactor = 18.884 norm = 2.83283 Prefactor = 0 norm = 0 Prefactor = 4.31926 Prefactor = 1.03575 Prefactor = 13.8942 Prefactor = 1.11022e-10 Prefactor = 3.60822e-09 Prefactor = 3.60047 Prefactor = 31.1327 Prefactor = 38.31 norm = 7.23123 norm = 1.63276 norm = 4.36135 Prefactor = 0.054636 Prefactor = 6.82787e-09 Prefactor = 9.31466 norm = 15.0469 Prefactor = 0.698479 Prefactor = 3.49165e-08 Prefactor = 2.42029e-08 norm = 0.0661589 norm = 1.73152 norm = 0 norm = 0 Prefactor = 11.4734 Prefactor = 0 norm = 2.67332 norm = 1.00428 norm = 2.18227 Prefactor = 1.66533e-10 norm = 0 Normalizat = 1.05511 Prefactor = 0.955701 ********** ** 18 **HESSE ********** FCN= 28218.13 FROM HESSE STATUS=OK 907 CALLS 4791 TOTAL EDM= .35E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 125.50 79.680 .89236E-04 -1.5484 2 Prefactor 18.884 16.969 .23020E-03 -1.5621 3 norm 2.8328 4.8561 .60219E-03 -1.5674 4 Prefactor .0000 4.9990 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .0000 .11207 .20295E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.3193 4.3240 .48425E-03 -1.5666 7 Prefactor 1.0357 1.6113 .48303E-02 -1.5688 8 Prefactor 13.894 8.6645 .26859E-03 -1.5633 9 Prefactor .11102E-09 2.4380 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .36082E-08 26.797 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 3.6005 4.5208 .53209E-03 -1.5670 12 Prefactor 31.133 36.821 .18010E-03 -1.5596 13 Prefactor 38.310 56.630 .16138E-03 -1.5584 14 norm 7.2312 1.9956 .37277E-03 -1.5654 15 norm 1.6328 .63148 .82715E-03 -1.5682 16 norm 4.3613 2.6930 .48243E-03 -1.5666 17 Prefactor .54636E-01 5.0652 .15229E-01 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .68279E-08 23.389 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 9.3147 4.2879 .32765E-03 -1.5647 20 norm 15.047 5.6590 .25810E-03 -1.5630 21 Prefactor .69848 15.981 .60271E-03 -1.5691 22 Prefactor .34917E-07 13.737 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .24203E-07 11.460 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .66159E-01 .39636 .56213E-02 -1.5713 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 1.7315 1.3795 .79743E-03 -1.5682 26 norm .0000 .66982 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm .0000 3.8289 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor 11.473 8.8800 .29543E-03 -1.5640 29 Prefactor .0000 1.2025 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 norm 2.6733 .81628 .62308E-03 -1.5675 31 norm 1.0043 55.930 .42169E-03 -1.5688 32 norm 2.1823 4.7744 .69395E-03 -1.5678 33 Prefactor .16653E-09 3.9541 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 34 norm .0000 .77332 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 35 Normalizat 1.0551 .12087 .79658E-01 -.91207 36 Prefactor .95570 .57519E-01 .45712E-01 -.94221 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.52257e-06 Minuit parameter uncertainties: 1 79.6805 2 16.9692 3 4.8561 4 9.17165e-06 5 9.03051e-07 6 4.32397 7 1.61131 8 8.66453 9 3.09324e-05 10 0.000619555 11 4.52084 12 36.8214 13 56.6307 14 1.99557 15 0.631481 16 2.69301 17 1.05213 18 0.000799756 19 4.28795 20 5.65903 21 6.68195 22 0.00138561 23 0.00105285 24 0.323867 25 1.37946 26 2.02156e-06 27 7.21697e-06 28 8.87996 29 3.28798e-06 30 0.816282 31 14.9894 32 4.77438 33 5.27606e-05 34 3.17163e-06 35 0.120904 36 0.0575227 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28218.1263356 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 6.828e-09 7.998e-04 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.557e-01 5.752e-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.055e+00 1.209e-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.66900582527e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00123354673969 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/7239579/likelihoodResults_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.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) = 28218.1467419 delta logL = -0.0204063528181 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 28218.1263374 delta logL = -1.83195152204e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14794E-04 1.0000 .0000 .10000E+07 2 'Index ' .13865 1.0000 .0000 10.000 3 'Normalizat' 1.0552 1.0000 .10000E-01 10.000 4 'Prefactor ' .95564 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. FCN= 28218.13 FROM MIGRAD STATUS=CONVERGED 66 CALLS 239 TOTAL EDM= .39E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16653E-09 1771.3 .42118E-03** at limit ** 2 Index 1.7294 5.8343 .51000 -.60633E-09 3 Normalizat 1.0551 .26774E-01 .79657E-01 .16508E-03 4 Prefactor .95570 .14323E-01 .45710E-01 .63006E-04 ERR DEF= .500 Final values: Prefactor = 1.66533e-10 Index = 1.7294 Normalizat = 1.05511 Prefactor = 0.955701 ********** ** 18 **HESSE ********** FCN= 28218.13 FROM HESSE STATUS=NOT POSDEF 27 CALLS 266 TOTAL EDM= .11E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16653E-09 4995.5 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.7294 5.3310 .51000 -.71302 3 Normalizat 1.0551 .63395E-01 .35262E-03 -.91207 4 Prefactor .95570 .33971E-01 .19614E-03 -.94221 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.09746e-09 Minuit parameter uncertainties: 1 0.00166875 2 53.2871 3 0.063399 4 0.033972 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) = 28218.1263356 delta logL = 1.45519152284e-10 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 1.665e-10 1.669e-03 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.729e+00 5.329e+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.557e-01 3.397e-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.055e+00 6.340e-02 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/7239579/cmap_HighResolution_772416001_773020801_4FGL_J1821.6+6636_weekly_bin882.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-03', job_status='DONE', photon_flux_upper_limit='1.67e-08', time_completed='2025-07-01 13:01:34.476772', job_id='7239579', GAL2='0.96', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1751400094.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.46e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='882' AND source_name='4FGL J1821.6+6636' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 1 13:01:35 PDT 2025