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


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32647337', job_status='RUN', time_executed='2026-07-21 13:43:02.987607', time_epoch_executed='1784666582.99' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32647337

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32647337/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32647337/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647337/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.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.18
user 3.99
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32647337/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32647336', job_status='RUN', time_executed='2026-07-21 13:43:02.936022', time_epoch_executed='1784666582.94' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32647336

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32647336/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32647336/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647336/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.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.84
user 3.73
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32647336/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATscratch/kocevski/32646919/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32646919/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 107.90
user 105.68
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32646919/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32646919/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32646919/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32646919/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32646919/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32646919/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32646919/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32646919/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32646919/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32646919/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
scratch/kocevski/32646905/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32646905/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 121.07
user 117.96
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32646905/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32646905/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32646905/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32646905/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32646905/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32646905/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32646905/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32646905/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32646905/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32646905/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
scratch/kocevski/32646960/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32646960/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 115.81
user 113.30
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32646960/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32646960/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32646960/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32646960/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32646960/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32646960/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32646960/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32646960/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32646960/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32646960/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32647505', job_status='RUN', time_executed='2026-07-21 13:44:44.039132', time_epoch_executed='1784666684.04' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32647505

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32647505/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32647505/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647505/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.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.30
user 4.36
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32647505/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32647337/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 17.69
user 16.58
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32647337/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647337/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647337/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 64.80
user 60.09
sys 3.49

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647337/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.07
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647337/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.16
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lA" outfile=/lscratch/kocevski/32647336/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 16.54
user 15.43
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32647336/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647336/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647336/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 60.24
user 55.71
sys 3.50

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647336/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.11
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647336/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.99
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lDone.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32646919/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32646919/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 13:54:26.633613', job_id='32646919', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667266.63', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 13:54:27 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32646960/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32646905/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32646960/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 13:54:42.794501', job_id='32646960', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667282.79', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 13:54:43 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32646905/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 13:54:47.850340', job_id='32646905', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667287.85', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 13:54:48 PDT 2026

A" outfile=/lscratch/kocevski/32647505/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 18.99
user 18.02
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32647505/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647505/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647505/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 72.01
user 66.90
sys 4.03

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647505/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.10
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647505/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.15
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32647766', job_status='RUN', time_executed='2026-07-21 13:47:03.659608', time_epoch_executed='1784666823.66' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32647766

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32647766/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32647766/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647766/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.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.91
user 3.77
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32647766/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32647797', job_status='RUN', time_executed='2026-07-21 13:47:43.688934', time_epoch_executed='1784666863.69' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32647797

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32647797/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32647797/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647797/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.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.78
user 3.70
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32647797/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32647766/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 16.57
user 15.39
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32647766/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647766/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647766/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 60.66
user 55.96
sys 3.62

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647766/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.18
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647766/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.30
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32647336/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 107.40
user 104.40
sys 1.58

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32647336/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32647336/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32647336/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32647336/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32647336/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32647336/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32647336/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32647336/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32647921', job_status='RUN', time_executed='2026-07-21 13:49:02.724442', time_epoch_executed='1784666942.72' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32647921

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32647921/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32647921/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647921/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.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.78
user 3.68
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32647921/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32647797/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 16.41
user 15.43
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32647797/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647797/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647797/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 59.94
user 55.75
sys 3.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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647797/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 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.92
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647797/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 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.98
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/l **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
scratch/kocevski/32647337/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 115.38
user 113.35
sys 0.60

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32647337/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32647337/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32647337/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32647337/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32647337/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32647337/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32647337/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32647337/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
A" outfile=/lscratch/kocevski/32647921/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 16.58
user 15.48
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32647921/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647921/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32647921/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 60.35
user 55.74
sys 3.50

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647921/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32647921/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 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.88
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lDone.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32647336/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
Done.


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32648118', job_status='RUN', time_executed='2026-07-21 13:51:04.051285', time_epoch_executed='1784667064.05' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32648118

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32648118/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32648118/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648118/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.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.73
user 3.78
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32648118/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32647336/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 13:59:17.491797', job_id='32647336', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667557.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 13:59:18 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32647337/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32647337/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 13:59:40.717868', job_id='32647337', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667580.72', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 13:59:41 PDT 2026

scratch/kocevski/32647505/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 127.44
user 124.36
sys 1.58

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32647505/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32647505/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32647505/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32647505/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32647505/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32647505/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32647505/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32647505/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1632.8-1048_weekly_bin937
RA = 248.204, Dec = -10.8134
tmin = 805680001, tmax = 806284801
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='32648295', job_status='RUN', time_executed='2026-07-21 13:52:01.566250', time_epoch_executed='1784667121.57' WHERE source_name='4FGL J1632.8-1048' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32648295

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32648295/ft1_4FGL_J1632.8-1048_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32648295/ft1_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648295/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits ra=248.204 dec=-10.8134 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.03
user 4.48
sys 0.35

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.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/32648295/ft1_filteredMKT_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2869

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32648118/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 16.54
user 15.39
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32648118/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648118/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32648118/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 60.10
user 55.60
sys 3.35

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648118/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.36
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648118/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 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 3.76
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32647766/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 106.53
user 104.11
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32647766/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32647766/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32647766/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32647766/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32647766/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32647766/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32647766/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32647766/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
scratch/kocevski/32647797/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 105.57
user 103.37
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32647797/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32647797/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32647797/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32647797/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32647797/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32647797/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32647797/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32647797/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32647505/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32647505/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 14:01:45.138371', job_id='32647505', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667705.14', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 14:01:45 PDT 2026

