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

 FCN=   12527.66     FROM HESSE     STATUS=OK           321 CALLS     2279 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.9498        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.536        8.8075        .10878E-04   -1.5634    
   3  Prefactor      .0000        1.4422        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.1255        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.5429        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7426        1.9073        .12368E-04   -1.5675    
   7  norm          5.5763        2.6734        .12303E-04   -1.5661    
   8  Prefactor      .0000        3.4042        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8099        6.3447        .20669E-04   -1.5669    
  10  Prefactor     .20489        .75192        .14895E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1934        1.7740        .12931E-04   -1.5678    
  12  norm          1.5692        1.8703        .16237E-04   -1.5683    
  13  norm           .0000        3.3330        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.753        20.658        .70874E-05   -1.5595    
  15  Prefactor      .0000        10.577        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.188        13.369        .93501E-05   -1.5623    
  17  Prefactor     3.1179        2.7639        .16228E-04   -1.5673    
  18  Prefactor     27.995        30.868        .75788E-05   -1.5602    
  19  Prefactor      .0000        2.5539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0216        .14740        .25582E-03   -.92309    
  21  Prefactor     .94376        .12792        .23292E-03   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31171e-09
Minuit parameter uncertainties:
  1  2.05718e-05
  2  8.80749
  3  1.61577e-06
  4  4.12905e-06
  5  8.50845e-07
  6  1.90732
  7  2.67344
  8  4.81363e-06
  9  6.34474
  10  0.751921
  11  1.77402
  12  1.87031
  13  9.5277e-06
  14  20.6578
  15  1.16314e-05
  16  13.3692
  17  2.76385
  18  30.8682
  19  7.76735e-06
  20  0.147461
  21  0.127966
Done.

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

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  1.616e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 3.586 -5.012
Photon Flux Upper Limit: 3.77276147539e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00290934239557 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30945122/likelihoodResults_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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) = 12527.6633533
delta logL = -0.00515932890994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12527.658194
delta logL = -1.02263584267e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12527.66     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      230 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4579        .42118E-03** at limit **
   2  Index         2.3547        1.1845        .46418E-04     .0000    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.18175E-03
   4  Prefactor     .94377        1.2864        .45104E-04    .25378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.35471
  Normalizat = 1.02163
  Prefactor  = 0.943767
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12527.66     FROM HESSE     STATUS=FAILED         9 CALLS      239 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62004        1.8398        .46418E-04   -.55749    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.92309    
   4  Prefactor     .94377        1.2864        .45104E-04   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.4641e-10
Minuit parameter uncertainties:
  1  6.97061e-06
  2  1.2004
  3  1.29961
  4  1.33197
/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
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) = 12527.658194
delta logL = -1.78260961547e-10

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  6.971e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.355e+00  1.200e+00  0.000e+00  1.000e+01 (-1.000e+00)
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.300e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 3.586 -5.012

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/30945122/cmap_HighResolution_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2026-07-07 11:58:18.145382', job_id='30945122', GAL2='0.94', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1783450698.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-1.78e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='935' AND source_name='4FGL J0014.3-0500' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul  7 11:58:19 PDT 2026


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


Performing analysis on: 4FGL_J0014.3-0500_weekly_bin935
RA = 3.5864, Dec = -5.012
tmin = 804470401, tmax = 805075201
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='30945550', job_status='RUN', time_executed='2026-07-07 11:49:11.389394', time_epoch_executed='1783450151.39' WHERE source_name='4FGL J0014.3-0500' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/30945550

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/30945550/ft1_4FGL_J0014.3-0500_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/30945550/ft1_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945550/ft1_filteredMKT_4FGL_J0014.3-0500_weekly_bin935.fits ra=3.5864 dec=-5.012 rad=12.0 tmin=804470401.0 tmax=805075201.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.25
user 4.34
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.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/30945550/ft1_filteredMKT_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.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.80
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1125

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" outnumber of points = 17183
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0014.3-0500_weekly_bin935
RA = 3.5864, Dec = -5.012
tmin = 804470401, tmax = 805075201
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='30945638', job_status='RUN', time_executed='2026-07-07 11:51:14.499013', time_epoch_executed='1783450274.5' WHERE source_name='4FGL J0014.3-0500' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/30945638

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/30945638/ft1_4FGL_J0014.3-0500_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/30945638/ft1_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945638/ft1_filteredMKT_4FGL_J0014.3-0500_weekly_bin935.fits ra=3.5864 dec=-5.012 rad=12.0 tmin=804470401.0 tmax=805075201.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.09
user 4.35
sys 0.33

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.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/30945638/ft1_filteredMKT_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.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.35
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1125

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" outffile=/lscratch/kocevski/30945550/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits
.....................!
real 16.45
user 15.05
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30945550/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945550/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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/30945550/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
.....................!
real 61.00
user 55.40
sys 3.70

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

