number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1936.9-4720_weekly_bin942
RA = 294.242, Dec = -47.34
tmin = 808704001, tmax = 809308801
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='35836328', job_status='RUN', time_executed='2026-08-25 15:22:26.737800', time_epoch_executed='1787696546.74' WHERE source_name='4FGL J1936.9-4720' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35836328

Creating custom pfile directory:
/lscratch/kocevski/35836328/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35836328/ft1_4FGL_J1936.9-4720_weekly_bin942.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35836328/ft1_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836328/ft1_filteredMKT_4FGL_J1936.9-4720_weekly_bin942.fits ra=294.242 dec=-47.34 rad=12.0 tmin=808704001.0 tmax=809308801.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.90
user 5.07
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.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/35836328/ft1_filteredMKT_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.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.66
user 0.24
sys 0.14

Number of photons that the gtmktime cut: 2427

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" o/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 = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1936.9-4720_weekly_bin942
RA = 294.242, Dec = -47.34
tmin = 808704001, tmax = 809308801
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='35836580', job_status='RUN', time_executed='2026-08-25 15:24:33.146504', time_epoch_executed='1787696673.15' WHERE source_name='4FGL J1936.9-4720' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35836580

Creating custom pfile directory:
/lscratch/kocevski/35836580/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35836580/ft1_4FGL_J1936.9-4720_weekly_bin942.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35836580/ft1_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836580/ft1_filteredMKT_4FGL_J1936.9-4720_weekly_bin942.fits ra=294.242 dec=-47.34 rad=12.0 tmin=808704001.0 tmax=809308801.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.08
user 5.13
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.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/35836580/ft1_filteredMKT_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.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.84
user 0.25
sys 0.12

Number of photons that the gtmktime cut: 2427

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35836328/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits
.....................!
real 21.02
user 20.21
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35836328/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836328/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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/35836328/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
.....................!
real 78.34
user 72.88
sys 4.48

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J1936.9-4720 @ 294.242 -47.34

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits scfile=/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836328/cmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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=294.242 yref=-47.34 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.46
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits scfile=/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836328/cmap_HighResolution_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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=294.242 yref=-47.34 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.08
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35836328/Model_4FGL_J1936.9-4720_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GALutfile=/lscratch/kocevski/35836580/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits
.....................!
real 21.64
user 20.86
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35836580/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836580/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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/35836580/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
.....................!
real 79.45
user 73.60
sys 4.49

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J1936.9-4720 @ 294.242 -47.34

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits scfile=/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836580/cmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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=294.242 yref=-47.34 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.72
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits scfile=/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836580/cmap_HighResolution_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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=294.242 yref=-47.34 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.68
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35836580/Model_4FGL_J1936.9-4720_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GALnumber of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1936.9-4720_weekly_bin942
RA = 294.242, Dec = -47.34
tmin = 808704001, tmax = 809308801
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='35836863', job_status='RUN', time_executed='2026-08-25 15:27:13.054092', time_epoch_executed='1787696833.05' WHERE source_name='4FGL J1936.9-4720' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35836863

