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

 FCN=   7801.252     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23652E-01    3.9733        .24154E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6306        7.2935        .71637E-02   -.73947E-01
   3  Normalizat    1.0132        .20515        .38417E-03   -.92590    
   4  Prefactor     1.2530        .13564        .23460E-03   -.84714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90896e-06
Minuit parameter uncertainties:
  1  0.613114
  2  8.12303
  3  0.205311
  4  0.135676
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) = 7801.25210157
delta logL = 0.151423633909

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  2.365e-02  6.131e-01  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  4.631e+00  8.123e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.253e+00  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.013e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 181.074 -7.163

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/40024661/cmap_HighResolution_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-10-06 09:18:32.645744', job_id='40024661', GAL2='1.25', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1791303512.65', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.51e-01', ts2='0.34', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='2212' AND source_name='4FGL J1204.2-0709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:18:32 PDT 2026

00       .10000E+07
    28 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7801.404     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     2672 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.6252        .19211E-08** at limit **
   2  Prefactor     .11996E-06    10.409       -.10707E-05** at limit **
   3  norm          12.248        9.9005        .95576E-07   -.63981E-04
   4  Prefactor     .81904        4.2350       -.60984E-06   -.41303E-03
   5  Prefactor     62.465        1.5514        .19590E-08    .64056E-02
   6  norm          .55511E-10    11.376        .16624E-05** at limit **
   7  Prefactor      .0000        2.3348        .46046E-06** at limit **
   8  Prefactor      .0000        5.5147       -.67350E-06** at limit **
   9  Prefactor     .66724E-07    14.681       -.96847E-06** at limit **
  10  norm           .0000        7.7310        .46942E-06** at limit **
  11  Prefactor     2.4279        2.7820       -.19745E-06    .10880E-02
  12  Prefactor     6.0657        1.6553       -.15976E-06    .34575E-02
  13  Prefactor     14.533        9.6356       -.40836E-06   -.10894E-02
  14  Prefactor     .10825E-07    27.163       -.24498E-05** at limit **
  15  Prefactor      .0000        14.083        .86136E-06** at limit **
  16  Prefactor     .12468E-06    1.5558        .16232E-06** at limit **
  17  Prefactor     .33307E-09    10.724       -.24991E-05** at limit **
  18  Prefactor      .0000        6.7174       -.65981E-06** at limit **
  19  norm           .0000        .78540       -.31539E-06** at limit **
  20  norm           .0000        36.178        .24454E-05** at limit **
  21  Prefactor     1.4517        6.8177       -.64373E-06   -.38178E-03
  22  norm          5.1440        1.0996        .50759E-07    .38847E-02
  23  Prefactor     2.6738        1.7867        .13289E-05    .52706E-03
  24  Prefactor     14.561        10.951       -.17031E-05   -.32925E-03
  25  Prefactor     12.600        3.6354        .54843E-06   -.37541E-02
  26  Prefactor     38.091        4.4406       -.15898E-06   -.12912E-01
  27  Prefactor     .65670E-06    1854.1        .11011E-04** at limit **
  28  Normalizat    1.0608        .28300        .20109E-04   -.21290E-03
  29  Prefactor     1.2348        .18746       -.99904E-05   -.47321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 1.1996e-07
  norm       = 12.2478
  Prefactor  = 0.819036
  Prefactor  = 62.465
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.67244e-08
  norm       = 0
  Prefactor  = 2.42786
  Prefactor  = 6.0657
  Prefactor  = 14.5327
  Prefactor  = 1.08247e-08
  Prefactor  = 0
  Prefactor  = 1.24678e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.4517
  norm       = 5.14395
  Prefactor  = 2.67383
  Prefactor  = 14.5611
  Prefactor  = 12.5998
  Prefactor  = 38.0909
  Prefactor  = 6.56697e-07
  Normalizat = 1.06078
  Prefactor  = 1.23481
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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

 FCN=   7801.404     FROM HESSE     STATUS=OK           619 CALLS     3291 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.6246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11996E-06    24.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.248        9.9855        .28597E-03   -1.5638    
   4  Prefactor     .81904        4.3155        .51418E-03   -1.5690    
   5  Prefactor     62.465        17.455        .12653E-03   -1.5550    
   6  norm          .55511E-10    11.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.3109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.5328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .66724E-07    24.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        7.7452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4279        2.8049        .65662E-03   -1.5677    
  12  Prefactor     6.0657        11.753        .40737E-03   -1.5659    
  13  Prefactor     14.533        9.9595        .26265E-03   -1.5632    
  14  Prefactor     .10825E-07    28.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        14.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12468E-06    45.100        .20348E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    10.890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        6.7820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .78635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        36.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4517        7.1878        .89317E-03   -1.5684    
  22  norm          5.1440        1.1005        .44310E-03   -1.5663    
  23  Prefactor     2.6738        1.8022        .62306E-02   -1.5381    
  24  Prefactor     14.561        12.344        .26222E-03   -1.5632    
  25  Prefactor     12.600        12.824        .28190E-03   -1.5637    
  26  Prefactor     38.091        15.671        .16204E-03   -1.5585    
  27  Prefactor     .65670E-06    1911.8        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0608        .24980        .84959E-01   -.91021    
  29  Prefactor     1.2348        .15867        .53387E-01   -.85267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10016e-06
