/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 CAUTION: tmpfile /tmp/mnKxg0_cint can't open Error: could not create file /tmp/mnKxg0_cint CAUTION: tmpfile /tmp/jVnbq9_cint can't open Error: could not create file /tmp/jVnbq9_cint CAUTION: tmpfile /tmp/E8v5EF_cint can't open Error: could not create file /tmp/E8v5EF_cint CAUTION: tmpfile /tmp/nb7gOC_cint can't open Error: could not create file /tmp/nb7gOC_cint CAUTION: tmpfile /tmp/K6LCcT_cint can't open Error: could not create file /tmp/K6LCcT_cint 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 = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1959.0+3844_weekly_bin780 RA = 299.766, Dec = 38.7368 tmin = 710726401, tmax = 711331201 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='19665088', job_status='RUN', time_executed='2023-07-18 01:55:29.587482', time_epoch_executed='1689670529.59' WHERE source_name='4FGL J1959.0+3844' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19665088 Creating custom pfile directory: /lscratch/kocevski/19665088/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19665088/ft1_4FGL_J1959.0+3844_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19665088/ft1_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665088/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits ra=299.766 dec=38.7368 rad=12.0 tmin=710726401.0 tmax=711331201.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.69 user 3.62 sys 0.30 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.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/19665088/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.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 1.01 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 11122 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATAnumber of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1959.0+3844_weekly_bin780 RA = 299.766, Dec = 38.7368 tmin = 710726401, tmax = 711331201 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='19665118', job_status='RUN', time_executed='2023-07-18 01:55:36.725532', time_epoch_executed='1689670536.73' WHERE source_name='4FGL J1959.0+3844' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19665118 Creating custom pfile directory: /lscratch/kocevski/19665118/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19665118/ft1_4FGL_J1959.0+3844_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19665118/ft1_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665118/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits ra=299.766 dec=38.7368 rad=12.0 tmin=710726401.0 tmax=711331201.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.84 user 3.71 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.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/19665118/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.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 1.15 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 11122 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19665088/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits .....................! real 16.65 user 15.60 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19665088/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665088/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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/19665088/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits .....................! real 62.19 user 57.26 sys 3.86 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 Extended source gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 210 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1959.0+3844 @ 299.766 38.7368 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits scfile=/lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665088/cmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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=299.766 yref=38.7368 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 1.11 user 0.21 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits scfile=/lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665088/cmap_HighResolution_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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=299.766 yref=38.7368 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 1.09 user 0.22 sys 0.13 Computing the diffus" outfile=/lscratch/kocevski/19665118/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits .....................! real 16.65 user 15.66 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19665118/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665118/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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/19665118/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits .....................! real 62.71 user 57.73 sys 3.80 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 Extended source gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 210 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1959.0+3844 @ 299.766 38.7368 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits scfile=/lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665118/cmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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=299.766 yref=38.7368 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 1.17 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits scfile=/lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19665118/cmap_HighResolution_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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=299.766 yref=38.7368 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 1.21 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19663470/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19663470/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19663470/Model_4FGL_J1959.0+3844_weekly_bin780.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 Cygnus Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19663470/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits.....................! real 683.52 user 677.60 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19663470/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits', '/lscratch/kocevski/19663470/ft2_4FGL_J1959.0+3844_weekly_bin780.fits', expMap='/lscratch/kocevski/19663470/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', expCube='/lscratch/kocevski/19663470/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19663470/Model_4FGL_J1959.0+3844_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1959.0+3844' 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 1.304e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19663470/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19663470/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Exposure map: /lscratch/kocevski/19663470/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19663470/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19663470/Model_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3131359 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1690359 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.5281 1.0000 .0000 .10000E+07 2 'Prefactor ' .73727 1.0000 .0000 .10000E+07 3 'norm ' .74276E-03 1.0000 .0000 .10000E+07 4 'norm ' .70154E-05 1.0000 .0000 .10000E+07 5 'Prefactor ' .37544E-02 1.0000 .0000 .10000E+07 6 'norm ' .20592E-04 1.0000 .0000 .10000E+07 7 'Prefactor ' .20356E-04 1.0000 .0000 .10000E+07 8 'norm ' 1.5280 1.0000 .0000 .10000E+07 9 'norm ' .11957E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.1212 1.0000 .10000E-03 10000. 11 'norm ' .36804E-06 1.0000 .0000 .10000E+07 12 'norm ' .67545E-04 1.0000 .0000 .10000E+07 13 'norm ' 13.775 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2305 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0172 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIDone. Performing analysis on: 4FGL_J1959.0+3844_weekly_bin780 RA = 299.766, Dec = 38.7368 tmin = 710726401, tmax = 711331201 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='19666762', job_status='RUN', time_executed='2023-07-18 02:04:47.671230', time_epoch_executed='1689671087.67' WHERE source_name='4FGL J1959.0+3844' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19666762 Creating custom pfile directory: /lscratch/kocevski/19666762/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19666762/ft1_4FGL_J1959.0+3844_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19666762/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19666762/ft1_4FGL_J1959.0+3844_weekly_bin780.fits outfile=/lscratch/kocevski/19666762/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits ra=299.766 dec=38.7368 rad=12.0 tmin=710726401.0 tmax=711331201.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" CAUTION: tmpfile /tmp/Q99f4P_cint can't open *** Break *** segmentation violation #0 0x00007f96ba1fe3cb in waitpid () from /lib64/libc.so.6 #1 0x00007f96ba15fbff in do_system () from /lib64/libc.so.6 #2 0x00007f96bc24cb0f in TUnixSystem::StackTrace (this=0x196b6d0) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/unix/src/TUnixSystem.cxx:2419 #3 0x00007f96bc24e73c in TUnixSystem::DispatchSignals (this=0x196b6d0, sig=kSigSegmentationViolation) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/unix/src/TUnixSystem.cxx:1294 #4 #5 0x00007f96ba18b800 in fgetpos GLIBC_2.2.5 () from /lib64/libc.so.6 #6 0x00007f96bb47cb92 in G__replacefuncmacro (callfuncmacro=0x1a89208, nosemic=nosemic entry=1, nobraces=1, def_pos=..., def_fp=0x1a86180, defpara=0x1a891f8, callpara=0x7ffc3efea660, item=0x1a63630 "G__DECL_IOFM(") at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/macro.cxx:338 #7 G__transfuncmacro (item=item entry=0x1a63630 "G__DECL_IOFM(", deffuncmacro=deffuncmacro entry=0x1a891d0, callfuncmacro=callfuncmacro entry=0x1a89208, call_pos=..., p=p entry=0x198149c "(hex,basefield)", nobraces=nobraces entry=1, nosemic=nosemic entry=1) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/macro.cxx:458 #8 0x00007f96bb47d095 in G__execfuncmacro_noexec (macroname=0x1a63630 "G__DECL_IOFM(") at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/macro.cxx:894 #9 0x00007f96bb4abf80 in G__exec_statement (mparen=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/parse.cxx:7065 #10 0x00007f96bb4248f5 in G__loadfile (filenamein=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/loadfile.cxx:2338 #11 0x00007f96bb4251aa in G__include_file () at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/loadfile.cxx:269 #12 0x00007f96bb4b34df in G__exec_statement (mparen=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/parse.cxx:6600 #13 0x00007f96bb501ed1 in G__define_struct (type=110 'n') at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/struct.cxx:751 #14 0x00007f96bb4b1ca5 in G__exec_statement (mparen=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/parse.cxx:6620 #15 0x00007f96bb4248f5 in G__loadfile (filenamein=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/loadfile.cxx:2338 #16 0x00007f96bb4251aa in G__include_file () at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/loadfile.cxx:269 #17 0x00007f96bb4b34df in G__exec_statement (mparen=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/parse.cxx:6600 #18 0x00007f96bb426e5d in G__exec_tempfile_core (file=file entry=0x0, fp=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/debug.cxx:266 #19 0x00007f96bb42836e in G__exec_tempfile_fp (fp=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/debug.cxx:807 #20 0x00007f96bb4bcc19 in G__process_cmd (line=, prompt=, more=, err=0x7ffc3eff064c, rslt=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/cint/cint/src/pause.cxx:3341 #21 0x00007f96bc211918 in TCint::ProcessLine (this=this entry=0x1971360, line=line entry=0x7f96bc356f6b "#include ", error=error entry=0x0) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/meta/src/TCint.cxx:588 #22 0x00007f96bc214287 in TCint::TCint (this=0x1971360, name=, title=) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/meta/src/TCint.cxx:351 #23 0x00007f96bc299ba3 in TROOT::TROOT (this=0x7f96bc6bc7c0 , name=0x7f96bc30dcc0 "root", title=, initfunc=0x0) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/base/src/TROOT.cxx:316 #24 0x00007f96bc29b084 in ROOT::GetROOT () at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/base/src/TROOT.cxx:206 #25 0x00007f96bbec66f0 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/base/src/TROOT.cxx:215 #26 _GLOBAL__sub_I_TROOT.cxx(void) () at /feedstock_root/build_artefacts/root5_1526511887783/work/root/core/base/src/TROOT.cxx:2258 #27 0x00007f96c5e0fe0a in call_init (l=, argc=argc entry=23, argv=argv entry=0x7ffc3eff0878, env=env entry=0x7ffc3eff0938) at dl-init.c:72 #28 0x00007f96c5e0ff0a in call_init (env=0x7ffc3eff0938, argv=0x7ffc3eff0878, argc=23, l=) at dl-init.c:30 #29 _dl_init (main_map=0x7f96c602a1f0, argc=23, argv=0x7ffc3eff0878, env=0x7ffc3eff0938) at dl-init.c:119 #30 0x00007f96c5e0101a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #31 0x0000000000000017 in ?? () #32 0x00007ffc3eff1dde in ?? () #33 0x00007ffc3eff1de7 in ?? () #34 0x00007ffc3eff1e33 in ?? () #35 0x00007ffc3eff1e8c in ?? () #36 0x00007ffc3eff1e97 in ?? () #37 0x00007ffc3eff1ea3 in ?? () #38 0x00007ffc3eff1eac in ?? () #39 0x00007ffc3eff1ebd in ?? () #40 0x00007ffc3eff1ece in ?? () #41 0x00007ffc3eff1ed9 in ?? () #42 0x00007ffc3eff1ee7 in ?? () #43 0x00007ffc3eff1ef0 in ?? () #44 0x00007ffc3eff1efa in ?? () #45 0x00007ffc3eff1f06 in ?? () #46 0x00007ffc3eff1f13 in ?? () #47 0x00007ffc3eff1f1f in ?? () #48 0x00007ffc3eff1f2c in ?? () #49 0x00007ffc3eff1f39 in ?? () #50 0x00007ffc3eff1f48 in ?? () #51 0x00007ffc3eff1f52 in ?? () #52 0x00007ffc3eff1f5e in ?? () #53 0x00007ffc3eff1f67 in ?? () #54 0x00007ffc3eff1f6e in ?? () #55 0x0000000000000000 in ?? () real 13.61 user 1.84 sys 0.43 [Errno 2] No such file or directory: '/lscratch/kocevski/19666762/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits' Traceback (most recent call last): File "/sdf/group/fermi/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py", line 2936, in sourceAnalysis ft1 = astro_fits.open(filteredEventsMKT) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/astropy/io/fits/hdu/hdulist.py", line 148, in fitsopen lazy_load_hdus, **kwargs) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/astropy/io/fits/hdu/hdulist.py", line 402, in fromfile lazy_load_hdus=lazy_load_hdus, **kwargs) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/astropy/io/fits/hdu/hdulist.py", line 1006, in _readfrom fileobj = _File(fileobj, mode=mode, memmap=memmap, cache=cache) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/astropy/utils/decorators.py", line 508, in wrapper return function(*args, **kwargs) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/astropy/io/fits/file.py", line 150, in __init__ self._open_filename(fileobj, mode, overwrite) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/astropy/io/fits/file.py", line 506, in _open_filename self._file = fileobj_open(self.name, IO_FITS_MODES[mode]) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/astropy/io/fits/util.py", line 395, in fileobj_open return open(filename, mode) IOError: [Errno 2] No such file or directory: '/lscratch/kocevski/19666762/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits' UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='[Errno 2] No such file or directory: '/lscratch/kocevski/19666762/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits'', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.777355', job_id='19666762' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='[Errno 2] No such file or directory: '/lscratch/kocevski/19666762/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits'', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.777355', job_id='19666762' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.77' at line 1 Traceback (most recent call last): File "/sdf/data/fermi/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand cursor.execute(command) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute self._handle_result(self._connection.cmd_query(stmt)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result raise errors.get_exception(packet) ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.77' at line 1 Command execution failed. Waiting 27.5719382401 seconds and trying again... UPDATE lightcurve_data_v2 SET job_status='shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory FAIL', comment='[Errno 2] No such file or directory: '/lscratch/kocevski/19666762/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits'', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.777355', job_id='19666762' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='[Errno 2] No such file or directory: '/lscratch/kocevski/19666762/ft1_filteredMKT_4FGL_J1959.0+3844_weekly_bin780.fits'', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.777355', job_id='19666762' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.77' at line 1 Traceback (most recent call last): File "/sdf/data/fermi/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand cursor.execute(command) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute self._handle_result(self._connection.cmd_query(stmt)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result raise errors.get_exception(packet) ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''', time_epoch_completed='1689671827.78', time_completed='2023-07-18 02:17:07.77' at line 1 Command execution failed. Waiting 2.523182696 seconds and trying again... Error: could not find cmap file: /lscratch/kocevski/19666762/cmap_HighResolution_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits Continuing... Cleaning up... ** Nuclear option initiated! ** Analysis Complete. Tue Jul 18 02:17:39 PDT 2023 ZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 89 CALLS 808 TOTAL EDM= .91E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3815 2.6085 -.18634E-07 .30702E-01 2 Prefactor .73579 1.1849 -.84353E-08 -.78123E-02 3 norm .99920E-09 5.6679 -.12148E-07** at limit ** 4 norm .88818E-09 2.5183 .33895E-07** at limit ** 5 Prefactor .94369E-09 5.4944 -.13933E-07** at limit ** 6 norm .22204E-09 2.4349 .37998E-08** at limit ** 7 Prefactor .0000 22.464 .50456E-06** at limit ** 8 norm 1.5291 1.0378 -.15193E-07 .35685E-03 9 norm .55511E-10 2.3997 -.37833E-07** at limit ** 10 Prefactor 2.1215 .16132 -.37397E-07 .46087E-03 11 norm .0000 .55219 -.12576E-07** at limit ** 12 norm .16653E-09 3.2407 -.58952E-07** at limit ** 13 norm 13.727 3.9018 -.23074E-07 .26191E-03 14 Normalizat 1.2306 .16924 -.54976E-06 -.71740E-05 15 Prefactor 1.0173 .17393E-01 .15301E-07 -.10355E-03 ERR DEF= .500 Final values: Prefactor = 6.38151 Prefactor = 0.735791 norm = 9.99201e-10 norm = 8.88178e-10 Prefactor = 9.4369e-10 norm = 2.22045e-10 Prefactor = 0 norm = 1.52914 norm = 5.55112e-11 Prefactor = 2.12154 norm = 0 norm = 1.66533e-10 norm = 13.7266 Normalizat = 1.23061 Prefactor = 1.01727 e response: time -p gtdiffrsp evfile=/lscratch/kocevski/19663935/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19663935/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19663935/Model_4FGL_J1959.0+3844_weekly_bin780.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 Cygnus Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19663935/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits.....................! real 682.71 user 676.65 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19663935/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits', '/lscratch/kocevski/19663935/ft2_4FGL_J1959.0+3844_weekly_bin780.fits', expMap='/lscratch/kocevski/19663935/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', expCube='/lscratch/kocevski/19663935/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19663935/Model_4FGL_J1959.0+3844_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1959.0+3844' 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 1.304e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19663935/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19663935/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Exposure map: /lscratch/kocevski/19663935/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19663935/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19663935/Model_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3131359 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1690359 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.5281 1.0000 .0000 .10000E+07 2 'Prefactor ' .73727 1.0000 .0000 .10000E+07 3 'norm ' .74276E-03 1.0000 .0000 .10000E+07 4 'norm ' .70154E-05 1.0000 .0000 .10000E+07 5 'Prefactor ' .37544E-02 1.0000 .0000 .10000E+07 6 'norm ' .20592E-04 1.0000 .0000 .10000E+07 7 'Prefactor ' .20356E-04 1.0000 .0000 .10000E+07 8 'norm ' 1.5280 1.0000 .0000 .10000E+07 9 'norm ' .11957E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.1212 1.0000 .10000E-03 10000. 11 'norm ' .36804E-06 1.0000 .0000 .10000E+07 12 'norm ' .67545E-04 1.0000 .0000 .10000E+07 13 'norm ' 13.775 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2305 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0172 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMI ********** ** 18 **HESSE ********** FCN= 96206.17 FROM HESSE STATUS=OK 210 CALLS 1018 TOTAL EDM= .57E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3815 8.5450 .39255E-03 -1.5657 2 Prefactor .73579 4.7470 .57733E-03 -1.5691 3 norm .99920E-09 11.082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .88818E-09 2.7736 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .94369E-09 11.135 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .22204E-09 2.5625 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 22.416 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 1.5291 1.0391 .86334E-03 -1.5683 9 norm .55511E-10 2.4046 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.1215 .16178 .70792E-02 -1.5417 11 norm .0000 .54935 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .16653E-09 3.2444 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 13.727 3.9033 .26961E-03 -1.5634 14 Normalizat 1.2306 .17508 .26895 -.85662 15 Prefactor 1.0173 .17398E-01 .28641E-01 -.92156 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.66898e-07 Minuit parameter uncertainties: 1 8.54504 2 3.73783 3 0.000210933 4 9.92455e-05 5 0.000202047 6 4.89965e-05 7 2.95615e-06 8 1.03912 9 1.64641e-05 10 0.161784 11 4.03254e-08 12 4.29784e-05 13 3.90328 14 0.175165 15 0.0173981 ZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 89 CALLS 808 TOTAL EDM= .91E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3815 2.6085 -.18634E-07 .30702E-01 2 Prefactor .73579 1.1849 -.84353E-08 -.78123E-02 3 norm .99920E-09 5.6679 -.12148E-07** at limit ** 4 norm .88818E-09 2.5183 .33895E-07** at limit ** 5 Prefactor .94369E-09 5.4944 -.13933E-07** at limit ** 6 norm .22204E-09 2.4349 .37998E-08** at limit ** 7 Prefactor .0000 22.464 .50456E-06** at limit ** 8 norm 1.5291 1.0378 -.15193E-07 .35685E-03 9 norm .55511E-10 2.3997 -.37833E-07** at limit ** 10 Prefactor 2.1215 .16132 -.37397E-07 .46087E-03 11 norm .0000 .55219 -.12576E-07** at limit ** 12 norm .16653E-09 3.2407 -.58952E-07** at limit ** 13 norm 13.727 3.9018 -.23074E-07 .26191E-03 14 Normalizat 1.2306 .16924 -.54976E-06 -.71740E-05 15 Prefactor 1.0173 .17393E-01 .15301E-07 -.10355E-03 ERR DEF= .500 Final values: Prefactor = 6.38151 Prefactor = 0.735791 norm = 9.99201e-10 norm = 8.88178e-10 Prefactor = 9.4369e-10 norm = 2.22045e-10 Prefactor = 0 norm = 1.52914 norm = 5.55112e-11 Prefactor = 2.12154 norm = 0 norm = 1.66533e-10 norm = 13.7266 Normalizat = 1.23061 Prefactor = 1.01727 ********** ** 18 **HESSE ********** FCN= 96206.17 FROM HESSE STATUS=OK 210 CALLS 1018 TOTAL EDM= .57E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3815 8.5450 .39255E-03 -1.5657 2 Prefactor .73579 4.7470 .57733E-03 -1.5691 3 norm .99920E-09 11.082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .88818E-09 2.7736 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .94369E-09 11.135 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .22204E-09 2.5625 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 22.416 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 1.5291 1.0391 .86334E-03 -1.5683 9 norm .55511E-10 2.4046 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.1215 .16178 .70792E-02 -1.5417 11 norm .0000 .54935 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .16653E-09 3.2444 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 13.727 3.9033 .26961E-03 -1.5634 14 Normalizat 1.2306 .17508 .26895 -.85662 15 Prefactor 1.0173 .17398E-01 .28641E-01 -.92156 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.66898e-07 Minuit parameter uncertainties: 1 8.54504 2 3.73783 3 0.000210933 4 9.92455e-05 5 0.000202047 6 4.89965e-05 7 2.95615e-06 8 1.03912 9 1.64641e-05 10 0.161784 11 4.03254e-08 12 4.29784e-05 13 3.90328 14 0.175165 15 0.0173981 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1685926 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 8.882e-10 9.925e-05 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.740e-02 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.752e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 299.766 38.737 Photon Flux Upper Limit: 5.19059708794e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.06553420388e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19663470/likelihoodResults_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3680936 delta logL = -0.19950107811 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 96206.1685956 delta logL = -3.08017479256e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10870E-04 1.0000 .0000 .10000E+07 2 'alpha ' .36675 1.0000 .0000 5.0000 3 'Normalizat' 1.2308 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0173 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 54 CALLS 237 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 .32705 .91751E-02** at limit ** 2 alpha .55103 .81731 .21488E-03 .0000 3 Normalizat 1.2306 1.0965 -.46151E-05 .76090E-05 4 Prefactor 1.0173 1.2443 .36107E-06 .53304E-03 ERR DEF= .500 Final values: norm = 0 alpha = 0.551031 Normalizat = 1.23061 Prefactor = 1.01727 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM HESSE STATUS=FAILED 7 CALLS 244 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 .32705 .91751E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha .34693E-01 .81731 .21488E-03 -.89401 3 Normalizat 1.2306 1.0965 -.46151E-05 -.85662 4 Prefactor 1.0173 1.2443 .36107E-06 -.92156 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 5.6371e-12 Minuit parameter uncertainties: 1 3.98067e-06 2 0.859884 3 1.11811 4 1.28246 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) = 96206.1685926 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 0.000e+00 3.981e-06 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 5.510e-01 8.599e-01 0.000e+00 5.000e+00 ( 1.000e+00) 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.282e+00 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.118e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 299.766 38.737 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /lscratch/kocevski/19663470/cmap_HighResolution_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2023-07-18 02:26:04.049737', job_id='19663470', GAL2='1.02', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1689672364.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:26:04 PDT 2023 e response: time -p gtdiffrsp evfile=/lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19665118/Model_4FGL_J1959.0+3844_weekly_bin780.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 Cygnus Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits.....................! real 692.57 user 685.51 sys 1.29 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits', '/lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits', expMap='/lscratch/kocevski/19665118/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', expCube='/lscratch/kocevski/19665118/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19665118/Model_4FGL_J1959.0+3844_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1959.0+3844' 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 1.304e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19665118/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19665118/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Exposure map: /lscratch/kocevski/19665118/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19665118/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19665118/Model_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3131359 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1690359 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.5281 1.0000 .0000 .10000E+07 2 'Prefactor ' .73727 1.0000 .0000 .10000E+07 3 'norm ' .74276E-03 1.0000 .0000 .10000E+07 4 'norm ' .70154E-05 1.0000 .0000 .10000E+07 5 'Prefactor ' .37544E-02 1.0000 .0000 .10000E+07 6 'norm ' .20592E-04 1.0000 .0000 .10000E+07 7 'Prefactor ' .20356E-04 1.0000 .0000 .10000E+07 8 'norm ' 1.5280 1.0000 .0000 .10000E+07 9 'norm ' .11957E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.1212 1.0000 .10000E-03 10000. 11 'norm ' .36804E-06 1.0000 .0000 .10000E+07 12 'norm ' .67545E-04 1.0000 .0000 .10000E+07 13 'norm ' 13.775 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2305 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0172 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1685926 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 8.882e-10 9.925e-05 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.740e-02 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.752e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 299.766 38.737 Photon Flux Upper Limit: 5.19059708794e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.06553420388e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19663935/likelihoodResults_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3680936 delta logL = -0.19950107811 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 96206.1685956 delta logL = -3.08017479256e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10870E-04 1.0000 .0000 .10000E+07 2 'alpha ' .36675 1.0000 .0000 5.0000 3 'Normalizat' 1.2308 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0173 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 54 CALLS 237 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 .32705 .91751E-02** at limit ** 2 alpha .55103 .81731 .21488E-03 .0000 3 Normalizat 1.2306 1.0965 -.46151E-05 .76090E-05 4 Prefactor 1.0173 1.2443 .36107E-06 .53304E-03 ERR DEF= .500 Final values: norm = 0 alpha = 0.551031 Normalizat = 1.23061 Prefactor = 1.01727 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM HESSE STATUS=FAILED 7 CALLS 244 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 .32705 .91751E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha .34693E-01 .81731 .21488E-03 -.89401 3 Normalizat 1.2306 1.0965 -.46151E-05 -.85662 4 Prefactor 1.0173 1.2443 .36107E-06 -.92156 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 5.6371e-12 Minuit parameter uncertainties: 1 3.98067e-06 2 0.859884 3 1.11811 4 1.28246 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) = 96206.1685926 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 0.000e+00 3.981e-06 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 5.510e-01 8.599e-01 0.000e+00 5.000e+00 ( 1.000e+00) 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.282e+00 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.118e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 299.766 38.737 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /lscratch/kocevski/19663935/cmap_HighResolution_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2023-07-18 02:28:30.504352', job_id='19663935', GAL2='1.02', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1689672510.5', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:28:31 PDT 2023 e response: time -p gtdiffrsp evfile=/lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19665088/Model_4FGL_J1959.0+3844_weekly_bin780.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 Cygnus Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits.....................! real 715.25 user 710.32 sys 1.33 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits', '/lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits', expMap='/lscratch/kocevski/19665088/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', expCube='/lscratch/kocevski/19665088/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19665088/Model_4FGL_J1959.0+3844_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1959.0+3844' 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 1.304e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19665088/ft1_filtered_4FGL_J1959.0+3844_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19665088/ft2_4FGL_J1959.0+3844_weekly_bin780.fits Exposure map: /lscratch/kocevski/19665088/expmap_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19665088/ltcube_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19665088/Model_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3131359 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1690359 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.5281 1.0000 .0000 .10000E+07 2 'Prefactor ' .73727 1.0000 .0000 .10000E+07 3 'norm ' .74276E-03 1.0000 .0000 .10000E+07 4 'norm ' .70154E-05 1.0000 .0000 .10000E+07 5 'Prefactor ' .37544E-02 1.0000 .0000 .10000E+07 6 'norm ' .20592E-04 1.0000 .0000 .10000E+07 7 'Prefactor ' .20356E-04 1.0000 .0000 .10000E+07 8 'norm ' 1.5280 1.0000 .0000 .10000E+07 9 'norm ' .11957E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.1212 1.0000 .10000E-03 10000. 11 'norm ' .36804E-06 1.0000 .0000 .10000E+07 12 'norm ' .67545E-04 1.0000 .0000 .10000E+07 13 'norm ' 13.775 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2305 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0172 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 89 CALLS 808 TOTAL EDM= .91E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3815 2.6085 -.18634E-07 .30702E-01 2 Prefactor .73579 1.1849 -.84353E-08 -.78123E-02 3 norm .99920E-09 5.6679 -.12148E-07** at limit ** 4 norm .88818E-09 2.5183 .33895E-07** at limit ** 5 Prefactor .94369E-09 5.4944 -.13933E-07** at limit ** 6 norm .22204E-09 2.4349 .37998E-08** at limit ** 7 Prefactor .0000 22.464 .50456E-06** at limit ** 8 norm 1.5291 1.0378 -.15193E-07 .35685E-03 9 norm .55511E-10 2.3997 -.37833E-07** at limit ** 10 Prefactor 2.1215 .16132 -.37397E-07 .46087E-03 11 norm .0000 .55219 -.12576E-07** at limit ** 12 norm .16653E-09 3.2407 -.58952E-07** at limit ** 13 norm 13.727 3.9018 -.23074E-07 .26191E-03 14 Normalizat 1.2306 .16924 -.54976E-06 -.71740E-05 15 Prefactor 1.0173 .17393E-01 .15301E-07 -.10355E-03 ERR DEF= .500 Final values: Prefactor = 6.38151 Prefactor = 0.735791 norm = 9.99201e-10 norm = 8.88178e-10 Prefactor = 9.4369e-10 norm = 2.22045e-10 Prefactor = 0 norm = 1.52914 norm = 5.55112e-11 Prefactor = 2.12154 norm = 0 norm = 1.66533e-10 norm = 13.7266 Normalizat = 1.23061 Prefactor = 1.01727 ZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 89 CALLS 808 TOTAL EDM= .91E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3815 2.6085 -.18634E-07 .30702E-01 2 Prefactor .73579 1.1849 -.84353E-08 -.78123E-02 3 norm .99920E-09 5.6679 -.12148E-07** at limit ** 4 norm .88818E-09 2.5183 .33895E-07** at limit ** 5 Prefactor .94369E-09 5.4944 -.13933E-07** at limit ** 6 norm .22204E-09 2.4349 .37998E-08** at limit ** 7 Prefactor .0000 22.464 .50456E-06** at limit ** 8 norm 1.5291 1.0378 -.15193E-07 .35685E-03 9 norm .55511E-10 2.3997 -.37833E-07** at limit ** 10 Prefactor 2.1215 .16132 -.37397E-07 .46087E-03 11 norm .0000 .55219 -.12576E-07** at limit ** 12 norm .16653E-09 3.2407 -.58952E-07** at limit ** 13 norm 13.727 3.9018 -.23074E-07 .26191E-03 14 Normalizat 1.2306 .16924 -.54976E-06 -.71740E-05 15 Prefactor 1.0173 .17393E-01 .15301E-07 -.10355E-03 ERR DEF= .500 Final values: Prefactor = 6.38151 Prefactor = 0.735791 norm = 9.99201e-10 norm = 8.88178e-10 Prefactor = 9.4369e-10 norm = 2.22045e-10 Prefactor = 0 norm = 1.52914 norm = 5.55112e-11 Prefactor = 2.12154 norm = 0 norm = 1.66533e-10 norm = 13.7266 Normalizat = 1.23061 Prefactor = 1.01727 ********** ** 18 **HESSE ********** FCN= 96206.17 FROM HESSE STATUS=OK 210 CALLS 1018 TOTAL EDM= .57E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3815 8.5450 .39255E-03 -1.5657 2 Prefactor .73579 4.7470 .57733E-03 -1.5691 3 norm .99920E-09 11.082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .88818E-09 2.7736 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .94369E-09 11.135 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .22204E-09 2.5625 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 22.416 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 1.5291 1.0391 .86334E-03 -1.5683 9 norm .55511E-10 2.4046 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.1215 .16178 .70792E-02 -1.5417 11 norm .0000 .54935 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .16653E-09 3.2444 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 13.727 3.9033 .26961E-03 -1.5634 14 Normalizat 1.2306 .17508 .26895 -.85662 15 Prefactor 1.0173 .17398E-01 .28641E-01 -.92156 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.66898e-07 Minuit parameter uncertainties: 1 8.54504 2 3.73783 3 0.000210933 4 9.92455e-05 5 0.000202047 6 4.89965e-05 7 2.95615e-06 8 1.03912 9 1.64641e-05 10 0.161784 11 4.03254e-08 12 4.29784e-05 13 3.90328 14 0.175165 15 0.0173981 ********** ** 18 **HESSE ********** FCN= 96206.17 FROM HESSE STATUS=OK 210 CALLS 1018 TOTAL EDM= .57E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3815 8.5450 .39255E-03 -1.5657 2 Prefactor .73579 4.7470 .57733E-03 -1.5691 3 norm .99920E-09 11.082 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .88818E-09 2.7736 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .94369E-09 11.135 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .22204E-09 2.5625 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 22.416 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 1.5291 1.0391 .86334E-03 -1.5683 9 norm .55511E-10 2.4046 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.1215 .16178 .70792E-02 -1.5417 11 norm .0000 .54935 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .16653E-09 3.2444 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 13.727 3.9033 .26961E-03 -1.5634 14 Normalizat 1.2306 .17508 .26895 -.85662 15 Prefactor 1.0173 .17398E-01 .28641E-01 -.92156 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.66898e-07 Minuit parameter uncertainties: 1 8.54504 2 3.73783 3 0.000210933 4 9.92455e-05 5 0.000202047 6 4.89965e-05 7 2.95615e-06 8 1.03912 9 1.64641e-05 10 0.161784 11 4.03254e-08 12 4.29784e-05 13 3.90328 14 0.175165 15 0.0173981 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1685926 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 8.882e-10 9.925e-05 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.740e-02 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.752e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 299.766 38.737 Photon Flux Upper Limit: 5.19059708794e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.06553420388e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19665118/likelihoodResults_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3680936 delta logL = -0.19950107811 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 96206.1685956 delta logL = -3.08017479256e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10870E-04 1.0000 .0000 .10000E+07 2 'alpha ' .36675 1.0000 .0000 5.0000 3 'Normalizat' 1.2308 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0173 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 54 CALLS 237 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 .32705 .91751E-02** at limit ** 2 alpha .55103 .81731 .21488E-03 .0000 3 Normalizat 1.2306 1.0965 -.46151E-05 .76090E-05 4 Prefactor 1.0173 1.2443 .36107E-06 .53304E-03 ERR DEF= .500 Final values: norm = 0 alpha = 0.551031 Normalizat = 1.23061 Prefactor = 1.01727 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM HESSE STATUS=FAILED 7 CALLS 244 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 .32705 .91751E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha .34693E-01 .81731 .21488E-03 -.89401 3 Normalizat 1.2306 1.0965 -.46151E-05 -.85662 4 Prefactor 1.0173 1.2443 .36107E-06 -.92156 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 5.6371e-12 Minuit parameter uncertainties: 1 3.98067e-06 2 0.859884 3 1.11811 4 1.28246 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) = 96206.1685926 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 0.000e+00 3.981e-06 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 5.510e-01 8.599e-01 0.000e+00 5.000e+00 ( 1.000e+00) 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.282e+00 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.118e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 299.766 38.737 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /lscratch/kocevski/19665118/cmap_HighResolution_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2023-07-18 02:37:37.117093', job_id='19665118', GAL2='1.02', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1689673057.12', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:37:38 PDT 2023 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 96206.1685926 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 8.882e-10 9.925e-05 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.740e-02 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.752e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 299.766 38.737 Photon Flux Upper Limit: 5.19059708794e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.06553420388e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19665088/likelihoodResults_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.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) = 96206.3680936 delta logL = -0.19950107811 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 96206.1685956 delta logL = -3.08017479256e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10870E-04 1.0000 .0000 .10000E+07 2 'alpha ' .36675 1.0000 .0000 5.0000 3 'Normalizat' 1.2308 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0173 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM MIGRAD STATUS=CONVERGED 54 CALLS 237 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 .32705 .91751E-02** at limit ** 2 alpha .55103 .81731 .21488E-03 .0000 3 Normalizat 1.2306 1.0965 -.46151E-05 .76090E-05 4 Prefactor 1.0173 1.2443 .36107E-06 .53304E-03 ERR DEF= .500 Final values: norm = 0 alpha = 0.551031 Normalizat = 1.23061 Prefactor = 1.01727 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 96206.17 FROM HESSE STATUS=FAILED 7 CALLS 244 TOTAL EDM= .56E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 .32705 .91751E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha .34693E-01 .81731 .21488E-03 -.89401 3 Normalizat 1.2306 1.0965 -.46151E-05 -.85662 4 Prefactor 1.0173 1.2443 .36107E-06 -.92156 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 5.6371e-12 Minuit parameter uncertainties: 1 3.98067e-06 2 0.859884 3 1.11811 4 1.28246 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) = 96206.1685926 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 0.000e+00 3.981e-06 0.000e+00 1.000e+06 ( 1.000e-12) 361 alpha: 5.510e-01 8.599e-01 0.000e+00 5.000e+00 ( 1.000e+00) 362 beta: 2.980e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.017e+00 1.282e+00 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.231e+00 1.118e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 299.766 38.737 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /lscratch/kocevski/19665088/cmap_HighResolution_710726401_711331201_4FGL_J1959.0+3844_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2023-07-18 02:39:48.108146', job_id='19665088', GAL2='1.02', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1689673188.11', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='780' AND source_name='4FGL J1959.0+3844' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:39:48 PDT 2023