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

 FCN=   5055.648     FROM HESSE     STATUS=OK           212 CALLS     1206 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46685E-04    127.10        .80940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.041        61.477        .12588E-03   -1.5548    
   3  Prefactor     39.946        30.754        .15883E-03   -1.5582    
   4  Prefactor     .61790E-04    118.82        .80963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85652E-05    982.72        .10695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .31602E-06    64.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17208E-08    13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .24053E-06    33.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.744        25.130        .27780E-03   -1.5637    
  10  norm          4.2299        3.0084        .48955E-03   -1.5667    
  11  Prefactor     .35139E-07    26.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4613        6.9086        .36629E-03   -1.5653    
  13  Prefactor     8.8887        7.8673        .33728E-03   -1.5648    
  14  Normalizat    1.0136        .37837        .11629       -.92575    
  15  Prefactor     .82189        .89340E-01    .31799E-01   -.98926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50529e-06
Minuit parameter uncertainties:
  1  0.154067
  2  61.4778
  3  30.7539
  4  0.171372
  5  0.18352
  6  0.00901346
  7  0.000305681
  8  0.00567163
  9  25.13
  10  3.00837
  11  0.00193862
  12  6.90856
  13  7.86729
  14  0.379382
  15  0.0893556
/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).

Done.

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

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  3.160e-07  9.013e-03  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.219e-01  8.936e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  1.014e+00  3.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 303.599 -0.792
Photon Flux Upper Limit: 1.99855009626e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149661496582 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31796904/likelihoodResults_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.65560844
delta logL = -0.0074484203833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5055.62825716
delta logL = 0.0199028632796

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5055.628     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      279 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1523        339.82        .10883E-02    .10092E-01
   2  Index         3.1939        6.3228        .81628E-01    .17483E-03
   3  Normalizat    .98913        .81490E-01    .11756        .20325E-04
   4  Prefactor     .82318        .20367E-01    .31776E-01   -.31416E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15228
  Index      = 3.19392
  Normalizat = 0.989132
  Prefactor  = 0.823176
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.628     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1523        1118.8        .33725E-04   -1.5686    
   2  Index         3.1939        8.2106        .15314E-01   -.36957    
   3  Normalizat    .98913        .26959        .52141E-03   -.93395    
   4  Prefactor     .82318        .69290E-01    .14041E-03   -.98880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.14188e-09
Minuit parameter uncertainties:
  1  71.8239
  2  18.4069
  3  0.269957
  4  0.0692978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5055.62825276
delta logL = 0.0199072619653

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  1.152e+00  7.182e+01  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  3.194e+00  1.841e+01  0.000e+00  1.000e+01 (-1.000e+00)
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.232e-01  6.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  9.891e-01  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 303.599 -0.792

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31796904/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', job_status='DONE', photon_flux_upper_limit='2.00e-07', time_completed='2026-07-15 14:26:46.773664', job_id='31796904', GAL2='0.82', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1784150806.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.99e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2174' AND source_name='4FGL J2014.3-0047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 14:26:47 PDT 2026

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