Setting source of interest to:
4FGL J0014.3-0500 @ 3.5864 -5.012

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits scfile=/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945550/cmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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=3.5864 yref=-5.012 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.58
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits scfile=/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945550/cmap_HighResolution_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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=3.5864 yref=-5.012 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.48
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30945550/Model_4FGL_J0014.3-0500_weekly_bin935.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
ile=/lscratch/kocevski/30945638/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits
.....................!
real 16.86
user 15.33
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30945638/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945638/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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/30945638/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
.....................!
real 61.01
user 56.14
sys 3.53

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

Setting source of interest to:
4FGL J0014.3-0500 @ 3.5864 -5.012

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits scfile=/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945638/cmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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=3.5864 yref=-5.012 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.95
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits scfile=/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945638/cmap_HighResolution_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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=3.5864 yref=-5.012 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.59
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30945638/Model_4FGL_J0014.3-0500_weekly_bin935.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
WWorking on...
/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits.....................!
real 38.19
user 35.89
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits', '/lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits', expMap='/lscratch/kocevski/30945550/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits', expCube='/lscratch/kocevski/30945550/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30945550/Model_4FGL_J0014.3-0500_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.3-0500'

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  1.466e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/30945550/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/30945550/ft2_4FGL_J0014.3-0500_weekly_bin935.fits
Exposure map: /lscratch/kocevski/30945550/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/30945550/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/30945550/Model_4FGL_J0014.3-0500_weekly_bin935.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) = 12527.6719423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27181E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.539       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55985E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .27329E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32472E-04   1.0000          .0000       .10000E+07
     6 'norm      '    2.7429       1.0000          .0000       .10000E+07
     7 'norm      '    5.5530       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22179E-03   1.0000          .0000       .10000E+07
     9 'norm      '    3.8120       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20495       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.1914       1.0000          .0000       .10000E+07
    12 'norm      '    1.5689       1.0000          .0000       .10000E+07
    13 'norm      '    .15699E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    31.861       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91524E-03   1.0000          .0000       .10000E+07
    16 'norm      '    18.315       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.1064       1.0000          .0000       .10000E+07
    18 'Prefactor '    27.866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .79020E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0214       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94392       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12527.66     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     1958 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.9292       -.71577E-06** at limit **
   2  Prefactor     13.536        8.8137        .21277E-06   -.30647E-03
   3  Prefactor      .0000        1.4399       -.55047E-08** at limit **
   4  norm           .0000        1.1062       -.92343E-08** at limit **
   5  Prefactor      .0000        4.5270        .91549E-06** at limit **
   6  norm          2.7426        1.9139        .29437E-08   -.86680E-02
   7  norm          5.5763        2.6746        .53899E-08   -.78751E-03
   8  Prefactor      .0000        3.3992       -.48267E-06** at limit **
   9  norm          3.8099        6.3551       -.10486E-07   -.41778E-02
  10  Prefactor     .20489        .61885       -.45835E-07** at limit **
  11  Prefactor     2.1934        1.7789        .11441E-07   -.71102E-02
  12  norm          1.5692        1.8885        .31429E-07   -.63227E-02
  13  norm           .0000        3.3025        .40253E-06** at limit **
  14  Prefactor     31.753        20.681       -.67664E-06   -.29186E-03
  15  Prefactor      .0000        10.569        .12659E-06** at limit **
  16  norm          18.188        13.405       -.38507E-06   -.32994E-03
  17  Prefactor     3.1179        2.7781        .47779E-08   -.91063E-02
  18  Prefactor     27.995        30.985        .28420E-05   -.77997E-04
  19  Prefactor      .0000        2.5421       -.57148E-07** at limit **
  20  Normalizat    1.0216        .12822       -.14223E-05    .42124E-04
  21  Prefactor     .94376        .11070       -.81012E-06   -.26730E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 13.5358
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 2.74262
  norm       = 5.57629
  Prefactor  = 0
  norm       = 3.80991
  Prefactor  = 0.204894
  Prefactor  = 2.19343
  norm       = 1.56924
  norm       = 0
  Prefactor  = 31.7532
  Prefactor  = 0
  norm       = 18.1884
  Prefactor  = 3.11792
  Prefactor  = 27.9947
  Prefactor  = 0
  Normalizat = 1.02163
  Prefactor  = 0.943764
 **********
 **   18 **HESSE 
 **********

 FCN=   12527.66     FROM HESSE     STATUS=OK           321 CALLS     2279 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.9498        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.536        8.8075        .10878E-04   -1.5634    
   3  Prefactor      .0000        1.4422        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.1255        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.5429        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7426        1.9073        .12368E-04   -1.5675    
   7  norm          5.5763        2.6734        .12303E-04   -1.5661    
   8  Prefactor      .0000        3.4042        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8099        6.3447        .20669E-04   -1.5669    
  10  Prefactor     .20489        .75192        .14895E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1934        1.7740        .12931E-04   -1.5678    
  12  norm          1.5692        1.8703        .16237E-04   -1.5683    
  13  norm           .0000        3.3330        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.753        20.658        .70874E-05   -1.5595    
  15  Prefactor      .0000        10.577        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.188        13.369        .93501E-05   -1.5623    
  17  Prefactor     3.1179        2.7639        .16228E-04   -1.5673    
  18  Prefactor     27.995        30.868        .75788E-05   -1.5602    
  19  Prefactor      .0000        2.5539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0216        .14740        .25582E-03   -.92309    
  21  Prefactor     .94376        .12792        .23292E-03   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31171e-09
