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

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
number of points = 7400
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0126.0-2221_daily_bin2201
RA = 21.5204, Dec = -22.361
tmin = 809827201, tmax = 810086401
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='36793425', job_status='RUN', time_executed='2026-09-03 01:09:36.357212', time_epoch_executed='1788422976.36' WHERE source_name='4FGL J0126.0-2221' and cadence='daily' and bin_id='2201'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36793425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36793425/ft1_4FGL_J0126.0-2221_daily_bin2201.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36793425/ft1_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793425/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin2201.fits ra=21.5204 dec=-22.361 rad=12.0 tmin=809827201.0 tmax=810086401.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.76
user 2.31
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.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/36793425/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" outfile="/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.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.56
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 381

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" ou/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
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793120/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025

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).

Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793141/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
/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 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793120/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:10:16.024518', job_id='36793120', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423016.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:10:16 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793141/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:10:17.442568', job_id='36793141', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423017.44', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:10:17 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793156/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
tfile=/lscratch/kocevski/36793263/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793263/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 9.55
user 8.89
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36793263/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793263/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36793263/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793263/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793263/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 77.83
user 72.15
sys 4.44

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36793263/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793263/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793263/cmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.71
user 0.22
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36793263/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793263/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793263/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.80
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36793263/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793263/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36793263/Model_4FGL_J0126.0-2221_daily_bin2201.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
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793156/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:10:20.616719', job_id='36793156', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423020.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:10:20 PDT 2026

_V02
Working on...
/lscratch/kocevski/36793192/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 20.49
user 18.42
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793192/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793192/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793192/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793192/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793192/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793192/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793192/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793192/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793192/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793192/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
tfile=/lscratch/kocevski/36793295/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793295/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 9.69
user 8.80
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36793295/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793295/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36793295/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793295/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793295/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 77.76
user 72.39
sys 4.49

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

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36793295/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793295/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793295/cmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.67
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36793295/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793295/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793295/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.59
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36793295/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793295/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36793295/Model_4FGL_J0126.0-2221_daily_bin2201.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 **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
_V02
Working on...
/lscratch/kocevski/36793216/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 19.18
user 17.66
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793216/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793216/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793216/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793216/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793216/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793216/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793216/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793216/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793216/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793216/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
tfile=/lscratch/kocevski/36793274/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793274/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 10.74
user 9.31
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36793274/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793274/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36793274/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793274/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793274/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 83.59
user 76.67
sys 4.95

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36793274/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793274/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793274/cmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.83
user 0.25
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36793274/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793274/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793274/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.58
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36793274/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793274/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36793274/Model_4FGL_J0126.0-2221_daily_bin2201.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 GA **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793192/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793192/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:10:51.949381', job_id='36793192', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423051.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:10:52 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793216/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
number of points = 7400
number of fields = 31
RA_SUN column already exists. File will not be modified.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.


Performing analysis on: 4FGL_J0126.0-2221_daily_bin2201
RA = 21.5204, Dec = -22.361
tmin = 809827201, tmax = 810086401
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='36793527', job_status='RUN', time_executed='2026-09-03 01:10:22.009897', time_epoch_executed='1788423022.01' WHERE source_name='4FGL J0126.0-2221' and cadence='daily' and bin_id='2201'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36793527

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36793527/ft1_4FGL_J0126.0-2221_daily_bin2201.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36793527/ft1_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793527/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin2201.fits ra=21.5204 dec=-22.361 rad=12.0 tmin=809827201.0 tmax=810086401.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.02
user 2.39
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.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/36793527/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" outfile="/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.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.80
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 381

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" ouDone.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793216/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:11:01.896733', job_id='36793216', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423061.9', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:11:01 PDT 2026