This is gtbin version HEAD
real 0.60
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31797085/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31797085/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31797085/Model_4FGL_J2014.3-0047_daily_bin2174.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/lscratch/kocevski/31797085/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits.....................!
real 42.86
user 41.01
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31797085/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits', '/lscratch/kocevski/31797085/ft2_4FGL_J2014.3-0047_daily_bin2174.fits', expMap='/lscratch/kocevski/31797085/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', expCube='/lscratch/kocevski/31797085/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31797085/Model_4FGL_J2014.3-0047_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2014.3-0047'

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  4.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31797085/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31797085/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31797085/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31797085/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31797085/Model_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.66544357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47814       1.0000          .0000       .10000E+07
     2 'Prefactor '    63.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    39.646       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47792       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1602       1.0000          .0000       .10000E+07
     6 'Prefactor '    .93524E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .62073E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .10608E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.978       1.0000          .0000       .10000E+07
    10 'norm      '    4.2325       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39804E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.4870       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.8192       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5055.648     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      994 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46685E-04    13.120        .23179E-06** at limit **
   2  Prefactor     64.041        26.151        .17571E-09   -.64083E-01
   3  Prefactor     39.946        3.0370       -.15356E-07   -.45377E-01
   4  Prefactor     .61790E-04    13.850        .23467E-06** at limit **
   5  Prefactor     .85652E-05    802.32        .71401E-07** at limit **
   6  Prefactor     .31602E-06    63.943        .60910E-06** at limit **
   7  norm          .17208E-08    13.399       -.23966E-06** at limit **
   8  norm          .24053E-06    26.496        .33454E-06** at limit **
   9  Prefactor     12.744        2.2271        .15163E-07   -.78693E-01
  10  norm          4.2299        3.0071       -.44564E-07   -.26783E-02
  11  Prefactor     .35139E-07    26.824        .16884E-06** at limit **
  12  norm          7.4613        6.9006       -.12607E-07   -.58341E-03
  13  Prefactor     8.8887        7.8699        .74209E-07    .23630E-02
  14  Normalizat    1.0136        .39997        .60722E-05    .21319E-03
  15  Prefactor     .82189        .96920E-01   -.28699E-06    .58823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66854e-05
  Prefactor  = 64.0408
  Prefactor  = 39.9456
  Prefactor  = 6.17904e-05
  Prefactor  = 8.5652e-06
  Prefactor  = 3.16025e-07
  norm       = 1.72085e-09
  norm       = 2.4053e-07
  Prefactor  = 12.7444
  norm       = 4.22993
  Prefactor  = 3.51386e-08
  norm       = 7.46126
  Prefactor  = 8.88874
  Normalizat = 1.01365
  Prefactor  = 0.821895
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.648     FROM HESSE     STATUS=OK           212 CALLS     1206 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46685E-04    127.10        .80940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.041        61.477        .12588E-03   -1.5548    
   3  Prefactor     39.946        30.754        .15883E-03   -1.5582    
   4  Prefactor     .61790E-04    118.82        .80963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85652E-05    982.72        .10695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .31602E-06    64.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17208E-08    13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .24053E-06    33.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.744        25.130        .27780E-03   -1.5637    
  10  norm          4.2299        3.0084        .48955E-03   -1.5667    
  11  Prefactor     .35139E-07    26.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4613        6.9086        .36629E-03   -1.5653    
  13  Prefactor     8.8887        7.8673        .33728E-03   -1.5648    
  14  Normalizat    1.0136        .37837        .11629       -.92575    
  15  Prefactor     .82189        .89340E-01    .31799E-01   -.98926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50529e-06
Minuit parameter uncertainties:
  1  0.154067
  2  61.4778
  3  30.7539
  4  0.171372
  5  0.18352
  6  0.00901346
  7  0.000305681
  8  0.00567163
  9  25.13
  10  3.00837
  11  0.00193862
  12  6.90856
  13  7.86729
  14  0.379382
  15  0.0893556