Creating custom pfile directory:
/lscratch/kocevski/35836863/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35836863/ft1_4FGL_J1936.9-4720_weekly_bin942.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35836863/ft1_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836863/ft1_filteredMKT_4FGL_J1936.9-4720_weekly_bin942.fits ra=294.242 dec=-47.34 rad=12.0 tmin=808704001.0 tmax=809308801.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.07
user 5.09
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.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/35836863/ft1_filteredMKT_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.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.86
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 2427

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits.....................!
real 84.87
user 82.40
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits', '/lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits', expMap='/lscratch/kocevski/35836328/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits', expCube='/lscratch/kocevski/35836328/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35836328/Model_4FGL_J1936.9-4720_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1936.9-4720'

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.943e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35836328/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35836328/ft2_4FGL_J1936.9-4720_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35836328/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35836328/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35836328/Model_4FGL_J1936.9-4720_weekly_bin942.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) = 25223.5482785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 25222.6905906

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0152       1.0000          .0000       .10000E+07
     2 'norm      '    24.450       1.0000          .0000       .10000E+07
     3 'norm      '    2.4173       1.0000          .0000       .10000E+07
     4 'norm      '    .70735       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0727       1.0000          .0000       .10000E+07
     6 'Prefactor '    .53355E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5309       1.0000          .0000       .10000E+07
     8 'norm      '    .32310E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .78051       1.0000          .0000       .10000E+07
    10 'norm      '    .20539E-08   1.0000          .0000       .10000E+07
    11 'norm      '    16.153       1.0000          .0000       .10000E+07
    12 'norm      '    1.9393       1.0000          .0000       .10000E+07
    13 'norm      '    1.8764       1.0000          .0000       .10000E+07
    14 'norm      '    .78139E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    .99271       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25222.69     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      855 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0385        1.6101       -.94052E-07   -.82229E-02
   2  norm          24.241        11.382        .60535E-06   -.12089E-02
   3  norm          2.4173        3.2710       -.22740E-06   -.40950E-03
   4  norm          .70720        .73864       -.65682E-07   -.32881E-02
   5  Prefactor     4.0673        4.2805       -.31161E-06    .18423E-02
   6  Prefactor     .55511E-10    21.791       -.51527E-06** at limit **
   7  Prefactor     2.6183        5.8654       -.97517E-06   -.22166E-02
   8  norm           .0000        3.0035       -.20522E-06** at limit **
   9  norm          .77987        .56998        .69228E-07    .57261E-02
  10  norm           .0000        4.1007       -.17698E-06** at limit **
  11  norm          16.271        9.9114        .58373E-06   -.46985E-03
  12  norm          1.9397        .89980        .39410E-07   -.88971E-02
  13  norm          1.8760        1.4512       -.16488E-06   -.28735E-02
  14  norm          .72402E-01    .66092       -.22657E-06** at limit **
  15  Normalizat    .99221        .17059        .79987E-05   -.29886E-03
  16  Prefactor     1.0103        .60624E-01   -.93611E-06   -.55119E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.03848
  norm       = 24.2415
  norm       = 2.41732
  norm       = 0.707195
  Prefactor  = 4.06726
  Prefactor  = 5.55112e-11
  Prefactor  = 2.6183
  norm       = 0
  norm       = 0.779865
  norm       = 0
  norm       = 16.2708
  norm       = 1.93973
  norm       = 1.87601
  norm       = 0.0724018
  Normalizat = 0.992206
  Prefactor  = 1.01028
 **********
 **   18 **HESSE 
 **********

 FCN=   25222.69     FROM HESSE     STATUS=OK           243 CALLS     1098 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0385        9.1714        .33357E-03   -1.5648    
   2  norm          24.241        11.428        .20228E-03   -1.5609    
   3  norm          2.4173        3.2788        .65809E-03   -1.5677    
   4  norm          .70720        .73708        .60113E-03   -1.5691    
   5  Prefactor     4.0673        4.3129        .49935E-03   -1.5668    
   6  Prefactor     .55511E-10    21.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6183        5.8738        .64177E-03   -1.5676    
   8  norm           .0000        3.0040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .77987        .57518        .54399E-03   -1.5690    
  10  norm           .0000        4.1283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.271        9.9129        .24893E-03   -1.5627    
  12  norm          1.9397        .90035        .74526E-03   -1.5680    
  13  norm          1.8760        1.4650        .75983E-03   -1.5681    
  14  norm          .72402E-01    4.1487        .14558E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .99221        .14575        .95530E-01   -.93292    
  16  Prefactor     1.0103        .51421E-01    .43300E-01   -.92387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.62023e-07
Minuit parameter uncertainties:
  1  9.17146
  2  11.4279
  3  3.2788
  4  0.737084
  5  4.3129
  6  5.47405e-05
  7  5.87384
  8  1.20225e-05
  9  0.575183
  10  1.85693e-06
  11  9.91289
  12  0.900353
  13  1.46495
  14  1.09613
  15  0.145806
  16  0.0514234
