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


Performing analysis on: 4FGL_J1727.2+0644_weekly_bin928
RA = 261.806, Dec = 6.7445
tmin = 800236801, tmax = 800841601
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='26875831', job_status='RUN', time_executed='2026-05-19 13:14:10.387578', time_epoch_executed='1779221650.39' WHERE source_name='4FGL J1727.2+0644' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875831

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875831/ft1_4FGL_J1727.2+0644_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875831/ft1_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875831/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits ra=261.806 dec=6.7445 rad=12.0 tmin=800236801.0 tmax=800841601.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.89
user 4.27
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.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/26875831/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.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.67
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 3654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1727.2+0644_weekly_bin928
RA = 261.806, Dec = 6.7445
tmin = 800236801, tmax = 800841601
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='26875821', job_status='RUN', time_executed='2026-05-19 13:14:12.113353', time_epoch_executed='1779221652.11' WHERE source_name='4FGL J1727.2+0644' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875821

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875821/ft1_4FGL_J1727.2+0644_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875821/ft1_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875821/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits ra=261.806 dec=6.7445 rad=12.0 tmin=800236801.0 tmax=800841601.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.64
user 4.83
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.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/26875821/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.84
user 0.25
sys 0.12

Number of photons that the gtmktime cut: 3654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1727.2+0644_weekly_bin928
RA = 261.806, Dec = 6.7445
tmin = 800236801, tmax = 800841601
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='26875837', job_status='RUN', time_executed='2026-05-19 13:14:35.868783', time_epoch_executed='1779221675.87' WHERE source_name='4FGL J1727.2+0644' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875837

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875837/ft1_4FGL_J1727.2+0644_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875837/ft1_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875837/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits ra=261.806 dec=6.7445 rad=12.0 tmin=800236801.0 tmax=800841601.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.21
user 4.59
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.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/26875837/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.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.67
user 0.22
sys 0.11

Number of photons that the gtmktime cut: 3654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1727.2+0644_weekly_bin928
RA = 261.806, Dec = 6.7445
tmin = 800236801, tmax = 800841601
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='26875843', job_status='RUN', time_executed='2026-05-19 13:15:11.998351', time_epoch_executed='1779221712.0' WHERE source_name='4FGL J1727.2+0644' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875843

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875843/ft1_4FGL_J1727.2+0644_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875843/ft1_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875843/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits ra=261.806 dec=6.7445 rad=12.0 tmin=800236801.0 tmax=800841601.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.51
user 4.86
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.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/26875843/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.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.88
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 3654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" ouutfile=/lscratch/kocevski/26875831/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 17.62
user 16.98
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875831/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875831/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875831/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 65.51
user 61.19
sys 3.70

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 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 J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875831/cmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875831/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_utfile=/lscratch/kocevski/26875821/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 19.84
user 19.08
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875821/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875821/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875821/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 74.05
user 68.94
sys 4.28

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 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 J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875821/cmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.76
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875821/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.76
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_utfile=/lscratch/kocevski/26875837/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 18.79
user 17.99
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875837/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875837/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875837/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 69.41
user 64.45
sys 3.96

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 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 J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875837/cmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.75
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875837/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.67
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1727.2+0644_weekly_bin928
RA = 261.806, Dec = 6.7445
tmin = 800236801, tmax = 800841601
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='26875883', job_status='RUN', time_executed='2026-05-19 13:16:36.234270', time_epoch_executed='1779221796.23' WHERE source_name='4FGL J1727.2+0644' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875883

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875883/ft1_4FGL_J1727.2+0644_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875883/ft1_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875883/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits ra=261.806 dec=6.7445 rad=12.0 tmin=800236801.0 tmax=800841601.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.37
user 4.61
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.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/26875883/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.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.79
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 3654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" otfile=/lscratch/kocevski/26875843/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 20.07
user 19.24
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875843/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875843/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875843/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 73.25
user 68.31
sys 4.20

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 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 J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875843/cmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.67
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875843/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.69
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1727.2+0644_weekly_bin928
RA = 261.806, Dec = 6.7445
tmin = 800236801, tmax = 800841601
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='26875905', job_status='RUN', time_executed='2026-05-19 13:17:11.876614', time_epoch_executed='1779221831.88' WHERE source_name='4FGL J1727.2+0644' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875905

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875905/ft1_4FGL_J1727.2+0644_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875905/ft1_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875905/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits ra=261.806 dec=6.7445 rad=12.0 tmin=800236801.0 tmax=800841601.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.51
user 3.96
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.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/26875905/ft1_filteredMKT_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.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.65
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 3654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26875883/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 19.41
user 18.15
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875883/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875883/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875883/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 70.65
user 65.43
sys 4.04

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 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 J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875883/cmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.65
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875883/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.73
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_utfile=/lscratch/kocevski/26875905/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 16.30
user 15.71
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875905/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875905/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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/26875905/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
.....................!
real 60.87
user 56.64
sys 3.69

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 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 J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875905/cmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.64
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits scfile=/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits outfile=/lscratch/kocevski/26875905/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.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=261.806 yref=6.7445 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.59
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875831/Model_4FGL_J1727.2+0644_weekly_bin928.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 FHES J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits.....................!
real 115.68
user 113.74
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits', '/lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits', expMap='/lscratch/kocevski/26875831/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', expCube='/lscratch/kocevski/26875831/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875831/Model_4FGL_J1727.2+0644_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875831/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875831/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875831/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875831/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875831/Model_4FGL_J1727.2+0644_weekly_bin928.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) = 37986.5670913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9516       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27350E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7267       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10363E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .27089E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.097       1.0000          .0000       .10000E+07
     9 'norm      '    7.2153       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75162E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.627       1.0000          .0000       .10000E+07
    12 'norm      '    6.7493       1.0000          .0000       .10000E+07
    13 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.2923       1.0000          .0000       .10000E+07
    15 'norm      '     .0000       1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2736       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   37986.51     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1613 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4968        .69336E-07** at limit **
   2  Prefactor     5.9524        4.7125       -.44720E-07   -.44408E-02
   3  Prefactor      .0000        32.503        .92532E-08** at limit **
   4  Prefactor     3.7288        5.1833       -.10211E-06   -.58424E-02
   5  Prefactor      .0000        1.4766        .62822E-08** at limit **
   6  Prefactor     .61062E-09    997.99       -.89770E-06** at limit **
   7  norm           .0000        .38093       -.81667E-08** at limit **
   8  Prefactor     12.098        7.6971       -.14541E-07    .22171E-03
   9  norm          7.2152        5.8078       -.15481E-06    .19738E-02
  10  Prefactor     .55511E-10    22.817        .66672E-08** at limit **
  11  Prefactor     35.628        3.1532        .74757E-08    .14169E-02
  12  norm          6.7486        5.9325       -.59686E-06    .57804E-02
  13  norm           .0000        1.6449       -.92130E-07** at limit **
  14  norm          1.2924        .51979       -.12855E-07   -.37077E-01
  15  norm           .0000        .80338        .10502E-08** at limit **
  16  norm           .0000        2.1601       -.16663E-07** at limit **
  17  Normalizat    1.2735        .19427        .13803E-05    .84501E-05
  18  Prefactor     1.0080        .39248E-01    .28824E-06    .19554E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.95239
  Prefactor  = 0
  Prefactor  = 3.72878
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 12.0976
  norm       = 7.21518
  Prefactor  = 5.55112e-11
  Prefactor  = 35.6281
  norm       = 6.74863
  norm       = 0
  norm       = 1.29239
  norm       = 0
  norm       = 0
  Normalizat = 1.27349
  Prefactor  = 1.00805
bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875837/Model_4FGL_J1727.2+0644_weekly_bin928.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 FHES J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits.....................!
real 117.81
user 115.62
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits', '/lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits', expMap='/lscratch/kocevski/26875837/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', expCube='/lscratch/kocevski/26875837/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875837/Model_4FGL_J1727.2+0644_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875837/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875837/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875837/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875837/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875837/Model_4FGL_J1727.2+0644_weekly_bin928.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) = 37986.5670913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9516       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27350E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7267       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10363E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .27089E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.097       1.0000          .0000       .10000E+07
     9 'norm      '    7.2153       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75162E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.627       1.0000          .0000       .10000E+07
    12 'norm      '    6.7493       1.0000          .0000       .10000E+07
    13 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.2923       1.0000          .0000       .10000E+07
    15 'norm      '     .0000       1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2736       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875821/Model_4FGL_J1727.2+0644_weekly_bin928.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 FHES J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits.....................!
real 129.39
user 127.14
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits', '/lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits', expMap='/lscratch/kocevski/26875821/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', expCube='/lscratch/kocevski/26875821/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875821/Model_4FGL_J1727.2+0644_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875821/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875821/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875821/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875821/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875821/Model_4FGL_J1727.2+0644_weekly_bin928.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) = 37986.5670913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9516       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27350E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7267       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10363E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .27089E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.097       1.0000          .0000       .10000E+07
     9 'norm      '    7.2153       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75162E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.627       1.0000          .0000       .10000E+07
    12 'norm      '    6.7493       1.0000          .0000       .10000E+07
    13 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.2923       1.0000          .0000       .10000E+07
    15 'norm      '     .0000       1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2736       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 **********
 **   18 **HESSE 
 **********

 FCN=   37986.51     FROM HESSE     STATUS=OK           246 CALLS     1859 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4997        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9524        4.7263        .16455E-04   -1.5659    
   3  Prefactor      .0000        32.525        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7288        5.2238        .20913E-04   -1.5669    
   5  Prefactor      .0000        1.4769        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    999.49        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.4767        .23311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.098        7.6901        .11511E-04   -1.5638    
   9  norm          7.2152        5.8021        .14927E-04   -1.5654    
  10  Prefactor     .55511E-10    22.826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.628        3.1568        .67022E-05   -1.5589    
  12  norm          6.7486        5.9454        .15440E-04   -1.5656    
  13  norm           .0000        1.6614        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2924        .51547        .85752E-05   -1.5685    
  15  norm           .0000        .80358        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1613        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2735        .21096        .61755E-03   -.84361    
  18  Prefactor     1.0080        .43213E-01    .14754E-03   -.92462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02854e-10
