number of points = 17278
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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
Done.


Performing analysis on: 4FGL_J0019.2-5640_weekly_bin930
RA = 4.8106, Dec = -56.6826
tmin = 801446401, tmax = 802051201
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='27607437', job_status='RUN', time_executed='2026-06-02 00:15:54.024614', time_epoch_executed='1780384554.02' WHERE source_name='4FGL J0019.2-5640' and cadence='weekly' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27607437

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27607437/ft1_4FGL_J0019.2-5640_weekly_bin930.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27607437/ft1_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607437/ft1_filteredMKT_4FGL_J0019.2-5640_weekly_bin930.fits ra=4.8106 dec=-56.6826 rad=12.0 tmin=801446401.0 tmax=802051201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.37
user 3.74
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.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/27607437/ft1_filteredMKT_4FGL_J0019.2-5640_weekly_bin930.fits evtable="EVENTS" outfile="/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.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.56
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1270

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits sctable="SC_DATA"
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 = 17278
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0019.2-5640_weekly_bin930
RA = 4.8106, Dec = -56.6826
tmin = 801446401, tmax = 802051201
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='27607463', job_status='RUN', time_executed='2026-06-02 00:16:59.643744', time_epoch_executed='1780384619.64' WHERE source_name='4FGL J0019.2-5640' and cadence='weekly' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27607463

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27607463/ft1_4FGL_J0019.2-5640_weekly_bin930.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27607463/ft1_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607463/ft1_filteredMKT_4FGL_J0019.2-5640_weekly_bin930.fits ra=4.8106 dec=-56.6826 rad=12.0 tmin=801446401.0 tmax=802051201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.63
user 4.13
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.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/27607463/ft1_filteredMKT_4FGL_J0019.2-5640_weekly_bin930.fits evtable="EVENTS" outfile="/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.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.49
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1270

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27607437/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits
.....................!
real 15.99
user 15.42
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27607437/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607437/expmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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/27607437/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits
.....................!
real 60.01
user 55.67
sys 3.66

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 SMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 189 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0019.2-5640 @ 4.8106 -56.6826

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits scfile=/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607437/cmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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=4.8106 yref=-56.6826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits scfile=/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607437/cmap_HighResolution_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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=4.8106 yref=-56.6826 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.52
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin9 outfile=/lscratch/kocevski/27607463/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits
.....................!
real 17.26
user 16.70
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27607463/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607463/expmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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/27607463/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits
.....................!
real 63.91
user 59.79
sys 3.52

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 SMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 189 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0019.2-5640 @ 4.8106 -56.6826

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits scfile=/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607463/cmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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=4.8106 yref=-56.6826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.60
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits scfile=/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits outfile=/lscratch/kocevski/27607463/cmap_HighResolution_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.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=4.8106 yref=-56.6826 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.54
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27607437/Model_4FGL_J0019.2-5640_weekly_bin930.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits.....................!
real 1267.04
user 1259.87
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits', '/lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits', expMap='/lscratch/kocevski/27607437/expmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits', expCube='/lscratch/kocevski/27607437/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27607437/Model_4FGL_J0019.2-5640_weekly_bin930.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0019.2-5640'

4FGL J0019.2-5640
   Spectrum: PowerLaw