_V02
Working on...
/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits.....................!
real 85.10
user 83.11
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits', '/lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits', expMap='/lscratch/kocevski/35836580/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits', expCube='/lscratch/kocevski/35836580/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35836580/Model_4FGL_J1936.9-4720_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1936.9-4720'

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.943e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35836580/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35836580/ft2_4FGL_J1936.9-4720_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35836580/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35836580/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35836580/Model_4FGL_J1936.9-4720_weekly_bin942.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) = 25223.5482785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 25222.6905906

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0152       1.0000          .0000       .10000E+07
     2 'norm      '    24.450       1.0000          .0000       .10000E+07
     3 'norm      '    2.4173       1.0000          .0000       .10000E+07
     4 'norm      '    .70735       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0727       1.0000          .0000       .10000E+07
     6 'Prefactor '    .53355E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5309       1.0000          .0000       .10000E+07
     8 'norm      '    .32310E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .78051       1.0000          .0000       .10000E+07
    10 'norm      '    .20539E-08   1.0000          .0000       .10000E+07
    11 'norm      '    16.153       1.0000          .0000       .10000E+07
    12 'norm      '    1.9393       1.0000          .0000       .10000E+07
    13 'norm      '    1.8764       1.0000          .0000       .10000E+07
    14 'norm      '    .78139E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    .99271       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25222.69     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      855 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0385        1.6101       -.94052E-07   -.82229E-02
   2  norm          24.241        11.382        .60535E-06   -.12089E-02
   3  norm          2.4173        3.2710       -.22740E-06   -.40950E-03
   4  norm          .70720        .73864       -.65682E-07   -.32881E-02
   5  Prefactor     4.0673        4.2805       -.31161E-06    .18423E-02
   6  Prefactor     .55511E-10    21.791       -.51527E-06** at limit **
   7  Prefactor     2.6183        5.8654       -.97517E-06   -.22166E-02
   8  norm           .0000        3.0035       -.20522E-06** at limit **
   9  norm          .77987        .56998        .69228E-07    .57261E-02
  10  norm           .0000        4.1007       -.17698E-06** at limit **
  11  norm          16.271        9.9114        .58373E-06   -.46985E-03
  12  norm          1.9397        .89980        .39410E-07   -.88971E-02
  13  norm          1.8760        1.4512       -.16488E-06   -.28735E-02
  14  norm          .72402E-01    .66092       -.22657E-06** at limit **
  15  Normalizat    .99221        .17059        .79987E-05   -.29886E-03
  16  Prefactor     1.0103        .60624E-01   -.93611E-06   -.55119E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.03848
  norm       = 24.2415
  norm       = 2.41732
  norm       = 0.707195
  Prefactor  = 4.06726
  Prefactor  = 5.55112e-11
  Prefactor  = 2.6183
  norm       = 0
  norm       = 0.779865
  norm       = 0
  norm       = 16.2708
  norm       = 1.93973
  norm       = 1.87601
  norm       = 0.0724018
  Normalizat = 0.992206
  Prefactor  = 1.01028
 **********
 **   18 **HESSE 
 **********

 FCN=   25222.69     FROM HESSE     STATUS=OK           243 CALLS     1098 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0385        9.1714        .33357E-03   -1.5648    
   2  norm          24.241        11.428        .20228E-03   -1.5609    
   3  norm          2.4173        3.2788        .65809E-03   -1.5677    
   4  norm          .70720        .73708        .60113E-03   -1.5691    
   5  Prefactor     4.0673        4.3129        .49935E-03   -1.5668    
   6  Prefactor     .55511E-10    21.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6183        5.8738        .64177E-03   -1.5676    
   8  norm           .0000        3.0040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .77987        .57518        .54399E-03   -1.5690    
  10  norm           .0000        4.1283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.271        9.9129        .24893E-03   -1.5627    
  12  norm          1.9397        .90035        .74526E-03   -1.5680    
  13  norm          1.8760        1.4650        .75983E-03   -1.5681    
  14  norm          .72402E-01    4.1487        .14558E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .99221        .14575        .95530E-01   -.93292    
  16  Prefactor     1.0103        .51421E-01    .43300E-01   -.92387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.62023e-07
