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

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298
    .10000E+07
    23 'Prefactor '    3.3583       1.0000          .0000       .10000E+07
    24 'norm      '    15.285       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7289.511     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1860 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14289E-06    21.580        .85617E-06** at limit **
   2  norm           .0000        .13083        .75551E-08** at limit **
   3  norm          38.477        11.582       -.71968E-06   -.10263    
   4  Prefactor     7.5599        1.5830       -.10160E-06    .11664E-02
   5  Prefactor     .18649E-04    1032.3       -.72548E-04** at limit **
   6  Prefactor     .12346E-06    1.6149       -.40170E-06** at limit **
   7  norm          5.2647        3.6570        .56244E-07   -.18322E-02
   8  Prefactor     3.0032        8.8489        .11020E-05    .52114E-02
   9  norm          .55550        .41807        .31507E-07    .19308E-01
  10  Prefactor     .27161E-05    142.82       -.18968E-05** at limit **
  11  Prefactor     .10547E-08    2.5868       -.73248E-06** at limit **
  12  norm          36.055        7.2981       -.30187E-07    .17904    
  13  norm          9.4368        2.5103       -.12856E-06   -.14711E-01
  14  Prefactor     .55511E-10    2.2799        .12022E-06** at limit **
  15  Prefactor     5.2838        14.724        .11796E-05    .12735E-01
  16  norm          .13284E-06    7.3543       -.68021E-06** at limit **
  17  Prefactor     .77161E-08    55.614        .23913E-06** at limit **
  18  Prefactor     .30160E-04    31.505       -.30775E-05** at limit **
  19  Prefactor     .44409E-09    3.7907        .67246E-07** at limit **
  20  Prefactor     .31197E-07    6.4056        .72944E-06** at limit **
  21  norm          .16653E-09    3.3605        .29697E-06** at limit **
  22  norm          3.7681        3.0748       -.12735E-06   -.44249E-02
  23  Prefactor     3.3284        7.2242        .46195E-06    .14595E-03
  24  norm          15.284        1.9887        .48070E-07   -.12054E-01
  25  Normalizat    1.1373        .22677       -.26654E-04   -.13564E-03
  26  Prefactor     1.0179        .22882        .68641E-05   -.11411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42886e-07
  norm       = 0
  norm       = 38.4775
  Prefactor  = 7.55989
  Prefactor  = 1.86487e-05
  Prefactor  = 1.23457e-07
  norm       = 5.26471
  Prefactor  = 3.00318
  norm       = 0.555503
  Prefactor  = 2.71611e-06
  Prefactor  = 1.05471e-09
  norm       = 36.0552
  norm       = 9.43681
  Prefactor  = 5.55112e-11
  Prefactor  = 5.28384
  norm       = 1.32838e-07
  Prefactor  = 7.71605e-09
  Prefactor  = 3.01605e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 3.11973e-08
  norm       = 1.66533e-10
  norm       = 3.76806
  Prefactor  = 3.32839
  norm       = 15.2838
  Normalizat = 1.13726
  Prefactor  = 1.01791
Done.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083155/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083155/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:47:36.007386', job_id='31083155', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576056.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:47:36 PDT 2026

/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)
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298

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

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


