/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_J1944.9-2143_weekly_bin942
RA = 296.229, Dec = -21.7216
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='35836866', job_status='RUN', time_executed='2026-08-25 15:27:25.704345', time_epoch_executed='1787696845.7' WHERE source_name='4FGL J1944.9-2143' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35836866

Creating custom pfile directory:
/lscratch/kocevski/35836866/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/35836866/ft1_4FGL_J1944.9-2143_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/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35836866/ft1_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35836866/ft1_filteredMKT_4FGL_J1944.9-2143_weekly_bin942.fits ra=296.229 dec=-21.7216 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.82
user 6.03
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_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/35836866/ft1_filteredMKT_4FGL_J1944.9-2143_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_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.99
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 2669

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATAnumber of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1944.9-2143_weekly_bin942
RA = 296.229, Dec = -21.7216
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='35837004', job_status='RUN', time_executed='2026-08-25 15:28:53.604604', time_epoch_executed='1787696933.6' WHERE source_name='4FGL J1944.9-2143' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35837004

Creating custom pfile directory:
/lscratch/kocevski/35837004/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/35837004/ft1_4FGL_J1944.9-2143_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/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35837004/ft1_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837004/ft1_filteredMKT_4FGL_J1944.9-2143_weekly_bin942.fits ra=296.229 dec=-21.7216 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.59
user 4.94
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_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/35837004/ft1_filteredMKT_4FGL_J1944.9-2143_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_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 1.20
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 2669

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35836866/ltcube_808704001_809308801_4FGL_J1944.9-2143_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/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits
.....................!
real 22.26
user 20.95
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35836866/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35836866/expmap_808704001_809308801_4FGL_J1944.9-2143_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/35836866/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
.....................!
real 80.06
user 73.72
sys 4.31

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 HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Added 262 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1944.9-2143 @ 296.229 -21.7216

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits scfile=/lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35836866/cmap_808704001_809308801_4FGL_J1944.9-2143_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=296.229 yref=-21.7216 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.56
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits scfile=/lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35836866/cmap_HighResolution_808704001_809308801_4FGL_J1944.9-2143_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=296.229 yref=-21.7216 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.26
sys 0.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.f" outfile=/lscratch/kocevski/35837004/ltcube_808704001_809308801_4FGL_J1944.9-2143_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/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits
.....................!
real 22.08
user 20.98
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35837004/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837004/expmap_808704001_809308801_4FGL_J1944.9-2143_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/35837004/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
.....................!
real 79.47
user 73.62
sys 4.44

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 HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Added 262 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1944.9-2143 @ 296.229 -21.7216

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits scfile=/lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837004/cmap_808704001_809308801_4FGL_J1944.9-2143_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=296.229 yref=-21.7216 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.93
user 0.23
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits scfile=/lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837004/cmap_HighResolution_808704001_809308801_4FGL_J1944.9-2143_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=296.229 yref=-21.7216 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.03
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fnumber of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1944.9-2143_weekly_bin942
RA = 296.229, Dec = -21.7216
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='35837373', job_status='RUN', time_executed='2026-08-25 15:32:11.420634', time_epoch_executed='1787697131.42' WHERE source_name='4FGL J1944.9-2143' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35837373