Minuit parameter uncertainties:
  1  9.17146
  2  11.4279
  3  3.2788
  4  0.737084
  5  4.3129
  6  5.47405e-05
  7  5.87384
  8  1.20225e-05
  9  0.575183
  10  1.85693e-06
  11  9.91289
  12  0.900353
  13  1.46495
  14  1.09613
  15  0.145806
  16  0.0514234
utfile=/lscratch/kocevski/35836863/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits
.....................!
real 21.60
user 20.15
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35836863/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836863/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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/35836863/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
.....................!
real 78.13
user 72.60
sys 4.45

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J1936.9-4720 @ 294.242 -47.34

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits scfile=/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836863/cmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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=294.242 yref=-47.34 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.99
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits scfile=/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits outfile=/lscratch/kocevski/35836863/cmap_HighResolution_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.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=294.242 yref=-47.34 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.95
user 0.28
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35836863/Model_4FGL_J1936.9-4720_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GALDone.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 25222.6901073

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  5.551e-11  5.474e-05  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.010e+00  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  9.922e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 294.242 -47.340
Photon Flux Upper Limit: 2.81771926541e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00207304935764 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35836328/likelihoodResults_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25222.7150087
delta logL = -0.0249014373767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25222.270514
delta logL = 0.419593293071

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38901       1.0000          .0000       .10000E+07
     2 'Index     '    3.2206       1.0000          .0000       10.000    
     3 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25222.27     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      279 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38711        6.7699        .90771E-03    .72757E-01
   2  Index         3.2220        1.9842        .73702E-01    .96279E-03
   3  Normalizat    .95881        .29446E-01    .96990E-01    .24698E-04
   4  Prefactor     1.0153        .10557E-01    .42656E-01   -.27117E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.387114
  Index      = 3.22202
  Normalizat = 0.95881
  Prefactor  = 1.0153
 **********
 **   18 **HESSE 
 **********

 FCN=   25222.27     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38711        23.463        .10709E-04   -1.5696    
   2  Index         3.2220        6.5843        .90219E-02   -.36355    
   3  Normalizat    .95881        .12090        .42967E-03   -.94423    
   4  Prefactor     1.0153        .40871E-01    .15013E-03   -.92221    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7533e-05
Minuit parameter uncertainties:
  1  6.02759
  2  4.95734
  3  0.120931
  4  0.0408727
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) = 25222.2705117
delta logL = 0.419595609383

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.871e-01  6.028e+00  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  3.222e+00  4.957e+00  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.015e+00  4.087e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  9.588e-01  1.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 294.242 -47.340

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/35836328/cmap_HighResolution_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-03', job_status='DONE', photon_flux_upper_limit='2.82e-08', time_completed='2026-08-25 15:35:58.047576', job_id='35836328', GAL2='1.02', fit_tolerance='1e-08', EG2='0.96', EG='0.99', time_epoch_completed='1787697358.05', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.20e-01', ts2='0.87', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='942' AND source_name='4FGL J1936.9-4720' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 15:35:58 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 25222.6901073

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  5.551e-11  5.474e-05  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.010e+00  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  9.922e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 294.242 -47.340
Photon Flux Upper Limit: 2.81771926541e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00207304935764 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35836580/likelihoodResults_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25222.7150087
delta logL = -0.0249014373767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25222.270514
delta logL = 0.419593293071

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38901       1.0000          .0000       .10000E+07
     2 'Index     '    3.2206       1.0000          .0000       10.000    
     3 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25222.27     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      279 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38711        6.7699        .90771E-03    .72757E-01
   2  Index         3.2220        1.9842        .73702E-01    .96279E-03
   3  Normalizat    .95881        .29446E-01    .96990E-01    .24698E-04
   4  Prefactor     1.0153        .10557E-01    .42656E-01   -.27117E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.387114
  Index      = 3.22202
  Normalizat = 0.95881
  Prefactor  = 1.0153
 **********
 **   18 **HESSE 
 **********

 FCN=   25222.27     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38711        23.463        .10709E-04   -1.5696    
   2  Index         3.2220        6.5843        .90219E-02   -.36355    
   3  Normalizat    .95881        .12090        .42967E-03   -.94423    
   4  Prefactor     1.0153        .40871E-01    .15013E-03   -.92221    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7533e-05