Performing analysis on: 4FGL_J0438.9-4521_daily_bin2181
RA = 69.7447, Dec = -45.3584
tmin = 804643201, tmax = 804902401
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='31083477', job_status='RUN', time_executed='2026-07-08 22:46:10.696182', time_epoch_executed='1783575970.7' WHERE source_name='4FGL J0438.9-4521' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31083477

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31083477/ft1_4FGL_J0438.9-4521_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31083477/ft1_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083477/ft1_filteredMKT_4FGL_J0438.9-4521_daily_bin2181.fits ra=69.7447 dec=-45.3584 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.20
user 2.94
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.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/31083477/ft1_filteredMKT_4FGL_J0438.9-4521_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 689

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083170/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083170/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:48:14.094242', job_id='31083170', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576094.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:48:14 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083252/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
Done.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083172/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083252/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:48:32.699634', job_id='31083252', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576112.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:48:32 PDT 2026

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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083172/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:48:35.478746', job_id='31083172', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576115.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:48:35 PDT 2026

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/31083351/Model_4FGL_J0438.9-4521_daily_bin2181.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31083351/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits.....................!
real 63.80
user 61.17
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31083351/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits', '/lscratch/kocevski/31083351/ft2_4FGL_J0438.9-4521_daily_bin2181.fits', expMap='/lscratch/kocevski/31083351/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', expCube='/lscratch/kocevski/31083351/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31083351/Model_4FGL_J0438.9-4521_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.9-4521'

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31083351/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31083351/ft2_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31083351/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31083351/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31083351/Model_4FGL_J0438.9-4521_daily_bin2181.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) = 7289.66441372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64257E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .98310E-07   1.0000          .0000       .10000E+07
     3 'norm      '    38.399       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.5131       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33172       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35901E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.2669       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.1042       1.0000          .0000       .10000E+07
     9 'norm      '    .55364       1.0000          .0000       .10000E+07
    10 'Prefactor '    .87825E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52468E-05   1.0000          .0000       .10000E+07
    12 'norm      '    36.098       1.0000          .0000       .10000E+07
    13 'norm      '    9.4375       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45652E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0176       1.0000          .0000       .10000E+07
    16 'norm      '    .24931E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .47050E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .24506       1.0000          .0000       .10000E+07
    19 'Prefactor '    .24498E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22228E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .35293E-05   1.0000          .0000       .10000E+07
    22 'norm      '    3.7686       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.3583       1.0000          .0000       .10000E+07
    24 'norm      '    15.285       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7289.511     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1860 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14289E-06    21.580        .85617E-06** at limit **
   2  norm           .0000        .13083        .75551E-08** at limit **
   3  norm          38.477        11.582       -.71968E-06   -.10263    
   4  Prefactor     7.5599        1.5830       -.10160E-06    .11664E-02
   5  Prefactor     .18649E-04    1032.3       -.72548E-04** at limit **
   6  Prefactor     .12346E-06    1.6149       -.40170E-06** at limit **
   7  norm          5.2647        3.6570        .56244E-07   -.18322E-02
   8  Prefactor     3.0032        8.8489        .11020E-05    .52114E-02
   9  norm          .55550        .41807        .31507E-07    .19308E-01
  10  Prefactor     .27161E-05    142.82       -.18968E-05** at limit **
  11  Prefactor     .10547E-08    2.5868       -.73248E-06** at limit **
  12  norm          36.055        7.2981       -.30187E-07    .17904    
  13  norm          9.4368        2.5103       -.12856E-06   -.14711E-01
  14  Prefactor     .55511E-10    2.2799        .12022E-06** at limit **
  15  Prefactor     5.2838        14.724        .11796E-05    .12735E-01
  16  norm          .13284E-06    7.3543       -.68021E-06** at limit **
  17  Prefactor     .77161E-08    55.614        .23913E-06** at limit **
  18  Prefactor     .30160E-04    31.505       -.30775E-05** at limit **
  19  Prefactor     .44409E-09    3.7907        .67246E-07** at limit **
  20  Prefactor     .31197E-07    6.4056        .72944E-06** at limit **
  21  norm          .16653E-09    3.3605        .29697E-06** at limit **
  22  norm          3.7681        3.0748       -.12735E-06   -.44249E-02
  23  Prefactor     3.3284        7.2242        .46195E-06    .14595E-03
  24  norm          15.284        1.9887        .48070E-07   -.12054E-01
  25  Normalizat    1.1373        .22677       -.26654E-04   -.13564E-03
  26  Prefactor     1.0179        .22882        .68641E-05   -.11411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42886e-07
  norm       = 0
  norm       = 38.4775
  Prefactor  = 7.55989
  Prefactor  = 1.86487e-05
  Prefactor  = 1.23457e-07
  norm       = 5.26471
  Prefactor  = 3.00318
  norm       = 0.555503
  Prefactor  = 2.71611e-06
  Prefactor  = 1.05471e-09
  norm       = 36.0552
  norm       = 9.43681
  Prefactor  = 5.55112e-11
  Prefactor  = 5.28384
  norm       = 1.32838e-07
  Prefactor  = 7.71605e-09
  Prefactor  = 3.01605e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 3.11973e-08
  norm       = 1.66533e-10
  norm       = 3.76806
  Prefactor  = 3.32839
  norm       = 15.2838
  Normalizat = 1.13726
  Prefactor  = 1.01791