tfile=/lscratch/kocevski/31797636/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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/31797636/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
.....................!
real 9.04
user 8.36
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31797636/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31797636/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31797636/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31797636/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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/31797636/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
.....................!
real 69.94
user 65.14
sys 4.04

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Added 268 point sources and 5 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 J2014.3-0047 @ 303.599 -0.7922

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31797636/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits scfile=/lscratch/kocevski/31797636/ft2_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31797636/cmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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=303.599 yref=-0.7922 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31797636/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits scfile=/lscratch/kocevski/31797636/ft2_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31797636/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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=303.599 yref=-0.7922 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31797108/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31797108/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31797108/Model_4FGL_J2014.3-0047_daily_bin2174.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/lscratch/kocevski/31797108/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits.....................!
real 45.10
user 42.25
sys 2.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31797108/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits', '/lscratch/kocevski/31797108/ft2_4FGL_J2014.3-0047_daily_bin2174.fits', expMap='/lscratch/kocevski/31797108/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', expCube='/lscratch/kocevski/31797108/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31797108/Model_4FGL_J2014.3-0047_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2014.3-0047'

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  4.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31797108/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31797108/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31797108/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31797108/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31797108/Model_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.66544357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47814       1.0000          .0000       .10000E+07
     2 'Prefactor '    63.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    39.646       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47792       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1602       1.0000          .0000       .10000E+07
     6 'Prefactor '    .93524E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .62073E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .10608E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.978       1.0000          .0000       .10000E+07
    10 'norm      '    4.2325       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39804E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.4870       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.8192       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5055.648     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      994 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46685E-04    13.120        .23179E-06** at limit **
   2  Prefactor     64.041        26.151        .17571E-09   -.64083E-01
   3  Prefactor     39.946        3.0370       -.15356E-07   -.45377E-01
   4  Prefactor     .61790E-04    13.850        .23467E-06** at limit **
   5  Prefactor     .85652E-05    802.32        .71401E-07** at limit **
   6  Prefactor     .31602E-06    63.943        .60910E-06** at limit **
   7  norm          .17208E-08    13.399       -.23966E-06** at limit **
   8  norm          .24053E-06    26.496        .33454E-06** at limit **
   9  Prefactor     12.744        2.2271        .15163E-07   -.78693E-01
  10  norm          4.2299        3.0071       -.44564E-07   -.26783E-02
  11  Prefactor     .35139E-07    26.824        .16884E-06** at limit **
  12  norm          7.4613        6.9006       -.12607E-07   -.58341E-03
  13  Prefactor     8.8887        7.8699        .74209E-07    .23630E-02
  14  Normalizat    1.0136        .39997        .60722E-05    .21319E-03
  15  Prefactor     .82189        .96920E-01   -.28699E-06    .58823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66854e-05
  Prefactor  = 64.0408
  Prefactor  = 39.9456
  Prefactor  = 6.17904e-05
  Prefactor  = 8.5652e-06
  Prefactor  = 3.16025e-07
  norm       = 1.72085e-09
  norm       = 2.4053e-07
  Prefactor  = 12.7444
  norm       = 4.22993
  Prefactor  = 3.51386e-08
  norm       = 7.46126
  Prefactor  = 8.88874
  Normalizat = 1.01365
  Prefactor  = 0.821895
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.648     FROM HESSE     STATUS=OK           212 CALLS     1206 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46685E-04    127.10        .80940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.041        61.477        .12588E-03   -1.5548    
   3  Prefactor     39.946        30.754        .15883E-03   -1.5582    
   4  Prefactor     .61790E-04    118.82        .80963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85652E-05    982.72        .10695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .31602E-06    64.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17208E-08    13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .24053E-06    33.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.744        25.130        .27780E-03   -1.5637    
  10  norm          4.2299        3.0084        .48955E-03   -1.5667    
  11  Prefactor     .35139E-07    26.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4613        6.9086        .36629E-03   -1.5653    
  13  Prefactor     8.8887        7.8673        .33728E-03   -1.5648    
  14  Normalizat    1.0136        .37837        .11629       -.92575    
  15  Prefactor     .82189        .89340E-01    .31799E-01   -.98926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50529e-06
Minuit parameter uncertainties:
  1  0.154067
  2  61.4778
  3  30.7539
  4  0.171372
  5  0.18352
  6  0.00901346
  7  0.000305681
  8  0.00567163
  9  25.13
  10  3.00837
  11  0.00193862
  12  6.90856
  13  7.86729
  14  0.379382
  15  0.0893556
Done.

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

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  3.160e-07  9.013e-03  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.219e-01  8.936e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  1.014e+00  3.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 303.599 -0.792
Photon Flux Upper Limit: 1.99855009626e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149661496582 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31797085/likelihoodResults_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.65560844
delta logL = -0.0074484203833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5055.62825716
delta logL = 0.0199028632796

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5055.628     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      279 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1523        339.82        .10883E-02    .10092E-01
   2  Index         3.1939        6.3228        .81628E-01    .17483E-03
   3  Normalizat    .98913        .81490E-01    .11756        .20325E-04
   4  Prefactor     .82318        .20367E-01    .31776E-01   -.31416E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15228
  Index      = 3.19392
  Normalizat = 0.989132
  Prefactor  = 0.823176
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.628     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1523        1118.8        .33725E-04   -1.5686    
   2  Index         3.1939        8.2106        .15314E-01   -.36957    
   3  Normalizat    .98913        .26959        .52141E-03   -.93395    
   4  Prefactor     .82318        .69290E-01    .14041E-03   -.98880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.14188e-09
Minuit parameter uncertainties:
  1  71.8239
  2  18.4069
  3  0.269957
  4  0.0692978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5055.62825276
delta logL = 0.0199072619653

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  1.152e+00  7.182e+01  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  3.194e+00  1.841e+01  0.000e+00  1.000e+01 (-1.000e+00)
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.232e-01  6.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  9.891e-01  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 303.599 -0.792

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31797085/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', job_status='DONE', photon_flux_upper_limit='2.00e-07', time_completed='2026-07-15 14:27:47.139302', job_id='31797085', GAL2='0.82', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1784150867.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.99e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2174' AND source_name='4FGL J2014.3-0047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 14:27:47 PDT 2026

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