Minuit parameter uncertainties:
  1  7.78694e-06
  2  4.72634
  3  4.5703e-06
  4  5.22386
  5  1.23437e-06
  6  0.00153284
  7  1.04528e-05
  8  7.6901
  9  5.80213
  10  5.05827e-05
  11  3.15679
  12  5.94543
  13  1.12557e-05
  14  0.515467
  15  2.64294e-07
  16  1.20557e-06
  17  0.211102
  18  0.0432144
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   37986.51     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1613 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4968        .69336E-07** at limit **
   2  Prefactor     5.9524        4.7125       -.44720E-07   -.44408E-02
   3  Prefactor      .0000        32.503        .92532E-08** at limit **
   4  Prefactor     3.7288        5.1833       -.10211E-06   -.58424E-02
   5  Prefactor      .0000        1.4766        .62822E-08** at limit **
   6  Prefactor     .61062E-09    997.99       -.89770E-06** at limit **
   7  norm           .0000        .38093       -.81667E-08** at limit **
   8  Prefactor     12.098        7.6971       -.14541E-07    .22171E-03
   9  norm          7.2152        5.8078       -.15481E-06    .19738E-02
  10  Prefactor     .55511E-10    22.817        .66672E-08** at limit **
  11  Prefactor     35.628        3.1532        .74757E-08    .14169E-02
  12  norm          6.7486        5.9325       -.59686E-06    .57804E-02
  13  norm           .0000        1.6449       -.92130E-07** at limit **
  14  norm          1.2924        .51979       -.12855E-07   -.37077E-01
  15  norm           .0000        .80338        .10502E-08** at limit **
  16  norm           .0000        2.1601       -.16663E-07** at limit **
  17  Normalizat    1.2735        .19427        .13803E-05    .84501E-05
  18  Prefactor     1.0080        .39248E-01    .28824E-06    .19554E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.95239
  Prefactor  = 0
  Prefactor  = 3.72878
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 12.0976
  norm       = 7.21518
  Prefactor  = 5.55112e-11
  Prefactor  = 35.6281
  norm       = 6.74863
  norm       = 0
  norm       = 1.29239
  norm       = 0
  norm       = 0
  Normalizat = 1.27349
  Prefactor  = 1.00805
in928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875843/Model_4FGL_J1727.2+0644_weekly_bin928.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 FHES J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits.....................!
real 126.39
user 124.24
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits', '/lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits', expMap='/lscratch/kocevski/26875843/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', expCube='/lscratch/kocevski/26875843/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875843/Model_4FGL_J1727.2+0644_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875843/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875843/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875843/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875843/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875843/Model_4FGL_J1727.2+0644_weekly_bin928.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) = 37986.5670913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9516       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27350E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7267       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10363E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .27089E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.097       1.0000          .0000       .10000E+07
     9 'norm      '    7.2153       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75162E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.627       1.0000          .0000       .10000E+07
    12 'norm      '    6.7493       1.0000          .0000       .10000E+07
    13 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.2923       1.0000          .0000       .10000E+07
    15 'norm      '     .0000       1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2736       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

  MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   37986.51     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1613 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4968        .69336E-07** at limit **
   2  Prefactor     5.9524        4.7125       -.44720E-07   -.44408E-02
   3  Prefactor      .0000        32.503        .92532E-08** at limit **
   4  Prefactor     3.7288        5.1833       -.10211E-06   -.58424E-02
   5  Prefactor      .0000        1.4766        .62822E-08** at limit **
   6  Prefactor     .61062E-09    997.99       -.89770E-06** at limit **
   7  norm           .0000        .38093       -.81667E-08** at limit **
   8  Prefactor     12.098        7.6971       -.14541E-07    .22171E-03
   9  norm          7.2152        5.8078       -.15481E-06    .19738E-02
  10  Prefactor     .55511E-10    22.817        .66672E-08** at limit **
  11  Prefactor     35.628        3.1532        .74757E-08    .14169E-02
  12  norm          6.7486        5.9325       -.59686E-06    .57804E-02
  13  norm           .0000        1.6449       -.92130E-07** at limit **
  14  norm          1.2924        .51979       -.12855E-07   -.37077E-01
  15  norm           .0000        .80338        .10502E-08** at limit **
  16  norm           .0000        2.1601       -.16663E-07** at limit **
  17  Normalizat    1.2735        .19427        .13803E-05    .84501E-05
  18  Prefactor     1.0080        .39248E-01    .28824E-06    .19554E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.95239
  Prefactor  = 0
  Prefactor  = 3.72878
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 12.0976
  norm       = 7.21518
  Prefactor  = 5.55112e-11
  Prefactor  = 35.6281
  norm       = 6.74863
  norm       = 0
  norm       = 1.29239
  norm       = 0
  norm       = 0
  Normalizat = 1.27349
  Prefactor  = 1.00805
bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875905/Model_4FGL_J1727.2+0644_weekly_bin928.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 FHES J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits.....................!
real 109.23
user 107.42
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits', '/lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits', expMap='/lscratch/kocevski/26875905/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', expCube='/lscratch/kocevski/26875905/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875905/Model_4FGL_J1727.2+0644_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875905/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875905/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875905/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875905/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875905/Model_4FGL_J1727.2+0644_weekly_bin928.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) = 37986.5670913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9516       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27350E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7267       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10363E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .27089E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.097       1.0000          .0000       .10000E+07
     9 'norm      '    7.2153       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75162E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.627       1.0000          .0000       .10000E+07
    12 'norm      '    6.7493       1.0000          .0000       .10000E+07
    13 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.2923       1.0000          .0000       .10000E+07
    15 'norm      '     .0000       1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2736       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 **********
 **   18 **HESSE 
 **********

 FCN=   37986.51     FROM HESSE     STATUS=OK           246 CALLS     1859 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4997        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9524        4.7263        .16455E-04   -1.5659    
   3  Prefactor      .0000        32.525        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7288        5.2238        .20913E-04   -1.5669    
   5  Prefactor      .0000        1.4769        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    999.49        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.4767        .23311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.098        7.6901        .11511E-04   -1.5638    
   9  norm          7.2152        5.8021        .14927E-04   -1.5654    
  10  Prefactor     .55511E-10    22.826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.628        3.1568        .67022E-05   -1.5589    
  12  norm          6.7486        5.9454        .15440E-04   -1.5656    
  13  norm           .0000        1.6614        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2924        .51547        .85752E-05   -1.5685    
  15  norm           .0000        .80358        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1613        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2735        .21096        .61755E-03   -.84361    
  18  Prefactor     1.0080        .43213E-01    .14754E-03   -.92462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02854e-10
Minuit parameter uncertainties:
  1  7.78694e-06
  2  4.72634
  3  4.5703e-06
  4  5.22386
  5  1.23437e-06
  6  0.00153284
  7  1.04528e-05
  8  7.6901
  9  5.80213
  10  5.05827e-05
  11  3.15679
  12  5.94543
  13  1.12557e-05
  14  0.515467
  15  2.64294e-07
  16  1.20557e-06
  17  0.211102
  18  0.0432144
bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875883/Model_4FGL_J1727.2+0644_weekly_bin928.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 FHES J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits.....................!
real 122.07
user 119.67
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits', '/lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits', expMap='/lscratch/kocevski/26875883/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', expCube='/lscratch/kocevski/26875883/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875883/Model_4FGL_J1727.2+0644_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875883/ft1_filtered_4FGL_J1727.2+0644_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875883/ft2_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875883/expmap_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875883/ltcube_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875883/Model_4FGL_J1727.2+0644_weekly_bin928.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) = 37986.5670913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9516       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27350E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7267       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10363E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .27089E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.097       1.0000          .0000       .10000E+07
     9 'norm      '    7.2153       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75162E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.627       1.0000          .0000       .10000E+07
    12 'norm      '    6.7493       1.0000          .0000       .10000E+07
    13 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.2923       1.0000          .0000       .10000E+07
    15 'norm      '     .0000       1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2736       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   37986.51     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1613 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4968        .69336E-07** at limit **
   2  Prefactor     5.9524        4.7125       -.44720E-07   -.44408E-02
   3  Prefactor      .0000        32.503        .92532E-08** at limit **
   4  Prefactor     3.7288        5.1833       -.10211E-06   -.58424E-02
   5  Prefactor      .0000        1.4766        .62822E-08** at limit **
   6  Prefactor     .61062E-09    997.99       -.89770E-06** at limit **
   7  norm           .0000        .38093       -.81667E-08** at limit **
   8  Prefactor     12.098        7.6971       -.14541E-07    .22171E-03
   9  norm          7.2152        5.8078       -.15481E-06    .19738E-02
  10  Prefactor     .55511E-10    22.817        .66672E-08** at limit **
  11  Prefactor     35.628        3.1532        .74757E-08    .14169E-02
  12  norm          6.7486        5.9325       -.59686E-06    .57804E-02
  13  norm           .0000        1.6449       -.92130E-07** at limit **
  14  norm          1.2924        .51979       -.12855E-07   -.37077E-01
  15  norm           .0000        .80338        .10502E-08** at limit **
  16  norm           .0000        2.1601       -.16663E-07** at limit **
  17  Normalizat    1.2735        .19427        .13803E-05    .84501E-05
  18  Prefactor     1.0080        .39248E-01    .28824E-06    .19554E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.95239
  Prefactor  = 0
  Prefactor  = 3.72878
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 12.0976
  norm       = 7.21518
  Prefactor  = 5.55112e-11
  Prefactor  = 35.6281
  norm       = 6.74863
  norm       = 0
  norm       = 1.29239
  norm       = 0
  norm       = 0
  Normalizat = 1.27349
  Prefactor  = 1.00805
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.51     FROM HESSE     STATUS=OK           246 CALLS     1859 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4997        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9524        4.7263        .16455E-04   -1.5659    
   3  Prefactor      .0000        32.525        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7288        5.2238        .20913E-04   -1.5669    
   5  Prefactor      .0000        1.4769        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    999.49        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.4767        .23311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.098        7.6901        .11511E-04   -1.5638    
   9  norm          7.2152        5.8021        .14927E-04   -1.5654    
  10  Prefactor     .55511E-10    22.826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.628        3.1568        .67022E-05   -1.5589    
  12  norm          6.7486        5.9454        .15440E-04   -1.5656    
  13  norm           .0000        1.6614        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2924        .51547        .85752E-05   -1.5685    
  15  norm           .0000        .80358        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1613        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2735        .21096        .61755E-03   -.84361    
  18  Prefactor     1.0080        .43213E-01    .14754E-03   -.92462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02854e-10
Minuit parameter uncertainties:
  1  7.78694e-06
  2  4.72634
  3  4.5703e-06
  4  5.22386
  5  1.23437e-06
  6  0.00153284
  7  1.04528e-05
  8  7.6901
  9  5.80213
  10  5.05827e-05
  11  3.15679
  12  5.94543
  13  1.12557e-05
  14  0.515467
  15  2.64294e-07
  16  1.20557e-06
  17  0.211102
  18  0.0432144
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   37986.51     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1613 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4968        .69336E-07** at limit **
   2  Prefactor     5.9524        4.7125       -.44720E-07   -.44408E-02
   3  Prefactor      .0000        32.503        .92532E-08** at limit **
   4  Prefactor     3.7288        5.1833       -.10211E-06   -.58424E-02
   5  Prefactor      .0000        1.4766        .62822E-08** at limit **
   6  Prefactor     .61062E-09    997.99       -.89770E-06** at limit **
   7  norm           .0000        .38093       -.81667E-08** at limit **
   8  Prefactor     12.098        7.6971       -.14541E-07    .22171E-03
   9  norm          7.2152        5.8078       -.15481E-06    .19738E-02
  10  Prefactor     .55511E-10    22.817        .66672E-08** at limit **
  11  Prefactor     35.628        3.1532        .74757E-08    .14169E-02
  12  norm          6.7486        5.9325       -.59686E-06    .57804E-02
  13  norm           .0000        1.6449       -.92130E-07** at limit **
  14  norm          1.2924        .51979       -.12855E-07   -.37077E-01
  15  norm           .0000        .80338        .10502E-08** at limit **
  16  norm           .0000        2.1601       -.16663E-07** at limit **
  17  Normalizat    1.2735        .19427        .13803E-05    .84501E-05
  18  Prefactor     1.0080        .39248E-01    .28824E-06    .19554E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.95239
  Prefactor  = 0
  Prefactor  = 3.72878
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 12.0976
  norm       = 7.21518
  Prefactor  = 5.55112e-11
  Prefactor  = 35.6281
  norm       = 6.74863
  norm       = 0
  norm       = 1.29239
  norm       = 0
  norm       = 0
  Normalizat = 1.27349
  Prefactor  = 1.00805
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   37986.51     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1613 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4968        .69336E-07** at limit **
   2  Prefactor     5.9524        4.7125       -.44720E-07   -.44408E-02
   3  Prefactor      .0000        32.503        .92532E-08** at limit **
   4  Prefactor     3.7288        5.1833       -.10211E-06   -.58424E-02
   5  Prefactor      .0000        1.4766        .62822E-08** at limit **
   6  Prefactor     .61062E-09    997.99       -.89770E-06** at limit **
   7  norm           .0000        .38093       -.81667E-08** at limit **
   8  Prefactor     12.098        7.6971       -.14541E-07    .22171E-03
   9  norm          7.2152        5.8078       -.15481E-06    .19738E-02
  10  Prefactor     .55511E-10    22.817        .66672E-08** at limit **
  11  Prefactor     35.628        3.1532        .74757E-08    .14169E-02
  12  norm          6.7486        5.9325       -.59686E-06    .57804E-02
  13  norm           .0000        1.6449       -.92130E-07** at limit **
  14  norm          1.2924        .51979       -.12855E-07   -.37077E-01
  15  norm           .0000        .80338        .10502E-08** at limit **
  16  norm           .0000        2.1601       -.16663E-07** at limit **
  17  Normalizat    1.2735        .19427        .13803E-05    .84501E-05
  18  Prefactor     1.0080        .39248E-01    .28824E-06    .19554E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.95239
  Prefactor  = 0
  Prefactor  = 3.72878
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 12.0976
  norm       = 7.21518
  Prefactor  = 5.55112e-11
  Prefactor  = 35.6281
  norm       = 6.74863
  norm       = 0
  norm       = 1.29239
  norm       = 0
  norm       = 0
  Normalizat = 1.27349
  Prefactor  = 1.00805
Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  5.551e-11  5.058e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  4.321e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.273e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.806 6.745
Photon Flux Upper Limit: 7.20457134355e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569112357722 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26875831/likelihoodResults_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5053435
delta logL = -5.38439853699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 37986.5037619
delta logL = 0.0015277715429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   37986.50     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      380 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28167        1.7326        .10335E-01    .10271E-01
   2  Index         4.4894        1.3029        .50000        .40300E-04
   3  Normalizat    1.2703        .57501E-02    .13923        .18858E-03
   4  Prefactor     1.0084        .12456E-02    .33382E-01    .60027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281675
  Index      = 4.48937
  Normalizat = 1.27026
  Prefactor  = 1.00838
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.50     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      415 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28167        3011.4        .42012E-03   -1.5697    
   2  Index         4.4894        6.7985        .42296E-01   -.10230    
   3  Normalizat    1.2703        .12105        .61821E-03   -.84459    
   4  Prefactor     1.0084        .18280E-01    .14752E-03   -.92451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.75478e-09
