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

 FCN=   6263.954     FROM HESSE     STATUS=OK           318 CALLS     1468 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.048        10.205        .14143E-03   -1.5566    
   2  norm          6.5357        6.7461        .39237E-03   -1.5657    
   3  norm          4.4427        4.0363        .47805E-03   -1.5666    
   4  Prefactor     3.8144        4.8731        .51528E-03   -1.5669    
   5  Prefactor      .0000        12.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3356        3.9135        .67141E-03   -1.5677    
   7  Prefactor      .0000        4.8287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7802        2.3828        .46031E-03   -1.5664    
   9  norm          1.3632        1.3699        .93513E-03   -1.5685    
  10  Prefactor      .0000        5.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .60074E-06    1.5613        .83691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .35499        .78983        .20194E-02   -1.5696    
  13  norm           .0000        .82178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .49743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.719        27.997        .25916E-03   -1.5626    
  16  norm          2.6866        2.0688        .62146E-03   -1.5675    
  17  Prefactor     .55511E-10    19.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .80153        .15293        .43631E-01   -1.0001    
  19  Prefactor     1.1349        .17919        .55888E-01   -.88359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.91582e-10
Minuit parameter uncertainties:
  1  10.2047
  2  6.7461
  3  4.03632
  4  4.87314
  5  6.18833e-06
  6  3.91353
  7  1.07594e-06
  8  2.38283
  9  1.36991
  10  9.45077e-07
  11  0.00193688
  12  0.78983
  13  3.58867e-07
  14  2.84335e-08
  15  27.9974
  16  2.06882
  17  4.81298e-05
  18  0.153014
  19  0.179284
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  6.007e-07  1.937e-03  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:  1.135e+00  1.793e-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:  8.015e-01  1.530e-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: 7.93344149813e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00620396785459 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30994939/likelihoodResults_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.98763562
delta logL = -0.0340389034873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.92609238
delta logL = 0.0275043354013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26114       1.0000          .0000       .10000E+07
     2 'Index     '    3.5717       1.0000          .0000       10.000    
     3 'Normalizat'    .79061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1419       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.

 FCN=   6263.926     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      238 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26160        4.4696        .24725E-02    .76723E-02
   2  Index         3.5697        1.1491        .50000       -.28223E-04
   3  Normalizat    .79049        .96020E-02    .43488E-01   -.69671E-04
   4  Prefactor     1.1422        .11673E-01    .55728E-01    .23494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.261602
  Index      = 3.56966
  Normalizat = 0.790487
  Prefactor  = 1.14215
/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
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.926     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26160        236.60        .12774E-03   -1.5698    
   2  Index         3.5697        6.0634        .73172E-02   -.29012    
   3  Normalizat    .79049        .15294        .24046E-03   -1.0042    
   4  Prefactor     1.1422        .16173        .24641E-03   -.88131    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.92716e-09
Minuit parameter uncertainties:
  1  15.7354
  2  32.5053
  3  0.153022
  4  0.1618

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6263.92609163
delta logL = 0.0275050885512

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  2.616e-01  1.574e+01  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  3.570e+00  3.251e+01  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:  1.142e+00  1.618e-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:  7.905e-01  1.530e-01  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/30994939/cmap_HighResolution_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2026-07-07 22:20:48.365119', job_id='30994939', GAL2='1.14', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1783488048.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.75e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2177' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  7 22:20:48 PDT 2026


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

Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  6.007e-07  1.937e-03  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:  1.135e+00  1.793e-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:  8.015e-01  1.530e-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: 7.93344149813e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00620396785459 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30995065/likelihoodResults_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.98763562
delta logL = -0.0340389034873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.92609238
delta logL = 0.0275043354013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26114       1.0000          .0000       .10000E+07
     2 'Index     '    3.5717       1.0000          .0000       10.000    
     3 'Normalizat'    .79061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1419       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.

 FCN=   6263.926     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      238 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26160        4.4696        .24725E-02    .76723E-02
   2  Index         3.5697        1.1491        .50000       -.28223E-04
   3  Normalizat    .79049        .96020E-02    .43488E-01   -.69671E-04
   4  Prefactor     1.1422        .11673E-01    .55728E-01    .23494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.261602
  Index      = 3.56966
  Normalizat = 0.790487
  Prefactor  = 1.14215
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.926     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26160        236.60        .12774E-03   -1.5698    
   2  Index         3.5697        6.0634        .73172E-02   -.29012    
   3  Normalizat    .79049        .15294        .24046E-03   -1.0042    
   4  Prefactor     1.1422        .16173        .24641E-03   -.88131    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.92716e-09