_V02
Working on...
/lscratch/kocevski/36793263/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 22.15
user 19.21
sys 1.60

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793263/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793263/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793263/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793263/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793263/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793263/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793263/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793263/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793263/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793263/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
tfile=/lscratch/kocevski/36793384/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793384/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 9.18
user 8.19
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36793384/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793384/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36793384/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793384/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793384/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 73.31
user 67.40
sys 3.99

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36793384/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793384/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793384/cmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.65
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36793384/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793384/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793384/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.61
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36793384/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793384/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36793384/Model_4FGL_J0126.0-2221_daily_bin2201.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/36793295/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 20.09
user 18.36
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793295/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793295/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793295/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793295/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793295/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793295/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793295/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793295/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793295/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793295/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
tfile=/lscratch/kocevski/36793385/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793385/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 9.67
user 8.76
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36793385/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793385/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36793385/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793385/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793385/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 78.22
user 72.01
sys 4.54

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36793385/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793385/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793385/cmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.57
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36793385/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793385/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793385/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.58
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36793385/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793385/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36793385/Model_4FGL_J0126.0-2221_daily_bin2201.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 **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793263/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
L_V02
Working on...
/lscratch/kocevski/36793274/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 21.82
user 19.42
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793274/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793274/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793274/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793274/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793274/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793274/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793274/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793274/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793274/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793274/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793263/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:11:44.458598', job_id='36793263', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423104.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:11:44 PDT 2026

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

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793295/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793295/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:11:56.021457', job_id='36793295', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423116.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:11:56 PDT 2026

tfile=/lscratch/kocevski/36793425/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 8.79
user 8.27
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36793425/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793425/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793425/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 74.71
user 69.71
sys 4.20

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793425/cmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.62
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793425/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.63
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36793425/Model_4FGL_J0126.0-2221_daily_bin2201.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 GALDone.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793274/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793274/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:12:09.478752', job_id='36793274', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423129.48', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:12:09 PDT 2026

_V02
Working on...
/lscratch/kocevski/36793384/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 19.55
user 17.86
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793384/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793384/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793384/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793384/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793384/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793384/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793384/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793384/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793384/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793384/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
_V02
Working on...
/lscratch/kocevski/36793385/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 20.15
user 18.27
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793385/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793385/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793385/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793385/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793385/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793385/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793385/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793385/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793385/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793385/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793384/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793384/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:12:48.604513', job_id='36793384', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423168.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:12:48 PDT 2026

_V02
Working on...
/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 19.29
user 17.75
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793425/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793425/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793425/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793425/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793425/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793425/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793425/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793425/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
tfile=/lscratch/kocevski/36793527/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 9.97
user 8.90
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36793527/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793527/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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/36793527/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
.....................!
real 78.17
user 72.63
sys 4.57

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793527/cmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits scfile=/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits outfile=/lscratch/kocevski/36793527/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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=21.5204 yref=-22.361 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.63
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36793527/Model_4FGL_J0126.0-2221_daily_bin2201.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 GALDone.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793385/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
 **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793385/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:13:01.134372', job_id='36793385', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423181.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:13:01 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793425/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793425/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:13:16.179233', job_id='36793425', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423196.18', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:13:16 PDT 2026