Performing analysis on: 4FGL_J2014.3-0047_daily_bin2174
RA = 303.599, Dec = -0.7922
tmin = 802828801, tmax = 803088001
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='31797999', job_status='RUN', time_executed='2026-07-15 14:25:58.900411', time_epoch_executed='1784150758.9' WHERE source_name='4FGL J2014.3-0047' and cadence='daily' and bin_id='2174'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31797999

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31797999/ft1_4FGL_J2014.3-0047_daily_bin2174.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31797999/ft1_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31797999/ft1_filteredMKT_4FGL_J2014.3-0047_daily_bin2174.fits ra=303.599 dec=-0.7922 rad=12.0 tmin=802828801.0 tmax=803088001.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 2.14
user 1.57
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.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/31797999/ft1_filteredMKT_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" outfile="/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 438

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" outnumber of points = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2014.3-0047_daily_bin2174
RA = 303.599, Dec = -0.7922
tmin = 802828801, tmax = 803088001
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='31798144', job_status='RUN', time_executed='2026-07-15 14:26:25.318843', time_epoch_executed='1784150785.32' WHERE source_name='4FGL J2014.3-0047' and cadence='daily' and bin_id='2174'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31798144

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31798144/ft1_4FGL_J2014.3-0047_daily_bin2174.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31798144/ft1_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31798144/ft1_filteredMKT_4FGL_J2014.3-0047_daily_bin2174.fits ra=303.599 dec=-0.7922 rad=12.0 tmin=802828801.0 tmax=803088001.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 1.85
user 1.29
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.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/31798144/ft1_filteredMKT_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" outfile="/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 438

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  3.160e-07  9.013e-03  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.219e-01  8.936e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  1.014e+00  3.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 303.599 -0.792
Photon Flux Upper Limit: 1.99855009626e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149661496582 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31797108/likelihoodResults_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.65560844
delta logL = -0.0074484203833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5055.62825716
delta logL = 0.0199028632796

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5055.628     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      279 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1523        339.82        .10883E-02    .10092E-01
   2  Index         3.1939        6.3228        .81628E-01    .17483E-03
   3  Normalizat    .98913        .81490E-01    .11756        .20325E-04
   4  Prefactor     .82318        .20367E-01    .31776E-01   -.31416E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15228
  Index      = 3.19392
  Normalizat = 0.989132
  Prefactor  = 0.823176
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.628     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1523        1118.8        .33725E-04   -1.5686    
   2  Index         3.1939        8.2106        .15314E-01   -.36957    
   3  Normalizat    .98913        .26959        .52141E-03   -.93395    
   4  Prefactor     .82318        .69290E-01    .14041E-03   -.98880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.14188e-09
Minuit parameter uncertainties:
  1  71.8239
  2  18.4069
  3  0.269957
  4  0.0692978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5055.62825276
delta logL = 0.0199072619653

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  1.152e+00  7.182e+01  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  3.194e+00  1.841e+01  0.000e+00  1.000e+01 (-1.000e+00)
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.232e-01  6.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  9.891e-01  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 303.599 -0.792

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31797108/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', job_status='DONE', photon_flux_upper_limit='2.00e-07', time_completed='2026-07-15 14:28:16.832124', job_id='31797108', GAL2='0.82', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1784150896.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.99e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2174' AND source_name='4FGL J2014.3-0047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 14:28:17 PDT 2026

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

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31797636/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31797636/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31797636/Model_4FGL_J2014.3-0047_daily_bin2174.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/lscratch/kocevski/31797636/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits.....................!
real 41.92
user 40.04
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31797636/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits', '/lscratch/kocevski/31797636/ft2_4FGL_J2014.3-0047_daily_bin2174.fits', expMap='/lscratch/kocevski/31797636/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', expCube='/lscratch/kocevski/31797636/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31797636/Model_4FGL_J2014.3-0047_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2014.3-0047'

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  4.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31797636/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31797636/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31797636/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31797636/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31797636/Model_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.66544357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47814       1.0000          .0000       .10000E+07
     2 'Prefactor '    63.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    39.646       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47792       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1602       1.0000          .0000       .10000E+07
     6 'Prefactor '    .93524E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .62073E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .10608E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.978       1.0000          .0000       .10000E+07
    10 'norm      '    4.2325       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39804E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.4870       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.8192       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 *file=/lscratch/kocevski/31797999/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