number of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0438.9-4521_daily_bin2181
RA = 69.7447, Dec = -45.3584
tmin = 804643201, tmax = 804902401
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='31083514', job_status='RUN', time_executed='2026-07-08 22:47:53.779146', time_epoch_executed='1783576073.78' WHERE source_name='4FGL J0438.9-4521' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31083514

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31083514/ft1_4FGL_J0438.9-4521_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31083514/ft1_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083514/ft1_filteredMKT_4FGL_J0438.9-4521_daily_bin2181.fits ra=69.7447 dec=-45.3584 rad=12.0 tmin=804643201.0 tmax=804902401.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 3.43
user 2.80
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.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/31083514/ft1_filteredMKT_4FGL_J0438.9-4521_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.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.70
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 689

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits sctable="SC_DATA" ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/31083337/Model_4FGL_J0438.9-4521_daily_bin2181.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31083337/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits.....................!
real 65.79
user 62.78
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31083337/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits', '/lscratch/kocevski/31083337/ft2_4FGL_J0438.9-4521_daily_bin2181.fits', expMap='/lscratch/kocevski/31083337/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', expCube='/lscratch/kocevski/31083337/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31083337/Model_4FGL_J0438.9-4521_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.9-4521'

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31083337/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31083337/ft2_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31083337/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31083337/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31083337/Model_4FGL_J0438.9-4521_daily_bin2181.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) = 7289.66441372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64257E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .98310E-07   1.0000          .0000       .10000E+07
     3 'norm      '    38.399       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.5131       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33172       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35901E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.2669       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.1042       1.0000          .0000       .10000E+07
     9 'norm      '    .55364       1.0000          .0000       .10000E+07
    10 'Prefactor '    .87825E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52468E-05   1.0000          .0000       .10000E+07
    12 'norm      '    36.098       1.0000          .0000       .10000E+07
    13 'norm      '    9.4375       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45652E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0176       1.0000          .0000       .10000E+07
    16 'norm      '    .24931E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .47050E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .24506       1.0000          .0000       .10000E+07
    19 'Prefactor '    .24498E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22228E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .35293E-05   1.0000          .0000       .10000E+07
    22 'norm      '    3.7686       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.3583       1.0000          .0000       .10000E+07
    24 'norm      '    15.285       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7289.511     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1860 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14289E-06    21.580        .85617E-06** at limit **
   2  norm           .0000        .13083        .75551E-08** at limit **
   3  norm          38.477        11.582       -.71968E-06   -.10263    
   4  Prefactor     7.5599        1.5830       -.10160E-06    .11664E-02
   5  Prefactor     .18649E-04    1032.3       -.72548E-04** at limit **
   6  Prefactor     .12346E-06    1.6149       -.40170E-06** at limit **
   7  norm          5.2647        3.6570        .56244E-07   -.18322E-02
   8  Prefactor     3.0032        8.8489        .11020E-05    .52114E-02
   9  norm          .55550        .41807        .31507E-07    .19308E-01
  10  Prefactor     .27161E-05    142.82       -.18968E-05** at limit **
  11  Prefactor     .10547E-08    2.5868       -.73248E-06** at limit **
  12  norm          36.055        7.2981       -.30187E-07    .17904    
  13  norm          9.4368        2.5103       -.12856E-06   -.14711E-01
  14  Prefactor     .55511E-10    2.2799        .12022E-06** at limit **
  15  Prefactor     5.2838        14.724        .11796E-05    .12735E-01
  16  norm          .13284E-06    7.3543       -.68021E-06** at limit **
  17  Prefactor     .77161E-08    55.614        .23913E-06** at limit **
  18  Prefactor     .30160E-04    31.505       -.30775E-05** at limit **
  19  Prefactor     .44409E-09    3.7907        .67246E-07** at limit **
  20  Prefactor     .31197E-07    6.4056        .72944E-06** at limit **
  21  norm          .16653E-09    3.3605        .29697E-06** at limit **
  22  norm          3.7681        3.0748       -.12735E-06   -.44249E-02
  23  Prefactor     3.3284        7.2242        .46195E-06    .14595E-03
  24  norm          15.284        1.9887        .48070E-07   -.12054E-01
  25  Normalizat    1.1373        .22677       -.26654E-04   -.13564E-03
  26  Prefactor     1.0179        .22882        .68641E-05   -.11411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42886e-07
  norm       = 0
  norm       = 38.4775
  Prefactor  = 7.55989
  Prefactor  = 1.86487e-05
  Prefactor  = 1.23457e-07
  norm       = 5.26471
  Prefactor  = 3.00318
  norm       = 0.555503
  Prefactor  = 2.71611e-06
  Prefactor  = 1.05471e-09
  norm       = 36.0552
  norm       = 9.43681
  Prefactor  = 5.55112e-11
  Prefactor  = 5.28384
  norm       = 1.32838e-07
  Prefactor  = 7.71605e-09
  Prefactor  = 3.01605e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 3.11973e-08
  norm       = 1.66533e-10
  norm       = 3.76806
  Prefactor  = 3.32839
  norm       = 15.2838
  Normalizat = 1.13726
  Prefactor  = 1.01791
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298
utfile=/lscratch/kocevski/31083477/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits
.....................!
real 9.51
user 8.37
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31083477/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083477/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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/31083477/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
.....................!
real 74.84
user 68.50
sys 4.45

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