45     Prefactor:  1.547e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.205e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.450e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27607437/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits
Spacecraft file(s): /lscratch/kocevski/27607437/ft2_4FGL_J0019.2-5640_weekly_bin930.fits
Exposure map: /lscratch/kocevski/27607437/expmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits
Exposure cube: /lscratch/kocevski/27607437/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27607437/Model_4FGL_J0019.2-5640_weekly_bin930.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) = 13768.5529152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30548E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13758E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.095       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10314E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.8608       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4198       1.0000          .0000       .10000E+07
     7 'norm      '    .89705E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.6834       1.0000          .0000       .10000E+07
     9 'norm      '    3.2985       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15435E-02   1.0000          .0000       .10000E+07
    11 'norm      '    9.9257       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8654       1.0000          .0000       .10000E+07
    13 'Prefactor '    .81037E-04   1.0000          .0000       .10000E+07
    14 'norm      '    12.299       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0990       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35157E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.3964       1.0000          .0000       .10000E+07
    18 'norm      '    .14437E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .23035E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10599E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .84325       1.0000          .0000       .10000E+07
    22 'Prefactor '    30.492       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.9274       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.1021       1.0000          .0000       .10000E+07
    25 'norm      '    .42239E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    5.5798       1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1365       1.0000          .0000       .10000E+07
    28 'Normalizat'    .96758       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .74397       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13768.49     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2084 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    3.7049       -.36072E-06** at limit **
   2  Prefactor     .34417E-08    5.1034       -.10775E-05** at limit **
   3  Prefactor     12.100        5.3633       -.38262E-06   -.42924E-01
   4  Prefactor      .0000        1.7461       -.26487E-07** at limit **
   5  Prefactor     1.8454        4.4703        .59241E-06   -.27196E-01
   6  Prefactor     2.4195        2.5321       -.29119E-07   -.54242E-03
   7  norm          .19984E-08    3.9975        .52419E-06** at limit **
   8  Prefactor     4.6792        3.0391        .22526E-07    .15648E-01
   9  norm          3.3006        3.1111        .23526E-07   -.39070E-02
  10  Prefactor     .13878E-07    5.0870       -.59742E-06** at limit **
  11  norm          9.9213        3.6289       -.88778E-08   -.29517E-03
  12  Prefactor     3.8670        5.6107       -.63925E-06   -.12409E-01
  13  Prefactor      .0000        43.490       -.20509E-06** at limit **
  14  norm          12.299        5.4520        .47910E-06    .31823E-01
  15  Prefactor     1.0990        1.1806        .18405E-07   -.13119E-01
  16  Prefactor     .62172E-08    11.346        .90010E-06** at limit **
  17  Prefactor     3.3970        4.7561        .40220E-08   -.86673E-03
  18  norm           .0000        .75450        .49772E-08** at limit **
  19  Prefactor      .0000        1.9647       -.24764E-07** at limit **
  20  Prefactor     .46241E-07    3.9398       -.85368E-06** at limit **
  21  norm          .84325        .51024       -.67715E-08   -.12663E-01
  22  Prefactor     30.480        1.1242       -.98143E-09    .43678E-02
  23  Prefactor     1.9280        1.7690        .10605E-07    .21287E-02
  24  Prefactor     4.1132        1.1605       -.75696E-07    .13959E-02
  25  norm          .17764E-08    6.1327        .11491E-05** at limit **
  26  Prefactor     5.5737        3.0031        .29728E-07   -.40999E-02
  27  Prefactor     1.1358        2.0636       -.43728E-07   -.19672E-02
  28  Normalizat    .96761        .12628        .10967E-05    .20344E-04
  29  Prefactor     .74400        .12760       -.50486E-06   -.15876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 3.44169e-09
  Prefactor  = 12.1
  Prefactor  = 0
  Prefactor  = 1.84539
  Prefactor  = 2.41951
  norm       = 1.9984e-09
  Prefactor  = 4.67922
  norm       = 3.30056
  Prefactor  = 1.38778e-08
  norm       = 9.92125
  Prefactor  = 3.86703
  Prefactor  = 0
  norm       = 12.299
  Prefactor  = 1.09903
  Prefactor  = 6.21725e-09
  Prefactor  = 3.39699
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.62408e-08
  norm       = 0.843247
  Prefactor  = 30.4805
  Prefactor  = 1.92795
  Prefactor  = 4.11323
  norm       = 1.77636e-09
  Prefactor  = 5.5737
  Prefactor  = 1.13576
  Normalizat = 0.967612
  Prefactor  = 0.744002
 **********
 **   18 **HESSE 
 **********

 FCN=   13768.49     FROM HESSE     STATUS=OK           611 CALLS     2695 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    3.7344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34417E-08    5.2875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.100        5.8915        .28778E-03   -1.5638    
   4  Prefactor      .0000        1.7434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8454        7.2246        .76361E-03   -1.5681    
   6  Prefactor     2.4195        2.5357        .65772E-03   -1.5677    
   7  norm          .19984E-08    4.0648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6792        3.0516        .46477E-03   -1.5665    
   9  norm          3.3006        3.1043        .55721E-03   -1.5672    
  10  Prefactor     .13878E-07    8.5050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.9213        3.6424        .31782E-03   -1.5645    
  12  Prefactor     3.8670        5.7044        .51302E-03   -1.5669    
  13  Prefactor      .0000        43.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.299        5.6282        .28539E-03   -1.5638    
  15  Prefactor     1.0990        1.1803        .11341E-03   -1.5687    
  16  Prefactor     .62172E-08    11.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3970        4.7757        .54873E-03   -1.5671    
  18  norm           .0000        .74973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .46241E-07    9.1320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .84325        .51436        .49765E-03   -1.5690    
  22  Prefactor     30.480        10.747        .18112E-03   -1.5598    
  23  Prefactor     1.9280        2.0107        .74794E-03   -1.5680    
  24  Prefactor     4.1132        12.176        .49750E-03   -1.5667    
  25  norm          .17764E-08    6.3780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.5737        3.0207        .42507E-03   -1.5661    
  27  Prefactor     1.1358        2.0886        .10922E-02   -1.5687    
  28  Normalizat    .96761        .10661        .45759E-01   -.94123    
  29  Prefactor     .74400        .10729        .42984E-01   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15134e-07