.....................!
real 8.96
user 8.35
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31797999/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31797999/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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/31797999/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
.....................!
real 69.27
user 64.42
sys 4.16

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 Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Added 268 point sources and 5 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 J2014.3-0047 @ 303.599 -0.7922

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits scfile=/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31797999/cmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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=303.599 yref=-0.7922 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.72
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits scfile=/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31797999/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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=303.599 yref=-0.7922 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*********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5055.648     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      994 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46685E-04    13.120        .23179E-06** at limit **
   2  Prefactor     64.041        26.151        .17571E-09   -.64083E-01
   3  Prefactor     39.946        3.0370       -.15356E-07   -.45377E-01
   4  Prefactor     .61790E-04    13.850        .23467E-06** at limit **
   5  Prefactor     .85652E-05    802.32        .71401E-07** at limit **
   6  Prefactor     .31602E-06    63.943        .60910E-06** at limit **
   7  norm          .17208E-08    13.399       -.23966E-06** at limit **
   8  norm          .24053E-06    26.496        .33454E-06** at limit **
   9  Prefactor     12.744        2.2271        .15163E-07   -.78693E-01
  10  norm          4.2299        3.0071       -.44564E-07   -.26783E-02
  11  Prefactor     .35139E-07    26.824        .16884E-06** at limit **
  12  norm          7.4613        6.9006       -.12607E-07   -.58341E-03
  13  Prefactor     8.8887        7.8699        .74209E-07    .23630E-02
  14  Normalizat    1.0136        .39997        .60722E-05    .21319E-03
  15  Prefactor     .82189        .96920E-01   -.28699E-06    .58823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66854e-05
  Prefactor  = 64.0408
  Prefactor  = 39.9456
  Prefactor  = 6.17904e-05
  Prefactor  = 8.5652e-06
  Prefactor  = 3.16025e-07
  norm       = 1.72085e-09
  norm       = 2.4053e-07
  Prefactor  = 12.7444
  norm       = 4.22993
  Prefactor  = 3.51386e-08
  norm       = 7.46126
  Prefactor  = 8.88874
  Normalizat = 1.01365
  Prefactor  = 0.821895
tfile=/lscratch/kocevski/31798144/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
.....................!
real 7.58
user 7.00
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31798144/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31798144/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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/31798144/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
.....................!
real 59.64
user 55.62
sys 3.38

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 Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Added 268 point sources and 5 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 J2014.3-0047 @ 303.599 -0.7922

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits scfile=/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31798144/cmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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=303.599 yref=-0.7922 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits scfile=/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits outfile=/lscratch/kocevski/31798144/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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=303.599 yref=-0.7922 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"

WARNIN **********
 **   18 **HESSE 
 **********

 FCN=   5055.648     FROM HESSE     STATUS=OK           212 CALLS     1206 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46685E-04    127.10        .80940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.041        61.477        .12588E-03   -1.5548    
   3  Prefactor     39.946        30.754        .15883E-03   -1.5582    
   4  Prefactor     .61790E-04    118.82        .80963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85652E-05    982.72        .10695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .31602E-06    64.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17208E-08    13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .24053E-06    33.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.744        25.130        .27780E-03   -1.5637    
  10  norm          4.2299        3.0084        .48955E-03   -1.5667    
  11  Prefactor     .35139E-07    26.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4613        6.9086        .36629E-03   -1.5653    
  13  Prefactor     8.8887        7.8673        .33728E-03   -1.5648    
  14  Normalizat    1.0136        .37837        .11629       -.92575    
  15  Prefactor     .82189        .89340E-01    .31799E-01   -.98926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50529e-06
Minuit parameter uncertainties:
  1  0.154067
  2  61.4778
  3  30.7539
  4  0.171372
  5  0.18352
  6  0.00901346
  7  0.000305681
  8  0.00567163
  9  25.13
  10  3.00837
  11  0.00193862
  12  6.90856
  13  7.86729
  14  0.379382
  15  0.0893556