Setting source of interest to:
4FGL J0438.9-4521 @ 69.7447 -45.3584

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits scfile=/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083477/cmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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=69.7447 yref=-45.3584 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.11
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits scfile=/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083477/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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=69.7447 yref=-45.3584 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.86
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fitts sctable="SC_DATA" srcmdl=/lscratch/kocevski/31083363/Model_4FGL_J0438.9-4521_daily_bin2181.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31083363/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits.....................!
real 67.13
user 64.91
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31083363/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits', '/lscratch/kocevski/31083363/ft2_4FGL_J0438.9-4521_daily_bin2181.fits', expMap='/lscratch/kocevski/31083363/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', expCube='/lscratch/kocevski/31083363/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31083363/Model_4FGL_J0438.9-4521_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.9-4521'

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31083363/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31083363/ft2_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31083363/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31083363/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31083363/Model_4FGL_J0438.9-4521_daily_bin2181.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) = 7289.66441372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64257E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .98310E-07   1.0000          .0000       .10000E+07
     3 'norm      '    38.399       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.5131       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33172       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35901E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.2669       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.1042       1.0000          .0000       .10000E+07
     9 'norm      '    .55364       1.0000          .0000       .10000E+07
    10 'Prefactor '    .87825E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52468E-05   1.0000          .0000       .10000E+07
    12 'norm      '    36.098       1.0000          .0000       .10000E+07
    13 'norm      '    9.4375       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45652E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0176       1.0000          .0000       .10000E+07
    16 'norm      '    .24931E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .47050E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .24506       1.0000          .0000       .10000E+07
    19 'Prefactor '    .24498E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22228E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .35293E-05   1.0000          .0000       .10000E+07
    22 'norm      '    3.7686       1.0000          .0000    **********
 **   18 **HESSE 
 **********

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298
    .10000E+07
    23 'Prefactor '    3.3583       1.0000          .0000       .10000E+07
    24 'norm      '    15.285       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7289.511     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1860 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14289E-06    21.580        .85617E-06** at limit **
   2  norm           .0000        .13083        .75551E-08** at limit **
   3  norm          38.477        11.582       -.71968E-06   -.10263    
   4  Prefactor     7.5599        1.5830       -.10160E-06    .11664E-02
   5  Prefactor     .18649E-04    1032.3       -.72548E-04** at limit **
   6  Prefactor     .12346E-06    1.6149       -.40170E-06** at limit **
   7  norm          5.2647        3.6570        .56244E-07   -.18322E-02
   8  Prefactor     3.0032        8.8489        .11020E-05    .52114E-02
   9  norm          .55550        .41807        .31507E-07    .19308E-01
  10  Prefactor     .27161E-05    142.82       -.18968E-05** at limit **
  11  Prefactor     .10547E-08    2.5868       -.73248E-06** at limit **
  12  norm          36.055        7.2981       -.30187E-07    .17904    
  13  norm          9.4368        2.5103       -.12856E-06   -.14711E-01
  14  Prefactor     .55511E-10    2.2799        .12022E-06** at limit **
  15  Prefactor     5.2838        14.724        .11796E-05    .12735E-01
  16  norm          .13284E-06    7.3543       -.68021E-06** at limit **
  17  Prefactor     .77161E-08    55.614        .23913E-06** at limit **
  18  Prefactor     .30160E-04    31.505       -.30775E-05** at limit **
  19  Prefactor     .44409E-09    3.7907        .67246E-07** at limit **
  20  Prefactor     .31197E-07    6.4056        .72944E-06** at limit **
  21  norm          .16653E-09    3.3605        .29697E-06** at limit **
  22  norm          3.7681        3.0748       -.12735E-06   -.44249E-02
  23  Prefactor     3.3284        7.2242        .46195E-06    .14595E-03
  24  norm          15.284        1.9887        .48070E-07   -.12054E-01
  25  Normalizat    1.1373        .22677       -.26654E-04   -.13564E-03
  26  Prefactor     1.0179        .22882        .68641E-05   -.11411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42886e-07
  norm       = 0
  norm       = 38.4775
  Prefactor  = 7.55989
  Prefactor  = 1.86487e-05
  Prefactor  = 1.23457e-07
  norm       = 5.26471
  Prefactor  = 3.00318
  norm       = 0.555503
  Prefactor  = 2.71611e-06
  Prefactor  = 1.05471e-09
  norm       = 36.0552
  norm       = 9.43681
  Prefactor  = 5.55112e-11
  Prefactor  = 5.28384
  norm       = 1.32838e-07
  Prefactor  = 7.71605e-09
  Prefactor  = 3.01605e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 3.11973e-08
  norm       = 1.66533e-10
  norm       = 3.76806
  Prefactor  = 3.32839
  norm       = 15.2838
  Normalizat = 1.13726
  Prefactor  = 1.01791