Minuit parameter uncertainties:
  1  58.2782
  2  72.825
  3  0.121072
  4  0.0182805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5037606
delta logL = 0.00152906449512

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  2.817e-01  5.828e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  4.489e+00  7.282e+01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  1.828e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.270e+00  1.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.806 6.745

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/26875831/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2026-05-19 13:31:28.928236', job_id='26875831', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1779222688.93', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.53e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='928' AND source_name='4FGL J1727.2+0644' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:31:29 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   37986.51     FROM HESSE     STATUS=OK           246 CALLS     1859 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4997        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9524        4.7263        .16455E-04   -1.5659    
   3  Prefactor      .0000        32.525        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7288        5.2238        .20913E-04   -1.5669    
   5  Prefactor      .0000        1.4769        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    999.49        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.4767        .23311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.098        7.6901        .11511E-04   -1.5638    
   9  norm          7.2152        5.8021        .14927E-04   -1.5654    
  10  Prefactor     .55511E-10    22.826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.628        3.1568        .67022E-05   -1.5589    
  12  norm          6.7486        5.9454        .15440E-04   -1.5656    
  13  norm           .0000        1.6614        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2924        .51547        .85752E-05   -1.5685    
  15  norm           .0000        .80358        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1613        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2735        .21096        .61755E-03   -.84361    
  18  Prefactor     1.0080        .43213E-01    .14754E-03   -.92462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02854e-10
Minuit parameter uncertainties:
  1  7.78694e-06
  2  4.72634
  3  4.5703e-06
  4  5.22386
  5  1.23437e-06
  6  0.00153284
  7  1.04528e-05
  8  7.6901
  9  5.80213
  10  5.05827e-05
  11  3.15679
  12  5.94543
  13  1.12557e-05
  14  0.515467
  15  2.64294e-07
  16  1.20557e-06
  17  0.211102
  18  0.0432144
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.51     FROM HESSE     STATUS=OK           246 CALLS     1859 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4997        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9524        4.7263        .16455E-04   -1.5659    
   3  Prefactor      .0000        32.525        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7288        5.2238        .20913E-04   -1.5669    
   5  Prefactor      .0000        1.4769        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    999.49        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.4767        .23311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.098        7.6901        .11511E-04   -1.5638    
   9  norm          7.2152        5.8021        .14927E-04   -1.5654    
  10  Prefactor     .55511E-10    22.826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.628        3.1568        .67022E-05   -1.5589    
  12  norm          6.7486        5.9454        .15440E-04   -1.5656    
  13  norm           .0000        1.6614        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2924        .51547        .85752E-05   -1.5685    
  15  norm           .0000        .80358        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1613        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2735        .21096        .61755E-03   -.84361    
  18  Prefactor     1.0080        .43213E-01    .14754E-03   -.92462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02854e-10