Done.

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

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  3.160e-07  9.013e-03  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.219e-01  8.936e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  1.014e+00  3.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 303.599 -0.792
Photon Flux Upper Limit: 1.99855009626e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149661496582 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31797636/likelihoodResults_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.65560844
delta logL = -0.0074484203833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5055.62825716
delta logL = 0.0199028632796

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5055.628     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      279 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1523        339.82        .10883E-02    .10092E-01
   2  Index         3.1939        6.3228        .81628E-01    .17483E-03
   3  Normalizat    .98913        .81490E-01    .11756        .20325E-04
   4  Prefactor     .82318        .20367E-01    .31776E-01   -.31416E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15228
  Index      = 3.19392
  Normalizat = 0.989132
  Prefactor  = 0.823176
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.628     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1523        1118.8        .33725E-04   -1.5686    
   2  Index         3.1939        8.2106        .15314E-01   -.36957    
   3  Normalizat    .98913        .26959        .52141E-03   -.93395    
   4  Prefactor     .82318        .69290E-01    .14041E-03   -.98880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.14188e-09
Minuit parameter uncertainties:
  1  71.8239
  2  18.4069
  3  0.269957
  4  0.0692978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5055.62825276
delta logL = 0.0199072619653

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  1.152e+00  7.182e+01  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  3.194e+00  1.841e+01  0.000e+00  1.000e+01 (-1.000e+00)
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.232e-01  6.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  9.891e-01  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 303.599 -0.792

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31797636/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', job_status='DONE', photon_flux_upper_limit='2.00e-07', time_completed='2026-07-15 14:29:56.346400', job_id='31797636', GAL2='0.82', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1784150996.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.99e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2174' AND source_name='4FGL J2014.3-0047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 14:29:56 PDT 2026

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

This is gtbin version HEAD
real 0.75
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31798144/Model_4FGL_J2014.3-0047_daily_bin2174.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits.....................!
real 36.96
user 35.39
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits', '/lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits', expMap='/lscratch/kocevski/31798144/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', expCube='/lscratch/kocevski/31798144/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31798144/Model_4FGL_J2014.3-0047_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2014.3-0047'

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  4.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31798144/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31798144/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31798144/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31798144/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31798144/Model_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.66544357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47814       1.0000          .0000       .10000E+07
     2 'Prefactor '    63.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    39.646       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47792       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1602       1.0000          .0000       .10000E+07
     6 'Prefactor '    .93524E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .62073E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .10608E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.978       1.0000          .0000       .10000E+07
    10 'norm      '    4.2325       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39804E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.4870       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.8192       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5055.648     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      994 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46685E-04    13.120        .23179E-06** at limit **
   2  Prefactor     64.041        26.151        .17571E-09   -.64083E-01
   3  Prefactor     39.946        3.0370       -.15356E-07   -.45377E-01
   4  Prefactor     .61790E-04    13.850        .23467E-06** at limit **
   5  Prefactor     .85652E-05    802.32        .71401E-07** at limit **
   6  Prefactor     .31602E-06    63.943        .60910E-06** at limit **
   7  norm          .17208E-08    13.399       -.23966E-06** at limit **
   8  norm          .24053E-06    26.496        .33454E-06** at limit **
   9  Prefactor     12.744        2.2271        .15163E-07   -.78693E-01
  10  norm          4.2299        3.0071       -.44564E-07   -.26783E-02
  11  Prefactor     .35139E-07    26.824        .16884E-06** at limit **
  12  norm          7.4613        6.9006       -.12607E-07   -.58341E-03
  13  Prefactor     8.8887        7.8699        .74209E-07    .23630E-02
  14  Normalizat    1.0136        .39997        .60722E-05    .21319E-03
  15  Prefactor     .82189        .96920E-01   -.28699E-06    .58823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66854e-05
  Prefactor  = 64.0408
  Prefactor  = 39.9456
  Prefactor  = 6.17904e-05
  Prefactor  = 8.5652e-06
  Prefactor  = 3.16025e-07
  norm       = 1.72085e-09
  norm       = 2.4053e-07
  Prefactor  = 12.7444
  norm       = 4.22993
  Prefactor  = 3.51386e-08
  norm       = 7.46126
  Prefactor  = 8.88874
  Normalizat = 1.01365
  Prefactor  = 0.821895