Creating custom pfile directory:
/lscratch/kocevski/35837373/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/35837373/ft1_4FGL_J1944.9-2143_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/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35837373/ft1_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837373/ft1_filteredMKT_4FGL_J1944.9-2143_weekly_bin942.fits ra=296.229 dec=-21.7216 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.29
user 4.62
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_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/35837373/ft1_filteredMKT_4FGL_J1944.9-2143_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_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.60
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2669

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35837373/ltcube_808704001_809308801_4FGL_J1944.9-2143_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/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits
.....................!
real 18.89
user 18.15
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35837373/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837373/expmap_808704001_809308801_4FGL_J1944.9-2143_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/35837373/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
.....................!
real 71.78
user 66.89
sys 4.12

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 HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Added 262 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1944.9-2143 @ 296.229 -21.7216

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits scfile=/lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837373/cmap_808704001_809308801_4FGL_J1944.9-2143_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=296.229 yref=-21.7216 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.66
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits scfile=/lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits outfile=/lscratch/kocevski/35837373/cmap_HighResolution_808704001_809308801_4FGL_J1944.9-2143_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=296.229 yref=-21.7216 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.66
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.its evtable="EVENTS" scfile=/lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35836866/Model_4FGL_J1944.9-2143_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 FGES J1838.9-0704
adding source GAL_V02
adding source HESS J1813-178
adding source HESS J1825-137
adding source W 41
Working on...
/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits.....................!
real 120.42
user 116.63
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits', '/lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits', expMap='/lscratch/kocevski/35836866/expmap_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits', expCube='/lscratch/kocevski/35836866/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35836866/Model_4FGL_J1944.9-2143_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1944.9-2143'

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  7.284e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35836866/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35836866/ft2_4FGL_J1944.9-2143_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35836866/expmap_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35836866/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35836866/Model_4FGL_J1944.9-2143_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) = 27899.1055039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.052       1.0000          .0000       .10000E+07
     2 'norm      '    .25352E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17852       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54601E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    39.962       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2405       1.0000          .0000       .10000E+07
     7 'norm      '    1.4963       1.0000          .0000       .10000E+07
     8 'norm      '    2.1819       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3577       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34378E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22659E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .66447E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.7157       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2066       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.406       1.0000          .0000       .10000E+07
    16 'Prefactor '    .42117       1.0000          .0000       .10000E+07
    17 'norm      '    16.688       1.0000          .0000       .10000E+07
    18 'norm      '    1.5940       1.0000          .0000       .10000E+07
    19 'Prefactor '    42.129       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.701its evtable="EVENTS" scfile=/lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35837004/Model_4FGL_J1944.9-2143_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 FGES J1838.9-0704
adding source GAL_V02
adding source HESS J1813-178
adding source HESS J1825-137
adding source W 41
Working on...
/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits.....................!
real 117.92
user 113.68
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits', '/lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits', expMap='/lscratch/kocevski/35837004/expmap_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits', expCube='/lscratch/kocevski/35837004/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35837004/Model_4FGL_J1944.9-2143_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1944.9-2143'

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  7.284e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35837004/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35837004/ft2_4FGL_J1944.9-2143_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35837004/expmap_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35837004/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35837004/Model_4FGL_J1944.9-2143_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) = 27899.1055039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.052       1.0000          .0000       .10000E+07
     2 'norm      '    .25352E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17852       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54601E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    39.962       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2405       1.0000          .0000       .10000E+07
     7 'norm      '    1.4963       1.0000          .0000       .10000E+07
     8 'norm      '    2.1819       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3577       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34378E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22659E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .66447E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.7157       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2066       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.406       1.0000          .0000       .10000E+07
    16 'Prefactor '    .42117       1.0000          .0000       .10000E+07
    17 'norm      '    16.688       1.0000          .0000       .10000E+07
    18 'norm      '    1.5940       1.0000          .0000       .10000E+07
    19 'Prefactor '    42.129       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.7012       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.3899       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91029       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27899.04     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1837 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.708        32.906        .87682E-07    .23008E-03
   2  norm           .0000        2.3870        .15998E-07** at limit **
   3  norm          .17860        .33400        .21412E-07** at limit **
   4  Prefactor      .0000        3.7586        .84530E-08** at limit **
   5  Prefactor     39.955        1.7121        .42088E-08   -.97108E-02
   6  Prefactor     1.2395        1.9960       -.10884E-07    .95014E-04
   7  norm          1.5111        2.9324       -.49578E-07    .55876E-04
   8  norm          2.1904        2.8522        .12559E-07    .23211E-03
   9  Prefactor     1.3565        2.1300        .29438E-07    .62723E-04
  10  Prefactor      .0000        10.905       -.24925E-07** at limit **
  11  Prefactor      .0000        23.313       -.44125E-07** at limit **
  12  Prefactor      .0000        1.2869       -.47724E-07** at limit **
  13  Prefactor     8.7137        10.427        .16284E-07   -.22554E-04
  14  Prefactor     2.2026        3.8705       -.22006E-07    .50252E-05
  15  Prefactor     10.397        13.851       -.24522E-07   -.73733E-04
  16  Prefactor     .42180        1.0429       -.64876E-08    .60443E-04
  17  norm          16.680        9.5266       -.24290E-07   -.13078E-03
  18  norm          1.6146        4.2896       -.10952E-06   -.13361E-03
  19  Prefactor     39.456        83.684       -.38312E-07    .75617E-04
  20  Prefactor     5.0349        31.390       -.18821E-06   -.10954E-03
  21  Normalizat    1.3904        .21968        .19768E-05   -.55928E-05
  22  Prefactor     .91028        .52199E-01   -.62881E-06    .48498E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.7083
  norm       = 0
  norm       = 0.178599
  Prefactor  = 0
  Prefactor  = 39.9548
  Prefactor  = 1.23954
  norm       = 1.51114
  norm       = 2.19044
  Prefactor  = 1.35647
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.71374
  Prefactor  = 2.20258
  Prefactor  = 10.3969
  Prefactor  = 0.421795
  norm       = 16.6797
  norm       = 1.61455
  Prefactor  = 39.4556
  Prefactor  = 5.03492
  Normalizat = 1.39035
  Prefactor  = 0.910281