Minuit parameter uncertainties:
  1  7.78694e-06
  2  4.72634
  3  4.5703e-06
  4  5.22386
  5  1.23437e-06
  6  0.00153284
  7  1.04528e-05
  8  7.6901
  9  5.80213
  10  5.05827e-05
  11  3.15679
  12  5.94543
  13  1.12557e-05
  14  0.515467
  15  2.64294e-07
  16  1.20557e-06
  17  0.211102
  18  0.0432144
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.51     FROM HESSE     STATUS=OK           246 CALLS     1859 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4997        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9524        4.7263        .16455E-04   -1.5659    
   3  Prefactor      .0000        32.525        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7288        5.2238        .20913E-04   -1.5669    
   5  Prefactor      .0000        1.4769        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    999.49        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.4767        .23311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.098        7.6901        .11511E-04   -1.5638    
   9  norm          7.2152        5.8021        .14927E-04   -1.5654    
  10  Prefactor     .55511E-10    22.826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.628        3.1568        .67022E-05   -1.5589    
  12  norm          6.7486        5.9454        .15440E-04   -1.5656    
  13  norm           .0000        1.6614        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2924        .51547        .85752E-05   -1.5685    
  15  norm           .0000        .80358        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1613        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2735        .21096        .61755E-03   -.84361    
  18  Prefactor     1.0080        .43213E-01    .14754E-03   -.92462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02854e-10
Minuit parameter uncertainties:
  1  7.78694e-06
  2  4.72634
  3  4.5703e-06
  4  5.22386
  5  1.23437e-06
  6  0.00153284
  7  1.04528e-05
  8  7.6901
  9  5.80213
  10  5.05827e-05
  11  3.15679
  12  5.94543
  13  1.12557e-05
  14  0.515467
  15  2.64294e-07
  16  1.20557e-06
  17  0.211102
  18  0.0432144
Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  5.551e-11  5.058e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  4.321e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.273e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.806 6.745
Photon Flux Upper Limit: 7.20457134355e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569112357722 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26875837/likelihoodResults_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5053435
delta logL = -5.38439853699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 37986.5037619
delta logL = 0.0015277715429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   37986.50     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      380 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28167        1.7326        .10335E-01    .10271E-01
   2  Index         4.4894        1.3029        .50000        .40300E-04
   3  Normalizat    1.2703        .57501E-02    .13923        .18858E-03
   4  Prefactor     1.0084        .12456E-02    .33382E-01    .60027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281675
  Index      = 4.48937
  Normalizat = 1.27026
  Prefactor  = 1.00838
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.50     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      415 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28167        3011.4        .42012E-03   -1.5697    
   2  Index         4.4894        6.7985        .42296E-01   -.10230    
   3  Normalizat    1.2703        .12105        .61821E-03   -.84459    
   4  Prefactor     1.0084        .18280E-01    .14752E-03   -.92451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.75478e-09
Minuit parameter uncertainties:
  1  58.2782
  2  72.825
  3  0.121072
  4  0.0182805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5037606
delta logL = 0.00152906449512

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  2.817e-01  5.828e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  4.489e+00  7.282e+01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  1.828e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.270e+00  1.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.806 6.745

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/26875837/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2026-05-19 13:33:15.267278', job_id='26875837', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1779222795.27', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.53e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='928' AND source_name='4FGL J1727.2+0644' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:33:15 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  5.551e-11  5.058e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  4.321e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.273e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.806 6.745
Photon Flux Upper Limit: 7.20457134355e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569112357722 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26875821/likelihoodResults_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5053435
delta logL = -5.38439853699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 37986.5037619
delta logL = 0.0015277715429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   37986.50     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      380 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28167        1.7326        .10335E-01    .10271E-01
   2  Index         4.4894        1.3029        .50000        .40300E-04
   3  Normalizat    1.2703        .57501E-02    .13923        .18858E-03
   4  Prefactor     1.0084        .12456E-02    .33382E-01    .60027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281675
  Index      = 4.48937
  Normalizat = 1.27026
  Prefactor  = 1.00838
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.50     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      415 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28167        3011.4        .42012E-03   -1.5697    
   2  Index         4.4894        6.7985        .42296E-01   -.10230    
   3  Normalizat    1.2703        .12105        .61821E-03   -.84459    
   4  Prefactor     1.0084        .18280E-01    .14752E-03   -.92451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.75478e-09
Minuit parameter uncertainties:
  1  58.2782
  2  72.825
  3  0.121072
  4  0.0182805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5037606