Minuit parameter uncertainties:
  1  1.91145e-05
  2  0.00344005
  3  9.98548
  4  3.7601
  5  17.4547
  6  3.64361e-05
  7  9.60221e-06
  8  1.66902e-05
  9  0.00254273
  10  5.71203e-06
  11  2.80488
  12  11.7535
  13  9.95953
  14  0.0011032
  15  8.47259e-07
  16  0.00474222
  17  0.000115939
  18  2.16368e-05
  19  1.96894e-06
  20  6.65806e-06
  21  6.4605
  22  1.10046
  23  1.80219
  24  12.3443
  25  12.824
  26  15.6715
  27  0.0708872
  28  0.250075
  29  0.158732
_V02
Working on...
/lscratch/kocevski/40024794/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits.....................!
real 28.88
user 27.46
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40024794/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits', '/lscratch/kocevski/40024794/ft2_4FGL_J1204.2-0709_daily_bin2212.fits', expMap='/lscratch/kocevski/40024794/expmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits', expCube='/lscratch/kocevski/40024794/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40024794/Model_4FGL_J1204.2-0709_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1204.2-0709'

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  9.328e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40024794/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40024794/ft2_4FGL_J1204.2-0709_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40024794/expmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40024794/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40024794/Model_4FGL_J1204.2-0709_daily_bin2212.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) = 7801.42000585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55345E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26496E-05   1.0000          .0000       .10000E+07
     3 'norm      '    12.249       1.0000          .0000       .10000E+07
     4 'Prefactor '    .82051       1.0000          .0000       .10000E+07
     5 'Prefactor '    62.467       1.0000          .0000       .10000E+07
     6 'norm      '    .52656E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .98588E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19951E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12879E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .44281E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4272       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0674       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.513       1.0000          .0000       .10000E+07
    14 'Prefactor '    .57881E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17407E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21239E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23069E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .94206E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .27200E-08   1.0000          .0000       .10000E+07
    20 'norm      '    .13895E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.4530       1.0000          .0000       .10000E+07
    22 'norm      '    5.1423       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.6738       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.561       1.0000          .0000       .10000E+07
    25 'Prefactor '    12.603       1.0000          .0000       .10000E+07
    26 'Prefactor '    38.091       1.0000          .0000       .10000E+07
    27 'Prefactor '    .12849E-01   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7801.404     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     2672 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.6252        .19211E-08** at limit **
   2  Prefactor     .11996E-06    10.409       -.10707E-05** at limit **
   3  norm          12.248        9.9005        .95576E-07   -.63981E-04
   4  Prefactor     .81904        4.2350       -.60984E-06   -.41303E-03
   5  Prefactor     62.465        1.5514        .19590E-08    .64056E-02
   6  norm          .55511E-10    11.376        .16624E-05** at limit **
   7  Prefactor      .0000        2.3348        .46046E-06** at limit **
   8  Prefactor      .0000        5.5147       -.67350E-06** at limit **
   9  Prefactor     .66724E-07    14.681       -.96847E-06** at limit **
  10  norm           .0000        7.7310        .46942E-06** at limit **
  11  Prefactor     2.4279        2.7820       -.19745E-06    .10880E-02
  12  Prefactor     6.0657        1.6553       -.15976E-06    .34575E-02
  13  Prefactor     14.533        9.6356       -.40836E-06   -.10894E-02
  14  Prefactor     .10825E-07    27.163       -.24498E-05** at limit **
  15  Prefactor      .0000        14.083        .86136E-06** at limit **
  16  Prefactor     .12468E-06    1.5558        .16232E-06** at limit **
  17  Prefactor     .33307E-09    10.724       -.24991E-05** at limit **
  18  Prefactor      .0000        6.7174       -.65981E-06** at limit **
  19  norm           .0000        .78540       -.31539E-06** at limit **
  20  norm           .0000        36.178        .24454E-05** at limit **
  21  Prefactor     1.4517        6.8177       -.64373E-06   -.38178E-03
  22  norm          5.1440        1.0996        .50759E-07    .38847E-02
  23  Prefactor     2.6738        1.7867        .13289E-05    .52706E-03
  24  Prefactor     14.561        10.951       -.17031E-05   -.32925E-03
  25  Prefactor     12.600        3.6354        .54843E-06   -.37541E-02
  26  Prefactor     38.091        4.4406       -.15898E-06   -.12912E-01
  27  Prefactor     .65670E-06    1854.1        .11011E-04** at limit **
  28  Normalizat    1.0608        .28300        .20109E-04   -.21290E-03
  29  Prefactor     1.2348        .18746       -.99904E-05   -.47321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 1.1996e-07
  norm       = 12.2478
  Prefactor  = 0.819036
  Prefactor  = 62.465
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.67244e-08
  norm       = 0
  Prefactor  = 2.42786
  Prefactor  = 6.0657
  Prefactor  = 14.5327
  Prefactor  = 1.08247e-08
  Prefactor  = 0
  Prefactor  = 1.24678e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.4517
  norm       = 5.14395
  Prefactor  = 2.67383
  Prefactor  = 14.5611
  Prefactor  = 12.5998
  Prefactor  = 38.0909
  Prefactor  = 6.56697e-07
  Normalizat = 1.06078
  Prefactor  = 1.23481