Minuit parameter uncertainties:
  1  2.05718e-05
  2  8.80749
  3  1.61577e-06
  4  4.12905e-06
  5  8.50845e-07
  6  1.90732
  7  2.67344
  8  4.81363e-06
  9  6.34474
  10  0.751921
  11  1.77402
  12  1.87031
  13  9.5277e-06
  14  20.6578
  15  1.16314e-05
  16  13.3692
  17  2.76385
  18  30.8682
  19  7.76735e-06
  20  0.147461
  21  0.127966
Done.

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

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  1.616e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 3.586 -5.012
Photon Flux Upper Limit: 3.77276147539e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00290934239557 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30945550/likelihoodResults_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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) = 12527.6633533
delta logL = -0.00515932890994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12527.658194
delta logL = -1.02263584267e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12527.66     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      230 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4579        .42118E-03** at limit **
   2  Index         2.3547        1.1845        .46418E-04     .0000    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.18175E-03
   4  Prefactor     .94377        1.2864        .45104E-04    .25378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.35471
  Normalizat = 1.02163
  Prefactor  = 0.943767
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12527.66     FROM HESSE     STATUS=FAILED         9 CALLS      239 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62004        1.8398        .46418E-04   -.55749    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.92309    
   4  Prefactor     .94377        1.2864        .45104E-04   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.4641e-10
Minuit parameter uncertainties:
  1  6.97061e-06
  2  1.2004
  3  1.29961
  4  1.33197
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) = 12527.658194
delta logL = -1.78260961547e-10

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  6.971e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.355e+00  1.200e+00  0.000e+00  1.000e+01 (-1.000e+00)
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.300e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 3.586 -5.012

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/30945550/cmap_HighResolution_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2026-07-07 12:12:18.899819', job_id='30945550', GAL2='0.94', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1783451538.9', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-1.78e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='935' AND source_name='4FGL J0014.3-0500' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul  7 12:12:19 PDT 2026