Minuit parameter uncertainties:
  1  15.7354
  2  32.5053
  3  0.153022
  4  0.1618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6263.92609163
delta logL = 0.0275050885512

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  2.616e-01  1.574e+01  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  3.570e+00  3.251e+01  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:  1.142e+00  1.618e-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:  7.905e-01  1.530e-01  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/30995065/cmap_HighResolution_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2026-07-07 22:21:04.190118', job_id='30995065', GAL2='1.14', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1783488064.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.75e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2177' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  7 22:21:04 PDT 2026

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


Performing analysis on: 4FGL_J0126.0-2221_daily_bin2177
RA = 21.5204, Dec = -22.361
tmin = 803606401, tmax = 803865601
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='30995528', job_status='RUN', time_executed='2026-07-07 22:20:51.580798', time_epoch_executed='1783488051.58' WHERE source_name='4FGL J0126.0-2221' and cadence='daily' and bin_id='2177'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/30995528

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/30995528/ft1_4FGL_J0126.0-2221_daily_bin2177.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/30995528/ft1_4FGL_J0126.0-2221_daily_bin2177.fits outfile=/lscratch/kocevski/30995528/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin2177.fits ra=21.5204 dec=-22.361 rad=12.0 tmin=803606401.0 tmax=803865601.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.02
user 1.66
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.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/30995528/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin2177.fits evtable="EVENTS" outfile="/lscratch/kocevski/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.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.58
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 565

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30995359/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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/30995359/ft2_4FGL_J0126.0-2221_daily_bin2177.fits
.....................!
real 9.12
user 8.55
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/30995359/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/30995359/ft2_4FGL_J0126.0-2221_daily_bin2177.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30995359/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits outfile=/lscratch/kocevski/30995359/expmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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/30995359/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits
.....................!
real 73.54
user 68.21
sys 4.17

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/30995359/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits scfile=/lscratch/kocevski/30995359/ft2_4FGL_J0126.0-2221_daily_bin2177.fits outfile=/lscratch/kocevski/30995359/cmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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.76
user 0.24
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/30995359/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits scfile=/lscratch/kocevski/30995359/ft2_4FGL_J0126.0-2221_daily_bin2177.fits outfile=/lscratch/kocevski/30995359/cmap_HighResolution_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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.56
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/30995359/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/30995359/ft2_4FGL_J0126.0-2221_daily_bin2177.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30995359/Model_4FGL_J0126.0-2221_daily_bin2177.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/30995359/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits.....................!
real 22.65
user 21.16
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/30995359/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits', '/lscratch/kocevski/30995359/ft2_4FGL_J0126.0-2221_daily_bin2177.fits', expMap='/lscratch/kocevski/30995359/expmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits', expCube='/lscratch/kocevski/30995359/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30995359/Model_4FGL_J0126.0-2221_daily_bin2177.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/30995359/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits
Spacecraft file(s): /lscratch/kocevski/30995359/ft2_4FGL_J0126.0-2221_daily_bin2177.fits
Exposure map: /lscratch/kocevski/30995359/expmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits
Exposure cube: /lscratch/kocevski/30995359/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/30995359/Model_4FGL_J0126.0-2221_daily_bin2177.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) = 6263.99916065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    50.004       1.0000          .0000       .10000E+07
     2 'norm      '    6.5338       1.0000          .0000       .10000E+07
     3 'norm      '    4.4329       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8327       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17825E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3310       1.0000          .0000       .10000E+07
     7 'Prefactor '    .25435E-03   1.0000          .0000       .10000E+07
     8 'norm      '    4.7724       1.0000          .0000       .10000E+07
     9 'norm      '    1.3622       1.0000          .0000       .10000E+07
    10 'Prefactor '    .68533E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15465E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .35471       1.0000          .0000       .10000E+07
    13 'norm      '    .87430E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .21788E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.906       1.0000          .0000       .10000E+07
    16 'norm      '    2.6858       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17456E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .80156       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1356       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=   6263.954     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1150 TOTAL
                     EDM=   .60E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.048        10.200       -.26932E-07   -.50663E-03
   2  norm          6.5357        6.7516        .26566E-07   -.62798E-04
   3  norm          4.4427        4.0401        .41194E-07   -.24253E-03
   4  Prefactor     3.8144        4.8566        .10246E-06   -.34834E-03
   5  Prefactor      .0000        12.052        .94013E-07** at limit **
   6  Prefactor     2.3356        3.8963        .17773E-07    .20623E-04
   7  Prefactor      .0000        4.8265        .53022E-07** at limit **
   8  norm          4.7802        2.3068       -.13417E-07    .11758E-03
   9  norm          1.3632        1.3685       -.14144E-07    .13762E-03
  10  Prefactor      .0000        5.4760        .11190E-06** at limit **
  11  Prefactor     .60074E-06    .92257        .31395E-07** at limit **
  12  norm          .35499        .64978       -.73939E-08    .91038E-04
  13  norm           .0000        .83294       -.49062E-07** at limit **
  14  norm           .0000        .49797        .14389E-08** at limit **
  15  Prefactor     16.719        27.989       -.41166E-06    .13268E-05
  16  norm          2.6866        2.0677       -.17611E-08   -.19095E-03
  17  Prefactor     .55511E-10    19.166        .17620E-06** at limit **
  18  Normalizat    .80153        .17847       -.43657E-06   -.50287E-05
  19  Prefactor     1.1349        .21271        .63180E-06   -.29865E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 50.0484
  norm       = 6.53565
  norm       = 4.44272
  Prefactor  = 3.8144
  Prefactor  = 0
  Prefactor  = 2.33557
  Prefactor  = 0
  norm       = 4.78017
  norm       = 1.36324
  Prefactor  = 0
  Prefactor  = 6.00742e-07
  norm       = 0.354988
  norm       = 0
  norm       = 0
  Prefactor  = 16.719
  norm       = 2.68657
  Prefactor  = 5.55112e-11
  Normalizat = 0.801532
  Prefactor  = 1.13489
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.954     FROM HESSE     STATUS=OK           318 CALLS     1468 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.048        10.205        .14143E-03   -1.5566    
   2  norm          6.5357        6.7461        .39237E-03   -1.5657    
   3  norm          4.4427        4.0363        .47805E-03   -1.5666    
   4  Prefactor     3.8144        4.8731        .51528E-03   -1.5669    
   5  Prefactor      .0000        12.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3356        3.9135        .67141E-03   -1.5677    
   7  Prefactor      .0000        4.8287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7802        2.3828        .46031E-03   -1.5664    
   9  norm          1.3632        1.3699        .93513E-03   -1.5685    
  10  Prefactor      .0000        5.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .60074E-06    1.5613        .83691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .35499        .78983        .20194E-02   -1.5696    
  13  norm           .0000        .82178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .49743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.719        27.997        .25916E-03   -1.5626    
  16  norm          2.6866        2.0688        .62146E-03   -1.5675    
  17  Prefactor     .55511E-10    19.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .80153        .15293        .43631E-01   -1.0001    
  19  Prefactor     1.1349        .17919        .55888E-01   -.88359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.91582e-10