V02
Working on...
/lscratch/kocevski/40024784/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits.....................!
real 31.03
user 29.61
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40024784/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits', '/lscratch/kocevski/40024784/ft2_4FGL_J1204.2-0709_daily_bin2212.fits', expMap='/lscratch/kocevski/40024784/expmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits', expCube='/lscratch/kocevski/40024784/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40024784/Model_4FGL_J1204.2-0709_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1204.2-0709'

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  9.328e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40024784/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40024784/ft2_4FGL_J1204.2-0709_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40024784/expmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40024784/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40024784/Model_4FGL_J1204.2-0709_daily_bin2212.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) = 7801.42000585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55345E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26496E-05   1.0000          .0000       .10000E+07
     3 'norm      '    12.249       1.0000          .0000       .10000E+07
     4 'Prefactor '    .82051       1.0000          .0000       .10000E+07
     5 'Prefactor '    62.467       1.0000          .0000       .10000E+07
     6 'norm      '    .52656E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .98588E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19951E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12879E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .44281E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4272       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0674       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.513       1.0000          .0000       .10000E+07
    14 'Prefactor '    .57881E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17407E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21239E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23069E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .94206E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .27200E-08   1.0000          .0000       .10000E+07
    20 'norm      '    .13895E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.4530       1.0000          .0000       .10000E+07
    22 'norm      '    5.1423       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.6738       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.561       1.0000          .0000       .10000E+07
    25 'Prefactor '    12.603       1.0000          .0000       .10000E+07
    26 'Prefactor '    38.091       1.0000          .0000       .10000E+07
    27 'Prefactor '    .12849E-01   1.0000          .000Done.

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

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  0.000e+00  8.473e-07  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.235e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.061e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 181.074 -7.163
Photon Flux Upper Limit: 4.82822668195e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0035874870394 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40024771/likelihoodResults_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.43727406
delta logL = -0.0337488602891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.40352521
delta logL = -9.18862497201e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .12722       1.0000          .0000       10.000    
     3 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7801.252     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      271 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23652E-01    .63305E-01    .42118E-03** at limit **
   2  Index         4.6306        .65107        .89209E-01    .20754E-03
   3  Normalizat    1.0132        .25265        .86750E-01    .67542E-04
   4  Prefactor     1.2530        .16020        .53063E-01   -.12584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0236519
  Index      = 4.6306
  Normalizat = 1.01318
  Prefactor  = 1.25305
 **********
 **   18 **HESSE 
 **********

 FCN=   7801.252     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23652E-01    3.9733        .24154E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6306        7.2935        .71637E-02   -.73947E-01
   3  Normalizat    1.0132        .20515        .38417E-03   -.92590    
   4  Prefactor     1.2530        .13564        .23460E-03   -.84714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90896e-06