_V02
Working on...
/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits.....................!
real 20.72
user 18.79
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits', '/lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits', expMap='/lscratch/kocevski/36793527/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', expCube='/lscratch/kocevski/36793527/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36793527/Model_4FGL_J0126.0-2221_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36793527/ft1_filtered_4FGL_J0126.0-2221_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36793527/ft2_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36793527/expmap_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36793527/ltcube_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36793527/Model_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.5058686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0521       1.0000          .0000       .10000E+07
     2 'norm      '    .61985E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .16807E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1524       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2828       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2419       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68127       1.0000          .0000       .10000E+07
     8 'norm      '    2.6419       1.0000          .0000       .10000E+07
     9 'norm      '    3.4584       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43269E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .59547E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2733       1.0000          .0000       .10000E+07
    14 'norm      '    6.6508       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45293E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25289E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1399 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0240        6.3658        .17136E-06    .37514E-02
   2  norm          .99365E-08    5.1801        .11722E-06** at limit **
   3  norm          .11102E-09    1.6196       -.14717E-07** at limit **
   4  Prefactor     8.0727        7.3803       -.12281E-06   -.10169    
   5  Prefactor     6.6043        19.470        .41679E-06   -.32268E-01
   6  Prefactor     3.2167        3.9793       -.19399E-06   -.26248E-02
   7  Prefactor     .67804        .51928       -.25042E-08   -.70783E-03
   8  norm          2.6418        2.0010       -.23227E-07   -.21464E-05
   9  norm          3.4538        2.5179       -.15686E-07    .96931E-03
  10  Prefactor     15.279        7.0615       -.95646E-07    .85162E-02
  11  Prefactor     .55511E-10    1.2661       -.19683E-06** at limit **
  12  norm           .0000        .78804       -.54350E-07** at limit **
  13  norm          2.2692        1.9368       -.54229E-07   -.12898E-02
  14  norm          6.6652        4.1518        .62875E-07   -.36200E-02
  15  Prefactor     .22204E-09    12.046       -.20658E-06** at limit **
  16  norm          .17764E-08    4.6545       -.19861E-06** at limit **
  17  Prefactor     .15432E-07    5.6642        .11506E-06** at limit **
  18  Normalizat    1.2739        .20970       -.10088E-04   -.12770E-03
  19  Prefactor     .44064        .22517        .96656E-05   -.53250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02396
  norm       = 9.9365e-09
  norm       = 1.11022e-10
  Prefactor  = 8.07271
  Prefactor  = 6.60427
  Prefactor  = 3.21673
  Prefactor  = 0.678037
  norm       = 2.6418
  norm       = 3.45378
  Prefactor  = 15.2786
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.2692
  norm       = 6.66522
  Prefactor  = 2.22045e-10
  norm       = 1.77636e-09
  Prefactor  = 1.54321e-08
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********

 FCN=   4325.454     FROM HESSE     STATUS=OK           312 CALLS     1711 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0240        6.3754        .35309E-03   -1.5651    
   2  norm          .99365E-08    5.2745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0727        9.9062        .35090E-03   -1.5651    
   5  Prefactor     6.6043        21.826        .40023E-03   -1.5657    
   6  Prefactor     3.2167        3.9961        .56229E-03   -1.5672    
   7  Prefactor     .67804        21.934        .62242E-03   -1.5691    
   8  norm          2.6418        2.3621        .62701E-03   -1.5675    
   9  norm          3.4538        2.5863        .54356E-03   -1.5671    
  10  Prefactor     15.279        19.531        .25628E-03   -1.5630    
  11  Prefactor     .55511E-10    1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .76318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2692        1.9542        .68081E-03   -1.5678    
  14  norm          6.6652        4.1596        .38887E-03   -1.5656    
  15  Prefactor     .22204E-09    12.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17764E-08    4.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15432E-07    5.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2739        .19137        .33276E-01   -.84348    
  19  Prefactor     .44064        .20422        .76158E-01   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2405e-07
Minuit parameter uncertainties:
  1  6.37537
  2  0.000458327
  3  2.37169e-05
  4  9.90625
  5  21.8262
  6  3.99615
  7  7.71287
  8  2.36214
  9  2.58629
  10  19.5312
  11  1.52282e-05
  12  3.59229e-06
  13  1.9542
  14  4.15956
  15  0.000109679
  16  0.000180242
  17  0.000598371
  18  0.191472
  19  0.204561
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  5.551e-11  1.523e-05  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.7366260654e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00448605358872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36793527/likelihoodResults_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.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) = 4325.45908037
delta logL = -0.00551181042374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4325.45356857
delta logL = -3.35785443895e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4325.454     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      273 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1439        .42118E-03** at limit **
   2  Index         2.7321        1.9657        .13502E-04     .0000    
   3  Normalizat    1.2739        1.0852       -.56724E-06    .39652E-04
   4  Prefactor     .44064        .77714        .78496E-05    .56910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73213
  Normalizat = 1.27391
  Prefactor  = 0.440639
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4325.454     FROM HESSE     STATUS=FAILED         9 CALLS      282 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84537        2.1194        .13502E-04   -.47077    
   3  Normalizat    1.2739        1.0852       -.56724E-06   -.84348    
   4  Prefactor     .44064        .77714        .78496E-05   -1.1478    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.24205e-11
Minuit parameter uncertainties:
  1  6.35452e-07
  2  2.0358
  3  1.10554
  4  0.797025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4325.45356856
delta logL = 2.09183781408e-11

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  6.355e-07  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.732e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.406e-01  7.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.274e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36793527/cmap_HighResolution_809827201_810086401_4FGL_J0126.0-2221_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2026-09-03 01:14:18.410703', job_id='36793527', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1788423258.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2201' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 01:14:18 PDT 2026