Minuit parameter uncertainties:
  1  7.82103e-05
  2  0.000269193
  3  5.8915
  4  3.43671e-06
  5  7.22465
  6  2.53567
  7  0.00017905
  8  3.05164
  9  3.10432
  10  0.000686474
  11  3.64236
  12  5.70443
  13  6.77704e-05
  14  5.62824
  15  1.18027
  16  0.000530866
  17  4.77571
  18  2.96713e-06
  19  1.0319e-05
  20  0.00129928
  21  0.514362
  22  10.7473
  23  2.01072
  24  12.1758
  25  0.000213139
  26  3.02067
  27  2.0886
  28  0.106628
  29  0.107324
Done.

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

Extracting fit parameters...

4FGL J0019.2-5640
   Spectrum: PowerLaw
45     Prefactor:  1.210e+01  5.892e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.205e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.450e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  7.440e-01  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  9.676e-01  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.98
Ra Dec: 4.811 -56.683
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 3.65e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 1.63e-05 +/- 7.92e-06

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) = 13767.8151523
delta logL = 0.676612486186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13767.8084544
delta logL = 0.68331038307

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13767.81     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9478        37.639        .38072E-03    .31410E-02
   2  Index         2.6850        1.9175        .12890        .25811E-03
   3  Normalizat    .94466        .38075E-01    .45469E-01    .15770E-04
   4  Prefactor     .75932        .35617E-01    .43186E-01    .36217E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.94775
  Index      = 2.68499
  Normalizat = 0.944658
  Prefactor  = 0.759324
 **********
 **   18 **HESSE 
 **********

 FCN=   13767.81     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9478        6.6153        .12534E-04   -1.5655    
   2  Index         2.6850        .51371        .45581E-02   -.48138    
   3  Normalizat    .94466        .12391        .21651E-03   -.94908    
   4  Prefactor     .75932        .12779        .24891E-03   -1.0125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83426e-08
Minuit parameter uncertainties:
  1  6.61535
  2  0.514868
  3  0.12395
  4  0.127843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13767.8084519
delta logL = 0.683312925255

Extracting fit parameters...

4FGL J0019.2-5640
   Spectrum: PowerLaw