2       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.3899       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91029       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27899.04     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1837 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.708        32.906        .87682E-07    .23008E-03
   2  norm           .0000        2.3870        .15998E-07** at limit **
   3  norm          .17860        .33400        .21412E-07** at limit **
   4  Prefactor      .0000        3.7586        .84530E-08** at limit **
   5  Prefactor     39.955        1.7121        .42088E-08   -.97108E-02
   6  Prefactor     1.2395        1.9960       -.10884E-07    .95014E-04
   7  norm          1.5111        2.9324       -.49578E-07    .55876E-04
   8  norm          2.1904        2.8522        .12559E-07    .23211E-03
   9  Prefactor     1.3565        2.1300        .29438E-07    .62723E-04
  10  Prefactor      .0000        10.905       -.24925E-07** at limit **
  11  Prefactor      .0000        23.313       -.44125E-07** at limit **
  12  Prefactor      .0000        1.2869       -.47724E-07** at limit **
  13  Prefactor     8.7137        10.427        .16284E-07   -.22554E-04
  14  Prefactor     2.2026        3.8705       -.22006E-07    .50252E-05
  15  Prefactor     10.397        13.851       -.24522E-07   -.73733E-04
  16  Prefactor     .42180        1.0429       -.64876E-08    .60443E-04
  17  norm          16.680        9.5266       -.24290E-07   -.13078E-03
  18  norm          1.6146        4.2896       -.10952E-06   -.13361E-03
  19  Prefactor     39.456        83.684       -.38312E-07    .75617E-04
  20  Prefactor     5.0349        31.390       -.18821E-06   -.10954E-03
  21  Normalizat    1.3904        .21968        .19768E-05   -.55928E-05
  22  Prefactor     .91028        .52199E-01   -.62881E-06    .48498E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.7083
  norm       = 0
  norm       = 0.178599
  Prefactor  = 0
  Prefactor  = 39.9548
  Prefactor  = 1.23954
  norm       = 1.51114
  norm       = 2.19044
  Prefactor  = 1.35647
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.71374
  Prefactor  = 2.20258
  Prefactor  = 10.3969
  Prefactor  = 0.421795
  norm       = 16.6797
  norm       = 1.61455
  Prefactor  = 39.4556
  Prefactor  = 5.03492
  Normalizat = 1.39035
  Prefactor  = 0.910281