orking on...
/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits.....................!
real 39.80
user 36.73
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits', '/lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits', expMap='/lscratch/kocevski/30945638/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits', expCube='/lscratch/kocevski/30945638/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30945638/Model_4FGL_J0014.3-0500_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.3-0500'

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  1.466e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/30945638/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/30945638/ft2_4FGL_J0014.3-0500_weekly_bin935.fits
Exposure map: /lscratch/kocevski/30945638/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/30945638/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/30945638/Model_4FGL_J0014.3-0500_weekly_bin935.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) = 12527.6719423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27181E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.539       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55985E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .27329E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32472E-04   1.0000          .0000       .10000E+07
     6 'norm      '    2.7429       1.0000          .0000       .10000E+07
     7 'norm      '    5.5530       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22179E-03   1.0000          .0000       .10000E+07
     9 'norm      '    3.8120       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20495       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.1914       1.0000          .0000       .10000E+07
    12 'norm      '    1.5689       1.0000          .0000       .10000E+07
    13 'norm      '    .15699E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    31.861       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91524E-03   1.0000          .0000       .10000E+07
    16 'norm      '    18.315       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.1064       1.0000          .0000       .10000E+07
    18 'Prefactor '    27.866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .79020E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0214       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94392       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12527.66     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     1958 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.9292       -.71577E-06** at limit **
   2  Prefactor     13.536        8.8137        .21277E-06   -.30647E-03
   3  Prefactor      .0000        1.4399       -.55047E-08** at limit **
   4  norm           .0000        1.1062       -.92343E-08** at limit **
   5  Prefactor      .0000        4.5270        .91549E-06** at limit **
   6  norm          2.7426        1.9139        .29437E-08   -.86680E-02
   7  norm          5.5763        2.6746        .53899E-08   -.78751E-03
   8  Prefactor      .0000        3.3992       -.48267E-06** at limit **
   9  norm          3.8099        6.3551       -.10486E-07   -.41778E-02
  10  Prefactor     .20489        .61885       -.45835E-07** at limit **
  11  Prefactor     2.1934        1.7789        .11441E-07   -.71102E-02
  12  norm          1.5692        1.8885        .31429E-07   -.63227E-02
  13  norm           .0000        3.3025        .40253E-06** at limit **
  14  Prefactor     31.753        20.681       -.67664E-06   -.29186E-03
  15  Prefactor      .0000        10.569        .12659E-06** at limit **
  16  norm          18.188        13.405       -.38507E-06   -.32994E-03
  17  Prefactor     3.1179        2.7781        .47779E-08   -.91063E-02
  18  Prefactor     27.995        30.985        .28420E-05   -.77997E-04
  19  Prefactor      .0000        2.5421       -.57148E-07** at limit **
  20  Normalizat    1.0216        .12822       -.14223E-05    .42124E-04
  21  Prefactor     .94376        .11070       -.81012E-06   -.26730E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 13.5358
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 2.74262
  norm       = 5.57629
  Prefactor  = 0
  norm       = 3.80991
  Prefactor  = 0.204894
  Prefactor  = 2.19343
  norm       = 1.56924
  norm       = 0
  Prefactor  = 31.7532
  Prefactor  = 0
  norm       = 18.1884
  Prefactor  = 3.11792
  Prefactor  = 27.9947
  Prefactor  = 0
  Normalizat = 1.02163
  Prefactor  = 0.943764
 **********
 **   18 **HESSE 
 **********

 FCN=   12527.66     FROM HESSE     STATUS=OK           321 CALLS     2279 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.9498        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.536        8.8075        .10878E-04   -1.5634    
   3  Prefactor      .0000        1.4422        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.1255        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.5429        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7426        1.9073        .12368E-04   -1.5675    
   7  norm          5.5763        2.6734        .12303E-04   -1.5661    
   8  Prefactor      .0000        3.4042        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8099        6.3447        .20669E-04   -1.5669    
  10  Prefactor     .20489        .75192        .14895E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1934        1.7740        .12931E-04   -1.5678    
  12  norm          1.5692        1.8703        .16237E-04   -1.5683    
  13  norm           .0000        3.3330        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.753        20.658        .70874E-05   -1.5595    
  15  Prefactor      .0000        10.577        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.188        13.369        .93501E-05   -1.5623    
  17  Prefactor     3.1179        2.7639        .16228E-04   -1.5673    
  18  Prefactor     27.995        30.868        .75788E-05   -1.5602    
  19  Prefactor      .0000        2.5539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0216        .14740        .25582E-03   -.92309    
  21  Prefactor     .94376        .12792        .23292E-03   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31171e-09
Minuit parameter uncertainties:
  1  2.05718e-05
  2  8.80749
  3  1.61577e-06
  4  4.12905e-06
  5  8.50845e-07
  6  1.90732
  7  2.67344
  8  4.81363e-06
  9  6.34474
  10  0.751921
  11  1.77402
  12  1.87031
  13  9.5277e-06
  14  20.6578
  15  1.16314e-05
  16  13.3692
  17  2.76385
  18  30.8682
  19  7.76735e-06
  20  0.147461
  21  0.127966
Done.

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

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  1.616e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 3.586 -5.012
Photon Flux Upper Limit: 3.77276147539e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00290934239557 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30945638/likelihoodResults_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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) = 12527.6633533
delta logL = -0.00515932890994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12527.658194
delta logL = -1.02263584267e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12527.66     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      230 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4579        .42118E-03** at limit **
   2  Index         2.3547        1.1845        .46418E-04     .0000    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.18175E-03
   4  Prefactor     .94377        1.2864        .45104E-04    .25378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.35471
  Normalizat = 1.02163
  Prefactor  = 0.943767
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12527.66     FROM HESSE     STATUS=FAILED         9 CALLS      239 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62004        1.8398        .46418E-04   -.55749    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.92309    
   4  Prefactor     .94377        1.2864        .45104E-04   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.4641e-10