Minuit parameter uncertainties:
  1  10.2047
  2  6.7461
  3  4.03632
  4  4.87314
  5  6.18833e-06
  6  3.91353
  7  1.07594e-06
  8  2.38283
  9  1.36991
  10  9.45077e-07
  11  0.00193688
  12  0.78983
  13  3.58867e-07
  14  2.84335e-08
  15  27.9974
  16  2.06882
  17  4.81298e-05
  18  0.153014
  19  0.179284
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  6.007e-07  1.937e-03  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:  1.135e+00  1.793e-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:  8.015e-01  1.530e-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: 7.93344149813e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00620396785459 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30995359/likelihoodResults_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.98763562
delta logL = -0.0340389034873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.92609238
delta logL = 0.0275043354013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26114       1.0000          .0000       .10000E+07
     2 'Index     '    3.5717       1.0000          .0000       10.000    
     3 'Normalizat'    .79061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1419       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.

 FCN=   6263.926     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      238 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26160        4.4696        .24725E-02    .76723E-02
   2  Index         3.5697        1.1491        .50000       -.28223E-04
   3  Normalizat    .79049        .96020E-02    .43488E-01   -.69671E-04
   4  Prefactor     1.1422        .11673E-01    .55728E-01    .23494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.261602
  Index      = 3.56966
  Normalizat = 0.790487
  Prefactor  = 1.14215
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.926     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26160        236.60        .12774E-03   -1.5698    
   2  Index         3.5697        6.0634        .73172E-02   -.29012    
   3  Normalizat    .79049        .15294        .24046E-03   -1.0042    
   4  Prefactor     1.1422        .16173        .24641E-03   -.88131    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.92716e-09