Minuit parameter uncertainties:
  1  0.613114
  2  8.12303
  3  0.205311
  4  0.135676
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) = 7801.25210157
delta logL = 0.151423633909

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  2.365e-02  6.131e-01  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  4.631e+00  8.123e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.253e+00  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.013e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 181.074 -7.163

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/40024771/cmap_HighResolution_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-10-06 09:19:55.929698', job_id='40024771', GAL2='1.25', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1791303595.93', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.51e-01', ts2='0.34', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='2212' AND source_name='4FGL J1204.2-0709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:19:56 PDT 2026

0       .10000E+07
    28 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7801.404     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     2672 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.6252        .19211E-08** at limit **
   2  Prefactor     .11996E-06    10.409       -.10707E-05** at limit **
   3  norm          12.248        9.9005        .95576E-07   -.63981E-04
   4  Prefactor     .81904        4.2350       -.60984E-06   -.41303E-03
   5  Prefactor     62.465        1.5514        .19590E-08    .64056E-02
   6  norm          .55511E-10    11.376        .16624E-05** at limit **
   7  Prefactor      .0000        2.3348        .46046E-06** at limit **
   8  Prefactor      .0000        5.5147       -.67350E-06** at limit **
   9  Prefactor     .66724E-07    14.681       -.96847E-06** at limit **
  10  norm           .0000        7.7310        .46942E-06** at limit **
  11  Prefactor     2.4279        2.7820       -.19745E-06    .10880E-02
  12  Prefactor     6.0657        1.6553       -.15976E-06    .34575E-02
  13  Prefactor     14.533        9.6356       -.40836E-06   -.10894E-02
  14  Prefactor     .10825E-07    27.163       -.24498E-05** at limit **
  15  Prefactor      .0000        14.083        .86136E-06** at limit **
  16  Prefactor     .12468E-06    1.5558        .16232E-06** at limit **
  17  Prefactor     .33307E-09    10.724       -.24991E-05** at limit **
  18  Prefactor      .0000        6.7174       -.65981E-06** at limit **
  19  norm           .0000        .78540       -.31539E-06** at limit **
  20  norm           .0000        36.178        .24454E-05** at limit **
  21  Prefactor     1.4517        6.8177       -.64373E-06   -.38178E-03
  22  norm          5.1440        1.0996        .50759E-07    .38847E-02
  23  Prefactor     2.6738        1.7867        .13289E-05    .52706E-03
  24  Prefactor     14.561        10.951       -.17031E-05   -.32925E-03
  25  Prefactor     12.600        3.6354        .54843E-06   -.37541E-02
  26  Prefactor     38.091        4.4406       -.15898E-06   -.12912E-01
  27  Prefactor     .65670E-06    1854.1        .11011E-04** at limit **
  28  Normalizat    1.0608        .28300        .20109E-04   -.21290E-03
  29  Prefactor     1.2348        .18746       -.99904E-05   -.47321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 1.1996e-07
  norm       = 12.2478
  Prefactor  = 0.819036
  Prefactor  = 62.465
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.67244e-08
  norm       = 0
  Prefactor  = 2.42786
  Prefactor  = 6.0657
  Prefactor  = 14.5327
  Prefactor  = 1.08247e-08
  Prefactor  = 0
  Prefactor  = 1.24678e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.4517
  norm       = 5.14395
  Prefactor  = 2.67383
  Prefactor  = 14.5611
  Prefactor  = 12.5998
  Prefactor  = 38.0909
  Prefactor  = 6.56697e-07
  Normalizat = 1.06078
  Prefactor  = 1.23481
 **********
 **   18 **HESSE 
 **********

 FCN=   7801.404     FROM HESSE     STATUS=OK           619 CALLS     3291 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.6246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11996E-06    24.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.248        9.9855        .28597E-03   -1.5638    
   4  Prefactor     .81904        4.3155        .51418E-03   -1.5690    
   5  Prefactor     62.465        17.455        .12653E-03   -1.5550    
   6  norm          .55511E-10    11.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.3109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.5328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .66724E-07    24.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        7.7452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4279        2.8049        .65662E-03   -1.5677    
  12  Prefactor     6.0657        11.753        .40737E-03   -1.5659    
  13  Prefactor     14.533        9.9595        .26265E-03   -1.5632    
  14  Prefactor     .10825E-07    28.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        14.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12468E-06    45.100        .20348E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    10.890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        6.7820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .78635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        36.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4517        7.1878        .89317E-03   -1.5684    
  22  norm          5.1440        1.1005        .44310E-03   -1.5663    
  23  Prefactor     2.6738        1.8022        .62306E-02   -1.5381    
  24  Prefactor     14.561        12.344        .26222E-03   -1.5632    
  25  Prefactor     12.600        12.824        .28190E-03   -1.5637    
  26  Prefactor     38.091        15.671        .16204E-03   -1.5585    
  27  Prefactor     .65670E-06    1911.8        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0608        .24980        .84959E-01   -.91021    
  29  Prefactor     1.2348        .15867        .53387E-01   -.85267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10016e-06