Minuit parameter uncertainties:
  1  6.97061e-06
  2  1.2004
  3  1.29961
  4  1.33197
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) = 12527.658194
delta logL = -1.78260961547e-10

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  6.971e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.355e+00  1.200e+00  0.000e+00  1.000e+01 (-1.000e+00)
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.300e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 3.586 -5.012

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/30945638/cmap_HighResolution_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2026-07-07 12:13:56.464583', job_id='30945638', GAL2='0.94', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1783451636.46', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-1.78e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='935' AND source_name='4FGL J0014.3-0500' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul  7 12:13:57 PDT 2026

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


Performing analysis on: 4FGL_J0014.3-0500_weekly_bin935
RA = 3.5864, Dec = -5.012
tmin = 804470401, tmax = 805075201
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='30945889', job_status='RUN', time_executed='2026-07-07 11:58:42.028084', time_epoch_executed='1783450722.03' WHERE source_name='4FGL J0014.3-0500' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/30945889

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/30945889/ft1_4FGL_J0014.3-0500_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/30945889/ft1_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945889/ft1_filteredMKT_4FGL_J0014.3-0500_weekly_bin935.fits ra=3.5864 dec=-5.012 rad=12.0 tmin=804470401.0 tmax=805075201.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.73
user 4.36
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.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/30945889/ft1_filteredMKT_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.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.55
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1125

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30945889/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits
.....................!
real 16.64
user 15.45
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30945889/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945889/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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/30945889/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
.....................!
real 61.16
user 55.96
sys 3.47

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

Setting source of interest to:
4FGL J0014.3-0500 @ 3.5864 -5.012

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits scfile=/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945889/cmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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=3.5864 yref=-5.012 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.49
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits scfile=/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits outfile=/lscratch/kocevski/30945889/cmap_HighResolution_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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=3.5864 yref=-5.012 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.73
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30945889/Model_4FGL_J0014.3-0500_weekly_bin935.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits.....................!
real 38.80
user 36.02
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits', '/lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits', expMap='/lscratch/kocevski/30945889/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits', expCube='/lscratch/kocevski/30945889/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30945889/Model_4FGL_J0014.3-0500_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.3-0500'

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  1.466e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/30945889/ft1_filtered_4FGL_J0014.3-0500_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/30945889/ft2_4FGL_J0014.3-0500_weekly_bin935.fits
Exposure map: /lscratch/kocevski/30945889/expmap_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/30945889/ltcube_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/30945889/Model_4FGL_J0014.3-0500_weekly_bin935.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) = 12527.6719423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27181E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.539       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55985E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .27329E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32472E-04   1.0000          .0000       .10000E+07
     6 'norm      '    2.7429       1.0000          .0000       .10000E+07
     7 'norm      '    5.5530       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22179E-03   1.0000          .0000       .10000E+07
     9 'norm      '    3.8120       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20495       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.1914       1.0000          .0000       .10000E+07
    12 'norm      '    1.5689       1.0000          .0000       .10000E+07
    13 'norm      '    .15699E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    31.861       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91524E-03   1.0000          .0000       .10000E+07
    16 'norm      '    18.315       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.1064       1.0000          .0000       .10000E+07
    18 'Prefactor '    27.866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .79020E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0214       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94392       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12527.66     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     1958 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.9292       -.71577E-06** at limit **
   2  Prefactor     13.536        8.8137        .21277E-06   -.30647E-03
   3  Prefactor      .0000        1.4399       -.55047E-08** at limit **
   4  norm           .0000        1.1062       -.92343E-08** at limit **
   5  Prefactor      .0000        4.5270        .91549E-06** at limit **
   6  norm          2.7426        1.9139        .29437E-08   -.86680E-02
   7  norm          5.5763        2.6746        .53899E-08   -.78751E-03
   8  Prefactor      .0000        3.3992       -.48267E-06** at limit **
   9  norm          3.8099        6.3551       -.10486E-07   -.41778E-02
  10  Prefactor     .20489        .61885       -.45835E-07** at limit **
  11  Prefactor     2.1934        1.7789        .11441E-07   -.71102E-02
  12  norm          1.5692        1.8885        .31429E-07   -.63227E-02
  13  norm           .0000        3.3025        .40253E-06** at limit **
  14  Prefactor     31.753        20.681       -.67664E-06   -.29186E-03
  15  Prefactor      .0000        10.569        .12659E-06** at limit **
  16  norm          18.188        13.405       -.38507E-06   -.32994E-03
  17  Prefactor     3.1179        2.7781        .47779E-08   -.91063E-02
  18  Prefactor     27.995        30.985        .28420E-05   -.77997E-04
  19  Prefactor      .0000        2.5421       -.57148E-07** at limit **
  20  Normalizat    1.0216        .12822       -.14223E-05    .42124E-04
  21  Prefactor     .94376        .11070       -.81012E-06   -.26730E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 13.5358
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 2.74262
  norm       = 5.57629
  Prefactor  = 0
  norm       = 3.80991
  Prefactor  = 0.204894
  Prefactor  = 2.19343
  norm       = 1.56924
  norm       = 0
  Prefactor  = 31.7532
  Prefactor  = 0
  norm       = 18.1884
  Prefactor  = 3.11792
  Prefactor  = 27.9947
  Prefactor  = 0
  Normalizat = 1.02163
  Prefactor  = 0.943764
 **********
 **   18 **HESSE 
 **********

 FCN=   12527.66     FROM HESSE     STATUS=OK           321 CALLS     2279 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.9498        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.536        8.8075        .10878E-04   -1.5634    
   3  Prefactor      .0000        1.4422        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.1255        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.5429        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7426        1.9073        .12368E-04   -1.5675    
   7  norm          5.5763        2.6734        .12303E-04   -1.5661    
   8  Prefactor      .0000        3.4042        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8099        6.3447        .20669E-04   -1.5669    
  10  Prefactor     .20489        .75192        .14895E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1934        1.7740        .12931E-04   -1.5678    
  12  norm          1.5692        1.8703        .16237E-04   -1.5683    
  13  norm           .0000        3.3330        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.753        20.658        .70874E-05   -1.5595    
  15  Prefactor      .0000        10.577        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.188        13.369        .93501E-05   -1.5623    
  17  Prefactor     3.1179        2.7639        .16228E-04   -1.5673    
  18  Prefactor     27.995        30.868        .75788E-05   -1.5602    
  19  Prefactor      .0000        2.5539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0216        .14740        .25582E-03   -.92309    
  21  Prefactor     .94376        .12792        .23292E-03   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31171e-09
