/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 = 17496 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1821.6+6636_weekly_bin834 RA = 275.414, Dec = 66.6093 tmin = 743385601, tmax = 743990401 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='52697960', job_status='RUN', time_executed='2024-07-30 02:02:35.171902', time_epoch_executed='1722330155.17' WHERE source_name='4FGL J1821.6+6636' and cadence='weekly' and bin_id='834' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/52697960 Creating custom pfile directory: /lscratch/kocevski/52697960/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=743385601.0 && nMetStart<743990401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=743385601.0 && nMetStart<743990401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/52697960/ft1_4FGL_J1821.6+6636_weekly_bin834.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=743385601.0 && nMetStart<743990401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/52697960/ft1_4FGL_J1821.6+6636_weekly_bin834.fits outfile=/lscratch/kocevski/52697960/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin834.fits ra=275.414 dec=66.6093 rad=12.0 tmin=743385601.0 tmax=743990401.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.42 user 4.12 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.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/52697960/ft1_filteredMKT_4FGL_J1821.6+6636_weekly_bin834.fits evtable="EVENTS" outfile="/lscratch/kocevski/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.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.37 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 3364 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits" evtable="EVENTS" scfile=/lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits sctable="SC_DATA" outfile=/lscratch/kocevski/52697960/ltcube_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.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/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits .....................! real 24.20 user 23.67 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits evtable="EVENTS" scfile=/lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits sctable="SC_DATA" expcube=/lscratch/kocevski/52697960/ltcube_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.fits outfile=/lscratch/kocevski/52697960/expmap_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.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/52697960/ltcube_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.fits .....................! real 59.01 user 55.43 sys 3.24 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/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits scfile=/lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits outfile=/lscratch/kocevski/52697960/cmap_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.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.41 user 0.21 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits scfile=/lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits outfile=/lscratch/kocevski/52697960/cmap_HighResolution_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.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.41 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits evtable="EVENTS" scfile=/lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/52697960/Model_4FGL_J1821.6+6636_weekly_bin834.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/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits.....................! real 114.02 user 112.02 sys 1.33 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits', '/lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits', expMap='/lscratch/kocevski/52697960/expmap_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.fits', expCube='/lscratch/kocevski/52697960/ltcube_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/52697960/Model_4FGL_J1821.6+6636_weekly_bin834.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/52697960/ft1_filtered_4FGL_J1821.6+6636_weekly_bin834.fits Spacecraft file(s): /lscratch/kocevski/52697960/ft2_4FGL_J1821.6+6636_weekly_bin834.fits Exposure map: /lscratch/kocevski/52697960/expmap_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.fits Exposure cube: /lscratch/kocevski/52697960/ltcube_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/52697960/Model_4FGL_J1821.6+6636_weekly_bin834.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) = 34379.9856724 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34379.8558598 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13879E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .78028E-01 1.0000 .0000 .10000E+07 3 'norm ' 15.445 1.0000 .0000 .10000E+07 4 'Prefactor ' .11199E-05 1.0000 .0000 .10000E+07 5 'norm ' .27756E-08 1.0000 .0000 .10000E+07 6 'Prefactor ' .50626E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .72720E-08 1.0000 .0000 .10000E+07 8 'Prefactor ' 11.663 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.7528 1.0000 .0000 .10000E+07 10 'Prefactor ' .10883E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' .48168E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' .22396E-01 1.0000 .0000 .10000E+07 13 'Prefactor ' 27.971 1.0000 .0000 .10000E+07 14 'norm ' 4.8455 1.0000 .0000 .10000E+07 15 'norm ' 3.6072 1.0000 .0000 .10000E+07 16 'norm ' 7.1043 1.0000 .0000 .10000E+07 17 'Prefactor ' 3.4149 1.0000 .0000 .10000E+07 18 'Prefactor ' .90972E-01 1.0000 .0000 .10000E+07 19 'Prefactor ' 3.2666 1.0000 .0000 .10000E+07 20 'norm ' 1.7012 1.0000 .0000 .10000E+07 21 'Prefactor ' .39187E-02 1.0000 .0000 .10000E+07 22 'Prefactor ' .20090E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' .51506E-02 1.0000 .0000 .10000E+07 24 'norm ' 4.5394 1.0000 .0000 .10000E+07 25 'norm ' 3.7910 1.0000 .0000 .10000E+07 26 'norm ' 1.3645 1.0000 .0000 .10000E+07 27 'norm ' 13.549 1.0000 .0000 .10000E+07 28 'Prefactor ' .37684E-04 1.0000 .0000 .10000E+07 29 'Prefactor ' .28466 1.0000 .0000 .10000E+07 30 'norm ' 2.3550 1.0000 .0000 .10000E+07 31 'norm ' .12180E-02 1.0000 .0000 .10000E+07 32 'norm ' 3.1268 1.0000 .0000 .10000E+07 33 'Prefactor ' 4.9567 1.0000 .0000 .10000E+07 34 'norm ' .10862E-05 1.0000 .0000 .10000E+07 35 'Normalizat' .84341 1.0000 .10000E-01 10.000 36 'Prefactor ' 1.0808 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= 34379.85 FROM MIGRAD STATUS=CONVERGED 197 CALLS 3045 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .15481E-05 20.327 -.10617E-06** at limit ** 2 Prefactor .37895E-04 23.081 -.82573E-07** at limit ** 3 norm 15.447 5.1798 -.90159E-08 -.50732E-03 4 Prefactor .13634E-06 2.4388 .11062E-06** at limit ** 5 norm .55511E-10 .67247 .68052E-07** at limit ** 6 Prefactor .55511E-10 1.2283 -.78741E-07** at limit ** 7 Prefactor .0000 .55074 -.34711E-07** at limit ** 8 Prefactor 11.629 6.8922 -.34451E-07 -.15981E-02 9 Prefactor 1.7471 3.4986 .14113E-07 .84826E-03 10 Prefactor .80769E-07 2.3055 .98806E-07** at limit ** 11 Prefactor .55511E-10 2.3523 .79003E-10** at limit ** 12 Prefactor .48106E-06 1.4414 -.26133E-07** at limit ** 13 Prefactor 28.580 21.127 .29092E-07 -.12210 14 norm 4.8457 1.3603 -.23807E-07 -.14054E-01 15 norm 3.6073 .68390 -.45151E-08 -.52902E-02 16 norm 7.1043 2.2193 -.26230E-07 -.93923E-02 17 Prefactor 3.4222 1.1341 -.22148E-08 .55444E-03 18 Prefactor .10492E-07 2.2769 -.33296E-07** at limit ** 19 Prefactor 3.2683 3.2578 -.91510E-08 -.18088E-02 20 norm 1.7004 2.1208 -.42929E-07 -.30825E-02 21 Prefactor .70722E-05 10.570 -.83251E-07** at limit ** 22 Prefactor .30864E-07 4.9135 .20721E-06** at limit ** 23 Prefactor .87708E-06 10.781 -.16822E-06** at limit ** 24 norm 4.5395 1.7654 -.24822E-07 -.68624E-02 25 norm 3.7913 1.5836 -.95117E-08 -.26753E-02 26 norm 1.3651 2.1371 -.32117E-07 -.17782E-02 27 norm 13.548 5.6430 .29498E-08 -.84939E-04 28 Prefactor .14877E-07 1.7650 .71621E-07** at limit ** 29 Prefactor .28254 6.0220 .22861E-06 .23523E-02 30 norm 2.3548 .75328 -.83523E-08 -.58401E-02 31 norm .57898E-07 5.9282 .29889E-07** at limit ** 32 norm 3.1338 1.0786 -.12913E-08 .66024E-02 33 Prefactor 4.9569 1.0614 .37352E-08 .21874E-02 34 norm .66613E-09 4.5502 .11860E-06** at limit ** 35 Normalizat .84347 .11468 .14790E-06 .76569E-04 36 Prefactor 1.0807 .60989E-01 .17508E-06 .26371E-03 ERR DEF= .500 Final values: Prefactor = 1.54809e-06 Prefactor = 3.78952e-05 norm = 15.4467 Prefactor = 1.36335e-07 norm = 5.55112e-11 Prefactor = 5.55112e-11 Prefactor = 0 Prefactor = 11.629 Prefactor = 1.74705 Prefactor = 8.07687e-08 Prefactor = 5.55112e-11 Prefactor = 4.8106e-07 Prefactor = 28.5802 norm = 4.84569 norm = 3.60733 norm = 7.10428 Prefactor = 3.42221 Prefactor = 1.04916e-08 Prefactor = 3.26831 norm = 1.70043 Prefactor = 7.07218e-06 Prefactor = 3.08642e-08 Prefactor = 8.77076e-07 norm = 4.53955 norm = 3.79129 norm = 1.36511 norm = 13.5478 Prefactor = 1.4877e-08 Prefactor = 0.282537 norm = 2.3548 norm = 5.78981e-08 norm = 3.13381 Prefactor = 4.95692 norm = 6.66134e-10 Normalizat = 0.843471 Prefactor = 1.08074 ********** ** 18 **HESSE ********** FCN= 34379.85 FROM HESSE STATUS=OK 927 CALLS 3972 TOTAL EDM= .19E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .15481E-05 21.812 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .37895E-04 4.0819 .14562E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 15.447 5.1755 .25459E-03 -1.5629 4 Prefactor .13634E-06 5.6923 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .55511E-10 .82879E-01 .27473E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .55511E-10 1.2290 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 .54885 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 11.629 7.1379 .29309E-03 -1.5640 9 Prefactor 1.7471 3.9897 .79152E-03 -1.5682 10 Prefactor .80769E-07 5.7614 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .55511E-10 2.3466 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .48106E-06 12.866 .21775E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 28.580 30.111 .18911E-03 -1.5601 14 norm 4.8457 1.3612 .45675E-03 -1.5664 15 norm 3.6073 .68478 .53176E-03 -1.5670 16 norm 7.1043 2.2277 .37612E-03 -1.5655 17 Prefactor 3.4222 10.000 .54717E-03 -1.5671 18 Prefactor .10492E-07 18.492 .30911E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 3.2683 3.3052 .56006E-03 -1.5672 20 norm 1.7004 2.1363 .80616E-03 -1.5682 21 Prefactor .70722E-05 16.346 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .30864E-07 4.9598 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .87708E-06 11.576 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 4.5395 1.7716 .47227E-03 -1.5665 25 norm 3.7913 1.5869 .51821E-03 -1.5669 26 norm 1.3651 2.1734 .93394E-03 -1.5685 27 norm 13.548 5.6759 .27186E-03 -1.5634 28 Prefactor .14877E-07 6.2809 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .28254 .87251 .82789E-02 -1.5697 30 norm 2.3548 .80049 .66763E-03 -1.5677 31 norm .57898E-07 6.7110 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 norm 3.1338 7.6619 .57310E-03 -1.5673 33 Prefactor 4.9569 10.415 .45149E-03 -1.5663 34 norm .66613E-09 .44887 .67714E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 35 Normalizat .84347 .10529 .85107E-01 -.98476 36 Prefactor 1.0807 .55821E-01 .38368E-01 -.90085 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.86347e-06 Minuit parameter uncertainties: 1 0.011622 2 0.0248746 3 5.17554 4 0.00176174 5 3.81732e-06 6 1.6102e-05 7 3.71359e-06 8 7.13789 9 3.98968 10 0.00136432 11 1.66895e-05 12 0.00497579 13 30.1112 14 1.36118 15 0.684778 16 2.22768 17 10.0001 18 0.000881733 19 3.30521 20 2.13627 21 0.0215039 22 0.000782216 23 0.00637277 24 1.77156 25 1.58693 26 2.17344 27 5.67592 28 0.000611669 29 0.87251 30 0.80049 31 0.00124652 32 7.66195 33 10.4154 34 3.42325e-05 35 0.105315 36 0.0558236 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34379.8547743 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 1.049e-08 8.817e-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.081e+00 5.582e-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: 8.435e-01 1.053e-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.56869928657e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00115941110642 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/52697960/likelihoodResults_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.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) = 34379.8572059 delta logL = -0.00243162140396 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 34379.85478 delta logL = -5.76548336539e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .38969E-07 1.0000 .0000 .10000E+07 2 'Index ' 1.7475 1.0000 .0000 10.000 3 'Normalizat' .84372 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0805 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= 34379.85 FROM MIGRAD STATUS=CONVERGED 70 CALLS 260 TOTAL EDM= .78E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22204E-09 25885. .42118E-03** at limit ** 2 Index 1.6269 8.8317 .51000 -.23540E-09 3 Normalizat .84347 .28184E-01 .85107E-01 .16838E-03 4 Prefactor 1.0807 .15985E-01 .38377E-01 -.27815E-03 ERR DEF= .500 Final values: Prefactor = 2.22045e-10 Index = 1.62693 Normalizat = 0.843471 Prefactor = 1.08074 ********** ** 18 **HESSE ********** FCN= 34379.85 FROM HESSE STATUS=NOT POSDEF 25 CALLS 285 TOTAL EDM= .18E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22204E-09 58339. .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.6269 5.8112 .51000 -.74044 3 Normalizat .84347 .62752E-01 .37688E-03 -.98476 4 Prefactor 1.0807 .35677E-01 .19014E-03 -.90085 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.78462e-10 Minuit parameter uncertainties: 1 0.00714479 2 53.9228 3 0.0627573 4 0.0356781 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) = 34379.8547743 delta logL = 7.27595761418e-12 Extracting fit parameters... 4FGL J1821.6+6636 Spectrum: PowerLaw 351 Prefactor: 2.220e-10 7.145e-03 0.000e+00 1.000e+06 ( 1.000e-15) 352 Index: 1.627e+00 5.392e+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: 1.081e+00 3.568e-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: 8.435e-01 6.276e-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/52697960/cmap_HighResolution_743385601_743990401_4FGL_J1821.6+6636_weekly_bin834.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-03', job_status='DONE', photon_flux_upper_limit='1.57e-08', time_completed='2024-07-30 02:25:39.255772', job_id='52697960', GAL2='1.08', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1722331539.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='834' AND source_name='4FGL J1821.6+6636' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 30 02:25:39 PDT 2024