Minuit parameter uncertainties:
  1  15.7354
  2  32.5053
  3  0.153022
  4  0.1618
tfile=/lscratch/kocevski/30995528/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits
.....................!
real 9.16
user 8.66
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30995528/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits outfile=/lscratch/kocevski/30995528/expmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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/30995528/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits
.....................!
real 74.69
user 69.79
sys 4.18

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/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits scfile=/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits outfile=/lscratch/kocevski/30995528/cmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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.53
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits scfile=/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits outfile=/lscratch/kocevski/30995528/cmap_HighResolution_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.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.48
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30995528/Model_4FGL_J0126.0-2221_daily_bin2177.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 GALshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6263.92609163
delta logL = 0.0275050885512

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  2.616e-01  1.574e+01  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  3.570e+00  3.251e+01  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:  1.142e+00  1.618e-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:  7.905e-01  1.530e-01  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/30995359/cmap_HighResolution_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2026-07-07 22:23:12.263835', job_id='30995359', GAL2='1.14', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1783488192.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.75e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2177' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  7 22:23:12 PDT 2026

_V02
Working on...
/lscratch/kocevski/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits.....................!
real 23.88
user 22.22
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits', '/lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits', expMap='/lscratch/kocevski/30995528/expmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits', expCube='/lscratch/kocevski/30995528/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30995528/Model_4FGL_J0126.0-2221_daily_bin2177.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/30995528/ft1_filtered_4FGL_J0126.0-2221_daily_bin2177.fits
Spacecraft file(s): /lscratch/kocevski/30995528/ft2_4FGL_J0126.0-2221_daily_bin2177.fits
Exposure map: /lscratch/kocevski/30995528/expmap_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits
Exposure cube: /lscratch/kocevski/30995528/ltcube_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/30995528/Model_4FGL_J0126.0-2221_daily_bin2177.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) = 6263.99916065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    50.004       1.0000          .0000       .10000E+07
     2 'norm      '    6.5338       1.0000          .0000       .10000E+07
     3 'norm      '    4.4329       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8327       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17825E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3310       1.0000          .0000       .10000E+07
     7 'Prefactor '    .25435E-03   1.0000          .0000       .10000E+07
     8 'norm      '    4.7724       1.0000          .0000       .10000E+07
     9 'norm      '    1.3622       1.0000          .0000       .10000E+07
    10 'Prefactor '    .68533E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15465E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .35471       1.0000          .0000       .10000E+07
    13 'norm      '    .87430E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .21788E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.906       1.0000          .0000       .10000E+07
    16 'norm      '    2.6858       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17456E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .80156       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1356       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=   6263.954     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1150 TOTAL
                     EDM=   .60E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.048        10.200       -.26932E-07   -.50663E-03
   2  norm          6.5357        6.7516        .26566E-07   -.62798E-04
   3  norm          4.4427        4.0401        .41194E-07   -.24253E-03
   4  Prefactor     3.8144        4.8566        .10246E-06   -.34834E-03
   5  Prefactor      .0000        12.052        .94013E-07** at limit **
   6  Prefactor     2.3356        3.8963        .17773E-07    .20623E-04
   7  Prefactor      .0000        4.8265        .53022E-07** at limit **
   8  norm          4.7802        2.3068       -.13417E-07    .11758E-03
   9  norm          1.3632        1.3685       -.14144E-07    .13762E-03
  10  Prefactor      .0000        5.4760        .11190E-06** at limit **
  11  Prefactor     .60074E-06    .92257        .31395E-07** at limit **
  12  norm          .35499        .64978       -.73939E-08    .91038E-04
  13  norm           .0000        .83294       -.49062E-07** at limit **
  14  norm           .0000        .49797        .14389E-08** at limit **
  15  Prefactor     16.719        27.989       -.41166E-06    .13268E-05
  16  norm          2.6866        2.0677       -.17611E-08   -.19095E-03
  17  Prefactor     .55511E-10    19.166        .17620E-06** at limit **
  18  Normalizat    .80153        .17847       -.43657E-06   -.50287E-05
  19  Prefactor     1.1349        .21271        .63180E-06   -.29865E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 50.0484
  norm       = 6.53565
  norm       = 4.44272
  Prefactor  = 3.8144
  Prefactor  = 0
  Prefactor  = 2.33557
  Prefactor  = 0
  norm       = 4.78017
  norm       = 1.36324
  Prefactor  = 0
  Prefactor  = 6.00742e-07
  norm       = 0.354988
  norm       = 0
  norm       = 0
  Prefactor  = 16.719
  norm       = 2.68657
  Prefactor  = 5.55112e-11
  Normalizat = 0.801532
  Prefactor  = 1.13489
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.954     FROM HESSE     STATUS=OK           318 CALLS     1468 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.048        10.205        .14143E-03   -1.5566    
   2  norm          6.5357        6.7461        .39237E-03   -1.5657    
   3  norm          4.4427        4.0363        .47805E-03   -1.5666    
   4  Prefactor     3.8144        4.8731        .51528E-03   -1.5669    
   5  Prefactor      .0000        12.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3356        3.9135        .67141E-03   -1.5677    
   7  Prefactor      .0000        4.8287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7802        2.3828        .46031E-03   -1.5664    
   9  norm          1.3632        1.3699        .93513E-03   -1.5685    
  10  Prefactor      .0000        5.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .60074E-06    1.5613        .83691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .35499        .78983        .20194E-02   -1.5696    
  13  norm           .0000        .82178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .49743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.719        27.997        .25916E-03   -1.5626    
  16  norm          2.6866        2.0688        .62146E-03   -1.5675    
  17  Prefactor     .55511E-10    19.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .80153        .15293        .43631E-01   -1.0001    
  19  Prefactor     1.1349        .17919        .55888E-01   -.88359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.91582e-10