Minuit parameter uncertainties:
  1  1.91145e-05
  2  0.00344005
  3  9.98548
  4  3.7601
  5  17.4547
  6  3.64361e-05
  7  9.60221e-06
  8  1.66902e-05
  9  0.00254273
  10  5.71203e-06
  11  2.80488
  12  11.7535
  13  9.95953
  14  0.0011032
  15  8.47259e-07
  16  0.00474222
  17  0.000115939
  18  2.16368e-05
  19  1.96894e-06
  20  6.65806e-06
  21  6.4605
  22  1.10046
  23  1.80219
  24  12.3443
  25  12.824
  26  15.6715
  27  0.0708872
  28  0.250075
  29  0.158732
number of points = 7529
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1204.2-0709_daily_bin2212
RA = 181.074, Dec = -7.1627
tmin = 812678401, tmax = 812937601
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='40024972', job_status='RUN', time_executed='2026-10-06 09:18:46.740202', time_epoch_executed='1791303526.74' WHERE source_name='4FGL J1204.2-0709' and cadence='daily' and bin_id='2212'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40024972

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40024972/ft1_4FGL_J1204.2-0709_daily_bin2212.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40024972/ft1_4FGL_J1204.2-0709_daily_bin2212.fits outfile=/lscratch/kocevski/40024972/ft1_filteredMKT_4FGL_J1204.2-0709_daily_bin2212.fits ra=181.074 dec=-7.1627 rad=12.0 tmin=812678401.0 tmax=812937601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.89
user 2.32
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.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/40024972/ft1_filteredMKT_4FGL_J1204.2-0709_daily_bin2212.fits evtable="EVENTS" outfile="/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 714

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   7801.404     FROM HESSE     STATUS=OK           619 CALLS     3291 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.6246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11996E-06    24.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.248        9.9855        .28597E-03   -1.5638    
   4  Prefactor     .81904        4.3155        .51418E-03   -1.5690    
   5  Prefactor     62.465        17.455        .12653E-03   -1.5550    
   6  norm          .55511E-10    11.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.3109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.5328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .66724E-07    24.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        7.7452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4279        2.8049        .65662E-03   -1.5677    
  12  Prefactor     6.0657        11.753        .40737E-03   -1.5659    
  13  Prefactor     14.533        9.9595        .26265E-03   -1.5632    
  14  Prefactor     .10825E-07    28.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        14.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12468E-06    45.100        .20348E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    10.890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        6.7820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .78635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        36.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4517        7.1878        .89317E-03   -1.5684    
  22  norm          5.1440        1.1005        .44310E-03   -1.5663    
  23  Prefactor     2.6738        1.8022        .62306E-02   -1.5381    
  24  Prefactor     14.561        12.344        .26222E-03   -1.5632    
  25  Prefactor     12.600        12.824        .28190E-03   -1.5637    
  26  Prefactor     38.091        15.671        .16204E-03   -1.5585    
  27  Prefactor     .65670E-06    1911.8        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0608        .24980        .84959E-01   -.91021    
  29  Prefactor     1.2348        .15867        .53387E-01   -.85267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10016e-06