45     Prefactor:  6.948e+00  6.615e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.685e+00  5.149e-01  0.000e+00  1.000e+01 (-1.000e+00)
47         Scale:  1.450e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  7.593e-01  1.278e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  9.447e-01  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.38
Ra Dec: 4.811 -56.683
Photon Index (Free Index): 2.68 +/- 0.51
Photon Flux (Free Index): 5.42e-08 +/- 2.59e-08
Energy Flux (Free Index): 1.32e-05 +/- 6.18e-06

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/27607437/cmap_HighResolution_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.65e-08', energy_flux2='1.32e-05', photon_flux_error='1.78e-08', dlogl='6.83e-01', energy_flux='1.63e-05', photon_flux2='5.42e-08', job_status='DONE', time_completed='2026-06-02 00:44:07.614238', photon_index_error2='0.51', photon_index2='2.68', ts='7.98', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='6.18e-06', EG='0.97', time_epoch_completed='1780386247.61', return_code='0', job_id='27607437', GAL2='0.76', EG2='0.94', return_code2='0', energy_flux_error='7.92e-06', photon_flux_error2='2.59e-08', ts2='9.38', photon_index='2.20' WHERE bin_id='930' AND source_name='4FGL J0019.2-5640' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  2 00:44:07 PDT 2026

30.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27607463/Model_4FGL_J0019.2-5640_weekly_bin930.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits.....................!
real 1347.84
user 1339.76
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits', '/lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits', expMap='/lscratch/kocevski/27607463/expmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits', expCube='/lscratch/kocevski/27607463/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27607463/Model_4FGL_J0019.2-5640_weekly_bin930.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0019.2-5640'

4FGL J0019.2-5640
   Spectrum: PowerLaw
