/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 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/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). 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) /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). 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/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 = 17594 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin843 RA = 325.701, Dec = 19.982 tmin = 748828801, tmax = 749433601 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='56528997', job_status='RUN', time_executed='2024-10-01 05:02:03.857616', time_epoch_executed='1727784123.86' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='843' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/56528997 Creating custom pfile directory: /lscratch/kocevski/56528997/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/56528997/ft1_4FGL_J2142.8+1958_weekly_bin843.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/56528997/ft1_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528997/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits ra=325.701 dec=19.982 rad=12.0 tmin=748828801.0 tmax=749433601.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 5.32 user 4.92 sys 0.28 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.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/56528997/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" outfile="/lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.39 user 0.18 sys 0.13 Number of photons that the gtmktime cut: 1556 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits" evtable="EVENTS" scfile=/lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" onumber of points = 17594 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin843 RA = 325.701, Dec = 19.982 tmin = 748828801, tmax = 749433601 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='56528998', job_status='RUN', time_executed='2024-10-01 05:02:04.137227', time_epoch_executed='1727784124.14' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='843' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/56528998 Creating custom pfile directory: /lscratch/kocevski/56528998/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/56528998/ft1_4FGL_J2142.8+1958_weekly_bin843.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/56528998/ft1_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528998/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits ra=325.701 dec=19.982 rad=12.0 tmin=748828801.0 tmax=749433601.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 5.00 user 4.68 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.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/56528998/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" outfile="/lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.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.19 sys 0.13 Number of photons that the gtmktime cut: 1556 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits" evtable="EVENTS" scfile=/lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" outfile=/lscratch/kocevski/56528997/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 16.00 user 15.62 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" expcube=/lscratch/kocevski/56528997/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528997/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528997/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 61.74 user 57.72 sys 3.58 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 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 163 point sources and 1 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 J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528997/cmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.44 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528997/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.20 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.futfile=/lscratch/kocevski/56528998/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 19.89 user 19.51 sys 0.20 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" expcube=/lscratch/kocevski/56528998/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528998/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528998/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 58.97 user 55.28 sys 3.33 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 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 163 point sources and 1 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 J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528998/cmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.20 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528998/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.37 user 0.19 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/56528997/Model_4FGL_J2142.8+1958_weekly_bin843.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 Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits.....................! real 81.80 user 80.27 sys 0.83 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits', '/lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits', expMap='/lscratch/kocevski/56528997/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', expCube='/lscratch/kocevski/56528997/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/56528997/Model_4FGL_J2142.8+1958_weekly_bin843.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/56528997/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits Spacecraft file(s): /lscratch/kocevski/56528997/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Exposure map: /lscratch/kocevski/56528997/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits Exposure cube: /lscratch/kocevski/56528997/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/56528997/Model_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.8736765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.782004 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 36.513 1.0000 .0000 .10000E+07 2 'Prefactor ' .35964E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .73422 1.0000 .0000 .10000E+07 4 'Prefactor ' .24509E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 6.0792 1.0000 .0000 .10000E+07 6 'norm ' 2.8497 1.0000 .0000 .10000E+07 7 'norm ' 7.2892 1.0000 .0000 .10000E+07 8 'Prefactor ' 4.3740 1.0000 .0000 .10000E+07 9 'Prefactor ' .42416E-03 1.0000 .0000 .10000E+07 10 'norm ' 1.8339 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.4830 1.0000 .0000 .10000E+07 12 'norm ' .57221E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.758 1.0000 .0000 .10000E+07 14 'norm ' .11657E-08 1.0000 .0000 .10000E+07 15 'Prefactor ' .51726E-02 1.0000 .0000 .10000E+07 16 'norm ' .58634 1.0000 .0000 .10000E+07 17 'Prefactor ' .12868E-02 1.0000 .0000 .10000E+07 18 'norm ' 1.9161 1.0000 .0000 .10000E+07 19 'Prefactor ' .38818E-04 1.0000 .0000 .10000E+07 20 'Normalizat' .86954 1.0000 .10000E-01 10.000 21 'Prefactor ' .83111 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 136 CALLS 1300 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 36.298 2.1570 -.23671E-08 .12990 2 Prefactor .74202E-05 16.399 .32265E-06** at limit ** 3 Prefactor .90428 1.4015 .45316E-07 -.22238E-01 4 Prefactor .37581E-07 12.614 -.41769E-06** at limit ** 5 Prefactor 6.1065 5.0014 -.27684E-06 .54523E-03 6 norm 2.8153 4.6312 .21712E-06 -.34701E-04 7 norm 7.2796 2.9945 -.10822E-06 .79002E-03 8 Prefactor 4.3738 3.5565 -.15854E-06 .84345E-03 9 Prefactor .34723E-05 24.527 .44109E-06** at limit ** 10 norm 1.8364 1.4981 -.17145E-06 .17290E-02 11 Prefactor 5.5693 5.7714 -.20318E-06 .65229E-03 12 norm .0000 .85223 -.25809E-06** at limit ** 13 Prefactor 13.662 13.155 -.12128E-07 -.15517E-03 14 norm .0000 .31253 .82495E-07** at limit ** 15 Prefactor .11102E-09 18.413 -.36512E-06** at limit ** 16 norm .58691 .45247 -.13292E-06 .65906E-02 17 Prefactor .27394E-05 55.127 -.20079E-06** at limit ** 18 norm 1.9168 1.8215 -.85288E-07 .92134E-03 19 Prefactor .0000 2.2744 .20870E-07** at limit ** 20 Normalizat .86934 .17023 -.11369E-05 .49085E-04 21 Prefactor .83112 .69817E-01 .55745E-06 .54925E-04 ERR DEF= .500 Final values: Prefactor = 36.2976 Prefactor = 7.42018e-06 Prefactor = 0.904278 Prefactor = 3.7581e-08 Prefactor = 6.1065 norm = 2.81526 norm = 7.27957 Prefactor = 4.37384 Prefactor = 3.47228e-06 norm = 1.83641 Prefactor = 5.56928 norm = 0 Prefactor = 13.6623 norm = 0 Prefactor = 1.11022e-10 norm = 0.586914 Prefactor = 2.73942e-06 norm = 1.91677 Prefactor = 0 Normalizat = 0.869344 Prefactor = 0.831116 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/56528998/Model_4FGL_J2142.8+1958_weekly_bin843.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 Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits.....................! real 78.64 user 77.20 sys 1.04 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits', '/lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits', expMap='/lscratch/kocevski/56528998/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', expCube='/lscratch/kocevski/56528998/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/56528998/Model_4FGL_J2142.8+1958_weekly_bin843.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/56528998/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits Spacecraft file(s): /lscratch/kocevski/56528998/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Exposure map: /lscratch/kocevski/56528998/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits Exposure cube: /lscratch/kocevski/56528998/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/56528998/Model_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.8736765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.782004 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 36.513 1.0000 .0000 .10000E+07 2 'Prefactor ' .35964E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .73422 1.0000 .0000 .10000E+07 4 'Prefactor ' .24509E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 6.0792 1.0000 .0000 .10000E+07 6 'norm ' 2.8497 1.0000 .0000 .10000E+07 7 'norm ' 7.2892 1.0000 .0000 .10000E+07 8 'Prefactor ' 4.3740 1.0000 .0000 .10000E+07 9 'Prefactor ' .42416E-03 1.0000 .0000 .10000E+07 10 'norm ' 1.8339 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.4830 1.0000 .0000 .10000E+07 12 'norm ' .57221E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.758 1.0000 .0000 .10000E+07 14 'norm ' .11657E-08 1.0000 .0000 .10000E+07 15 'Prefactor ' .51726E-02 1.0000 .0000 .10000E+07 16 'norm ' .58634 1.0000 .0000 .10000E+07 17 'Prefactor ' .12868E-02 1.0000 .0000 .10000E+07 18 'norm ' 1.9161 1.0000 .0000 .10000E+07 19 'Prefactor ' .38818E-04 1.0000 .0000 .10000E+07 20 'Normalizat' .86954 1.0000 .10000E-01 10.000 21 'Prefactor ' .83111 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 136 CALLS 1300 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 36.298 2.1570 -.23671E-08 .12990 2 Prefactor .74202E-05 16.399 .32265E-06** at limit ** 3 Prefactor .90428 1.4015 .45316E-07 -.22238E-01 4 Prefactor .37581E-07 12.614 -.41769E-06** at limit ** 5 Prefactor 6.1065 5.0014 -.27684E-06 .54523E-03 6 norm 2.8153 4.6312 .21712E-06 -.34701E-04 7 norm 7.2796 2.9945 -.10822E-06 .79002E-03 8 Prefactor 4.3738 3.5565 -.15854E-06 .84345E-03 9 Prefactor .34723E-05 24.527 .44109E-06** at limit ** 10 norm 1.8364 1.4981 -.17145E-06 .17290E-02 11 Prefactor 5.5693 5.7714 -.20318E-06 .65229E-03 12 norm .0000 .85223 -.25809E-06** at limit ** 13 Prefactor 13.662 13.155 -.12128E-07 -.15517E-03 14 norm .0000 .31253 .82495E-07** at limit ** 15 Prefactor .11102E-09 18.413 -.36512E-06** at limit ** 16 norm .58691 .45247 -.13292E-06 .65906E-02 17 Prefactor .27394E-05 55.127 -.20079E-06** at limit ** 18 norm 1.9168 1.8215 -.85288E-07 .92134E-03 19 Prefactor .0000 2.2744 .20870E-07** at limit ** 20 Normalizat .86934 .17023 -.11369E-05 .49085E-04 21 Prefactor .83112 .69817E-01 .55745E-06 .54925E-04 ERR DEF= .500 Final values: Prefactor = 36.2976 Prefactor = 7.42018e-06 Prefactor = 0.904278 Prefactor = 3.7581e-08 Prefactor = 6.1065 norm = 2.81526 norm = 7.27957 Prefactor = 4.37384 Prefactor = 3.47228e-06 norm = 1.83641 Prefactor = 5.56928 norm = 0 Prefactor = 13.6623 norm = 0 Prefactor = 1.11022e-10 norm = 0.586914 Prefactor = 2.73942e-06 norm = 1.91677 Prefactor = 0 Normalizat = 0.869344 Prefactor = 0.831116 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=OK 363 CALLS 1663 TOTAL EDM= .98E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 36.298 16.431 .16551E-03 -1.5587 2 Prefactor .74202E-05 38.860 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .90428 25.855 .57972E-03 -1.5689 4 Prefactor .37581E-07 12.874 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 6.1065 5.1434 .40697E-03 -1.5659 6 norm 2.8153 4.7720 .60203E-03 -1.5674 7 norm 7.2796 2.9981 .37127E-03 -1.5654 8 Prefactor 4.3738 3.5599 .48134E-03 -1.5666 9 Prefactor .34723E-05 36.931 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.8364 1.5178 .77025E-03 -1.5681 11 Prefactor 5.5693 5.7833 .42886E-03 -1.5661 12 norm .0000 .84232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 13.662 13.234 .26978E-03 -1.5634 14 norm .0000 .30974 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 18.481 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .58691 .45561 .70461E-03 -1.5693 17 Prefactor .27394E-05 59.572 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.9168 1.8091 .75053E-03 -1.5680 19 Prefactor .0000 2.2711 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .86934 .14758 .84460E-01 -.97546 21 Prefactor .83112 .59124E-01 .44121E-01 -.98591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.84731e-07 Minuit parameter uncertainties: 1 16.4313 2 0.0339619 3 9.67069 4 0.00139106 5 5.14344 6 4.77198 7 2.99811 8 3.55992 9 0.0226483 10 1.51784 11 5.78334 12 5.64009e-07 13 13.2342 14 1.46829e-06 15 9.51939e-05 16 0.455607 17 0.0255498 18 1.80915 19 3.37357e-06 20 0.147646 21 0.0591288 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=OK 363 CALLS 1663 TOTAL EDM= .98E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 36.298 16.431 .16551E-03 -1.5587 2 Prefactor .74202E-05 38.860 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .90428 25.855 .57972E-03 -1.5689 4 Prefactor .37581E-07 12.874 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 6.1065 5.1434 .40697E-03 -1.5659 6 norm 2.8153 4.7720 .60203E-03 -1.5674 7 norm 7.2796 2.9981 .37127E-03 -1.5654 8 Prefactor 4.3738 3.5599 .48134E-03 -1.5666 9 Prefactor .34723E-05 36.931 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.8364 1.5178 .77025E-03 -1.5681 11 Prefactor 5.5693 5.7833 .42886E-03 -1.5661 12 norm .0000 .84232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 13.662 13.234 .26978E-03 -1.5634 14 norm .0000 .30974 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 18.481 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .58691 .45561 .70461E-03 -1.5693 17 Prefactor .27394E-05 59.572 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.9168 1.8091 .75053E-03 -1.5680 19 Prefactor .0000 2.2711 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .86934 .14758 .84460E-01 -.97546 21 Prefactor .83112 .59124E-01 .44121E-01 -.98591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.84731e-07 Minuit parameter uncertainties: 1 16.4313 2 0.0339619 3 9.67069 4 0.00139106 5 5.14344 6 4.77198 7 2.99811 8 3.55992 9 0.0226483 10 1.51784 11 5.78334 12 5.64009e-07 13 13.2342 14 1.46829e-06 15 9.51939e-05 16 0.455607 17 0.0255498 18 1.80915 19 3.37357e-06 20 0.147646 21 0.0591288 number of points = 17594 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin843 RA = 325.701, Dec = 19.982 tmin = 748828801, tmax = 749433601 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='56528859', job_status='RUN', time_executed='2024-10-01 05:02:02.003146', time_epoch_executed='1727784122.0' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='843' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/56528859 Creating custom pfile directory: /lscratch/kocevski/56528859/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/56528859/ft1_4FGL_J2142.8+1958_weekly_bin843.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/56528859/ft1_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528859/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits ra=325.701 dec=19.982 rad=12.0 tmin=748828801.0 tmax=749433601.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 6.33 user 5.83 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.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/56528859/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" outfile="/lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.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.60 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 1556 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits" evtable="EVENTS" scfile=/lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" ouDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.7813149 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.472e-06 2.265e-02 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 5.913e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 1.476e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.63310246417e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00193923492003 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/56528997/likelihoodResults_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.7943074 delta logL = -0.012992426342 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813161 delta logL = -1.20791810332e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .23492E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0338 1.0000 .0000 10.000 3 'Normalizat' .86959 1.0000 .10000E-01 10.000 4 'Prefactor ' .83101 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 75 CALLS 295 TOTAL EDM= .28E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .30531E-08 14.862 .42118E-03** at limit ** 2 Index .67423 8.1759 .50000 -.23647E-09 3 Normalizat .86935 .29491E-02 .84460E-01 .58572E-03 4 Prefactor .83112 .12218E-02 .44119E-01 .77232E-03 ERR DEF= .500 Final values: Prefactor = 3.05311e-09 Index = 0.674234 Normalizat = 0.869346 Prefactor = 0.831116 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=NOT POSDEF 27 CALLS 322 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .30531E-08 74.038 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .67423 5.1663 .50000 -1.0455 3 Normalizat .86935 .65826E-02 .37397E-03 -.97546 4 Prefactor .83112 .27329E-02 .15722E-03 -.98591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.37663e-09 Minuit parameter uncertainties: 1 0.000948064 2 168963 3 0.00658261 4 0.00273287 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813149 delta logL = 4.6788045438e-08 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.053e-09 9.481e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 6.742e-01 1.690e+05 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 2.733e-03 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 6.583e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 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/56528997/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-03', job_status='DONE', photon_flux_upper_limit='2.63e-08', time_completed='2024-10-01 05:09:10.354221', job_id='56528997', GAL2='0.83', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1727784550.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='843' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 1 05:09:10 PDT 2024 number of points = 17594 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin843 RA = 325.701, Dec = 19.982 tmin = 748828801, tmax = 749433601 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='56528949', job_status='RUN', time_executed='2024-10-01 05:02:12.010731', time_epoch_executed='1727784132.01' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='843' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/56528949 Creating custom pfile directory: /lscratch/kocevski/56528949/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/56528949/ft1_4FGL_J2142.8+1958_weekly_bin843.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/56528949/ft1_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528949/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits ra=325.701 dec=19.982 rad=12.0 tmin=748828801.0 tmax=749433601.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 6.15 user 5.68 sys 0.31 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.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/56528949/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" outfile="/lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.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.61 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 1556 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits" evtable="EVENTS" scfile=/lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" oDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.7813149 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.472e-06 2.265e-02 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 5.913e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 1.476e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.63310246417e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00193923492003 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/56528998/likelihoodResults_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.7943074 delta logL = -0.012992426342 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813161 delta logL = -1.20791810332e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .23492E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0338 1.0000 .0000 10.000 3 'Normalizat' .86959 1.0000 .10000E-01 10.000 4 'Prefactor ' .83101 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 75 CALLS 295 TOTAL EDM= .28E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .30531E-08 14.862 .42118E-03** at limit ** 2 Index .67423 8.1759 .50000 -.23647E-09 3 Normalizat .86935 .29491E-02 .84460E-01 .58572E-03 4 Prefactor .83112 .12218E-02 .44119E-01 .77232E-03 ERR DEF= .500 Final values: Prefactor = 3.05311e-09 Index = 0.674234 Normalizat = 0.869346 Prefactor = 0.831116 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=NOT POSDEF 27 CALLS 322 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .30531E-08 74.038 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .67423 5.1663 .50000 -1.0455 3 Normalizat .86935 .65826E-02 .37397E-03 -.97546 4 Prefactor .83112 .27329E-02 .15722E-03 -.98591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.37663e-09 Minuit parameter uncertainties: 1 0.000948064 2 168963 3 0.00658261 4 0.00273287 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813149 delta logL = 4.6788045438e-08 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.053e-09 9.481e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 6.742e-01 1.690e+05 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 2.733e-03 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 6.583e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 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/56528998/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-03', job_status='DONE', photon_flux_upper_limit='2.63e-08', time_completed='2024-10-01 05:09:48.852338', job_id='56528998', GAL2='0.83', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1727784588.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='843' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 1 05:09:48 PDT 2024 tfile=/lscratch/kocevski/56528859/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 25.40 user 24.53 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" expcube=/lscratch/kocevski/56528859/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528859/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528859/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 69.37 user 64.47 sys 3.68 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 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 163 point sources and 1 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 J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528859/cmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.45 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528859/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.56 user 0.23 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fiutfile=/lscratch/kocevski/56528949/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 33.42 user 32.73 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits sctable="SC_DATA" expcube=/lscratch/kocevski/56528949/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528949/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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/56528949/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits .....................! real 67.96 user 63.32 sys 3.83 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 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 163 point sources and 1 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 J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528949/cmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.60 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits scfile=/lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits outfile=/lscratch/kocevski/56528949/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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=325.701 yref=19.982 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.55 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fts sctable="SC_DATA" srcmdl=/lscratch/kocevski/56528859/Model_4FGL_J2142.8+1958_weekly_bin843.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 Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits.....................! real 93.97 user 92.32 sys 0.91 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits', '/lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits', expMap='/lscratch/kocevski/56528859/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', expCube='/lscratch/kocevski/56528859/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/56528859/Model_4FGL_J2142.8+1958_weekly_bin843.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/56528859/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits Spacecraft file(s): /lscratch/kocevski/56528859/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Exposure map: /lscratch/kocevski/56528859/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits Exposure cube: /lscratch/kocevski/56528859/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/56528859/Model_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.8736765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.782004 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 36.513 1.0000 .0000 .10000E+07 2 'Prefactor ' .35964E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .73422 1.0000 .0000 .10000E+07 4 'Prefactor ' .24509E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 6.0792 1.0000 .0000 .10000E+07 6 'norm ' 2.8497 1.0000 .0000 .10000E+07 7 'norm ' 7.2892 1.0000 .0000 .10000E+07 8 'Prefactor ' 4.3740 1.0000 .0000 .10000E+07 9 'Prefactor ' .42416E-03 1.0000 .0000 .10000E+07 10 'norm ' 1.8339 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.4830 1.0000 .0000 .10000E+07 12 'norm ' .57221E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.758 1.0000 .0000 .10000E+07 14 'norm ' .11657E-08 1.0000 .0000 .10000E+07 15 'Prefactor ' .51726E-02 1.0000 .0000 .10000E+07 16 'norm ' .58634 1.0000 .0000 .10000E+07 17 'Prefactor ' .12868E-02 1.0000 .0000 .10000E+07 18 'norm ' 1.9161 1.0000 .0000 .10000E+07 19 'Prefactor ' .38818E-04 1.0000 .0000 .10000E+07 20 'Normalizat' .86954 1.0000 .10000E-01 10.000 21 'Prefactor ' .83111 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 136 CALLS 1300 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 36.298 2.1570 -.23671E-08 .12990 2 Prefactor .74202E-05 16.399 .32265E-06** at limit ** 3 Prefactor .90428 1.4015 .45316E-07 -.22238E-01 4 Prefactor .37581E-07 12.614 -.41769E-06** at limit ** 5 Prefactor 6.1065 5.0014 -.27684E-06 .54523E-03 6 norm 2.8153 4.6312 .21712E-06 -.34701E-04 7 norm 7.2796 2.9945 -.10822E-06 .79002E-03 8 Prefactor 4.3738 3.5565 -.15854E-06 .84345E-03 9 Prefactor .34723E-05 24.527 .44109E-06** at limit ** 10 norm 1.8364 1.4981 -.17145E-06 .17290E-02 11 Prefactor 5.5693 5.7714 -.20318E-06 .65229E-03 12 norm .0000 .85223 -.25809E-06** at limit ** 13 Prefactor 13.662 13.155 -.12128E-07 -.15517E-03 14 norm .0000 .31253 .82495E-07** at limit ** 15 Prefactor .11102E-09 18.413 -.36512E-06** at limit ** 16 norm .58691 .45247 -.13292E-06 .65906E-02 17 Prefactor .27394E-05 55.127 -.20079E-06** at limit ** 18 norm 1.9168 1.8215 -.85288E-07 .92134E-03 19 Prefactor .0000 2.2744 .20870E-07** at limit ** 20 Normalizat .86934 .17023 -.11369E-05 .49085E-04 21 Prefactor .83112 .69817E-01 .55745E-06 .54925E-04 ERR DEF= .500 Final values: Prefactor = 36.2976 Prefactor = 7.42018e-06 Prefactor = 0.904278 Prefactor = 3.7581e-08 Prefactor = 6.1065 norm = 2.81526 norm = 7.27957 Prefactor = 4.37384 Prefactor = 3.47228e-06 norm = 1.83641 Prefactor = 5.56928 norm = 0 Prefactor = 13.6623 norm = 0 Prefactor = 1.11022e-10 norm = 0.586914 Prefactor = 2.73942e-06 norm = 1.91677 Prefactor = 0 Normalizat = 0.869344 Prefactor = 0.831116 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/56528949/Model_4FGL_J2142.8+1958_weekly_bin843.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 Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits.....................! real 92.09 user 89.75 sys 1.81 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits', '/lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits', expMap='/lscratch/kocevski/56528949/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', expCube='/lscratch/kocevski/56528949/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/56528949/Model_4FGL_J2142.8+1958_weekly_bin843.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/56528949/ft1_filtered_4FGL_J2142.8+1958_weekly_bin843.fits Spacecraft file(s): /lscratch/kocevski/56528949/ft2_4FGL_J2142.8+1958_weekly_bin843.fits Exposure map: /lscratch/kocevski/56528949/expmap_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits Exposure cube: /lscratch/kocevski/56528949/ltcube_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/56528949/Model_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.8736765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.782004 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 36.513 1.0000 .0000 .10000E+07 2 'Prefactor ' .35964E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .73422 1.0000 .0000 .10000E+07 4 'Prefactor ' .24509E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 6.0792 1.0000 .0000 .10000E+07 6 'norm ' 2.8497 1.0000 .0000 .10000E+07 7 'norm ' 7.2892 1.0000 .0000 .10000E+07 8 'Prefactor ' 4.3740 1.0000 .0000 .10000E+07 9 'Prefactor ' .42416E-03 1.0000 .0000 .10000E+07 10 'norm ' 1.8339 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.4830 1.0000 .0000 .10000E+07 12 'norm ' .57221E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.758 1.0000 .0000 .10000E+07 14 'norm ' .11657E-08 1.0000 .0000 .10000E+07 15 'Prefactor ' .51726E-02 1.0000 .0000 .10000E+07 16 'norm ' .58634 1.0000 .0000 .10000E+07 17 'Prefactor ' .12868E-02 1.0000 .0000 .10000E+07 18 'norm ' 1.9161 1.0000 .0000 .10000E+07 19 'Prefactor ' .38818E-04 1.0000 .0000 .10000E+07 20 'Normalizat' .86954 1.0000 .10000E-01 10.000 21 'Prefactor ' .83111 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 136 CALLS 1300 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 36.298 2.1570 -.23671E-08 .12990 2 Prefactor .74202E-05 16.399 .32265E-06** at limit ** 3 Prefactor .90428 1.4015 .45316E-07 -.22238E-01 4 Prefactor .37581E-07 12.614 -.41769E-06** at limit ** 5 Prefactor 6.1065 5.0014 -.27684E-06 .54523E-03 6 norm 2.8153 4.6312 .21712E-06 -.34701E-04 7 norm 7.2796 2.9945 -.10822E-06 .79002E-03 8 Prefactor 4.3738 3.5565 -.15854E-06 .84345E-03 9 Prefactor .34723E-05 24.527 .44109E-06** at limit ** 10 norm 1.8364 1.4981 -.17145E-06 .17290E-02 11 Prefactor 5.5693 5.7714 -.20318E-06 .65229E-03 12 norm .0000 .85223 -.25809E-06** at limit ** 13 Prefactor 13.662 13.155 -.12128E-07 -.15517E-03 14 norm .0000 .31253 .82495E-07** at limit ** 15 Prefactor .11102E-09 18.413 -.36512E-06** at limit ** 16 norm .58691 .45247 -.13292E-06 .65906E-02 17 Prefactor .27394E-05 55.127 -.20079E-06** at limit ** 18 norm 1.9168 1.8215 -.85288E-07 .92134E-03 19 Prefactor .0000 2.2744 .20870E-07** at limit ** 20 Normalizat .86934 .17023 -.11369E-05 .49085E-04 21 Prefactor .83112 .69817E-01 .55745E-06 .54925E-04 ERR DEF= .500 Final values: Prefactor = 36.2976 Prefactor = 7.42018e-06 Prefactor = 0.904278 Prefactor = 3.7581e-08 Prefactor = 6.1065 norm = 2.81526 norm = 7.27957 Prefactor = 4.37384 Prefactor = 3.47228e-06 norm = 1.83641 Prefactor = 5.56928 norm = 0 Prefactor = 13.6623 norm = 0 Prefactor = 1.11022e-10 norm = 0.586914 Prefactor = 2.73942e-06 norm = 1.91677 Prefactor = 0 Normalizat = 0.869344 Prefactor = 0.831116 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=OK 363 CALLS 1663 TOTAL EDM= .98E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 36.298 16.431 .16551E-03 -1.5587 2 Prefactor .74202E-05 38.860 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .90428 25.855 .57972E-03 -1.5689 4 Prefactor .37581E-07 12.874 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 6.1065 5.1434 .40697E-03 -1.5659 6 norm 2.8153 4.7720 .60203E-03 -1.5674 7 norm 7.2796 2.9981 .37127E-03 -1.5654 8 Prefactor 4.3738 3.5599 .48134E-03 -1.5666 9 Prefactor .34723E-05 36.931 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.8364 1.5178 .77025E-03 -1.5681 11 Prefactor 5.5693 5.7833 .42886E-03 -1.5661 12 norm .0000 .84232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 13.662 13.234 .26978E-03 -1.5634 14 norm .0000 .30974 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 18.481 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .58691 .45561 .70461E-03 -1.5693 17 Prefactor .27394E-05 59.572 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.9168 1.8091 .75053E-03 -1.5680 19 Prefactor .0000 2.2711 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .86934 .14758 .84460E-01 -.97546 21 Prefactor .83112 .59124E-01 .44121E-01 -.98591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.84731e-07 Minuit parameter uncertainties: 1 16.4313 2 0.0339619 3 9.67069 4 0.00139106 5 5.14344 6 4.77198 7 2.99811 8 3.55992 9 0.0226483 10 1.51784 11 5.78334 12 5.64009e-07 13 13.2342 14 1.46829e-06 15 9.51939e-05 16 0.455607 17 0.0255498 18 1.80915 19 3.37357e-06 20 0.147646 21 0.0591288 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=OK 363 CALLS 1663 TOTAL EDM= .98E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 36.298 16.431 .16551E-03 -1.5587 2 Prefactor .74202E-05 38.860 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .90428 25.855 .57972E-03 -1.5689 4 Prefactor .37581E-07 12.874 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 6.1065 5.1434 .40697E-03 -1.5659 6 norm 2.8153 4.7720 .60203E-03 -1.5674 7 norm 7.2796 2.9981 .37127E-03 -1.5654 8 Prefactor 4.3738 3.5599 .48134E-03 -1.5666 9 Prefactor .34723E-05 36.931 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.8364 1.5178 .77025E-03 -1.5681 11 Prefactor 5.5693 5.7833 .42886E-03 -1.5661 12 norm .0000 .84232 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 13.662 13.234 .26978E-03 -1.5634 14 norm .0000 .30974 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .11102E-09 18.481 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .58691 .45561 .70461E-03 -1.5693 17 Prefactor .27394E-05 59.572 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.9168 1.8091 .75053E-03 -1.5680 19 Prefactor .0000 2.2711 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .86934 .14758 .84460E-01 -.97546 21 Prefactor .83112 .59124E-01 .44121E-01 -.98591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.84731e-07 Minuit parameter uncertainties: 1 16.4313 2 0.0339619 3 9.67069 4 0.00139106 5 5.14344 6 4.77198 7 2.99811 8 3.55992 9 0.0226483 10 1.51784 11 5.78334 12 5.64009e-07 13 13.2342 14 1.46829e-06 15 9.51939e-05 16 0.455607 17 0.0255498 18 1.80915 19 3.37357e-06 20 0.147646 21 0.0591288 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.7813149 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.472e-06 2.265e-02 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 5.913e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 1.476e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.63310246417e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00193923492003 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/56528859/likelihoodResults_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.7943074 delta logL = -0.012992426342 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813161 delta logL = -1.20791810332e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .23492E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0338 1.0000 .0000 10.000 3 'Normalizat' .86959 1.0000 .10000E-01 10.000 4 'Prefactor ' .83101 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 75 CALLS 295 TOTAL EDM= .28E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .30531E-08 14.862 .42118E-03** at limit ** 2 Index .67423 8.1759 .50000 -.23647E-09 3 Normalizat .86935 .29491E-02 .84460E-01 .58572E-03 4 Prefactor .83112 .12218E-02 .44119E-01 .77232E-03 ERR DEF= .500 Final values: Prefactor = 3.05311e-09 Index = 0.674234 Normalizat = 0.869346 Prefactor = 0.831116 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=NOT POSDEF 27 CALLS 322 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .30531E-08 74.038 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .67423 5.1663 .50000 -1.0455 3 Normalizat .86935 .65826E-02 .37397E-03 -.97546 4 Prefactor .83112 .27329E-02 .15722E-03 -.98591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.37663e-09 Minuit parameter uncertainties: 1 0.000948064 2 168963 3 0.00658261 4 0.00273287 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813149 delta logL = 4.6788045438e-08 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.053e-09 9.481e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 6.742e-01 1.690e+05 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 2.733e-03 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 6.583e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 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/56528859/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-03', job_status='DONE', photon_flux_upper_limit='2.63e-08', time_completed='2024-10-01 05:15:51.370499', job_id='56528859', GAL2='0.83', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1727784951.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='843' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 1 05:15:51 PDT 2024 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17542.7813149 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.472e-06 2.265e-02 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 5.913e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 1.476e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.63310246417e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00193923492003 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/56528949/likelihoodResults_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.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) = 17542.7943074 delta logL = -0.012992426342 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813161 delta logL = -1.20791810332e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .23492E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0338 1.0000 .0000 10.000 3 'Normalizat' .86959 1.0000 .10000E-01 10.000 4 'Prefactor ' .83101 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 17542.78 FROM MIGRAD STATUS=CONVERGED 75 CALLS 295 TOTAL EDM= .28E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .30531E-08 14.862 .42118E-03** at limit ** 2 Index .67423 8.1759 .50000 -.23647E-09 3 Normalizat .86935 .29491E-02 .84460E-01 .58572E-03 4 Prefactor .83112 .12218E-02 .44119E-01 .77232E-03 ERR DEF= .500 Final values: Prefactor = 3.05311e-09 Index = 0.674234 Normalizat = 0.869346 Prefactor = 0.831116 ********** ** 18 **HESSE ********** FCN= 17542.78 FROM HESSE STATUS=NOT POSDEF 27 CALLS 322 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .30531E-08 74.038 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .67423 5.1663 .50000 -1.0455 3 Normalizat .86935 .65826E-02 .37397E-03 -.97546 4 Prefactor .83112 .27329E-02 .15722E-03 -.98591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.37663e-09 Minuit parameter uncertainties: 1 0.000948064 2 168963 3 0.00658261 4 0.00273287 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17542.7813149 delta logL = 4.6788045438e-08 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 3.053e-09 9.481e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 6.742e-01 1.690e+05 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 8.311e-01 2.733e-03 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.693e-01 6.583e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 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/56528949/cmap_HighResolution_748828801_749433601_4FGL_J2142.8+1958_weekly_bin843.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-03', job_status='DONE', photon_flux_upper_limit='2.63e-08', time_completed='2024-10-01 05:16:16.515574', job_id='56528949', GAL2='0.83', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1727784976.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='843' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 1 05:16:16 PDT 2024