fits evtable="EVENTS" scfile=/lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35837373/Model_4FGL_J1944.9-2143_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 FGES J1838.9-0704
adding source GAL_V02
adding source HESS J1813-178
adding source HESS J1825-137
adding source W 41
Working on...
/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits.....................!
real 104.57
user 102.44
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits', '/lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits', expMap='/lscratch/kocevski/35837373/expmap_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits', expCube='/lscratch/kocevski/35837373/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35837373/Model_4FGL_J1944.9-2143_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1944.9-2143'

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  7.284e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35837373/ft1_filtered_4FGL_J1944.9-2143_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35837373/ft2_4FGL_J1944.9-2143_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35837373/expmap_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35837373/ltcube_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35837373/Model_4FGL_J1944.9-2143_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) = 27899.1055039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.052       1.0000          .0000       .10000E+07
     2 'norm      '    .25352E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17852       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54601E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    39.962       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2405       1.0000          .0000       .10000E+07
     7 'norm      '    1.4963       1.0000          .0000       .10000E+07
     8 'norm      '    2.1819       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3577       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34378E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22659E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .66447E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.7157       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2066       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.406       1.0000          .0000       .10000E+07
    16 'Prefactor '    .42117       1.0000          .0000       .10000E+07
    17 'norm      '    16.688       1.0000          .0000       .10000E+07
    18 'norm      '    1.5940       1.0000          .0000       .10000E+07
    19 'Prefactor '    42.129       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.70 **********
 **   18 **HESSE 
 **********

 FCN=   27899.04     FROM HESSE     STATUS=OK           400 CALLS     2237 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.708        32.899        .16004E-03   -1.5584    
   2  norm           .0000        2.3641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17860        .28253        .29585E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.7703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.955        26.857        .15820E-03   -1.5582    
   6  Prefactor     1.2395        2.0519        .10065E-02   -1.5686    
   7  norm          1.5111        2.9806        .87547E-03   -1.5683    
   8  norm          2.1904        2.8712        .69664E-03   -1.5678    
   9  Prefactor     1.3565        2.1575        .93742E-03   -1.5685    
  10  Prefactor      .0000        10.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        23.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.2803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.7137        10.449        .33929E-03   -1.5649    
  14  Prefactor     2.2026        3.8963        .69225E-03   -1.5678    
  15  Prefactor     10.397        13.883        .31035E-03   -1.5643    
  16  Prefactor     .42180        1.0516        .87074E-03   -1.5695    
  17  norm          16.680        9.5074        .24491E-03   -1.5626    
  18  norm          1.6146        4.3490        .83988E-03   -1.5683    
  19  Prefactor     39.456        84.092        .15408E-03   -1.5582    
  20  Prefactor     5.0349        31.244        .46387E-03   -1.5663    
  21  Normalizat    1.3904        .19180        .11146       -.80908    
  22  Prefactor     .91028        .45198E-01    .32752E-01   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67474e-06
Minuit parameter uncertainties:
  1  32.899
  2  1.09244e-06
  3  0.282527
  4  1.99717e-06
  5  26.8566
  6  2.05186
  7  2.98056
  8  2.87119
  9  2.15747
  10  1.71234e-06
  11  4.40714e-06
  12  7.38361e-07
  13  10.4486
  14  3.89626
  15  13.8827
  16  1.05158
  17  9.50742
  18  4.34902
  19  84.0941
  20  25.085
  21  0.191901
  22  0.0451995