Minuit parameter uncertainties:
  1  1.91145e-05
  2  0.00344005
  3  9.98548
  4  3.7601
  5  17.4547
  6  3.64361e-05
  7  9.60221e-06
  8  1.66902e-05
  9  0.00254273
  10  5.71203e-06
  11  2.80488
  12  11.7535
  13  9.95953
  14  0.0011032
  15  8.47259e-07
  16  0.00474222
  17  0.000115939
  18  2.16368e-05
  19  1.96894e-06
  20  6.65806e-06
  21  6.4605
  22  1.10046
  23  1.80219
  24  12.3443
  25  12.824
  26  15.6715
  27  0.0708872
  28  0.250075
  29  0.158732
Done.

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

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  0.000e+00  8.473e-07  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.235e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.061e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 181.074 -7.163
Photon Flux Upper Limit: 4.82822668195e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0035874870394 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40024794/likelihoodResults_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.43727406
delta logL = -0.0337488602891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.40352521
delta logL = -9.18862497201e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .12722       1.0000          .0000       10.000    
     3 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7801.252     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      271 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23652E-01    .63305E-01    .42118E-03** at limit **
   2  Index         4.6306        .65107        .89209E-01    .20754E-03
   3  Normalizat    1.0132        .25265        .86750E-01    .67542E-04
   4  Prefactor     1.2530        .16020        .53063E-01   -.12584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0236519
  Index      = 4.6306
  Normalizat = 1.01318
  Prefactor  = 1.25305
 **********
 **   18 **HESSE 
 **********

 FCN=   7801.252     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23652E-01    3.9733        .24154E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6306        7.2935        .71637E-02   -.73947E-01
   3  Normalizat    1.0132        .20515        .38417E-03   -.92590    
   4  Prefactor     1.2530        .13564        .23460E-03   -.84714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90896e-06
Minuit parameter uncertainties:
  1  0.613114
  2  8.12303
  3  0.205311
  4  0.135676
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) = 7801.25210157
delta logL = 0.151423633909

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  2.365e-02  6.131e-01  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  4.631e+00  8.123e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.253e+00  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.013e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 181.074 -7.163

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/40024794/cmap_HighResolution_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-10-06 09:20:46.217311', job_id='40024794', GAL2='1.25', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1791303646.22', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.51e-01', ts2='0.34', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='2212' AND source_name='4FGL J1204.2-0709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:20:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  0.000e+00  8.473e-07  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.235e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.061e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 181.074 -7.163
Photon Flux Upper Limit: 4.82822668195e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0035874870394 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40024784/likelihoodResults_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.43727406
delta logL = -0.0337488602891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.40352521
delta logL = -9.18862497201e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .12722       1.0000          .0000       10.000    
     3 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7801.252     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      271 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23652E-01    .63305E-01    .42118E-03** at limit **
   2  Index         4.6306        .65107        .89209E-01    .20754E-03
   3  Normalizat    1.0132        .25265        .86750E-01    .67542E-04
   4  Prefactor     1.2530        .16020        .53063E-01   -.12584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0236519
  Index      = 4.6306
  Normalizat = 1.01318
  Prefactor  = 1.25305
 **********
 **   18 **HESSE 
 **********

 FCN=   7801.252     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23652E-01    3.9733        .24154E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6306        7.2935        .71637E-02   -.73947E-01
   3  Normalizat    1.0132        .20515        .38417E-03   -.92590    
   4  Prefactor     1.2530        .13564        .23460E-03   -.84714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90896e-06
Minuit parameter uncertainties:
  1  0.613114
  2  8.12303
  3  0.205311
  4  0.135676
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) = 7801.25210157
delta logL = 0.151423633909

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  2.365e-02  6.131e-01  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  4.631e+00  8.123e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.253e+00  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.013e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 181.074 -7.163

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/40024784/cmap_HighResolution_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-10-06 09:21:21.414447', job_id='40024784', GAL2='1.25', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1791303681.41', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.51e-01', ts2='0.34', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='2212' AND source_name='4FGL J1204.2-0709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:21:21 PDT 2026

tfile=/lscratch/kocevski/40024972/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.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/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits
.....................!
real 7.26
user 6.70
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40024972/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits outfile=/lscratch/kocevski/40024972/expmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.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/40024972/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits
.....................!
real 59.54
user 55.49
sys 3.48

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