A" outfile=/lscratch/kocevski/32648295/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 22.28
user 20.68
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32648295/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648295/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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/32648295/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
.....................!
real 72.54
user 66.96
sys 4.13

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 212 point sources and 2 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 J1632.8-1048 @ 248.204 -10.8134

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648295/cmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.31
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits scfile=/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits outfile=/lscratch/kocevski/32648295/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.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=248.204 yref=-10.8134 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.21
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32647921/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 104.95
user 102.92
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32647921/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32647921/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32647921/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32647921/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32647921/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32647921/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32647921/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32647921/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32647766/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32647766/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 14:02:44.800431', job_id='32647766', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667764.8', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 14:02:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32647797/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32647797/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 14:02:57.056624', job_id='32647797', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667777.06', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 14:02:57 PDT 2026

scratch/kocevski/32648118/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 103.83
user 101.57
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32648118/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32648118/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32648118/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32648118/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32648118/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32648118/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32648118/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32648118/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32647921/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32647921/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 14:04:22.627287', job_id='32647921', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667862.63', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 14:04:23 PDT 2026

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

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32648118/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32648118/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 14:05:50.555683', job_id='32648118', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784667950.56', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 14:05:51 PDT 2026

scratch/kocevski/32648295/Model_4FGL_J1632.8-1048_weekly_bin937.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 J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits.....................!
real 120.98
user 117.90
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits', '/lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits', expMap='/lscratch/kocevski/32648295/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', expCube='/lscratch/kocevski/32648295/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32648295/Model_4FGL_J1632.8-1048_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.8-1048'

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  1.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32648295/ft1_filtered_4FGL_J1632.8-1048_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32648295/ft2_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32648295/expmap_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32648295/ltcube_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32648295/Model_4FGL_J1632.8-1048_weekly_bin937.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) = 29953.2386079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.035       1.0000          .0000       .10000E+07
     7 'Normalizat'    1.6364       1.0000         .10000E-01   10.000    
     8 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      520 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.083       -.96587E-06** at limit **
   2  Prefactor      .0000        6.9671        .36946E-06** at limit **
   3  Prefactor      .0000        1.9698       -.22617E-05** at limit **
   4  Prefactor     9.3392        8.1775        .99702E-06    .59601E-03
   5  Prefactor     .55511E-10    4.6810       -.55639E-06** at limit **
   6  Prefactor     37.043        1.0122       -.10731E-07    .49917E-01
   7  Normalizat    1.6363        .23708       -.38277E-04   -.10410E-04
   8  Prefactor     .91487        .39678E-01    .12534E-05   -.12994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.33924
  Prefactor  = 5.55112e-11
  Prefactor  = 37.0429
  Normalizat = 1.63631
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********

 FCN=   29953.24     FROM HESSE     STATUS=OK            85 CALLS      605 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3392        8.1752        .32769E-03   -1.5647    
   5  Prefactor     .55511E-10    4.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.043        29.734        .16434E-03   -1.5586    
   7  Normalizat    1.6363        .21479        .13805       -.74017    
   8  Prefactor     .91487        .35850E-01    .29598E-01   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96875e-08
Minuit parameter uncertainties:
  1  0.000165942
  2  7.85952e-06
  3  5.85581e-07
  4  8.17516
  5  2.89743e-05
  6  29.7341
  7  0.214916
  8  0.0358508
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  5.856e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  2.629e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  3.585e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.204 -10.813
Photon Flux Upper Limit: 7.81182000427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612421185208 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32648295/likelihoodResults_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29953.2396182
delta logL = -0.00114607451542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29953.2384721
delta logL = -1.80443748832e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.6363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29953.24     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      296 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6798        .42118E-03** at limit **
   2  Index         1.6235        .84778        .98657E-05     .0000    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.13063E-04
   4  Prefactor     .91487        1.2591        .12116E-05   -.41755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62345
  Normalizat = 1.6363
  Prefactor  = 0.914873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29953.24     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25290        1.4610        .98657E-05   -.74138    
   3  Normalizat    1.6363        1.0379       -.55000E-05   -.74017    
   4  Prefactor     .91487        1.2591        .12116E-05   -.95623    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.47967e-13
Minuit parameter uncertainties:
  1  2.87536e-07
  2  0.855431
  3  1.05215
  4  1.30296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1632.8-1048
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  2.875e-07  0.000e+00  1.000e+06 ( 1.000e-12)
280        Index:  1.623e+00  8.554e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  6.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
741   Normalization:  1.636e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.204 -10.813

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/32648295/cmap_HighResolution_805680001_806284801_4FGL_J1632.8-1048_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2026-07-21 14:07:46.382554', job_id='32648295', GAL2='0.91', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1784668066.38', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='937' AND source_name='4FGL J1632.8-1048' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 14:07:46 PDT 2026