12       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.3899       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91029       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27899.04     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1837 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.708        32.906        .87682E-07    .23008E-03
   2  norm           .0000        2.3870        .15998E-07** at limit **
   3  norm          .17860        .33400        .21412E-07** at limit **
   4  Prefactor      .0000        3.7586        .84530E-08** at limit **
   5  Prefactor     39.955        1.7121        .42088E-08   -.97108E-02
   6  Prefactor     1.2395        1.9960       -.10884E-07    .95014E-04
   7  norm          1.5111        2.9324       -.49578E-07    .55876E-04
   8  norm          2.1904        2.8522        .12559E-07    .23211E-03
   9  Prefactor     1.3565        2.1300        .29438E-07    .62723E-04
  10  Prefactor      .0000        10.905       -.24925E-07** at limit **
  11  Prefactor      .0000        23.313       -.44125E-07** at limit **
  12  Prefactor      .0000        1.2869       -.47724E-07** at limit **
  13  Prefactor     8.7137        10.427        .16284E-07   -.22554E-04
  14  Prefactor     2.2026        3.8705       -.22006E-07    .50252E-05
  15  Prefactor     10.397        13.851       -.24522E-07   -.73733E-04
  16  Prefactor     .42180        1.0429       -.64876E-08    .60443E-04
  17  norm          16.680        9.5266       -.24290E-07   -.13078E-03
  18  norm          1.6146        4.2896       -.10952E-06   -.13361E-03
  19  Prefactor     39.456        83.684       -.38312E-07    .75617E-04
  20  Prefactor     5.0349        31.390       -.18821E-06   -.10954E-03
  21  Normalizat    1.3904        .21968        .19768E-05   -.55928E-05
  22  Prefactor     .91028        .52199E-01   -.62881E-06    .48498E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.7083
  norm       = 0
  norm       = 0.178599
  Prefactor  = 0
  Prefactor  = 39.9548
  Prefactor  = 1.23954
  norm       = 1.51114
  norm       = 2.19044
  Prefactor  = 1.35647
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.71374
  Prefactor  = 2.20258
  Prefactor  = 10.3969
  Prefactor  = 0.421795
  norm       = 16.6797
  norm       = 1.61455
  Prefactor  = 39.4556
  Prefactor  = 5.03492
  Normalizat = 1.39035
  Prefactor  = 0.910281
 **********
 **   18 **HESSE 
 **********

 FCN=   27899.04     FROM HESSE     STATUS=OK           400 CALLS     2237 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.708        32.899        .16004E-03   -1.5584    
   2  norm           .0000        2.3641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17860        .28253        .29585E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.7703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.955        26.857        .15820E-03   -1.5582    
   6  Prefactor     1.2395        2.0519        .10065E-02   -1.5686    
   7  norm          1.5111        2.9806        .87547E-03   -1.5683    
   8  norm          2.1904        2.8712        .69664E-03   -1.5678    
   9  Prefactor     1.3565        2.1575        .93742E-03   -1.5685    
  10  Prefactor      .0000        10.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        23.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.2803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.7137        10.449        .33929E-03   -1.5649    
  14  Prefactor     2.2026        3.8963        .69225E-03   -1.5678    
  15  Prefactor     10.397        13.883        .31035E-03   -1.5643    
  16  Prefactor     .42180        1.0516        .87074E-03   -1.5695    
  17  norm          16.680        9.5074        .24491E-03   -1.5626    
  18  norm          1.6146        4.3490        .83988E-03   -1.5683    
  19  Prefactor     39.456        84.092        .15408E-03   -1.5582    
  20  Prefactor     5.0349        31.244        .46387E-03   -1.5663    
  21  Normalizat    1.3904        .19180        .11146       -.80908    
  22  Prefactor     .91028        .45198E-01    .32752E-01   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67474e-06