Minuit parameter uncertainties:
  1  6.02759
  2  4.95734
  3  0.120931
  4  0.0408727
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) = 25222.2705117
delta logL = 0.419595609383

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.871e-01  6.028e+00  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  3.222e+00  4.957e+00  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.015e+00  4.087e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  9.588e-01  1.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 294.242 -47.340

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/35836580/cmap_HighResolution_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-03', job_status='DONE', photon_flux_upper_limit='2.82e-08', time_completed='2026-08-25 15:37:22.066088', job_id='35836580', GAL2='1.02', fit_tolerance='1e-08', EG2='0.96', EG='0.99', time_epoch_completed='1787697442.07', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.20e-01', ts2='0.87', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='942' AND source_name='4FGL J1936.9-4720' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 15:37:22 PDT 2026

_V02
Working on...
/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits.....................!
real 84.77
user 82.48
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits', '/lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits', expMap='/lscratch/kocevski/35836863/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits', expCube='/lscratch/kocevski/35836863/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35836863/Model_4FGL_J1936.9-4720_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1936.9-4720'

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.943e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35836863/ft1_filtered_4FGL_J1936.9-4720_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35836863/ft2_4FGL_J1936.9-4720_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35836863/expmap_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35836863/ltcube_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35836863/Model_4FGL_J1936.9-4720_weekly_bin942.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) = 25223.5482785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 25222.6905906

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0152       1.0000          .0000       .10000E+07
     2 'norm      '    24.450       1.0000          .0000       .10000E+07
     3 'norm      '    2.4173       1.0000          .0000       .10000E+07
     4 'norm      '    .70735       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0727       1.0000          .0000       .10000E+07
     6 'Prefactor '    .53355E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5309       1.0000          .0000       .10000E+07
     8 'norm      '    .32310E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .78051       1.0000          .0000       .10000E+07
    10 'norm      '    .20539E-08   1.0000          .0000       .10000E+07
    11 'norm      '    16.153       1.0000          .0000       .10000E+07
    12 'norm      '    1.9393       1.0000          .0000       .10000E+07
    13 'norm      '    1.8764       1.0000          .0000       .10000E+07
    14 'norm      '    .78139E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    .99271       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25222.69     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      855 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0385        1.6101       -.94052E-07   -.82229E-02
   2  norm          24.241        11.382        .60535E-06   -.12089E-02
   3  norm          2.4173        3.2710       -.22740E-06   -.40950E-03
   4  norm          .70720        .73864       -.65682E-07   -.32881E-02
   5  Prefactor     4.0673        4.2805       -.31161E-06    .18423E-02
   6  Prefactor     .55511E-10    21.791       -.51527E-06** at limit **
   7  Prefactor     2.6183        5.8654       -.97517E-06   -.22166E-02
   8  norm           .0000        3.0035       -.20522E-06** at limit **
   9  norm          .77987        .56998        .69228E-07    .57261E-02
  10  norm           .0000        4.1007       -.17698E-06** at limit **
  11  norm          16.271        9.9114        .58373E-06   -.46985E-03
  12  norm          1.9397        .89980        .39410E-07   -.88971E-02
  13  norm          1.8760        1.4512       -.16488E-06   -.28735E-02
  14  norm          .72402E-01    .66092       -.22657E-06** at limit **
  15  Normalizat    .99221        .17059        .79987E-05   -.29886E-03
  16  Prefactor     1.0103        .60624E-01   -.93611E-06   -.55119E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.03848
  norm       = 24.2415
  norm       = 2.41732
  norm       = 0.707195
  Prefactor  = 4.06726
  Prefactor  = 5.55112e-11
  Prefactor  = 2.6183
  norm       = 0
  norm       = 0.779865
  norm       = 0
  norm       = 16.2708
  norm       = 1.93973
  norm       = 1.87601
  norm       = 0.0724018
  Normalizat = 0.992206
  Prefactor  = 1.01028
 **********
 **   18 **HESSE 
 **********

 FCN=   25222.69     FROM HESSE     STATUS=OK           243 CALLS     1098 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0385        9.1714        .33357E-03   -1.5648    
   2  norm          24.241        11.428        .20228E-03   -1.5609    
   3  norm          2.4173        3.2788        .65809E-03   -1.5677    
   4  norm          .70720        .73708        .60113E-03   -1.5691    
   5  Prefactor     4.0673        4.3129        .49935E-03   -1.5668    
   6  Prefactor     .55511E-10    21.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6183        5.8738        .64177E-03   -1.5676    
   8  norm           .0000        3.0040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .77987        .57518        .54399E-03   -1.5690    
  10  norm           .0000        4.1283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.271        9.9129        .24893E-03   -1.5627    
  12  norm          1.9397        .90035        .74526E-03   -1.5680    
  13  norm          1.8760        1.4650        .75983E-03   -1.5681    
  14  norm          .72402E-01    4.1487        .14558E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .99221        .14575        .95530E-01   -.93292    
  16  Prefactor     1.0103        .51421E-01    .43300E-01   -.92387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.62023e-07