Setting source of interest to:
4FGL J1204.2-0709 @ 181.074 -7.1627

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits scfile=/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits outfile=/lscratch/kocevski/40024972/cmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.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=181.074 yref=-7.1627 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits scfile=/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits outfile=/lscratch/kocevski/40024972/cmap_HighResolution_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.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=181.074 yref=-7.1627 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.56
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40024972/Model_4FGL_J1204.2-0709_daily_bin2212.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits.....................!
real 24.90
user 23.60
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits', '/lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits', expMap='/lscratch/kocevski/40024972/expmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits', expCube='/lscratch/kocevski/40024972/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40024972/Model_4FGL_J1204.2-0709_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1204.2-0709'

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  9.328e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40024972/ft1_filtered_4FGL_J1204.2-0709_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40024972/ft2_4FGL_J1204.2-0709_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40024972/expmap_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40024972/ltcube_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40024972/Model_4FGL_J1204.2-0709_daily_bin2212.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) = 7801.42000585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55345E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26496E-05   1.0000          .0000       .10000E+07
     3 'norm      '    12.249       1.0000          .0000       .10000E+07
     4 'Prefactor '    .82051       1.0000          .0000       .10000E+07
     5 'Prefactor '    62.467       1.0000          .0000       .10000E+07
     6 'norm      '    .52656E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .98588E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19951E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12879E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .44281E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4272       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0674       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.513       1.0000          .0000       .10000E+07
    14 'Prefactor '    .57881E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17407E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21239E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23069E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .94206E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .27200E-08   1.0000          .0000       .10000E+07
    20 'norm      '    .13895E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.4530       1.0000          .0000       .10000E+07
    22 'norm      '    5.1423       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.6738       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.561       1.0000          .0000       .10000E+07
    25 'Prefactor '    12.603       1.0000          .0000       .10000E+07
    26 'Prefactor '    38.091       1.0000          .0000       .10000E+07
    27 'Prefactor '    .12849E-01   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7801.404     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     2672 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.6252        .19211E-08** at limit **
   2  Prefactor     .11996E-06    10.409       -.10707E-05** at limit **
   3  norm          12.248        9.9005        .95576E-07   -.63981E-04
   4  Prefactor     .81904        4.2350       -.60984E-06   -.41303E-03
   5  Prefactor     62.465        1.5514        .19590E-08    .64056E-02
   6  norm          .55511E-10    11.376        .16624E-05** at limit **
   7  Prefactor      .0000        2.3348        .46046E-06** at limit **
   8  Prefactor      .0000        5.5147       -.67350E-06** at limit **
   9  Prefactor     .66724E-07    14.681       -.96847E-06** at limit **
  10  norm           .0000        7.7310        .46942E-06** at limit **
  11  Prefactor     2.4279        2.7820       -.19745E-06    .10880E-02
  12  Prefactor     6.0657        1.6553       -.15976E-06    .34575E-02
  13  Prefactor     14.533        9.6356       -.40836E-06   -.10894E-02
  14  Prefactor     .10825E-07    27.163       -.24498E-05** at limit **
  15  Prefactor      .0000        14.083        .86136E-06** at limit **
  16  Prefactor     .12468E-06    1.5558        .16232E-06** at limit **
  17  Prefactor     .33307E-09    10.724       -.24991E-05** at limit **
  18  Prefactor      .0000        6.7174       -.65981E-06** at limit **
  19  norm           .0000        .78540       -.31539E-06** at limit **
  20  norm           .0000        36.178        .24454E-05** at limit **
  21  Prefactor     1.4517        6.8177       -.64373E-06   -.38178E-03
  22  norm          5.1440        1.0996        .50759E-07    .38847E-02
  23  Prefactor     2.6738        1.7867        .13289E-05    .52706E-03
  24  Prefactor     14.561        10.951       -.17031E-05   -.32925E-03
  25  Prefactor     12.600        3.6354        .54843E-06   -.37541E-02
  26  Prefactor     38.091        4.4406       -.15898E-06   -.12912E-01
  27  Prefactor     .65670E-06    1854.1        .11011E-04** at limit **
  28  Normalizat    1.0608        .28300        .20109E-04   -.21290E-03
  29  Prefactor     1.2348        .18746       -.99904E-05   -.47321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 1.1996e-07
  norm       = 12.2478
  Prefactor  = 0.819036
  Prefactor  = 62.465
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.67244e-08
  norm       = 0
  Prefactor  = 2.42786
  Prefactor  = 6.0657
  Prefactor  = 14.5327
  Prefactor  = 1.08247e-08
  Prefactor  = 0
  Prefactor  = 1.24678e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.4517
  norm       = 5.14395
  Prefactor  = 2.67383
  Prefactor  = 14.5611
  Prefactor  = 12.5998
  Prefactor  = 38.0909
  Prefactor  = 6.56697e-07
  Normalizat = 1.06078
  Prefactor  = 1.23481
 **********
 **   18 **HESSE 
 **********

 FCN=   7801.404     FROM HESSE     STATUS=OK           619 CALLS     3291 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.6246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11996E-06    24.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.248        9.9855        .28597E-03   -1.5638    
   4  Prefactor     .81904        4.3155        .51418E-03   -1.5690    
   5  Prefactor     62.465        17.455        .12653E-03   -1.5550    
   6  norm          .55511E-10    11.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.3109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.5328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .66724E-07    24.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        7.7452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4279        2.8049        .65662E-03   -1.5677    
  12  Prefactor     6.0657        11.753        .40737E-03   -1.5659    
  13  Prefactor     14.533        9.9595        .26265E-03   -1.5632    
  14  Prefactor     .10825E-07    28.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        14.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12468E-06    45.100        .20348E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    10.890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        6.7820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .78635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        36.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4517        7.1878        .89317E-03   -1.5684    
  22  norm          5.1440        1.1005        .44310E-03   -1.5663    
  23  Prefactor     2.6738        1.8022        .62306E-02   -1.5381    
  24  Prefactor     14.561        12.344        .26222E-03   -1.5632    
  25  Prefactor     12.600        12.824        .28190E-03   -1.5637    
  26  Prefactor     38.091        15.671        .16204E-03   -1.5585    
  27  Prefactor     .65670E-06    1911.8        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0608        .24980        .84959E-01   -.91021    
  29  Prefactor     1.2348        .15867        .53387E-01   -.85267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10016e-06
