/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 = 17462 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.3+6850_weekly_bin796 RA = 250.082, Dec = 68.8483 tmin = 720403201, tmax = 721008001 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='33183113', job_status='RUN', time_executed='2023-11-07 01:00:59.077293', time_epoch_executed='1699347659.08' WHERE source_name='4FGL J1640.3+6850' and cadence='weekly' and bin_id='796' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/33183113 Creating custom pfile directory: /lscratch/kocevski/33183113/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=720403201.0 && nMetStart<721008001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=720403201.0 && nMetStart<721008001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/33183113/ft1_4FGL_J1640.3+6850_weekly_bin796.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=720403201.0 && nMetStart<721008001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/33183113/ft1_4FGL_J1640.3+6850_weekly_bin796.fits outfile=/lscratch/kocevski/33183113/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin796.fits ra=250.082 dec=68.8483 rad=12.0 tmin=720403201.0 tmax=721008001.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.55 user 4.20 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.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/33183113/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin796.fits evtable="EVENTS" outfile="/lscratch/kocevski/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.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.39 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 1872 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33183113/ltcube_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.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/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits .....................! real 18.49 user 18.08 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits evtable="EVENTS" scfile=/lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33183113/ltcube_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.fits outfile=/lscratch/kocevski/33183113/expmap_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.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/33183113/ltcube_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.fits .....................! real 66.28 user 62.12 sys 3.71 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/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits scfile=/lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits outfile=/lscratch/kocevski/33183113/cmap_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.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.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits scfile=/lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits outfile=/lscratch/kocevski/33183113/cmap_HighResolution_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.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.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits evtable="EVENTS" scfile=/lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33183113/Model_4FGL_J1640.3+6850_weekly_bin796.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/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits.....................! real 66.62 user 65.37 sys 0.77 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits', '/lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits', expMap='/lscratch/kocevski/33183113/expmap_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.fits', expCube='/lscratch/kocevski/33183113/ltcube_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33183113/Model_4FGL_J1640.3+6850_weekly_bin796.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/33183113/ft1_filtered_4FGL_J1640.3+6850_weekly_bin796.fits Spacecraft file(s): /lscratch/kocevski/33183113/ft2_4FGL_J1640.3+6850_weekly_bin796.fits Exposure map: /lscratch/kocevski/33183113/expmap_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.fits Exposure cube: /lscratch/kocevski/33183113/ltcube_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33183113/Model_4FGL_J1640.3+6850_weekly_bin796.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) = 19815.580122 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19815.5752412 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .77462E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .22210E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .13855E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' 44.181 1.0000 .0000 .10000E+07 5 'Prefactor ' 13.716 1.0000 .0000 .10000E+07 6 'norm ' 1.3173 1.0000 .0000 .10000E+07 7 'Prefactor ' .14860E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' 16.878 1.0000 .0000 .10000E+07 9 'norm ' .12305E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .30879E-01 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.9658 1.0000 .0000 .10000E+07 12 'Prefactor ' .73832E-02 1.0000 .0000 .10000E+07 13 'norm ' .19030 1.0000 .0000 .10000E+07 14 'Prefactor ' .22687E-03 1.0000 .0000 .10000E+07 15 'norm ' .72382E-01 1.0000 .0000 .10000E+07 16 'Prefactor ' 4.2919 1.0000 .0000 .10000E+07 17 'Prefactor ' .15804E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 13.625 1.0000 .0000 .10000E+07 19 'Prefactor ' .56634E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 21.055 1.0000 .0000 .10000E+07 21 'Prefactor ' 2.2004 1.0000 .0000 .10000E+07 22 'Prefactor ' .80226E-03 1.0000 .0000 .10000E+07 23 'norm ' 5.1320 1.0000 .0000 .10000E+07 24 'norm ' 3.4884 1.0000 .0000 .10000E+07 25 'norm ' 3.7997 1.0000 .0000 .10000E+07 26 'Prefactor ' .58534E-03 1.0000 .0000 .10000E+07 27 'Prefactor ' .49030E-02 1.0000 .0000 .10000E+07 28 'Prefactor ' .39062 1.0000 .0000 .10000E+07 29 'Prefactor ' 4.1847 1.0000 .0000 .10000E+07 30 'Normalizat' 1.0393 1.0000 .10000E-01 10.000 31 'Prefactor ' 1.0619 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= 19815.57 FROM MIGRAD STATUS=CONVERGED 234 CALLS 3068 TOTAL EDM= .34E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 12.299 .16089E-06** at limit ** 2 Prefactor .0000 6.7972 .44469E-08** at limit ** 3 Prefactor .0000 4.6268 .23702E-07** at limit ** 4 Prefactor 44.130 6.8836 -.47405E-06 .54344E-01 5 Prefactor 13.719 12.184 .25008E-05 .80975E-02 6 norm 1.3170 1.1292 .40763E-10 .39614E-02 7 Prefactor .63480E-05 64.071 .10593E-05** at limit ** 8 Prefactor 16.901 1.9602 -.27445E-06 .89567E-02 9 norm .0000 8.3685 -.17536E-06** at limit ** 10 Prefactor .55511E-10 28.373 .84794E-08** at limit ** 11 Prefactor 5.9957 4.8294 .43149E-09 -.72470E-04 12 Prefactor .66058E-08 23.993 -.10036E-05** at limit ** 13 norm .18547 29.790 .17749E-06** at limit ** 14 Prefactor .90539E-07 20.765 .21826E-05** at limit ** 15 norm .73881E-01 .44175 -.71012E-08** at limit ** 16 Prefactor 4.2568 4.7164 .29834E-07 .11022E-02 17 Prefactor .0000 .43536 -.17592E-07** at limit ** 18 Prefactor 13.571 8.7902 .17321E-07 .44671E-03 19 Prefactor .55511E-10 5.1576 .53105E-07** at limit ** 20 Prefactor 21.056 1.5495 -.15196E-06 .13599E-02 21 Prefactor 2.2129 5.5100 .64049E-07 -.59831E-03 22 Prefactor .26645E-08 17.328 -.99141E-06** at limit ** 23 norm 5.1324 1.6828 .11793E-08 -.88710E-03 24 norm 3.4884 .59909 .37287E-08 -.57749E-02 25 norm 3.7957 2.4085 -.61836E-08 .73520E-03 26 Prefactor .16180E-04 52.291 .22134E-05** at limit ** 27 Prefactor .10802E-06 125.57 -.18843E-05** at limit ** 28 Prefactor .40977 7.3530 .19752E-06 .25414E-02 29 Prefactor 4.2344 6.6269 -.79817E-08 .35793E-03 30 Normalizat 1.0394 .12863 -.79523E-06 -.33594E-04 31 Prefactor 1.0618 .10277 -.13209E-06 -.74713E-04 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 0 Prefactor = 0 Prefactor = 44.1297 Prefactor = 13.719 norm = 1.31701 Prefactor = 6.34798e-06 Prefactor = 16.9009 norm = 0 Prefactor = 5.55112e-11 Prefactor = 5.99569 Prefactor = 6.60583e-09 norm = 0.185469 Prefactor = 9.05387e-08 norm = 0.0738806 Prefactor = 4.2568 Prefactor = 0 Prefactor = 13.571 Prefactor = 5.55112e-11 Prefactor = 21.0557 Prefactor = 2.21291 Prefactor = 2.66454e-09 norm = 5.13238 norm = 3.48836 norm = 3.79569 Prefactor = 1.61797e-05 Prefactor = 1.08025e-07 Prefactor = 0.409769 Prefactor = 4.23441 Normalizat = 1.03943 Prefactor = 1.06181 ********** ** 18 **HESSE ********** FCN= 19815.57 FROM HESSE STATUS=OK 700 CALLS 3768 TOTAL EDM= .83E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 12.332 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 6.8044 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 4.6453 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 44.130 26.864 .15046E-03 -1.5575 5 Prefactor 13.719 12.354 .27020E-03 -1.5634 6 norm 1.3170 1.1168 .95899E-03 -1.5685 7 Prefactor .63480E-05 101.21 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 16.901 14.444 .24352E-03 -1.5626 9 norm .0000 8.3715 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .55511E-10 28.473 .16404E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.9957 4.8381 .41087E-03 -1.5659 12 Prefactor .66058E-08 24.389 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .18547 2.6934 .72996E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .90539E-07 21.480 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .73881E-01 .21534 .20577E-02 -1.5713 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 4.2568 4.7364 .48606E-03 -1.5667 17 Prefactor .0000 .43392 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 13.571 8.4690 .27110E-03 -1.5634 19 Prefactor .55511E-10 5.0971 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 21.056 13.894 .21799E-03 -1.5616 21 Prefactor 2.2129 5.5285 .69335E-03 -1.5678 22 Prefactor .26645E-08 17.397 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.1324 1.6830 .44356E-03 -1.5663 24 norm 3.4884 .61005 .54112E-03 -1.5671 25 norm 3.7957 2.4486 .51760E-03 -1.5669 26 Prefactor .16180E-04 133.52 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10802E-06 127.00 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor .40977 1.8924 .57886E-02 -1.5695 29 Prefactor 4.2344 6.7083 .49242E-03 -1.5667 30 Normalizat 1.0394 .11111 .62194E-01 -.91721 31 Prefactor 1.0618 .87914E-01 .39260E-01 -.90697 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.28699e-07 Minuit parameter uncertainties: 1 2.92186e-05 2 1.32525e-05 3 1.34602e-05 4 26.8642 5 12.3542 6 1.1168 7 0.0506957 8 14.4443 9 6.90077e-06 10 5.90689e-05 11 4.83806 12 0.000803207 13 1.41358 14 0.00278926 15 0.215339 16 4.73645 17 3.33307e-06 18 8.46905 19 3.48741e-05 20 13.8935 21 5.52851 22 0.000428674 23 1.683 24 0.610053 25 2.44861 26 0.0929607 27 0.00740715 28 1.76121 29 6.70831 30 0.111139 31 0.0879261 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19815.5737495 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 6.606e-09 8.032e-04 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.062e+00 8.793e-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: 1.039e+00 1.111e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 2.86164652363e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00216916637378 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33183113/likelihoodResults_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.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) = 19815.5946649 delta logL = -0.020915426554 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19815.5682967 delta logL = 0.00545281548693 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .35557 1.0000 .0000 .10000E+07 2 'Index ' 2.9672 1.0000 .0000 10.000 3 'Normalizat' 1.0378 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0620 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. FCN= 19815.57 FROM MIGRAD STATUS=CONVERGED 70 CALLS 247 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .35338 1.6037 .60205E-02 .15632E-01 2 Index 2.9723 .10887 .50000 .10367E-05 3 Normalizat 1.0377 .27133E-02 .62241E-01 .45931E-04 4 Prefactor 1.0621 .22124E-02 .39251E-01 .26870E-04 ERR DEF= .500 Final values: Prefactor = 0.353378 Index = 2.97232 Normalizat = 1.03769 Prefactor = 1.06209 ********** ** 18 **HESSE ********** FCN= 19815.57 FROM HESSE STATUS=NOT POSDEF 35 CALLS 282 TOTAL EDM= .25E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .35338 1561.8 .34884E-03 -1.5696 2 Index 2.9723 5.8292 .32811E-02 -.41757 3 Normalizat 1.0377 .83158E-01 .27528E-03 -.91778 4 Prefactor 1.0621 .64062E-01 .22110E-03 -.90688 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.4504e-05 Minuit parameter uncertainties: 1 46.998 2 37.378 3 0.0831682 4 0.0640669 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) = 19815.5682953 delta logL = 0.0054542153739 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.534e-01 4.700e+01 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 2.972e+00 3.738e+01 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.062e+00 6.407e-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: 1.038e+00 8.317e-02 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/33183113/cmap_HighResolution_720403201_721008001_4FGL_J1640.3+6850_weekly_bin796.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-03', job_status='DONE', photon_flux_upper_limit='2.86e-08', time_completed='2023-11-07 01:17:13.339672', job_id='33183113', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1699348633.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.45e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='796' AND source_name='4FGL J1640.3+6850' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 7 01:17:13 PST 2023