delta logL = 0.00152906449512

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  2.817e-01  5.828e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  4.489e+00  7.282e+01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  1.828e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.270e+00  1.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.806 6.745

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/26875821/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2026-05-19 13:34:08.398366', job_id='26875821', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1779222848.4', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.53e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='928' AND source_name='4FGL J1727.2+0644' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:34:08 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  5.551e-11  5.058e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  4.321e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.273e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.806 6.745
Photon Flux Upper Limit: 7.20457134355e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569112357722 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26875905/likelihoodResults_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5053435
delta logL = -5.38439853699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 37986.5037619
delta logL = 0.0015277715429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   37986.50     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      380 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28167        1.7326        .10335E-01    .10271E-01
   2  Index         4.4894        1.3029        .50000        .40300E-04
   3  Normalizat    1.2703        .57501E-02    .13923        .18858E-03
   4  Prefactor     1.0084        .12456E-02    .33382E-01    .60027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281675
  Index      = 4.48937
  Normalizat = 1.27026
  Prefactor  = 1.00838
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.50     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      415 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28167        3011.4        .42012E-03   -1.5697    
   2  Index         4.4894        6.7985        .42296E-01   -.10230    
   3  Normalizat    1.2703        .12105        .61821E-03   -.84459    
   4  Prefactor     1.0084        .18280E-01    .14752E-03   -.92451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.75478e-09
Minuit parameter uncertainties:
  1  58.2782
  2  72.825
  3  0.121072
  4  0.0182805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5037606
delta logL = 0.00152906449512

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  2.817e-01  5.828e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  4.489e+00  7.282e+01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  1.828e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.270e+00  1.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.806 6.745

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/26875905/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2026-05-19 13:34:33.541274', job_id='26875905', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1779222873.54', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.53e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='928' AND source_name='4FGL J1727.2+0644' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:34:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  5.551e-11  5.058e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  4.321e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.273e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.806 6.745
Photon Flux Upper Limit: 7.20457134355e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569112357722 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26875843/likelihoodResults_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5053435
delta logL = -5.38439853699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 37986.5037619
delta logL = 0.0015277715429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   37986.50     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      380 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28167        1.7326        .10335E-01    .10271E-01
   2  Index         4.4894        1.3029        .50000        .40300E-04
   3  Normalizat    1.2703        .57501E-02    .13923        .18858E-03
   4  Prefactor     1.0084        .12456E-02    .33382E-01    .60027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281675
  Index      = 4.48937
  Normalizat = 1.27026
  Prefactor  = 1.00838
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.50     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      415 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28167        3011.4        .42012E-03   -1.5697    
   2  Index         4.4894        6.7985        .42296E-01   -.10230    
   3  Normalizat    1.2703        .12105        .61821E-03   -.84459    
   4  Prefactor     1.0084        .18280E-01    .14752E-03   -.92451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.75478e-09
Minuit parameter uncertainties:
  1  58.2782
  2  72.825
  3  0.121072
  4  0.0182805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5037606
delta logL = 0.00152906449512

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  2.817e-01  5.828e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  4.489e+00  7.282e+01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  1.828e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.270e+00  1.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.806 6.745

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/26875843/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2026-05-19 13:35:03.471327', job_id='26875843', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1779222903.47', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.53e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='928' AND source_name='4FGL J1727.2+0644' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:35:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  5.551e-11  5.058e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  4.321e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.273e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.806 6.745
Photon Flux Upper Limit: 7.20457134355e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569112357722 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26875883/likelihoodResults_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5053435
delta logL = -5.38439853699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 37986.5037619
delta logL = 0.0015277715429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   37986.50     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      380 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28167        1.7326        .10335E-01    .10271E-01
   2  Index         4.4894        1.3029        .50000        .40300E-04
   3  Normalizat    1.2703        .57501E-02    .13923        .18858E-03
   4  Prefactor     1.0084        .12456E-02    .33382E-01    .60027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281675
  Index      = 4.48937
  Normalizat = 1.27026
  Prefactor  = 1.00838
 **********
 **   18 **HESSE 
 **********

 FCN=   37986.50     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      415 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28167        3011.4        .42012E-03   -1.5697    
   2  Index         4.4894        6.7985        .42296E-01   -.10230    
   3  Normalizat    1.2703        .12105        .61821E-03   -.84459    
   4  Prefactor     1.0084        .18280E-01    .14752E-03   -.92451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.75478e-09
Minuit parameter uncertainties:
  1  58.2782
  2  72.825
  3  0.121072
  4  0.0182805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37986.5037606
delta logL = 0.00152906449512

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  2.817e-01  5.828e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  4.489e+00  7.282e+01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.008e+00  1.828e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.270e+00  1.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.806 6.745

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/26875883/cmap_HighResolution_800236801_800841601_4FGL_J1727.2+0644_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2026-05-19 13:35:16.431116', job_id='26875883', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1779222916.43', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.53e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='928' AND source_name='4FGL J1727.2+0644' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:35:16 PDT 2026

