/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 = 14970 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1616.6+4630_weekly_bin781 RA = 244.16, Dec = 46.5099 tmin = 711331201, tmax = 711936001 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='20040349', job_status='RUN', time_executed='2023-07-25 07:30:32.242946', time_epoch_executed='1690295432.24' WHERE source_name='4FGL J1616.6+4630' and cadence='weekly' and bin_id='781' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/20040349 Creating custom pfile directory: /lscratch/kocevski/20040349/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=711331201.0 && nMetStart<711936001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=711331201.0 && nMetStart<711936001.0' /Data/Flight/Level1/LPA Retrieving 93 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/20040349/ft1_4FGL_J1616.6+4630_weekly_bin781.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=711331201.0 && nMetStart<711936001.0' /Data/Flight/Level1/LPA Retrieving 93 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/20040349/ft1_4FGL_J1616.6+4630_weekly_bin781.fits outfile=/lscratch/kocevski/20040349/ft1_filteredMKT_4FGL_J1616.6+4630_weekly_bin781.fits ra=244.16 dec=46.5099 rad=12.0 tmin=711331201.0 tmax=711936001.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.77 user 3.48 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.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/20040349/ft1_filteredMKT_4FGL_J1616.6+4630_weekly_bin781.fits evtable="EVENTS" outfile="/lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.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.52 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 1379 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits" evtable="EVENTS" scfile=/lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits sctable="SC_DATA" outfile=/lscratch/kocevski/20040349/ltcube_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.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/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits .....................! real 15.89 user 15.40 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits evtable="EVENTS" scfile=/lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits sctable="SC_DATA" expcube=/lscratch/kocevski/20040349/ltcube_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.fits outfile=/lscratch/kocevski/20040349/expmap_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.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/20040349/ltcube_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.fits .....................! real 70.86 user 66.59 sys 3.76 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 212 point sources and 0 extended sources Setting source of interest to: 4FGL J1616.6+4630 @ 244.16 46.5099 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits scfile=/lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits outfile=/lscratch/kocevski/20040349/cmap_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.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=244.16 yref=46.5099 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.38 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits scfile=/lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits outfile=/lscratch/kocevski/20040349/cmap_HighResolution_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.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=244.16 yref=46.5099 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.38 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits evtable="EVENTS" scfile=/lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/20040349/Model_4FGL_J1616.6+4630_weekly_bin781.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/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits.....................! real 39.74 user 38.88 sys 0.58 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits', '/lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits', expMap='/lscratch/kocevski/20040349/expmap_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.fits', expCube='/lscratch/kocevski/20040349/ltcube_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/20040349/Model_4FGL_J1616.6+4630_weekly_bin781.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1616.6+4630' 4FGL J1616.6+4630 Spectrum: PowerLaw 300 Prefactor: 3.213e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 301 Index: 2.600e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 8.481e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/20040349/ft1_filtered_4FGL_J1616.6+4630_weekly_bin781.fits Spacecraft file(s): /lscratch/kocevski/20040349/ft2_4FGL_J1616.6+4630_weekly_bin781.fits Exposure map: /lscratch/kocevski/20040349/expmap_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.fits Exposure cube: /lscratch/kocevski/20040349/ltcube_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/20040349/Model_4FGL_J1616.6+4630_weekly_bin781.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) = 14423.4218951 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14423.3171019 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .39648 1.0000 .0000 .10000E+07 2 'Prefactor ' 6.0741 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.3126 1.0000 .0000 .10000E+07 4 'Prefactor ' .81815E-03 1.0000 .0000 .10000E+07 5 'norm ' .10930E-02 1.0000 .0000 .10000E+07 6 'Prefactor ' .58745E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 4.1033 1.0000 .0000 .10000E+07 8 'norm ' .83212 1.0000 .0000 .10000E+07 9 'Prefactor ' .13563E-01 1.0000 .0000 .10000E+07 10 'Prefactor ' 6.8682 1.0000 .0000 .10000E+07 11 'Prefactor ' .16750E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .25029E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.3760 1.0000 .0000 .10000E+07 14 'norm ' 12.000 1.0000 .0000 .10000E+07 15 'norm ' .35164 1.0000 .0000 .10000E+07 16 'norm ' 7.9309 1.0000 .0000 .10000E+07 17 'Prefactor ' .67739E-04 1.0000 .0000 .10000E+07 18 'Prefactor ' .37146E-05 1.0000 .0000 .10000E+07 19 'Prefactor ' 10.557 1.0000 .0000 .10000E+07 20 'norm ' .50672E-02 1.0000 .0000 .10000E+07 21 'Prefactor ' .61784E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' 14.799 1.0000 .0000 .10000E+07 23 'Prefactor ' 7.8143 1.0000 .0000 .10000E+07 24 'Prefactor ' .23925E-07 1.0000 .0000 .10000E+07 25 'Prefactor ' 7.0808 1.0000 .0000 .10000E+07 26 'norm ' 4.4385 1.0000 .0000 .10000E+07 27 'norm ' .40095 1.0000 .0000 .10000E+07 28 'Prefactor ' .21851E-04 1.0000 .0000 .10000E+07 29 'norm ' .44844 1.0000 .0000 .10000E+07 30 'Normalizat' .85548 1.0000 .10000E-01 10.000 31 'Prefactor ' .92419 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6800E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14423.32 FROM MIGRAD STATUS=CONVERGED 209 CALLS 2408 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .40148 1.3173 .87926E-08 -.52660E-02 2 Prefactor 6.0522 4.7298 -.20557E-06 .31691E-01 3 Prefactor 2.3038 2.8578 -.12679E-06 -.63205E-01 4 Prefactor .75584E-06 71.887 -.39893E-06** at limit ** 5 norm .64670E-07 34.609 -.10478E-06** at limit ** 6 Prefactor .55511E-10 3.8621 .22510E-07** at limit ** 7 Prefactor 4.1102 4.0892 .15278E-07 -.51066E-03 8 norm .81481 2.8721 .12201E-08 .68017E-03 9 Prefactor .42744E-08 13.406 -.78036E-07** at limit ** 10 Prefactor 6.8923 3.5519 -.14861E-08 -.10613E-02 11 Prefactor .83267E-08 18.983 -.26014E-07** at limit ** 12 Prefactor .12620E-04 4.5210 -.78007E-07** at limit ** 13 Prefactor 2.3761 1.4513 .25029E-08 -.59066E-04 14 norm 11.983 8.8670 -.32158E-07 .35663E-03 15 norm .35173 .95785E-01 .27466E-08 .83277E-02 16 norm 7.9478 7.3552 .21911E-07 .16744E-02 17 Prefactor .16653E-09 4.5435 .35343E-07** at limit ** 18 Prefactor .0000 1.5259 -.13543E-07** at limit ** 19 Prefactor 10.566 5.1095 .60611E-08 .79098E-03 20 norm .52180E-08 6.0880 .79987E-07** at limit ** 21 Prefactor .0000 .28882 -.68990E-09** at limit ** 22 Prefactor 14.798 1.3552 .20786E-08 .90175E-03 23 Prefactor 7.8151 2.3802 .49227E-08 .10274E-02 24 Prefactor .0000 1.1803 -.18252E-08** at limit ** 25 Prefactor 7.0832 5.5589 .14424E-07 -.13289E-01 26 norm 4.4389 1.2856 -.42593E-08 -.19852E-02 27 norm .40105 .38653 .91928E-08 .29619E-02 28 Prefactor .48572E-07 6.4266 -.14869E-07** at limit ** 29 norm .44822 .41648 .11693E-07 .21685E-02 30 Normalizat .85546 .14009 -.96640E-06 -.28407E-03 31 Prefactor .92422 .13671 .34094E-06 -.21835E-03 ERR DEF= .500 Final values: norm = 0.401483 Prefactor = 6.05218 Prefactor = 2.30376 Prefactor = 7.5584e-07 norm = 6.46705e-08 Prefactor = 5.55112e-11 Prefactor = 4.11016 norm = 0.814814 Prefactor = 4.27436e-09 Prefactor = 6.89229 Prefactor = 8.32667e-09 Prefactor = 1.26203e-05 Prefactor = 2.37609 norm = 11.9832 norm = 0.351726 norm = 7.94782 Prefactor = 1.66533e-10 Prefactor = 0 Prefactor = 10.5658 norm = 5.21805e-09 Prefactor = 0 Prefactor = 14.7981 Prefactor = 7.81509 Prefactor = 0 Prefactor = 7.08316 norm = 4.4389 norm = 0.401045 Prefactor = 4.85723e-08 norm = 0.44822 Normalizat = 0.855458 Prefactor = 0.92422 ********** ** 18 **HESSE ********** FCN= 14423.32 FROM HESSE STATUS=OK 708 CALLS 3116 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .40148 1.1354 .54359E-02 -1.5695 2 Prefactor 6.0522 5.5176 .40714E-03 -1.5659 3 Prefactor 2.3038 5.7684 .67437E-03 -1.5678 4 Prefactor .75584E-06 6.2383 .66253E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .64670E-07 34.713 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .55511E-10 3.8861 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 4.1102 4.1311 .49743E-03 -1.5667 8 norm .81481 2.9039 .50571E-03 -1.5690 9 Prefactor .42744E-08 13.476 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 6.8923 3.5590 .38259E-03 -1.5655 11 Prefactor .83267E-08 18.972 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .12620E-04 2.0986 .53086E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.3761 1.4523 .66436E-03 -1.5677 14 norm 11.983 8.9570 .28893E-03 -1.5639 15 norm .35173 .96232E-01 .41514E-03 -1.5696 16 norm 7.9478 7.3609 .35580E-03 -1.5652 17 Prefactor .16653E-09 4.5507 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 1.5208 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 10.566 5.1112 .30812E-03 -1.5643 20 norm .52180E-08 6.3676 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .0000 .28839 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 14.798 1.3595 .26010E-03 -1.5631 23 Prefactor 7.8151 2.4110 .35847E-03 -1.5652 24 Prefactor .0000 1.1690 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 7.0832 5.5904 .37675E-03 -1.5655 26 norm 4.4389 1.2877 .47774E-03 -1.5666 27 norm .40105 .45445 .16651E-02 -1.5695 28 Prefactor .48572E-07 7.0283 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 norm .44822 .45232 .16736E-02 -1.5695 30 Normalizat .85546 .12175 .44330E-01 -.98043 31 Prefactor .92422 .11685 .45313E-01 -.95300 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.16591e-07 Minuit parameter uncertainties: 1 1.13536 2 5.51756 3 5.76844 4 0.00434292 5 0.00299638 6 2.42999e-05 7 4.13113 8 2.90387 9 0.000478709 10 3.55905 11 0.000794719 12 0.0102927 13 1.45229 14 8.95702 15 0.0962322 16 7.36091 17 5.92478e-05 18 6.02936e-06 19 5.11122 20 0.000364244 21 9.32295e-08 22 1.35945 23 2.41102 24 3.17594e-06 25 5.59042 26 1.28773 27 0.454449 28 0.00116863 29 0.452315 30 0.121792 31 0.116884 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14423.3160248 Extracting fit parameters... 4FGL J1616.6+4630 Spectrum: PowerLaw 300 Prefactor: 8.327e-09 7.947e-04 0.000e+00 1.000e+06 ( 1.000e-13) 301 Index: 2.600e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 8.481e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 677 Prefactor: 9.242e-01 1.169e-01 0.000e+00 1.000e+01 ( 1.000e+00) 678 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 679 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 676 Normalization: 8.555e-01 1.218e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 244.160 46.510 Photon Flux Upper Limit: 4.34118043737e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00339744555973 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/20040349/likelihoodResults_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.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) = 14423.3436947 delta logL = -0.0276698863527 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14421.3826014 delta logL = 1.93342342722 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19950E-04 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .79269 1.0000 .10000E-01 10.000 4 'Prefactor ' .96668 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6800E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 14423.32 FROM MIGRAD STATUS=CONVERGED 105 CALLS 457 TOTAL EDM= .63E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.4932 .42118E-03** at limit ** 2 Index .94792 .92363 .76789E-07 .0000 3 Normalizat .85546 1.1721 -.30866E-05 -.13993E-04 4 Prefactor .92422 1.2819 .27065E-05 -.11022E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.947919 Normalizat = 0.855458 Prefactor = 0.92422 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 14423.32 FROM HESSE STATUS=FAILED 9 CALLS 466 TOTAL EDM= .63E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.4932 .42118E-03 -7.8540 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .33564E-01 1.1211 .76789E-07 357.20 3 Normalizat .85546 1.1721 -.30866E-05 -7.2636 4 Prefactor .92422 1.2819 .27065E-05 5.3302 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 6.32559e-13 Minuit parameter uncertainties: 1 2.75425e-06 2 0.939667 3 1.20994 4 1.32789 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) = 14423.3160248 delta logL = 2.41925590672e-10 Extracting fit parameters... 4FGL J1616.6+4630 Spectrum: PowerLaw 300 Prefactor: 0.000e+00 2.754e-06 0.000e+00 1.000e+06 ( 1.000e-13) 301 Index: 9.479e-01 9.397e-01 0.000e+00 1.000e+01 (-1.000e+00) 302 Scale: 8.481e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 677 Prefactor: 9.242e-01 1.328e+00 0.000e+00 1.000e+01 ( 1.000e+00) 678 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 679 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 676 Normalization: 8.555e-01 1.210e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 244.160 46.510 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/20040349/cmap_HighResolution_711331201_711936001_4FGL_J1616.6+4630_weekly_bin781.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-03', job_status='DONE', photon_flux_upper_limit='4.34e-08', time_completed='2023-07-25 07:42:43.157175', job_id='20040349', GAL2='0.92', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1690296163.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.42e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='781' AND source_name='4FGL J1616.6+4630' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 25 07:42:43 PDT 2023