Minuit parameter uncertainties:
  1  2.05718e-05
  2  8.80749
  3  1.61577e-06
  4  4.12905e-06
  5  8.50845e-07
  6  1.90732
  7  2.67344
  8  4.81363e-06
  9  6.34474
  10  0.751921
  11  1.77402
  12  1.87031
  13  9.5277e-06
  14  20.6578
  15  1.16314e-05
  16  13.3692
  17  2.76385
  18  30.8682
  19  7.76735e-06
  20  0.147461
  21  0.127966
Done.

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

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  1.616e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 3.586 -5.012
Photon Flux Upper Limit: 3.77276147539e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00290934239557 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30945889/likelihoodResults_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.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) = 12527.6633533
delta logL = -0.00515932890994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12527.658194
delta logL = -1.02263584267e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12527.66     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      230 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4579        .42118E-03** at limit **
   2  Index         2.3547        1.1845        .46418E-04     .0000    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.18175E-03
   4  Prefactor     .94377        1.2864        .45104E-04    .25378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.35471
  Normalizat = 1.02163
  Prefactor  = 0.943767
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12527.66     FROM HESSE     STATUS=FAILED         9 CALLS      239 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62004        1.8398        .46418E-04   -.55749    
   3  Normalizat    1.0216        1.2597       -.41287E-04   -.92309    
   4  Prefactor     .94377        1.2864        .45104E-04   -.94628    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.4641e-10
Minuit parameter uncertainties:
  1  6.97061e-06
  2  1.2004
  3  1.29961
  4  1.33197
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) = 12527.658194
delta logL = -1.78260961547e-10

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  0.000e+00  6.971e-06  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  2.355e+00  1.200e+00  0.000e+00  1.000e+01 (-1.000e+00)
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.438e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.022e+00  1.300e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 3.586 -5.012

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/30945889/cmap_HighResolution_804470401_805075201_4FGL_J0014.3-0500_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2026-07-07 12:20:03.681045', job_id='30945889', GAL2='0.94', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1783452003.68', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-1.78e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='935' AND source_name='4FGL J0014.3-0500' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul  7 12:20:04 PDT 2026