45     Prefactor:  1.547e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.205e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.450e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27607463/ft1_filtered_4FGL_J0019.2-5640_weekly_bin930.fits
Spacecraft file(s): /lscratch/kocevski/27607463/ft2_4FGL_J0019.2-5640_weekly_bin930.fits
Exposure map: /lscratch/kocevski/27607463/expmap_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits
Exposure cube: /lscratch/kocevski/27607463/ltcube_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27607463/Model_4FGL_J0019.2-5640_weekly_bin930.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) = 13768.5529152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30548E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13758E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.095       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10314E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.8608       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4198       1.0000          .0000       .10000E+07
     7 'norm      '    .89705E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.6834       1.0000          .0000       .10000E+07
     9 'norm      '    3.2985       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15435E-02   1.0000          .0000       .10000E+07
    11 'norm      '    9.9257       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8654       1.0000          .0000       .10000E+07
    13 'Prefactor '    .81037E-04   1.0000          .0000       .10000E+07
    14 'norm      '    12.299       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0990       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35157E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.3964       1.0000          .0000       .10000E+07
    18 'norm      '    .14437E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .23035E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10599E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .84325       1.0000          .0000       .10000E+07
    22 'Prefactor '    30.492       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.9274       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.1021       1.0000          .0000       .10000E+07
    25 'norm      '    .42239E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    5.5798       1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1365       1.0000          .0000       .10000E+07
    28 'Normalizat'    .96758       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .74397       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13768.49     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2084 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    3.7049       -.36072E-06** at limit **
   2  Prefactor     .34417E-08    5.1034       -.10775E-05** at limit **
   3  Prefactor     12.100        5.3633       -.38262E-06   -.42924E-01
   4  Prefactor      .0000        1.7461       -.26487E-07** at limit **
   5  Prefactor     1.8454        4.4703        .59241E-06   -.27196E-01
   6  Prefactor     2.4195        2.5321       -.29119E-07   -.54242E-03
   7  norm          .19984E-08    3.9975        .52419E-06** at limit **
   8  Prefactor     4.6792        3.0391        .22526E-07    .15648E-01
   9  norm          3.3006        3.1111        .23526E-07   -.39070E-02
  10  Prefactor     .13878E-07    5.0870       -.59742E-06** at limit **
  11  norm          9.9213        3.6289       -.88778E-08   -.29517E-03
  12  Prefactor     3.8670        5.6107       -.63925E-06   -.12409E-01
  13  Prefactor      .0000        43.490       -.20509E-06** at limit **
  14  norm          12.299        5.4520        .47910E-06    .31823E-01
  15  Prefactor     1.0990        1.1806        .18405E-07   -.13119E-01
  16  Prefactor     .62172E-08    11.346        .90010E-06** at limit **
  17  Prefactor     3.3970        4.7561        .40220E-08   -.86673E-03
  18  norm           .0000        .75450        .49772E-08** at limit **
  19  Prefactor      .0000        1.9647       -.24764E-07** at limit **
  20  Prefactor     .46241E-07    3.9398       -.85368E-06** at limit **
  21  norm          .84325        .51024       -.67715E-08   -.12663E-01
  22  Prefactor     30.480        1.1242       -.98143E-09    .43678E-02
  23  Prefactor     1.9280        1.7690        .10605E-07    .21287E-02
  24  Prefactor     4.1132        1.1605       -.75696E-07    .13959E-02
  25  norm          .17764E-08    6.1327        .11491E-05** at limit **
  26  Prefactor     5.5737        3.0031        .29728E-07   -.40999E-02
  27  Prefactor     1.1358        2.0636       -.43728E-07   -.19672E-02
  28  Normalizat    .96761        .12628        .10967E-05    .20344E-04
  29  Prefactor     .74400        .12760       -.50486E-06   -.15876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 3.44169e-09
  Prefactor  = 12.1
  Prefactor  = 0
  Prefactor  = 1.84539
  Prefactor  = 2.41951
  norm       = 1.9984e-09
  Prefactor  = 4.67922
  norm       = 3.30056
  Prefactor  = 1.38778e-08
  norm       = 9.92125
  Prefactor  = 3.86703
  Prefactor  = 0
  norm       = 12.299
  Prefactor  = 1.09903
  Prefactor  = 6.21725e-09
  Prefactor  = 3.39699
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.62408e-08
  norm       = 0.843247
  Prefactor  = 30.4805
  Prefactor  = 1.92795
  Prefactor  = 4.11323
  norm       = 1.77636e-09
  Prefactor  = 5.5737
  Prefactor  = 1.13576
  Normalizat = 0.967612
  Prefactor  = 0.744002
 **********
 **   18 **HESSE 
 **********

 FCN=   13768.49     FROM HESSE     STATUS=OK           611 CALLS     2695 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    3.7344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34417E-08    5.2875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.100        5.8915        .28778E-03   -1.5638    
   4  Prefactor      .0000        1.7434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8454        7.2246        .76361E-03   -1.5681    
   6  Prefactor     2.4195        2.5357        .65772E-03   -1.5677    
   7  norm          .19984E-08    4.0648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6792        3.0516        .46477E-03   -1.5665    
   9  norm          3.3006        3.1043        .55721E-03   -1.5672    
  10  Prefactor     .13878E-07    8.5050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.9213        3.6424        .31782E-03   -1.5645    
  12  Prefactor     3.8670        5.7044        .51302E-03   -1.5669    
  13  Prefactor      .0000        43.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.299        5.6282        .28539E-03   -1.5638    
  15  Prefactor     1.0990        1.1803        .11341E-03   -1.5687    
  16  Prefactor     .62172E-08    11.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3970        4.7757        .54873E-03   -1.5671    
  18  norm           .0000        .74973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .46241E-07    9.1320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .84325        .51436        .49765E-03   -1.5690    
  22  Prefactor     30.480        10.747        .18112E-03   -1.5598    
  23  Prefactor     1.9280        2.0107        .74794E-03   -1.5680    
  24  Prefactor     4.1132        12.176        .49750E-03   -1.5667    
  25  norm          .17764E-08    6.3780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.5737        3.0207        .42507E-03   -1.5661    
  27  Prefactor     1.1358        2.0886        .10922E-02   -1.5687    
  28  Normalizat    .96761        .10661        .45759E-01   -.94123    
  29  Prefactor     .74400        .10729        .42984E-01   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15134e-07
