/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 = 17127 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.3+6850_weekly_bin791 RA = 250.082, Dec = 68.8483 tmin = 717379201, tmax = 717984001 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='29832278', job_status='RUN', time_executed='2023-10-03 01:01:04.011203', time_epoch_executed='1696320064.01' WHERE source_name='4FGL J1640.3+6850' and cadence='weekly' and bin_id='791' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/29832278 Creating custom pfile directory: /lscratch/kocevski/29832278/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=717379201.0 && nMetStart<717984001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=717379201.0 && nMetStart<717984001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/29832278/ft1_4FGL_J1640.3+6850_weekly_bin791.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=717379201.0 && nMetStart<717984001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/29832278/ft1_4FGL_J1640.3+6850_weekly_bin791.fits outfile=/lscratch/kocevski/29832278/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin791.fits ra=250.082 dec=68.8483 rad=12.0 tmin=717379201.0 tmax=717984001.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.68 user 4.33 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.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/29832278/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin791.fits evtable="EVENTS" outfile="/lscratch/kocevski/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.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.21 sys 0.13 Number of photons that the gtmktime cut: 1989 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits" evtable="EVENTS" scfile=/lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits sctable="SC_DATA" outfile=/lscratch/kocevski/29832278/ltcube_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.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/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits .....................! real 17.78 user 17.38 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits evtable="EVENTS" scfile=/lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits sctable="SC_DATA" expcube=/lscratch/kocevski/29832278/ltcube_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.fits outfile=/lscratch/kocevski/29832278/expmap_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.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/29832278/ltcube_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.fits .....................! real 65.96 user 61.55 sys 3.97 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/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits scfile=/lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits outfile=/lscratch/kocevski/29832278/cmap_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.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.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits scfile=/lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits outfile=/lscratch/kocevski/29832278/cmap_HighResolution_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.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.39 user 0.21 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits evtable="EVENTS" scfile=/lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/29832278/Model_4FGL_J1640.3+6850_weekly_bin791.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/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits.....................! real 68.00 user 66.71 sys 0.82 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits', '/lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits', expMap='/lscratch/kocevski/29832278/expmap_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.fits', expCube='/lscratch/kocevski/29832278/ltcube_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/29832278/Model_4FGL_J1640.3+6850_weekly_bin791.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/29832278/ft1_filtered_4FGL_J1640.3+6850_weekly_bin791.fits Spacecraft file(s): /lscratch/kocevski/29832278/ft2_4FGL_J1640.3+6850_weekly_bin791.fits Exposure map: /lscratch/kocevski/29832278/expmap_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.fits Exposure cube: /lscratch/kocevski/29832278/ltcube_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/29832278/Model_4FGL_J1640.3+6850_weekly_bin791.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) = 20941.0170414 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20941.0155536 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14367E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .50509E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .22971E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' 10.465 1.0000 .0000 .10000E+07 5 'Prefactor ' 9.7702 1.0000 .0000 .10000E+07 6 'norm ' 2.5376 1.0000 .0000 .10000E+07 7 'Prefactor ' 46.735 1.0000 .0000 .10000E+07 8 'Prefactor ' .16933E-02 1.0000 .0000 .10000E+07 9 'norm ' 22.188 1.0000 .0000 .10000E+07 10 'Prefactor ' .16727E-01 1.0000 .0000 .10000E+07 11 'Prefactor ' 4.7215 1.0000 .0000 .10000E+07 12 'Prefactor ' .89224E-03 1.0000 .0000 .10000E+07 13 'norm ' 4.5753 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.9034 1.0000 .0000 .10000E+07 15 'norm ' 3.8617 1.0000 .0000 .10000E+07 16 'Prefactor ' 1.2809 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.2031 1.0000 .0000 .10000E+07 18 'Prefactor ' 9.2578 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.5730 1.0000 .0000 .10000E+07 20 'Prefactor ' .11762E-01 1.0000 .0000 .10000E+07 21 'Prefactor ' .28311E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' .18738E-04 1.0000 .0000 .10000E+07 23 'norm ' 2.3411 1.0000 .0000 .10000E+07 24 'norm ' 1.4807 1.0000 .0000 .10000E+07 25 'norm ' 2.3303 1.0000 .0000 .10000E+07 26 'Prefactor ' .53388E-02 1.0000 .0000 .10000E+07 27 'Prefactor ' 75.137 1.0000 .0000 .10000E+07 28 'Prefactor ' 4.2946 1.0000 .0000 .10000E+07 29 'Prefactor ' .32607E-04 1.0000 .0000 .10000E+07 30 'Normalizat' 1.0421 1.0000 .10000E-01 10.000 31 'Prefactor ' .94649 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= 20941.01 FROM MIGRAD STATUS=CONVERGED 191 CALLS 2989 TOTAL EDM= .48E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16609E-06 10.285 .34549E-06** at limit ** 2 Prefactor .55511E-10 3.5668 .78035E-07** at limit ** 3 Prefactor .11102E-09 7.1046 -.14839E-07** at limit ** 4 Prefactor 10.450 1.3853 -.38642E-08 -.27381E-02 5 Prefactor 9.7749 2.6028 .35233E-06 -.99930E-02 6 norm 2.5389 1.3218 .11678E-06 .13890E-02 7 Prefactor 46.505 36.447 -.31286E-06 -.12509 8 Prefactor .0000 5.4970 .86848E-09** at limit ** 9 norm 22.189 10.557 -.69709E-06 -.36434E-01 10 Prefactor .11102E-09 23.429 -.56903E-08** at limit ** 11 Prefactor 4.6667 4.3932 .86932E-07 -.35812E-03 12 Prefactor .11008E-06 5.4709 .46204E-06** at limit ** 13 norm 4.5665 4.7128 .51467E-07 -.37348E-03 14 Prefactor 1.8834 9.2714 -.27471E-06 -.85349E-03 15 norm 3.8614 .68860 .42844E-07 -.63765E-02 16 Prefactor 1.2870 4.8355 .18423E-06 .57070E-03 17 Prefactor 2.2037 1.4706 .79719E-07 .46415E-03 18 Prefactor 9.2573 9.4610 -.13400E-05 -.27034E-01 19 Prefactor 2.5788 3.5344 .15320E-06 -.53366E-03 20 Prefactor .26201E-07 24.472 .12272E-05** at limit ** 21 Prefactor .0000 2.2805 -.12342E-06** at limit ** 22 Prefactor .22315E-06 10.788 -.14353E-06** at limit ** 23 norm 2.3407 1.1972 .79587E-07 .53801E-02 24 norm 1.4807 .41241 -.32081E-07 -.34931E-02 25 norm 2.3296 2.1961 -.23187E-06 .17965E-02 26 Prefactor .43854E-08 10.784 -.73212E-06** at limit ** 27 Prefactor 75.435 48.689 .81284E-06 -.12240 28 Prefactor 4.2865 3.2715 -.34415E-07 .66309E-03 29 Prefactor .18285E-06 6.6374 -.55799E-06** at limit ** 30 Normalizat 1.0425 .12181 .45215E-05 -.50368E-04 31 Prefactor .94629 .96343E-01 -.29566E-05 -.89921E-04 ERR DEF= .500 Final values: Prefactor = 1.66089e-07 Prefactor = 5.55112e-11 Prefactor = 1.11022e-10 Prefactor = 10.4499 Prefactor = 9.7749 norm = 2.53885 Prefactor = 46.5048 Prefactor = 0 norm = 22.1894 Prefactor = 1.11022e-10 Prefactor = 4.66669 Prefactor = 1.10079e-07 norm = 4.56652 Prefactor = 1.88338 norm = 3.8614 Prefactor = 1.28698 Prefactor = 2.20366 Prefactor = 9.25728 Prefactor = 2.57881 Prefactor = 2.62013e-08 Prefactor = 0 Prefactor = 2.23155e-07 norm = 2.34073 norm = 1.48068 norm = 2.32962 Prefactor = 4.38538e-09 Prefactor = 75.435 Prefactor = 4.28645 Prefactor = 1.82854e-07 Normalizat = 1.04245 Prefactor = 0.946291 ********** ** 18 **HESSE ********** FCN= 20941.01 FROM HESSE STATUS=OK 688 CALLS 3677 TOTAL EDM= .29E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16609E-06 14.678 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .55511E-10 3.5708 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .11102E-09 7.1089 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 10.450 18.648 .30948E-03 -1.5643 5 Prefactor 9.7749 12.934 .32035E-03 -1.5645 6 norm 2.5389 1.3319 .64085E-03 -1.5676 7 Prefactor 46.505 48.414 .14629E-03 -1.5572 8 Prefactor .0000 5.4948 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 22.189 10.753 .21235E-03 -1.5614 10 Prefactor .11102E-09 23.442 .17262E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 4.6667 4.3960 .46285E-03 -1.5665 12 Prefactor .11008E-06 15.727 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 4.5665 4.7440 .47036E-03 -1.5665 14 Prefactor 1.8834 9.3748 .75346E-03 -1.5681 15 norm 3.8614 .69337 .51327E-03 -1.5669 16 Prefactor 1.2870 4.9131 .98025E-03 -1.5685 17 Prefactor 2.2037 1.4837 .69286E-03 -1.5678 18 Prefactor 9.2573 9.5585 .32914E-03 -1.5647 19 Prefactor 2.5788 3.5585 .63605E-03 -1.5676 20 Prefactor .26201E-07 24.404 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .0000 2.2797 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .22315E-06 17.002 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 2.3407 1.2019 .66981E-03 -1.5677 24 norm 1.4807 .41340 .88170E-03 -1.5684 25 norm 2.3296 2.2244 .67152E-03 -1.5677 26 Prefactor .43854E-08 10.791 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 75.435 73.622 .11537E-03 -1.5534 28 Prefactor 4.2865 3.3115 .48590E-03 -1.5667 29 Prefactor .18285E-06 19.278 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Normalizat 1.0425 .10461 .59956E-01 -.91622 31 Prefactor .94629 .82163E-01 .45595E-01 -.94542 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.94879e-06 Minuit parameter uncertainties: 1 0.00312277 2 2.21575e-05 3 5.5628e-05 4 18.6479 5 12.9337 6 1.33186 7 48.4145 8 1.82386e-05 9 10.7529 10 8.86814e-05 11 4.39605 12 0.00263135 13 4.74403 14 8.40392 15 0.693374 16 4.91308 17 1.48373 18 9.55851 19 3.5585 20 0.00159884 21 1.01569e-05 22 0.00389556 23 1.20192 24 0.413401 25 2.2244 26 0.000435659 27 73.6228 28 3.31147 29 0.00375513 30 0.104626 31 0.0821743 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20941.0143476 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 1.101e-07 2.631e-03 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: 9.463e-01 8.217e-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.042e+00 1.046e-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.37263631445e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00179849008884 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/29832278/likelihoodResults_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.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) = 20941.0470444 delta logL = -0.0326967706642 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 20941.0143479 delta logL = -2.43046088144e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14189E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.0641 1.0000 .0000 10.000 3 'Normalizat' 1.0425 1.0000 .10000E-01 10.000 4 'Prefactor ' .94624 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= 20941.01 FROM MIGRAD STATUS=CONVERGED 29 CALLS 200 TOTAL EDM= .37E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 15.007 -.97276E-06** at limit ** 2 Index 2.2626 3.1088 .23169E-04 .0000 3 Normalizat 1.0425 .11512 .70331E-05 -.10569E-03 4 Prefactor .94629 .94951E-01 -.48843E-05 -.67690E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.26262 Normalizat = 1.04245 Prefactor = 0.946292 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 20941.01 FROM HESSE STATUS=FAILED 11 CALLS 211 TOTAL EDM= .37E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 14.799 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .56838 1.9013 .23169E-04 -.57935 3 Normalizat 1.0425 1.2147 .70331E-05 -.91622 4 Prefactor .94629 1.2887 -.48843E-05 -.94542 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 3.74899e-12 Minuit parameter uncertainties: 1 3.55533e-05 2 1.638 3 1.24954 4 1.33448 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) = 20941.0143476 delta logL = 3.48518369719e-09 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 0.000e+00 3.555e-05 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 2.263e+00 1.638e+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: 9.463e-01 1.334e+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: 1.042e+00 1.250e+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/29832278/cmap_HighResolution_717379201_717984001_4FGL_J1640.3+6850_weekly_bin791.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.80e-03', job_status='DONE', photon_flux_upper_limit='2.37e-08', time_completed='2023-10-03 01:16:11.929985', job_id='29832278', GAL2='0.95', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1696320971.93', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.49e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='791' AND source_name='4FGL J1640.3+6850' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 3 01:16:11 PDT 2023