/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 = 17405 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.3+6850_weekly_bin782 RA = 250.082, Dec = 68.8483 tmin = 711936001, tmax = 712540801 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='28636443', job_status='RUN', time_executed='2023-09-20 05:30:52.714397', time_epoch_executed='1695213052.71' WHERE source_name='4FGL J1640.3+6850' and cadence='weekly' and bin_id='782' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28636443 Creating custom pfile directory: /lscratch/kocevski/28636443/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=711936001.0 && nMetStart<712540801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=711936001.0 && nMetStart<712540801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28636443/ft1_4FGL_J1640.3+6850_weekly_bin782.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=711936001.0 && nMetStart<712540801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28636443/ft1_4FGL_J1640.3+6850_weekly_bin782.fits outfile=/lscratch/kocevski/28636443/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin782.fits ra=250.082 dec=68.8483 rad=12.0 tmin=711936001.0 tmax=712540801.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.08 user 3.71 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.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/28636443/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin782.fits evtable="EVENTS" outfile="/lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.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.38 user 0.23 sys 0.12 Number of photons that the gtmktime cut: 3266 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28636443/ltcube_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.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/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits .....................! real 21.29 user 20.81 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits evtable="EVENTS" scfile=/lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28636443/ltcube_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.fits outfile=/lscratch/kocevski/28636443/expmap_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.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/28636443/ltcube_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.fits .....................! real 64.88 user 60.94 sys 3.52 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 209 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.3+6850 @ 250.082 68.8483 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits scfile=/lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits outfile=/lscratch/kocevski/28636443/cmap_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.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=250.082 yref=68.8483 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.40 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits scfile=/lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits outfile=/lscratch/kocevski/28636443/cmap_HighResolution_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.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=250.082 yref=68.8483 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.26 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits evtable="EVENTS" scfile=/lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28636443/Model_4FGL_J1640.3+6850_weekly_bin782.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/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits.....................! real 105.49 user 103.93 sys 0.90 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits', '/lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits', expMap='/lscratch/kocevski/28636443/expmap_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.fits', expCube='/lscratch/kocevski/28636443/ltcube_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28636443/Model_4FGL_J1640.3+6850_weekly_bin782.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.3+6850' 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.992e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28636443/ft1_filtered_4FGL_J1640.3+6850_weekly_bin782.fits Spacecraft file(s): /lscratch/kocevski/28636443/ft2_4FGL_J1640.3+6850_weekly_bin782.fits Exposure map: /lscratch/kocevski/28636443/expmap_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.fits Exposure cube: /lscratch/kocevski/28636443/ltcube_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28636443/Model_4FGL_J1640.3+6850_weekly_bin782.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) = 34398.3275607 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34398.2497443 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .76936E-04 1.0000 .0000 .10000E+07 2 'Prefactor ' .31502E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 8.0271 1.0000 .0000 .10000E+07 4 'Prefactor ' .10567E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' 23.603 1.0000 .0000 .10000E+07 6 'norm ' 2.1724 1.0000 .0000 .10000E+07 7 'Prefactor ' 25.875 1.0000 .0000 .10000E+07 8 'Prefactor ' .10876E-02 1.0000 .0000 .10000E+07 9 'norm ' 6.7223 1.0000 .0000 .10000E+07 10 'Prefactor ' .10087E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.4881 1.0000 .0000 .10000E+07 12 'Prefactor ' .25057E-05 1.0000 .0000 .10000E+07 13 'norm ' 6.4451 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4720 1.0000 .0000 .10000E+07 15 'norm ' 3.5270 1.0000 .0000 .10000E+07 16 'Prefactor ' .10391E-04 1.0000 .0000 .10000E+07 17 'Prefactor ' .56762 1.0000 .0000 .10000E+07 18 'Prefactor ' 1.3973 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.6052 1.0000 .0000 .10000E+07 20 'Prefactor ' 6.4870 1.0000 .0000 .10000E+07 21 'Prefactor ' 1.2818 1.0000 .0000 .10000E+07 22 'Prefactor ' .23823E-04 1.0000 .0000 .10000E+07 23 'norm ' 3.6495 1.0000 .0000 .10000E+07 24 'norm ' 6.0222 1.0000 .0000 .10000E+07 25 'norm ' 4.7839 1.0000 .0000 .10000E+07 26 'Prefactor ' .22088E-04 1.0000 .0000 .10000E+07 27 'Prefactor ' 15.764 1.0000 .0000 .10000E+07 28 'Prefactor ' .14344E-02 1.0000 .0000 .10000E+07 29 'Prefactor ' 1.4777 1.0000 .0000 .10000E+07 30 'Normalizat' .88339 1.0000 .10000E-01 10.000 31 'Prefactor ' 1.0488 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 34398.25 FROM MIGRAD STATUS=CONVERGED 166 CALLS 2342 TOTAL EDM= .20E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .17047E-06 4.0946 .14769E-06** at limit ** 2 Prefactor .11102E-09 2.7090 -.57202E-07** at limit ** 3 Prefactor 8.0393 1.8161 .14859E-07 -.54163E-01 4 Prefactor .29282E-06 5.2992 .20958E-06** at limit ** 5 Prefactor 23.660 1.1210 -.97584E-09 .25945E-01 6 norm 2.1692 1.0200 .22187E-08 .25586E-03 7 Prefactor 26.874 5.0747 .71835E-07 .12514 8 Prefactor .36162E-05 9.3020 -.39117E-06** at limit ** 9 norm 6.7102 5.8066 .71836E-07 .12881E-02 10 Prefactor .35655E-06 11.593 .37703E-06** at limit ** 11 Prefactor 1.4902 2.5565 .34050E-07 .61862E-03 12 Prefactor .16653E-09 5.1858 -.59766E-07** at limit ** 13 norm 6.4494 3.3630 .42648E-07 .19486E-02 14 Prefactor 3.4654 5.6012 .12097E-07 .10999E-03 15 norm 3.5275 .45317 -.64519E-08 -.97131E-02 16 Prefactor .22204E-09 1.3808 -.14619E-06** at limit ** 17 Prefactor .55762 1.0544 .28847E-10 -.10535E-02 18 Prefactor 1.3777 4.2902 .18806E-07 -.75164E-04 19 Prefactor 4.6088 2.5273 .25056E-07 .77306E-03 20 Prefactor 6.8162 1.5664 -.30717E-07 .23132E-01 21 Prefactor 1.2820 1.5882 -.21963E-07 -.78586E-03 22 Prefactor .66070E-05 7.1839 -.24643E-06** at limit ** 23 norm 3.6498 1.2130 -.23439E-07 -.77692E-02 24 norm 6.0187 .57617 -.14421E-07 -.24030E-01 25 norm 4.7896 2.1282 -.37246E-07 -.58944E-02 26 Prefactor .22204E-09 2.7888 .13481E-08** at limit ** 27 Prefactor 13.138 36.972 -.10261E-05 .45561E-02 28 Prefactor .41356E-07 5.3473 -.12747E-06** at limit ** 29 Prefactor 1.4811 7.1923 -.61691E-06 -.24755E-02 30 Normalizat .88248 .92472E-01 .33219E-07 -.34595E-04 31 Prefactor 1.0495 .76400E-01 .19782E-06 -.87539E-04 ERR DEF= .500 Final values: Prefactor = 1.70475e-07 Prefactor = 1.11022e-10 Prefactor = 8.0393 Prefactor = 2.92821e-07 Prefactor = 23.6598 norm = 2.16921 Prefactor = 26.8742 Prefactor = 3.61616e-06 norm = 6.7102 Prefactor = 3.56548e-07 Prefactor = 1.49017 Prefactor = 1.66533e-10 norm = 6.44941 Prefactor = 3.46536 norm = 3.52754 Prefactor = 2.22045e-10 Prefactor = 0.557617 Prefactor = 1.37775 Prefactor = 4.60881 Prefactor = 6.81621 Prefactor = 1.28198 Prefactor = 6.60699e-06 norm = 3.64977 norm = 6.0187 norm = 4.78959 Prefactor = 2.22045e-10 Prefactor = 13.1377 Prefactor = 4.13558e-08 Prefactor = 1.4811 Normalizat = 0.88248 Prefactor = 1.04949 ********** ** 18 **HESSE ********** FCN= 34398.25 FROM HESSE STATUS=OK 698 CALLS 3040 TOTAL EDM= .48E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .17047E-06 6.6629 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .11102E-09 2.7205 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 8.0393 10.790 .35365E-03 -1.5651 4 Prefactor .29282E-06 7.1322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 23.660 11.781 .20588E-03 -1.5611 6 norm 2.1692 1.0219 .69835E-04 -1.5679 7 Prefactor 26.874 20.595 .19663E-03 -1.5604 8 Prefactor .36162E-05 17.199 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 6.7102 5.8190 .38677E-03 -1.5656 10 Prefactor .35655E-06 12.209 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.4902 2.5729 .87872E-03 -1.5684 12 Prefactor .16653E-09 5.2534 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 6.4494 3.3698 .39510E-03 -1.5657 14 Prefactor 3.4654 5.6363 .54245E-03 -1.5671 15 norm 3.5275 .45634 .53802E-03 -1.5670 16 Prefactor .22204E-09 1.3877 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .55762 1.2569 .72180E-03 -1.5693 18 Prefactor 1.3777 4.3577 .91799E-03 -1.5684 19 Prefactor 4.6088 2.5382 .46879E-03 -1.5665 20 Prefactor 6.8162 15.953 .39380E-03 -1.5656 21 Prefactor 1.2820 1.6160 .97974E-03 -1.5685 22 Prefactor .66070E-05 15.478 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 3.6498 1.2167 .52854E-03 -1.5670 24 norm 6.0187 .59900 .40892E-03 -1.5659 25 norm 4.7896 2.1896 .45975E-03 -1.5664 26 Prefactor .22204E-09 2.8032 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 13.138 37.416 .25199E-03 -1.5635 28 Prefactor .41356E-07 .94592 .55058E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor 1.4811 7.5152 .88290E-03 -1.5684 30 Normalizat .88248 .81680E-01 .64162E-01 -.97079 31 Prefactor 1.0495 .65920E-01 .39978E-01 -.91097 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.78399e-06 Minuit parameter uncertainties: 1 0.00213156 2 3.77295e-05 3 10.7902 4 0.00289032 5 11.7807 6 1.02193 7 20.5947 8 0.0157728 9 5.81895 10 0.00417267 11 2.57285 12 5.91987e-05 13 3.3698 14 5.63635 15 0.456341 16 3.67206e-05 17 1.25689 18 4.35769 19 2.53818 20 15.9527 21 1.61604 22 0.0202253 23 1.21671 24 0.598999 25 2.1896 26 4.97328e-05 27 37.4164 28 0.000395597 29 6.67256 30 0.0816916 31 0.0659247 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34398.2456909 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 1.665e-10 5.920e-05 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 1.049e+00 6.592e-02 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 8.825e-01 8.169e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 1.41261884505e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00107078399528 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/28636443/likelihoodResults_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.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) = 34398.288177 delta logL = -0.0424861569263 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 34398.2456909 delta logL = -7.67322489992e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14341E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.2742 1.0000 .0000 10.000 3 'Normalizat' .88248 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0495 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 34398.25 FROM MIGRAD STATUS=CONVERGED 43 CALLS 209 TOTAL EDM= .18E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 5.7355 .42118E-03** at limit ** 2 Index 2.0874 1.3199 -.26294E-04 .0000 3 Normalizat .88248 1.2186 -.57906E-05 -.31523E-04 4 Prefactor 1.0495 1.1918 .48908E-05 .19769E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.08735 Normalizat = 0.882479 Prefactor = 1.04949 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 34398.25 FROM HESSE STATUS=FAILED 9 CALLS 218 TOTAL EDM= .18E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 5.7355 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .47403 1.7712 -.26294E-04 -.62184 3 Normalizat .88248 1.2186 -.57906E-05 -.97079 4 Prefactor 1.0495 1.1918 .48908E-05 -.91097 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.8138e-12 Minuit parameter uncertainties: 1 8.78672e-06 2 1.34423 3 1.26009 4 1.22409 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) = 34398.2456909 delta logL = 2.18278728426e-11 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 0.000e+00 8.787e-06 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 2.087e+00 1.344e+00 0.000e+00 1.000e+01 (-1.000e+00) 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 1.049e+00 1.224e+00 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 8.825e-01 1.260e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.082 68.848 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/28636443/cmap_HighResolution_711936001_712540801_4FGL_J1640.3+6850_weekly_bin782.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-03', job_status='DONE', photon_flux_upper_limit='1.41e-08', time_completed='2023-09-20 05:54:31.325468', job_id='28636443', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1695214471.33', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='782' AND source_name='4FGL J1640.3+6850' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Sep 20 05:54:31 PDT 2023