/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 = 11205 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1821.6+6636_weekly_bin857 RA = 275.414, Dec = 66.6093 tmin = 757296001, tmax = 757900801 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='61113823', job_status='RUN', time_executed='2025-01-07 00:46:33.891666', time_epoch_executed='1736239593.89' WHERE source_name='4FGL J1821.6+6636' and cadence='weekly' and bin_id='857' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/61113823 Creating custom pfile directory: /lscratch/kocevski/61113823/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=757296001.0 && nMetStart<757900801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=757296001.0 && nMetStart<757900801.0' /Data/Flight/Level1/LPA Retrieving 71 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/61113823/ft1_4FGL_J1821.6+6636_weekly_bin857.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=757296001.0 && nMetStart<757900801.0' /Data/Flight/Level1/LPA Retrieving 71 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/61113823/ft1_4FGL_J1821.6+6636_weekly_bin857.fits outfile=/lscratch/kocevski/61113823/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin857.fits ra=275.414 dec=66.6093 rad=12.0 tmin=757296001.0 tmax=757900801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 3.54 user 3.13 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.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/61113823/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin857.fits evtable="EVENTS" outfile="/lscratch/kocevski/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.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.45 user 0.18 sys 0.15 Number of photons that the gtmktime cut: 2220 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits" evtable="EVENTS" scfile=/lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits sctable="SC_DATA" outfile=/lscratch/kocevski/61113823/ltcube_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.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/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits .....................! real 11.29 user 10.72 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits evtable="EVENTS" scfile=/lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits sctable="SC_DATA" expcube=/lscratch/kocevski/61113823/ltcube_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.fits outfile=/lscratch/kocevski/61113823/expmap_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.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/61113823/ltcube_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.fits .....................! real 66.73 user 62.19 sys 3.96 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/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits scfile=/lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits outfile=/lscratch/kocevski/61113823/cmap_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.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.43 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits scfile=/lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits outfile=/lscratch/kocevski/61113823/cmap_HighResolution_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.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.51 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits evtable="EVENTS" scfile=/lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/61113823/Model_4FGL_J1821.6+6636_weekly_bin857.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/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits....................! real 87.75 user 85.97 sys 1.07 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits', '/lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits', expMap='/lscratch/kocevski/61113823/expmap_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.fits', expCube='/lscratch/kocevski/61113823/ltcube_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/61113823/Model_4FGL_J1821.6+6636_weekly_bin857.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/61113823/ft1_filtered_4FGL_J1821.6+6636_weekly_bin857.fits Spacecraft file(s): /lscratch/kocevski/61113823/ft2_4FGL_J1821.6+6636_weekly_bin857.fits Exposure map: /lscratch/kocevski/61113823/expmap_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.fits Exposure cube: /lscratch/kocevski/61113823/ltcube_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/61113823/Model_4FGL_J1821.6+6636_weekly_bin857.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) = 22615.7274901 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22615.7256743 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .73173E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 25.375 1.0000 .0000 .10000E+07 3 'norm ' 19.187 1.0000 .0000 .10000E+07 4 'Prefactor ' .77161E-08 1.0000 .0000 .10000E+07 5 'norm ' .44393 1.0000 .0000 .10000E+07 6 'Prefactor ' 5.9560 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.2027 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.6854 1.0000 .0000 .10000E+07 9 'Prefactor ' .95465 1.0000 .0000 .10000E+07 10 'Prefactor ' 8.2925 1.0000 .0000 .10000E+07 11 'Prefactor ' 4.4748 1.0000 .0000 .10000E+07 12 'Prefactor ' .12709E-01 1.0000 .0000 .10000E+07 13 'Prefactor ' .10496 1.0000 .0000 .10000E+07 14 'norm ' 5.4906 1.0000 .0000 .10000E+07 15 'norm ' 2.1785 1.0000 .0000 .10000E+07 16 'norm ' .37275 1.0000 .0000 .10000E+07 17 'Prefactor ' 6.3124 1.0000 .0000 .10000E+07 18 'Prefactor ' .96885E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.1015 1.0000 .0000 .10000E+07 20 'norm ' 19.094 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.3734 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.1026 1.0000 .0000 .10000E+07 23 'Prefactor ' 53.174 1.0000 .0000 .10000E+07 24 'norm ' .11635E-06 1.0000 .0000 .10000E+07 25 'norm ' 3.9734 1.0000 .0000 .10000E+07 26 'norm ' 2.1226 1.0000 .0000 .10000E+07 27 'norm ' .55311E-06 1.0000 .0000 .10000E+07 28 'Prefactor ' 16.719 1.0000 .0000 .10000E+07 29 'Prefactor ' 1.3994 1.0000 .0000 .10000E+07 30 'norm ' 3.0894 1.0000 .0000 .10000E+07 31 'norm ' .95042E-03 1.0000 .0000 .10000E+07 32 'norm ' 6.5226 1.0000 .0000 .10000E+07 33 'Prefactor ' .49011E-02 1.0000 .0000 .10000E+07 34 'norm ' .0000 1.0000 .0000 .10000E+07 35 'Normalizat' .92158 1.0000 .10000E-01 10.000 36 'Prefactor ' 1.0653 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= 22615.72 FROM MIGRAD STATUS=CONVERGED 202 CALLS 3783 TOTAL EDM= .23E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16653E-09 27.470 .63655E-06** at limit ** 2 Prefactor 25.392 1.0598 .64141E-08 .47436E-02 3 norm 19.217 6.4854 -.85995E-07 -.57914E-03 4 Prefactor .0000 2.6766 .32322E-06** at limit ** 5 norm .44390 .39442 .11353E-07 .11169E-03 6 Prefactor 5.9818 4.4945 -.51954E-07 -.19627E-02 7 Prefactor 2.2064 2.2639 .46489E-08 -.16501E-03 8 Prefactor 2.6614 2.7304 .32580E-08 .15801E-01 9 Prefactor .95616 3.0961 -.90330E-07 .28997E-02 10 Prefactor 8.3000 1.0392 .72140E-08 -.11129E-02 11 Prefactor 4.4633 4.8462 -.63052E-07 -.39010E-03 12 Prefactor .0000 14.226 -.54313E-06** at limit ** 13 Prefactor .43299E-08 45.256 -.52993E-06** at limit ** 14 norm 5.4942 2.0251 .35254E-07 -.72250E-03 15 norm 2.1785 .74531 .45805E-07 -.10282E-02 16 norm .36125 4.1454 -.18114E-06 -.19349E-03 17 Prefactor 6.3100 1.6967 .13390E-07 -.21050E-01 18 Prefactor .27756E-09 20.879 -.67774E-06** at limit ** 19 Prefactor 1.0995 2.4423 -.82292E-08 -.96186E-04 20 norm 19.135 5.7435 -.87622E-08 .67733E-03 21 Prefactor 6.3184 3.6089 .49677E-07 -.15257E-01 22 Prefactor 5.2104 8.4902 -.50785E-07 -.20300E-03 23 Prefactor 53.013 3.4713 .97930E-08 .34952E-01 24 norm .0000 .59210 .39141E-07** at limit ** 25 norm 3.9742 2.1224 .21693E-07 -.28066E-03 26 norm 2.1261 1.7857 -.43120E-07 -.92380E-04 27 norm .0000 1.3745 -.32929E-07** at limit ** 28 Prefactor 16.731 10.322 -.30794E-07 -.97588E-02 29 Prefactor 1.3979 2.7210 -.10990E-06 .22564E-03 30 norm 3.0887 1.0231 -.18600E-07 .10990E-02 31 norm .0000 8.7598 .25670E-06** at limit ** 32 norm 6.5466 3.7195 -.36829E-07 -.33866E-01 33 Prefactor .58564E-07 189.99 .10248E-05** at limit ** 34 norm .0000 .66949 .20715E-07** at limit ** 35 Normalizat .92129 .14453 .16830E-06 -.32532E-05 36 Prefactor 1.0653 .76679E-01 .21536E-07 -.82467E-05 ERR DEF= .500 Final values: Prefactor = 1.66533e-10 Prefactor = 25.3921 norm = 19.217 Prefactor = 0 norm = 0.443899 Prefactor = 5.98179 Prefactor = 2.2064 Prefactor = 2.66139 Prefactor = 0.956158 Prefactor = 8.3 Prefactor = 4.46327 Prefactor = 0 Prefactor = 4.32987e-09 norm = 5.49422 norm = 2.17847 norm = 0.361253 Prefactor = 6.31002 Prefactor = 2.77556e-10 Prefactor = 1.09951 norm = 19.1355 Prefactor = 6.31843 Prefactor = 5.21044 Prefactor = 53.0126 norm = 0 norm = 3.97422 norm = 2.12606 norm = 0 Prefactor = 16.7314 Prefactor = 1.39788 norm = 3.0887 norm = 0 norm = 6.54659 Prefactor = 5.85643e-08 norm = 0 Normalizat = 0.921288 Prefactor = 1.06531 ********** ** 18 **HESSE ********** FCN= 22615.72 FROM HESSE STATUS=OK 909 CALLS 4692 TOTAL EDM= .22E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16653E-09 27.585 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 25.392 19.930 .19856E-03 -1.5607 3 norm 19.217 6.4991 .22838E-03 -1.5620 4 Prefactor .0000 2.6807 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .44390 .50753 .19798E-02 -1.5695 6 Prefactor 5.9818 4.5941 .41122E-03 -1.5659 7 Prefactor 2.2064 2.5995 .69293E-03 -1.5678 8 Prefactor 2.6614 9.4574 .62152E-03 -1.5675 9 Prefactor .95616 3.6707 .42153E-03 -1.5688 10 Prefactor 8.3000 18.390 .34790E-03 -1.5650 11 Prefactor 4.4633 4.9379 .47575E-03 -1.5666 12 Prefactor .0000 14.252 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .43299E-08 45.493 .13798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 5.4942 2.0621 .42856E-03 -1.5661 15 norm 2.1785 .75338 .69724E-03 -1.5678 16 norm .36125 1.3994 .51716E-02 -1.5696 17 Prefactor 6.3100 11.122 .39928E-03 -1.5658 18 Prefactor .27756E-09 20.938 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 1.0995 2.5514 .11311E-02 -1.5687 20 norm 19.135 5.7597 .22893E-03 -1.5620 21 Prefactor 6.3184 9.4262 .39734E-03 -1.5658 22 Prefactor 5.2104 8.8481 .44486E-03 -1.5662 23 Prefactor 53.013 56.162 .13714E-03 -1.5562 24 norm .0000 .59054 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 3.9742 2.1234 .50576E-03 -1.5668 26 norm 2.1261 1.7906 .70756E-03 -1.5679 27 norm .0000 1.3796 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor 16.731 10.722 .24468E-03 -1.5626 29 Prefactor 1.3979 2.7548 .91701E-03 -1.5684 30 norm 3.0887 1.0576 .57675E-04 -1.5673 31 norm .0000 8.7793 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 norm 6.5466 8.6469 .39272E-03 -1.5657 33 Prefactor .58564E-07 9.7761 .87853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 34 norm .0000 .66993 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 35 Normalizat .92129 .13651 .84733E-01 -.95716 36 Prefactor 1.0653 .69758E-01 .39089E-01 -.90583 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.23294e-07 Minuit parameter uncertainties: 1 0.000145492 2 19.9299 3 6.4991 4 7.01268e-06 5 0.507535 6 4.59405 7 2.59951 8 9.4575 9 3.67073 10 18.3903 11 4.93786 12 3.29422e-05 13 0.000886914 14 2.06205 15 0.753382 16 1.39944 17 11.122 18 0.000151169 19 2.55137 20 5.75974 21 9.42618 22 8.8481 23 56.1629 24 4.4072e-07 25 2.1234 26 1.79064 27 1.7161e-07 28 10.7215 29 2.75481 30 1.0576 31 4.46619e-06 32 8.64688 33 0.00151345 34 2.03676e-07 35 0.136559 36 0.0697643 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22615.7236808 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 2.776e-10 1.512e-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: 1.065e+00 6.976e-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.213e-01 1.366e-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.55501003578e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00114929350801 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/61113823/likelihoodResults_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.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): 102 logL (Free Index) = 22615.7464707 delta logL = -0.0227899166603 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 22615.7236808 delta logL = -2.09292920772e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .89928E-08 1.0000 .0000 .10000E+07 2 'Index ' .18476 1.0000 .0000 10.000 3 'Normalizat' .92126 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0653 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= 22615.72 FROM MIGRAD STATUS=CONVERGED 31 CALLS 207 TOTAL EDM= .48E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 30.074 .28812E-06** at limit ** 2 Index 1.3908 5.5345 -.70005E-05 .0000 3 Normalizat .92129 .13225 .11205E-04 .13655E-04 4 Prefactor 1.0653 .74424E-01 -.47521E-05 .13160E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.39076 Normalizat = 0.921288 Prefactor = 1.06531 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 22615.72 FROM HESSE STATUS=FAILED 11 CALLS 218 TOTAL EDM= .48E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 29.501 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .16084 1.4493 -.70005E-05 -.80647 3 Normalizat .92129 1.2556 .11205E-04 -.95716 4 Prefactor 1.0653 1.1754 -.47521E-05 -.90583 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 4.79378e-13 Minuit parameter uncertainties: 1 4.93189e-05 2 1.21252 3 1.29932 4 1.20585 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) = 22615.7236808 delta logL = 7.27595761418e-12 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 0.000e+00 4.932e-05 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.391e+00 1.213e+00 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: 1.065e+00 1.206e+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.213e-01 1.299e+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/61113823/cmap_HighResolution_757296001_757900801_4FGL_J1821.6+6636_weekly_bin857.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2025-01-07 01:04:34.255438', job_id='61113823', GAL2='1.07', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1736240674.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='857' AND source_name='4FGL J1821.6+6636' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 7 01:04:34 PST 2025