Minuit parameter uncertainties:
  1  32.899
  2  1.09244e-06
  3  0.282527
  4  1.99717e-06
  5  26.8566
  6  2.05186
  7  2.98056
  8  2.87119
  9  2.15747
  10  1.71234e-06
  11  4.40714e-06
  12  7.38361e-07
  13  10.4486
  14  3.89626
  15  13.8827
  16  1.05158
  17  9.50742
  18  4.34902
  19  84.0941
  20  25.085
  21  0.191901
  22  0.0451995
 **********
 **   18 **HESSE 
 **********

 FCN=   27899.04     FROM HESSE     STATUS=OK           400 CALLS     2237 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.708        32.899        .16004E-03   -1.5584    
   2  norm           .0000        2.3641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17860        .28253        .29585E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.7703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.955        26.857        .15820E-03   -1.5582    
   6  Prefactor     1.2395        2.0519        .10065E-02   -1.5686    
   7  norm          1.5111        2.9806        .87547E-03   -1.5683    
   8  norm          2.1904        2.8712        .69664E-03   -1.5678    
   9  Prefactor     1.3565        2.1575        .93742E-03   -1.5685    
  10  Prefactor      .0000        10.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        23.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.2803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.7137        10.449        .33929E-03   -1.5649    
  14  Prefactor     2.2026        3.8963        .69225E-03   -1.5678    
  15  Prefactor     10.397        13.883        .31035E-03   -1.5643    
  16  Prefactor     .42180        1.0516        .87074E-03   -1.5695    
  17  norm          16.680        9.5074        .24491E-03   -1.5626    
  18  norm          1.6146        4.3490        .83988E-03   -1.5683    
  19  Prefactor     39.456        84.092        .15408E-03   -1.5582    
  20  Prefactor     5.0349        31.244        .46387E-03   -1.5663    
  21  Normalizat    1.3904        .19180        .11146       -.80908    
  22  Prefactor     .91028        .45198E-01    .32752E-01   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67474e-06
Minuit parameter uncertainties:
  1  32.899
  2  1.09244e-06
  3  0.282527
  4  1.99717e-06
  5  26.8566
  6  2.05186
  7  2.98056
  8  2.87119
  9  2.15747
  10  1.71234e-06
  11  4.40714e-06
  12  7.38361e-07
  13  10.4486
  14  3.89626
  15  13.8827
  16  1.05158
  17  9.50742
  18  4.34902
  19  84.0941
  20  25.085
  21  0.191901
  22  0.0451995
Done.

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

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  0.000e+00  4.407e-06  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  9.103e-01  4.520e-02  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.390e+00  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 296.229 -21.722
Photon Flux Upper Limit: 2.91411044292e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00214996406665 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35836866/likelihoodResults_808704001_809308801_4FGL_J1944.9-2143_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): 0
logL (Free Index) = 27899.0672874
delta logL = -0.0228130932956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27899.0444903
delta logL = -1.59609080583e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12392E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.1630       1.0000          .0000       10.000    
     3 'Normalizat'    1.3911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27899.04     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        13.899        .42118E-03** at limit **
   2  Index         1.5256        .88706       -.40242E-04     .0000    
   3  Normalizat    1.3904        1.0630        .82978E-05   -.28794E-04
   4  Prefactor     .91028        1.2546       -.19260E-05   -.11044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.5256
  Normalizat = 1.39035
  Prefactor  = 0.91028
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27899.04     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        13.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21243        1.4206       -.40242E-04   -.76825    
   3  Normalizat    1.3904        1.0630        .82978E-05   -.80908    
   4  Prefactor     .91028        1.2546       -.19260E-05   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.22339e-12
Minuit parameter uncertainties:
  1  3.85493e-05
  2  0.896317
  3  1.08058
  4  1.29827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27899.0444743