: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.73
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31797999/Model_4FGL_J2014.3-0047_daily_bin2174.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits.....................!
real 42.31
user 40.71
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits', '/lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits', expMap='/lscratch/kocevski/31797999/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', expCube='/lscratch/kocevski/31797999/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31797999/Model_4FGL_J2014.3-0047_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2014.3-0047'

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  4.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31797999/ft1_filtered_4FGL_J2014.3-0047_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31797999/ft2_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31797999/expmap_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31797999/ltcube_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31797999/Model_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.66544357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47814       1.0000          .0000       .10000E+07
     2 'Prefactor '    63.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    39.646       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47792       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1602       1.0000          .0000       .10000E+07
     6 'Prefactor '    .93524E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .62073E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .10608E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.978       1.0000          .0000       .10000E+07
    10 'norm      '    4.2325       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39804E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.4870       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.8192       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ** **********
 **   18 **HESSE 
 **********

 FCN=   5055.648     FROM HESSE     STATUS=OK           212 CALLS     1206 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46685E-04    127.10        .80940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.041        61.477        .12588E-03   -1.5548    
   3  Prefactor     39.946        30.754        .15883E-03   -1.5582    
   4  Prefactor     .61790E-04    118.82        .80963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85652E-05    982.72        .10695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .31602E-06    64.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17208E-08    13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .24053E-06    33.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.744        25.130        .27780E-03   -1.5637    
  10  norm          4.2299        3.0084        .48955E-03   -1.5667    
  11  Prefactor     .35139E-07    26.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4613        6.9086        .36629E-03   -1.5653    
  13  Prefactor     8.8887        7.8673        .33728E-03   -1.5648    
  14  Normalizat    1.0136        .37837        .11629       -.92575    
  15  Prefactor     .82189        .89340E-01    .31799E-01   -.98926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50529e-06
Minuit parameter uncertainties:
  1  0.154067
  2  61.4778
  3  30.7539
  4  0.171372
  5  0.18352
  6  0.00901346
  7  0.000305681
  8  0.00567163
  9  25.13
  10  3.00837
  11  0.00193862
  12  6.90856
  13  7.86729
  14  0.379382
  15  0.0893556
********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5055.648     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      994 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46685E-04    13.120        .23179E-06** at limit **
   2  Prefactor     64.041        26.151        .17571E-09   -.64083E-01
   3  Prefactor     39.946        3.0370       -.15356E-07   -.45377E-01
   4  Prefactor     .61790E-04    13.850        .23467E-06** at limit **
   5  Prefactor     .85652E-05    802.32        .71401E-07** at limit **
   6  Prefactor     .31602E-06    63.943        .60910E-06** at limit **
   7  norm          .17208E-08    13.399       -.23966E-06** at limit **
   8  norm          .24053E-06    26.496        .33454E-06** at limit **
   9  Prefactor     12.744        2.2271        .15163E-07   -.78693E-01
  10  norm          4.2299        3.0071       -.44564E-07   -.26783E-02
  11  Prefactor     .35139E-07    26.824        .16884E-06** at limit **
  12  norm          7.4613        6.9006       -.12607E-07   -.58341E-03
  13  Prefactor     8.8887        7.8699        .74209E-07    .23630E-02
  14  Normalizat    1.0136        .39997        .60722E-05    .21319E-03
  15  Prefactor     .82189        .96920E-01   -.28699E-06    .58823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66854e-05
  Prefactor  = 64.0408
  Prefactor  = 39.9456
  Prefactor  = 6.17904e-05
  Prefactor  = 8.5652e-06
  Prefactor  = 3.16025e-07
  norm       = 1.72085e-09
  norm       = 2.4053e-07
  Prefactor  = 12.7444
  norm       = 4.22993
  Prefactor  = 3.51386e-08
  norm       = 7.46126
  Prefactor  = 8.88874
  Normalizat = 1.01365
  Prefactor  = 0.821895
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.648     FROM HESSE     STATUS=OK           212 CALLS     1206 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46685E-04    127.10        .80940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.041        61.477        .12588E-03   -1.5548    
   3  Prefactor     39.946        30.754        .15883E-03   -1.5582    
   4  Prefactor     .61790E-04    118.82        .80963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85652E-05    982.72        .10695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .31602E-06    64.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17208E-08    13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .24053E-06    33.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.744        25.130        .27780E-03   -1.5637    
  10  norm          4.2299        3.0084        .48955E-03   -1.5667    
  11  Prefactor     .35139E-07    26.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4613        6.9086        .36629E-03   -1.5653    
  13  Prefactor     8.8887        7.8673        .33728E-03   -1.5648    
  14  Normalizat    1.0136        .37837        .11629       -.92575    
  15  Prefactor     .82189        .89340E-01    .31799E-01   -.98926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50529e-06