Done.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083351/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083351/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:50:11.302689', job_id='31083351', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576211.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:50:11 PDT 2026

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

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298
Done.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083337/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083337/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:50:27.272076', job_id='31083337', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576227.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:50:27 PDT 2026

outfile=/lscratch/kocevski/31083514/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits
.....................!
real 8.82
user 8.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31083514/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083514/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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/31083514/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
.....................!
real 74.40
user 68.20
sys 4.33

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

Setting source of interest to:
4FGL J0438.9-4521 @ 69.7447 -45.3584

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits scfile=/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083514/cmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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=69.7447 yref=-45.3584 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits scfile=/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits outfile=/lscratch/kocevski/31083514/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.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=69.7447 yref=-45.3584 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fiDone.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083363/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083363/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:51:02.887677', job_id='31083363', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576262.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:51:03 PDT 2026

s sctable="SC_DATA" srcmdl=/lscratch/kocevski/31083477/Model_4FGL_J0438.9-4521_daily_bin2181.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits.....................!
real 63.57
user 61.02
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits', '/lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits', expMap='/lscratch/kocevski/31083477/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', expCube='/lscratch/kocevski/31083477/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31083477/Model_4FGL_J0438.9-4521_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.9-4521'

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31083477/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31083477/ft2_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31083477/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31083477/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31083477/Model_4FGL_J0438.9-4521_daily_bin2181.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) = 7289.66441372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64257E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .98310E-07   1.0000          .0000       .10000E+07
     3 'norm      '    38.399       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.5131       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33172       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35901E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.2669       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.1042       1.0000          .0000       .10000E+07
     9 'norm      '    .55364       1.0000          .0000       .10000E+07
    10 'Prefactor '    .87825E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52468E-05   1.0000          .0000       .10000E+07
    12 'norm      '    36.098       1.0000          .0000       .10000E+07
    13 'norm      '    9.4375       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45652E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0176       1.0000          .0000       .10000E+07
    16 'norm      '    .24931E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .47050E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .24506       1.0000          .0000       .10000E+07
    19 'Prefactor '    .24498E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22228E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .35293E-05   1.0000          .0000       .10000E+07
    22 'norm      '    3.7686       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.3583       1.0000          .0000       .10000E+07
    24 'norm      '    15.285       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7289.511     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1860 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14289E-06    21.580        .85617E-06** at limit **
   2  norm           .0000        .13083        .75551E-08** at limit **
   3  norm          38.477        11.582       -.71968E-06   -.10263    
   4  Prefactor     7.5599        1.5830       -.10160E-06    .11664E-02
   5  Prefactor     .18649E-04    1032.3       -.72548E-04** at limit **
   6  Prefactor     .12346E-06    1.6149       -.40170E-06** at limit **
   7  norm          5.2647        3.6570        .56244E-07   -.18322E-02
   8  Prefactor     3.0032        8.8489        .11020E-05    .52114E-02
   9  norm          .55550        .41807        .31507E-07    .19308E-01
  10  Prefactor     .27161E-05    142.82       -.18968E-05** at limit **
  11  Prefactor     .10547E-08    2.5868       -.73248E-06** at limit **
  12  norm          36.055        7.2981       -.30187E-07    .17904    
  13  norm          9.4368        2.5103       -.12856E-06   -.14711E-01
  14  Prefactor     .55511E-10    2.2799        .12022E-06** at limit **
  15  Prefactor     5.2838        14.724        .11796E-05    .12735E-01
  16  norm          .13284E-06    7.3543       -.68021E-06** at limit **
  17  Prefactor     .77161E-08    55.614        .23913E-06** at limit **
  18  Prefactor     .30160E-04    31.505       -.30775E-05** at limit **
  19  Prefactor     .44409E-09    3.7907        .67246E-07** at limit **
  20  Prefactor     .31197E-07    6.4056        .72944E-06** at limit **
  21  norm          .16653E-09    3.3605        .29697E-06** at limit **
  22  norm          3.7681        3.0748       -.12735E-06   -.44249E-02
  23  Prefactor     3.3284        7.2242        .46195E-06    .14595E-03
  24  norm          15.284        1.9887        .48070E-07   -.12054E-01
  25  Normalizat    1.1373        .22677       -.26654E-04   -.13564E-03
  26  Prefactor     1.0179        .22882        .68641E-05   -.11411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42886e-07
  norm       = 0
  norm       = 38.4775
  Prefactor  = 7.55989
  Prefactor  = 1.86487e-05
  Prefactor  = 1.23457e-07
  norm       = 5.26471
  Prefactor  = 3.00318
  norm       = 0.555503
  Prefactor  = 2.71611e-06
  Prefactor  = 1.05471e-09
  norm       = 36.0552
  norm       = 9.43681
  Prefactor  = 5.55112e-11
  Prefactor  = 5.28384
  norm       = 1.32838e-07
  Prefactor  = 7.71605e-09
  Prefactor  = 3.01605e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 3.11973e-08
  norm       = 1.66533e-10
  norm       = 3.76806
  Prefactor  = 3.32839
  norm       = 15.2838
  Normalizat = 1.13726
  Prefactor  = 1.01791
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/31083514/Model_4FGL_J0438.9-4521_daily_bin2181.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits.....................!
real 63.01
user 61.08
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits', '/lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits', expMap='/lscratch/kocevski/31083514/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', expCube='/lscratch/kocevski/31083514/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31083514/Model_4FGL_J0438.9-4521_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.9-4521'

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31083514/ft1_filtered_4FGL_J0438.9-4521_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31083514/ft2_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31083514/expmap_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31083514/ltcube_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31083514/Model_4FGL_J0438.9-4521_daily_bin2181.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) = 7289.66441372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64257E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .98310E-07   1.0000          .0000       .10000E+07
     3 'norm      '    38.399       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.5131       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33172       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35901E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.2669       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.1042       1.0000          .0000       .10000E+07
     9 'norm      '    .55364       1.0000          .0000       .10000E+07
    10 'Prefactor '    .87825E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52468E-05   1.0000          .0000       .10000E+07
    12 'norm      '    36.098       1.0000          .0000       .10000E+07
    13 'norm      '    9.4375       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45652E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0176       1.0000          .0000       .10000E+07
    16 'norm      '    .24931E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .47050E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .24506       1.0000          .0000       .10000E+07
    19 'Prefactor '    .24498E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22228E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .35293E-05   1.0000          .0000       .10000E+07
    22 'norm      '    3.7686       1.0000          .0000   Done.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083477/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
    .10000E+07
    23 'Prefactor '    3.3583       1.0000          .0000       .10000E+07
    24 'norm      '    15.285       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7289.511     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1860 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14289E-06    21.580        .85617E-06** at limit **
   2  norm           .0000        .13083        .75551E-08** at limit **
   3  norm          38.477        11.582       -.71968E-06   -.10263    
   4  Prefactor     7.5599        1.5830       -.10160E-06    .11664E-02
   5  Prefactor     .18649E-04    1032.3       -.72548E-04** at limit **
   6  Prefactor     .12346E-06    1.6149       -.40170E-06** at limit **
   7  norm          5.2647        3.6570        .56244E-07   -.18322E-02
   8  Prefactor     3.0032        8.8489        .11020E-05    .52114E-02
   9  norm          .55550        .41807        .31507E-07    .19308E-01
  10  Prefactor     .27161E-05    142.82       -.18968E-05** at limit **
  11  Prefactor     .10547E-08    2.5868       -.73248E-06** at limit **
  12  norm          36.055        7.2981       -.30187E-07    .17904    
  13  norm          9.4368        2.5103       -.12856E-06   -.14711E-01
  14  Prefactor     .55511E-10    2.2799        .12022E-06** at limit **
  15  Prefactor     5.2838        14.724        .11796E-05    .12735E-01
  16  norm          .13284E-06    7.3543       -.68021E-06** at limit **
  17  Prefactor     .77161E-08    55.614        .23913E-06** at limit **
  18  Prefactor     .30160E-04    31.505       -.30775E-05** at limit **
  19  Prefactor     .44409E-09    3.7907        .67246E-07** at limit **
  20  Prefactor     .31197E-07    6.4056        .72944E-06** at limit **
  21  norm          .16653E-09    3.3605        .29697E-06** at limit **
  22  norm          3.7681        3.0748       -.12735E-06   -.44249E-02
  23  Prefactor     3.3284        7.2242        .46195E-06    .14595E-03
  24  norm          15.284        1.9887        .48070E-07   -.12054E-01
  25  Normalizat    1.1373        .22677       -.26654E-04   -.13564E-03
  26  Prefactor     1.0179        .22882        .68641E-05   -.11411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42886e-07
  norm       = 0
  norm       = 38.4775
  Prefactor  = 7.55989
  Prefactor  = 1.86487e-05
  Prefactor  = 1.23457e-07
  norm       = 5.26471
  Prefactor  = 3.00318
  norm       = 0.555503
  Prefactor  = 2.71611e-06
  Prefactor  = 1.05471e-09
  norm       = 36.0552
  norm       = 9.43681
  Prefactor  = 5.55112e-11
  Prefactor  = 5.28384
  norm       = 1.32838e-07
  Prefactor  = 7.71605e-09
  Prefactor  = 3.01605e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 3.11973e-08
  norm       = 1.66533e-10
  norm       = 3.76806
  Prefactor  = 3.32839
  norm       = 15.2838
  Normalizat = 1.13726
  Prefactor  = 1.01791
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083477/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:53:34.848789', job_id='31083477', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576414.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:53:35 PDT 2026

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

 FCN=   7289.511     FROM HESSE     STATUS=OK           532 CALLS     2392 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14289E-06    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .12978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.477        12.428        .16139E-03   -1.5584    
   4  Prefactor     7.5599        11.091        .36565E-03   -1.5653    
   5  Prefactor     .18649E-04    23.071        .13539E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12346E-06    7.2825        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2647        3.6883        .43773E-03   -1.5662    
   8  Prefactor     3.0032        9.1407        .57530E-03   -1.5673    
   9  norm          .55550        .41773        .73488E-03   -1.5693    
  10  Prefactor     .27161E-05    180.31        .14268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    2.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.055        13.764        .16646E-03   -1.5588    
  13  norm          9.4368        2.5550        .32598E-03   -1.5647    
  14  Prefactor     .55511E-10    2.2704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2838        14.773        .44869E-03   -1.5662    
  16  norm          .13284E-06    7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77161E-08    55.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30160E-04    137.36        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    3.7062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31197E-07    6.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16653E-09    3.3495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7681        3.0818        .51980E-03   -1.5669    
  23  Prefactor     3.3284        7.2360        .55198E-03   -1.5671    
  24  norm          15.284        1.9908        .25592E-03   -1.5630    
  25  Normalizat    1.1373        .18937        .62480E-01   -.88564    
  26  Prefactor     1.0179        .19017        .67922E-01   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65606e-07