delta logL = 0.0

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  0.000e+00  3.855e-05  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.526e+00  8.963e-01  0.000e+00  1.000e+01 (-1.000e+00)
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  9.103e-01  1.298e+00  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.390e+00  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 296.229 -21.722

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/35836866/cmap_HighResolution_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', job_status='DONE', photon_flux_upper_limit='2.91e-08', time_completed='2026-08-25 15:50:06.528530', job_id='35836866', GAL2='0.91', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1787698206.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.81' WHERE bin_id='942' AND source_name='4FGL J1944.9-2143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 15:50:06 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  0.000e+00  4.407e-06  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  9.103e-01  4.520e-02  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.390e+00  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 296.229 -21.722
Photon Flux Upper Limit: 2.91411044292e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00214996406665 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35837004/likelihoodResults_808704001_809308801_4FGL_J1944.9-2143_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): 0
logL (Free Index) = 27899.0672874
delta logL = -0.0228130932956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27899.0444903
delta logL = -1.59609080583e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12392E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.1630       1.0000          .0000       10.000    
     3 'Normalizat'    1.3911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27899.04     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        13.899        .42118E-03** at limit **
   2  Index         1.5256        .88706       -.40242E-04     .0000    
   3  Normalizat    1.3904        1.0630        .82978E-05   -.28794E-04
   4  Prefactor     .91028        1.2546       -.19260E-05   -.11044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.5256
  Normalizat = 1.39035
  Prefactor  = 0.91028
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27899.04     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        13.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21243        1.4206       -.40242E-04   -.76825    
   3  Normalizat    1.3904        1.0630        .82978E-05   -.80908    
   4  Prefactor     .91028        1.2546       -.19260E-05   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.22339e-12
Minuit parameter uncertainties:
  1  3.85493e-05
  2  0.896317
  3  1.08058
  4  1.29827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27899.0444743
delta logL = 0.0

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  0.000e+00  3.855e-05  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.526e+00  8.963e-01  0.000e+00  1.000e+01 (-1.000e+00)
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  9.103e-01  1.298e+00  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.390e+00  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 296.229 -21.722

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/35837004/cmap_HighResolution_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', job_status='DONE', photon_flux_upper_limit='2.91e-08', time_completed='2026-08-25 15:50:32.462745', job_id='35837004', GAL2='0.91', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1787698232.46', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.81' WHERE bin_id='942' AND source_name='4FGL J1944.9-2143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 15:50:32 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  0.000e+00  4.407e-06  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  9.103e-01  4.520e-02  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.390e+00  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 296.229 -21.722
Photon Flux Upper Limit: 2.91411044292e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00214996406665 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35837373/likelihoodResults_808704001_809308801_4FGL_J1944.9-2143_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): 0
logL (Free Index) = 27899.0672874
delta logL = -0.0228130932956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27899.0444903
delta logL = -1.59609080583e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12392E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.1630       1.0000          .0000       10.000    
     3 'Normalizat'    1.3911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27899.04     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        13.899        .42118E-03** at limit **
   2  Index         1.5256        .88706       -.40242E-04     .0000    
   3  Normalizat    1.3904        1.0630        .82978E-05   -.28794E-04
   4  Prefactor     .91028        1.2546       -.19260E-05   -.11044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.5256
  Normalizat = 1.39035
  Prefactor  = 0.91028
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27899.04     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        13.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21243        1.4206       -.40242E-04   -.76825    
   3  Normalizat    1.3904        1.0630        .82978E-05   -.80908    
   4  Prefactor     .91028        1.2546       -.19260E-05   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.22339e-12
Minuit parameter uncertainties:
  1  3.85493e-05
  2  0.896317
  3  1.08058
  4  1.29827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27899.0444743
delta logL = 0.0

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  0.000e+00  3.855e-05  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.526e+00  8.963e-01  0.000e+00  1.000e+01 (-1.000e+00)
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  9.103e-01  1.298e+00  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.390e+00  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 296.229 -21.722

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/35837373/cmap_HighResolution_808704001_809308801_4FGL_J1944.9-2143_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', job_status='DONE', photon_flux_upper_limit='2.91e-08', time_completed='2026-08-25 15:51:12.921448', job_id='35837373', GAL2='0.91', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1787698272.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.81' WHERE bin_id='942' AND source_name='4FGL J1944.9-2143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 15:51:13 PDT 2026