Minuit parameter uncertainties:
  1  0.154067
  2  61.4778
  3  30.7539
  4  0.171372
  5  0.18352
  6  0.00901346
  7  0.000305681
  8  0.00567163
  9  25.13
  10  3.00837
  11  0.00193862
  12  6.90856
  13  7.86729
  14  0.379382
  15  0.0893556
Done.

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

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  3.160e-07  9.013e-03  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.219e-01  8.936e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  1.014e+00  3.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 303.599 -0.792
Photon Flux Upper Limit: 1.99855009626e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149661496582 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31798144/likelihoodResults_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.65560844
delta logL = -0.0074484203833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5055.62825716
delta logL = 0.0199028632796

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5055.628     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      279 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1523        339.82        .10883E-02    .10092E-01
   2  Index         3.1939        6.3228        .81628E-01    .17483E-03
   3  Normalizat    .98913        .81490E-01    .11756        .20325E-04
   4  Prefactor     .82318        .20367E-01    .31776E-01   -.31416E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15228
  Index      = 3.19392
  Normalizat = 0.989132
  Prefactor  = 0.823176
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.628     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1523        1118.8        .33725E-04   -1.5686    
   2  Index         3.1939        8.2106        .15314E-01   -.36957    
   3  Normalizat    .98913        .26959        .52141E-03   -.93395    
   4  Prefactor     .82318        .69290E-01    .14041E-03   -.98880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.14188e-09
Minuit parameter uncertainties:
  1  71.8239
  2  18.4069
  3  0.269957
  4  0.0692978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5055.62825276
delta logL = 0.0199072619653

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  1.152e+00  7.182e+01  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  3.194e+00  1.841e+01  0.000e+00  1.000e+01 (-1.000e+00)
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.232e-01  6.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  9.891e-01  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 303.599 -0.792

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31798144/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', job_status='DONE', photon_flux_upper_limit='2.00e-07', time_completed='2026-07-15 14:31:37.170987', job_id='31798144', GAL2='0.82', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1784151097.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.99e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2174' AND source_name='4FGL J2014.3-0047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 14:31:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  3.160e-07  9.013e-03  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.219e-01  8.936e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  1.014e+00  3.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 303.599 -0.792
Photon Flux Upper Limit: 1.99855009626e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149661496582 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31797999/likelihoodResults_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.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) = 5055.65560844
delta logL = -0.0074484203833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5055.62825716
delta logL = 0.0199028632796

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5055.628     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      279 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1523        339.82        .10883E-02    .10092E-01
   2  Index         3.1939        6.3228        .81628E-01    .17483E-03
   3  Normalizat    .98913        .81490E-01    .11756        .20325E-04
   4  Prefactor     .82318        .20367E-01    .31776E-01   -.31416E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15228
  Index      = 3.19392
  Normalizat = 0.989132
  Prefactor  = 0.823176
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.628     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1523        1118.8        .33725E-04   -1.5686    
   2  Index         3.1939        8.2106        .15314E-01   -.36957    
   3  Normalizat    .98913        .26959        .52141E-03   -.93395    
   4  Prefactor     .82318        .69290E-01    .14041E-03   -.98880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.14188e-09
Minuit parameter uncertainties:
  1  71.8239
  2  18.4069
  3  0.269957
  4  0.0692978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5055.62825276
delta logL = 0.0199072619653

Extracting fit parameters...

4FGL J2014.3-0047
   Spectrum: PowerLaw
600    Prefactor:  1.152e+00  7.182e+01  0.000e+00  1.000e+06 ( 1.000e-14)
601        Index:  3.194e+00  1.841e+01  0.000e+00  1.000e+01 (-1.000e+00)
602        Scale:  3.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
939    Prefactor:  8.232e-01  6.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
940        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
941        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
935   Normalization:  9.891e-01  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 303.599 -0.792

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31797999/cmap_HighResolution_802828801_803088001_4FGL_J2014.3-0047_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', job_status='DONE', photon_flux_upper_limit='2.00e-07', time_completed='2026-07-15 14:31:50.255118', job_id='31797999', GAL2='0.82', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1784151110.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.99e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2174' AND source_name='4FGL J2014.3-0047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 14:31:50 PDT 2026