Minuit parameter uncertainties:
  1  0.00355205
  2  1.48989e-07
  3  12.428
  4  11.0913
  5  0.0414846
  6  0.00189642
  7  3.68832
  8  9.14071
  9  0.417725
  10  0.0442611
  11  0.00010298
  12  13.7642
  13  2.55495
  14  2.13036e-05
  15  14.7728
  16  0.0020501
  17  0.0013115
  18  0.128733
  19  7.88302e-05
  20  0.00089161
  21  4.41372e-05
  22  3.08178
  23  7.236
  24  1.99075
  25  0.189487
  26  0.190298
Done.

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

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.055e-09  1.030e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.417e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.018e+00  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.137e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.745 -45.358
Photon Flux Upper Limit: 8.5202662956e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659139105417 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31083514/likelihoodResults_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.51666034
delta logL = -0.00534877518294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.11245966
delta logL = 0.398851904747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7289.112     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12553        1.9935        .75909E-03** at limit **
   2  Index         4.4053        2.9123        .12960        .16856E-03
   3  Normalizat    1.0750        .34258E-01    .63916E-01    .12461E-04
   4  Prefactor     1.0575        .35685E-01    .66754E-01    .11696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.125527
  Index      = 4.40529
  Normalizat = 1.07499
  Prefactor  = 1.05753
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      343 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12553        8.3652        .33983E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4053        7.1326        .75445E-02   -.11922    
   3  Normalizat    1.0750        .18792        .28272E-03   -.90559    
   4  Prefactor     1.0575        .19156        .29529E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28177e-06
Minuit parameter uncertainties:
  1  2.04945
  2  8.38397
  3  0.188035
  4  0.191682
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) = 7289.11245924
delta logL = 0.398852322282

Extracting fit parameters...

4FGL J0438.9-4521
   Spectrum: PowerLaw
294    Prefactor:  1.255e-01  2.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.405e+00  8.384e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  8.800e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.058e+00  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.075e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.745 -45.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31083514/cmap_HighResolution_804643201_804902401_4FGL_J0438.9-4521_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2026-07-08 22:54:41.077277', job_id='31083514', GAL2='1.06', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1783576481.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.99e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2181' AND source_name='4FGL J0438.9-4521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 22:54:41 PDT 2026