Minuit parameter uncertainties:
  1  1.91145e-05
  2  0.00344005
  3  9.98548
  4  3.7601
  5  17.4547
  6  3.64361e-05
  7  9.60221e-06
  8  1.66902e-05
  9  0.00254273
  10  5.71203e-06
  11  2.80488
  12  11.7535
  13  9.95953
  14  0.0011032
  15  8.47259e-07
  16  0.00474222
  17  0.000115939
  18  2.16368e-05
  19  1.96894e-06
  20  6.65806e-06
  21  6.4605
  22  1.10046
  23  1.80219
  24  12.3443
  25  12.824
  26  15.6715
  27  0.0708872
  28  0.250075
  29  0.158732
Done.

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

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  0.000e+00  8.473e-07  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.235e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.061e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 181.074 -7.163
Photon Flux Upper Limit: 4.82822668195e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0035874870394 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40024972/likelihoodResults_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.43727406
delta logL = -0.0337488602891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7801.40352521
delta logL = -9.18862497201e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .12722       1.0000          .0000       10.000    
     3 'Normalizat'    1.0607       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7801.252     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      271 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23652E-01    .63305E-01    .42118E-03** at limit **
   2  Index         4.6306        .65107        .89209E-01    .20754E-03
   3  Normalizat    1.0132        .25265        .86750E-01    .67542E-04
   4  Prefactor     1.2530        .16020        .53063E-01   -.12584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0236519
  Index      = 4.6306
  Normalizat = 1.01318
  Prefactor  = 1.25305
 **********
 **   18 **HESSE 
 **********

 FCN=   7801.252     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23652E-01    3.9733        .24154E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6306        7.2935        .71637E-02   -.73947E-01
   3  Normalizat    1.0132        .20515        .38417E-03   -.92590    
   4  Prefactor     1.2530        .13564        .23460E-03   -.84714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90896e-06
Minuit parameter uncertainties:
  1  0.613114
  2  8.12303
  3  0.205311
  4  0.135676
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) = 7801.25210157
delta logL = 0.151423633909

Extracting fit parameters...

4FGL J1204.2-0709
   Spectrum: PowerLaw
308    Prefactor:  2.365e-02  6.131e-01  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  4.631e+00  8.123e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  2.911e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.253e+00  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.013e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 181.074 -7.163

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/40024972/cmap_HighResolution_812678401_812937601_4FGL_J1204.2-0709_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-10-06 09:25:17.070534', job_id='40024972', GAL2='1.25', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1791303917.07', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.51e-01', ts2='0.34', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='2212' AND source_name='4FGL J1204.2-0709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:25:17 PDT 2026