Minuit parameter uncertainties:
  1  7.82103e-05
  2  0.000269193
  3  5.8915
  4  3.43671e-06
  5  7.22465
  6  2.53567
  7  0.00017905
  8  3.05164
  9  3.10432
  10  0.000686474
  11  3.64236
  12  5.70443
  13  6.77704e-05
  14  5.62824
  15  1.18027
  16  0.000530866
  17  4.77571
  18  2.96713e-06
  19  1.0319e-05
  20  0.00129928
  21  0.514362
  22  10.7473
  23  2.01072
  24  12.1758
  25  0.000213139
  26  3.02067
  27  2.0886
  28  0.106628
  29  0.107324
Done.

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

Extracting fit parameters...

4FGL J0019.2-5640
   Spectrum: PowerLaw
45     Prefactor:  1.210e+01  5.892e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.205e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.450e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  7.440e-01  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  9.676e-01  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.98
Ra Dec: 4.811 -56.683
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 3.65e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 1.63e-05 +/- 7.92e-06

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) = 13767.8151523
delta logL = 0.676612486186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13767.8084544
delta logL = 0.68331038307

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13767.81     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9478        37.639        .38072E-03    .31410E-02
   2  Index         2.6850        1.9175        .12890        .25811E-03
   3  Normalizat    .94466        .38075E-01    .45469E-01    .15770E-04
   4  Prefactor     .75932        .35617E-01    .43186E-01    .36217E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.94775
  Index      = 2.68499
  Normalizat = 0.944658
  Prefactor  = 0.759324
 **********
 **   18 **HESSE 
 **********

 FCN=   13767.81     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9478        6.6153        .12534E-04   -1.5655    
   2  Index         2.6850        .51371        .45581E-02   -.48138    
   3  Normalizat    .94466        .12391        .21651E-03   -.94908    
   4  Prefactor     .75932        .12779        .24891E-03   -1.0125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83426e-08
Minuit parameter uncertainties:
  1  6.61535
  2  0.514868
  3  0.12395
  4  0.127843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13767.8084519
delta logL = 0.683312925255

Extracting fit parameters...

4FGL J0019.2-5640
   Spectrum: PowerLaw
45     Prefactor:  6.948e+00  6.615e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.685e+00  5.149e-01  0.000e+00  1.000e+01 (-1.000e+00)
47         Scale:  1.450e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  7.593e-01  1.278e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  9.447e-01  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.38
Ra Dec: 4.811 -56.683
Photon Index (Free Index): 2.68 +/- 0.51
Photon Flux (Free Index): 5.42e-08 +/- 2.59e-08
Energy Flux (Free Index): 1.32e-05 +/- 6.18e-06

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/27607463/cmap_HighResolution_801446401_802051201_4FGL_J0019.2-5640_weekly_bin930.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.65e-08', energy_flux2='1.32e-05', photon_flux_error='1.78e-08', dlogl='6.83e-01', energy_flux='1.63e-05', photon_flux2='5.42e-08', job_status='DONE', time_completed='2026-06-02 00:46:45.317034', photon_index_error2='0.51', photon_index2='2.68', ts='7.98', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='6.18e-06', EG='0.97', time_epoch_completed='1780386405.32', return_code='0', job_id='27607463', GAL2='0.76', EG2='0.94', return_code2='0', energy_flux_error='7.92e-06', photon_flux_error2='2.59e-08', ts2='9.38', photon_index='2.20' WHERE bin_id='930' AND source_name='4FGL J0019.2-5640' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  2 00:46:45 PDT 2026