Minuit parameter uncertainties:
  1  10.2047
  2  6.7461
  3  4.03632
  4  4.87314
  5  6.18833e-06
  6  3.91353
  7  1.07594e-06
  8  2.38283
  9  1.36991
  10  9.45077e-07
  11  0.00193688
  12  0.78983
  13  3.58867e-07
  14  2.84335e-08
  15  27.9974
  16  2.06882
  17  4.81298e-05
  18  0.153014
  19  0.179284
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  6.007e-07  1.937e-03  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:  1.135e+00  1.793e-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:  8.015e-01  1.530e-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: 7.93344149813e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00620396785459 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/30995528/likelihoodResults_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.98763562
delta logL = -0.0340389034873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.92609238
delta logL = 0.0275043354013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26114       1.0000          .0000       .10000E+07
     2 'Index     '    3.5717       1.0000          .0000       10.000    
     3 'Normalizat'    .79061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1419       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.

 FCN=   6263.926     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      238 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26160        4.4696        .24725E-02    .76723E-02
   2  Index         3.5697        1.1491        .50000       -.28223E-04
   3  Normalizat    .79049        .96020E-02    .43488E-01   -.69671E-04
   4  Prefactor     1.1422        .11673E-01    .55728E-01    .23494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.261602
  Index      = 3.56966
  Normalizat = 0.790487
  Prefactor  = 1.14215
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.926     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26160        236.60        .12774E-03   -1.5698    
   2  Index         3.5697        6.0634        .73172E-02   -.29012    
   3  Normalizat    .79049        .15294        .24046E-03   -1.0042    
   4  Prefactor     1.1422        .16173        .24641E-03   -.88131    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.92716e-09
Minuit parameter uncertainties:
  1  15.7354
  2  32.5053
  3  0.153022
  4  0.1618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6263.92609163
delta logL = 0.0275050885512

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  2.616e-01  1.574e+01  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  3.570e+00  3.251e+01  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:  1.142e+00  1.618e-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:  7.905e-01  1.530e-01  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/30995528/cmap_HighResolution_803606401_803865601_4FGL_J0126.0-2221_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2026-07-07 22:24:49.037165', job_id='30995528', GAL2='1.14', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1783488289.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.75e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2177' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  7 22:24:49 PDT 2026