Minuit parameter uncertainties:
  1  9.17146
  2  11.4279
  3  3.2788
  4  0.737084
  5  4.3129
  6  5.47405e-05
  7  5.87384
  8  1.20225e-05
  9  0.575183
  10  1.85693e-06
  11  9.91289
  12  0.900353
  13  1.46495
  14  1.09613
  15  0.145806
  16  0.0514234
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 25222.6901073

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  5.551e-11  5.474e-05  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.010e+00  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  9.922e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 294.242 -47.340
Photon Flux Upper Limit: 2.81771926541e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00207304935764 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35836863/likelihoodResults_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25222.7150087
delta logL = -0.0249014373767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25222.270514
delta logL = 0.419593293071

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38901       1.0000          .0000       .10000E+07
     2 'Index     '    3.2206       1.0000          .0000       10.000    
     3 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25222.27     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      279 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38711        6.7699        .90771E-03    .72757E-01
   2  Index         3.2220        1.9842        .73702E-01    .96279E-03
   3  Normalizat    .95881        .29446E-01    .96990E-01    .24698E-04
   4  Prefactor     1.0153        .10557E-01    .42656E-01   -.27117E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.387114
  Index      = 3.22202
  Normalizat = 0.95881
  Prefactor  = 1.0153
 **********
 **   18 **HESSE 
 **********

 FCN=   25222.27     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38711        23.463        .10709E-04   -1.5696    
   2  Index         3.2220        6.5843        .90219E-02   -.36355    
   3  Normalizat    .95881        .12090        .42967E-03   -.94423    
   4  Prefactor     1.0153        .40871E-01    .15013E-03   -.92221    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7533e-05
Minuit parameter uncertainties:
  1  6.02759
  2  4.95734
  3  0.120931
  4  0.0408727
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) = 25222.2705117
delta logL = 0.419595609383

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.871e-01  6.028e+00  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  3.222e+00  4.957e+00  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.015e+00  4.087e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  9.588e-01  1.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 294.242 -47.340

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/35836863/cmap_HighResolution_808704001_809308801_4FGL_J1936.9-4720_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-03', job_status='DONE', photon_flux_upper_limit='2.82e-08', time_completed='2026-08-25 15:41:04.713208', job_id='35836863', GAL2='1.02', fit_tolerance='1e-08', EG2='0.96', EG='0.99', time_epoch_completed='1787697664.71', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.20e-01', ts2='0.87', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='942' AND source_name='4FGL J1936.9-4720' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 15:41:05 PDT 2026

