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

 FCN=   10538.69     FROM HESSE     STATUS=OK           312 CALLS     1765 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.745        13.819        .19054E-03   -1.5603    
   2  Prefactor     8.6899        17.010        .33738E-03   -1.5649    
   3  Prefactor     .88818E-08    142.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83267E-09    13.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.781        36.624        .14498E-03   -1.5570    
   6  Prefactor     .16653E-09    14.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.864        24.357        .20898E-03   -1.5612    
   8  Prefactor      .0000        1.1248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.452        5.0588        .25461E-03   -1.5629    
  10  norm           .0000        1.1455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1063        11.867        .11454E-02   -1.5687    
  12  Prefactor     .33307E-09    48.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.314        4.6195        .31119E-03   -1.5644    
  14  norm          1.3286        2.5845        .95272E-03   -1.5685    
  15  Prefactor     10.557        48.950        .32280E-03   -1.5643    
  16  Prefactor     55.195        48.774        .13495E-03   -1.5559    
  17  norm          .24425E-08    .75316        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1916        .23770        .89095E-01   -.86863    
  19  Prefactor     .78490        .74774E-01    .43517E-01   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21568e-06
Minuit parameter uncertainties:
  1  13.8193
  2  17.01
  3  0.00225238
  4  0.000211501
  5  36.6243
  6  9.99675e-05
  7  24.3567
  8  1.14179e-06
  9  5.05881
  10  4.10792e-06
  11  7.24655
  12  0.000246578
  13  4.61949
  14  2.58447
  15  45.4652
  16  48.7748
  17  8.57531e-05
  18  0.23792
  19  0.0747837
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Done.

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

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  4.108e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  7.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 320.260 19.032
Photon Flux Upper Limit: 4.95948925666e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38759392/likelihoodResults_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.6950171
delta logL = -2.77158978861e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10538.6949929
delta logL = -3.52151073457e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21532E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .99004       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78486       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      242 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .55798        .42118E-03** at limit **
   2  alpha         3.3850        1.4733        .86919E-05     .0000    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.47274E-04
   4  Prefactor     .78490        1.1338       -.39217E-05   -.10696E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.38497
  Normalizat = 1.1916
  Prefactor  = 0.784896
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10538.69     FROM HESSE     STATUS=FAILED         7 CALLS      249 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .55798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1309        1.4733        .86919E-05    .36183    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.86863    
   4  Prefactor     .78490        1.1338       -.39217E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.62823e-12
Minuit parameter uncertainties:
  1  2.50742e-06
  2  1.59392
  3  1.13247
  4  1.17042
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) = 10538.6949894
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  2.507e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  3.385e+00  1.594e+00  0.000e+00  5.000e+00 ( 1.000e+00)
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  1.170e+00  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  1.132e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 320.260 19.032

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38759392/cmap_HighResolution_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.96e-08', time_completed='2026-09-21 18:37:58.449341', job_id='38759392', GAL2='0.78', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1790041078.45', return_code2='101', ts='0.00', return_code='0', GAL='0.78', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='2207' AND source_name='4FGL J2121.0+1901' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 18:37:58 PDT 2026

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


Performing analysis on: 4FGL_J2121.0+1901_daily_bin2207
RA = 320.26, Dec = 19.0324
tmin = 811382401, tmax = 811641601
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='38759644', job_status='RUN', time_executed='2026-09-21 18:37:50.102602', time_epoch_executed='1790041070.1' WHERE source_name='4FGL J2121.0+1901' and cadence='daily' and bin_id='2207'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38759644

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38759644/ft1_4FGL_J2121.0+1901_daily_bin2207.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38759644/ft1_4FGL_J2121.0+1901_daily_bin2207.fits outfile=/lscratch/kocevski/38759644/ft1_filteredMKT_4FGL_J2121.0+1901_daily_bin2207.fits ra=320.26 dec=19.0324 rad=12.0 tmin=811382401.0 tmax=811641601.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.36
user 1.77
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.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/38759644/ft1_filteredMKT_4FGL_J2121.0+1901_daily_bin2207.fits evtable="EVENTS" outfile="/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.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.53
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 963

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits sctable="SC_DATA" outfiDone.

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

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  4.108e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  7.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 320.260 19.032
Photon Flux Upper Limit: 4.95948925666e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38759404/likelihoodResults_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.6950171
delta logL = -2.77158978861e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10538.6949929
delta logL = -3.52151073457e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21532E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .99004       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78486       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      242 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .55798        .42118E-03** at limit **
   2  alpha         3.3850        1.4733        .86919E-05     .0000    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.47274E-04
   4  Prefactor     .78490        1.1338       -.39217E-05   -.10696E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.38497
  Normalizat = 1.1916
  Prefactor  = 0.784896
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10538.69     FROM HESSE     STATUS=FAILED         7 CALLS      249 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .55798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1309        1.4733        .86919E-05    .36183    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.86863    
   4  Prefactor     .78490        1.1338       -.39217E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.62823e-12
Minuit parameter uncertainties:
  1  2.50742e-06
  2  1.59392
  3  1.13247
  4  1.17042
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) = 10538.6949894
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  2.507e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  3.385e+00  1.594e+00  0.000e+00  5.000e+00 ( 1.000e+00)
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  1.170e+00  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  1.132e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 320.260 19.032

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38759404/cmap_HighResolution_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.96e-08', time_completed='2026-09-21 18:38:24.354942', job_id='38759404', GAL2='0.78', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1790041104.35', return_code2='101', ts='0.00', return_code='0', GAL='0.78', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='2207' AND source_name='4FGL J2121.0+1901' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 18:38:24 PDT 2026

sctable="SC_DATA" srcmdl=/lscratch/kocevski/38759499/Model_4FGL_J2121.0+1901_daily_bin2207.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38759499/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits.....................!
real 72.97
user 69.12
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38759499/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits', '/lscratch/kocevski/38759499/ft2_4FGL_J2121.0+1901_daily_bin2207.fits', expMap='/lscratch/kocevski/38759499/expmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits', expCube='/lscratch/kocevski/38759499/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38759499/Model_4FGL_J2121.0+1901_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2121.0+1901'

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  3.670e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38759499/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38759499/ft2_4FGL_J2121.0+1901_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38759499/expmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38759499/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38759499/Model_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.7339239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.555       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8138       1.0000          .0000       .10000E+07
     3 'Prefactor '    .68509E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .89558E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    47.580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11482E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    22.908       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33393E-05   1.0000          .0000       .10000E+07
     9 'norm      '    15.442       1.0000          .0000       .10000E+07
    10 'norm      '    .37731E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.0902       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12623E-03   1.0000          .0000       .10000E+07
    13 'norm      '    10.351       1.0000          .0000       .10000E+07
    14 'norm      '    1.3286       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.6231       1.0000          .0000       .10000E+07
    16 'Prefactor '    54.921       1.0000          .0000       .10000E+07
    17 'norm      '    .59992E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1931       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78464       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 le=/lscratch/kocevski/38759644/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits
.....................!
real 9.40
user 8.97
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38759644/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits outfile=/lscratch/kocevski/38759644/expmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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/38759644/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits
.....................!
real 72.96
user 68.27
sys 4.08

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 193 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2121.0+1901 @ 320.26 19.0324

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits scfile=/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits outfile=/lscratch/kocevski/38759644/cmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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=320.26 yref=19.0324 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits scfile=/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits outfile=/lscratch/kocevski/38759644/cmap_HighResolution_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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=320.26 yref=19.0324 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.52
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits sc**   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1453 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.745        13.815       -.12627E-06    .37989E-03
   2  Prefactor     8.6899        16.675        .60513E-06    .52463E-02
   3  Prefactor     .88818E-08    142.93       -.34634E-05** at limit **
   4  Prefactor     .83267E-09    13.744       -.37325E-06** at limit **
   5  Prefactor     47.781        10.209       -.15831E-06   -.15640E-01
   6  Prefactor     .16653E-09    14.608        .17368E-06** at limit **
   7  Prefactor     22.864        5.3273       -.42419E-07   -.44710E-01
   8  Prefactor      .0000        1.1274       -.33329E-06** at limit **
   9  norm          15.452        5.0605       -.22279E-06    .70407E-05
  10  norm           .0000        1.1492       -.18011E-07** at limit **
  11  Prefactor     1.1063        12.125       -.13808E-05   -.47868E-04
  12  Prefactor     .33307E-09    48.233       -.48360E-06** at limit **
  13  norm          10.314        4.4684        .10586E-06    .83861E-03
  14  norm          1.3286        2.5346        .11203E-06   -.97003E-04
  15  Prefactor     10.557        39.089       -.11596E-05    .46965E-02
  16  Prefactor     55.195        13.876       -.20750E-06    .16248E-02
  17  norm          .24425E-08    21.651        .94072E-07** at limit **
  18  Normalizat    1.1916        .28116        .20669E-04    .77238E-05
  19  Prefactor     .78490        .89938E-01   -.34596E-05    .28847E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.7454
  Prefactor  = 8.68987
  Prefactor  = 8.88178e-09
  Prefactor  = 8.32667e-10
  Prefactor  = 47.7811
  Prefactor  = 1.66533e-10
  Prefactor  = 22.8637
  Prefactor  = 0
  norm       = 15.452
  norm       = 0
  Prefactor  = 1.1063
  Prefactor  = 3.33067e-10
  norm       = 10.3145
  norm       = 1.32863
  Prefactor  = 10.5567
  Prefactor  = 55.1952
  norm       = 2.44249e-09
  Normalizat = 1.1916
  Prefactor  = 0.784896
ctable="SC_DATA" srcmdl=/lscratch/kocevski/38759545/Model_4FGL_J2121.0+1901_daily_bin2207.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38759545/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits.....................!
real 65.36
user 63.80
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38759545/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits', '/lscratch/kocevski/38759545/ft2_4FGL_J2121.0+1901_daily_bin2207.fits', expMap='/lscratch/kocevski/38759545/expmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits', expCube='/lscratch/kocevski/38759545/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38759545/Model_4FGL_J2121.0+1901_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2121.0+1901'

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  3.670e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38759545/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38759545/ft2_4FGL_J2121.0+1901_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38759545/expmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38759545/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38759545/Model_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.7339239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.555       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8138       1.0000          .0000       .10000E+07
     3 'Prefactor '    .68509E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .89558E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    47.580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11482E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    22.908       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33393E-05   1.0000          .0000       .10000E+07
     9 'norm      '    15.442       1.0000          .0000       .10000E+07
    10 'norm      '    .37731E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.0902       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12623E-03   1.0000          .0000       .10000E+07
    13 'norm      '    10.351       1.0000          .0000       .10000E+07
    14 'norm      '    1.3286       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.6231       1.0000          .0000       .10000E+07
    16 'Prefactor '    54.921       1.0000          .0000       .10000E+07
    17 'norm      '    .59992E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1931       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78464       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 * **********
 **   18 **HESSE 
 **********

 FCN=   10538.69     FROM HESSE     STATUS=OK           312 CALLS     1765 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.745        13.819        .19054E-03   -1.5603    
   2  Prefactor     8.6899        17.010        .33738E-03   -1.5649    
   3  Prefactor     .88818E-08    142.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83267E-09    13.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.781        36.624        .14498E-03   -1.5570    
   6  Prefactor     .16653E-09    14.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.864        24.357        .20898E-03   -1.5612    
   8  Prefactor      .0000        1.1248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.452        5.0588        .25461E-03   -1.5629    
  10  norm           .0000        1.1455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1063        11.867        .11454E-02   -1.5687    
  12  Prefactor     .33307E-09    48.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.314        4.6195        .31119E-03   -1.5644    
  14  norm          1.3286        2.5845        .95272E-03   -1.5685    
  15  Prefactor     10.557        48.950        .32280E-03   -1.5643    
  16  Prefactor     55.195        48.774        .13495E-03   -1.5559    
  17  norm          .24425E-08    .75316        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1916        .23770        .89095E-01   -.86863    
  19  Prefactor     .78490        .74774E-01    .43517E-01   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21568e-06
Minuit parameter uncertainties:
  1  13.8193
  2  17.01
  3  0.00225238
  4  0.000211501
  5  36.6243
  6  9.99675e-05
  7  24.3567
  8  1.14179e-06
  9  5.05881
  10  4.10792e-06
  11  7.24655
  12  0.000246578
  13  4.61949
  14  2.58447
  15  45.4652
  16  48.7748
  17  8.57531e-05
  18  0.23792
  19  0.0747837
*   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1453 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.745        13.815       -.12627E-06    .37989E-03
   2  Prefactor     8.6899        16.675        .60513E-06    .52463E-02
   3  Prefactor     .88818E-08    142.93       -.34634E-05** at limit **
   4  Prefactor     .83267E-09    13.744       -.37325E-06** at limit **
   5  Prefactor     47.781        10.209       -.15831E-06   -.15640E-01
   6  Prefactor     .16653E-09    14.608        .17368E-06** at limit **
   7  Prefactor     22.864        5.3273       -.42419E-07   -.44710E-01
   8  Prefactor      .0000        1.1274       -.33329E-06** at limit **
   9  norm          15.452        5.0605       -.22279E-06    .70407E-05
  10  norm           .0000        1.1492       -.18011E-07** at limit **
  11  Prefactor     1.1063        12.125       -.13808E-05   -.47868E-04
  12  Prefactor     .33307E-09    48.233       -.48360E-06** at limit **
  13  norm          10.314        4.4684        .10586E-06    .83861E-03
  14  norm          1.3286        2.5346        .11203E-06   -.97003E-04
  15  Prefactor     10.557        39.089       -.11596E-05    .46965E-02
  16  Prefactor     55.195        13.876       -.20750E-06    .16248E-02
  17  norm          .24425E-08    21.651        .94072E-07** at limit **
  18  Normalizat    1.1916        .28116        .20669E-04    .77238E-05
  19  Prefactor     .78490        .89938E-01   -.34596E-05    .28847E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.7454
  Prefactor  = 8.68987
  Prefactor  = 8.88178e-09
  Prefactor  = 8.32667e-10
  Prefactor  = 47.7811
  Prefactor  = 1.66533e-10
  Prefactor  = 22.8637
  Prefactor  = 0
  norm       = 15.452
  norm       = 0
  Prefactor  = 1.1063
  Prefactor  = 3.33067e-10
  norm       = 10.3145
  norm       = 1.32863
  Prefactor  = 10.5567
  Prefactor  = 55.1952
  norm       = 2.44249e-09
  Normalizat = 1.1916
  Prefactor  = 0.784896
 **********
 **   18 **HESSE 
 **********

 FCN=   10538.69     FROM HESSE     STATUS=OK           312 CALLS     1765 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.745        13.819        .19054E-03   -1.5603    
   2  Prefactor     8.6899        17.010        .33738E-03   -1.5649    
   3  Prefactor     .88818E-08    142.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83267E-09    13.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.781        36.624        .14498E-03   -1.5570    
   6  Prefactor     .16653E-09    14.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.864        24.357        .20898E-03   -1.5612    
   8  Prefactor      .0000        1.1248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.452        5.0588        .25461E-03   -1.5629    
  10  norm           .0000        1.1455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1063        11.867        .11454E-02   -1.5687    
  12  Prefactor     .33307E-09    48.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.314        4.6195        .31119E-03   -1.5644    
  14  norm          1.3286        2.5845        .95272E-03   -1.5685    
  15  Prefactor     10.557        48.950        .32280E-03   -1.5643    
  16  Prefactor     55.195        48.774        .13495E-03   -1.5559    
  17  norm          .24425E-08    .75316        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1916        .23770        .89095E-01   -.86863    
  19  Prefactor     .78490        .74774E-01    .43517E-01   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21568e-06
Minuit parameter uncertainties:
  1  13.8193
  2  17.01
  3  0.00225238
  4  0.000211501
  5  36.6243
  6  9.99675e-05
  7  24.3567
  8  1.14179e-06
  9  5.05881
  10  4.10792e-06
  11  7.24655
  12  0.000246578
  13  4.61949
  14  2.58447
  15  45.4652
  16  48.7748
  17  8.57531e-05
  18  0.23792
  19  0.0747837
Done.

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

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  4.108e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  7.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 320.260 19.032
Photon Flux Upper Limit: 4.95948925666e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38759499/likelihoodResults_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.6950171
delta logL = -2.77158978861e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10538.6949929
delta logL = -3.52151073457e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21532E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .99004       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78486       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      242 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .55798        .42118E-03** at limit **
   2  alpha         3.3850        1.4733        .86919E-05     .0000    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.47274E-04
   4  Prefactor     .78490        1.1338       -.39217E-05   -.10696E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.38497
  Normalizat = 1.1916
  Prefactor  = 0.784896
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10538.69     FROM HESSE     STATUS=FAILED         7 CALLS      249 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .55798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1309        1.4733        .86919E-05    .36183    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.86863    
   4  Prefactor     .78490        1.1338       -.39217E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.62823e-12
Minuit parameter uncertainties:
  1  2.50742e-06
  2  1.59392
  3  1.13247
  4  1.17042
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) = 10538.6949894
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  2.507e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  3.385e+00  1.594e+00  0.000e+00  5.000e+00 ( 1.000e+00)
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  1.170e+00  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  1.132e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 320.260 19.032

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38759499/cmap_HighResolution_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.96e-08', time_completed='2026-09-21 18:41:22.523808', job_id='38759499', GAL2='0.78', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1790041282.52', return_code2='101', ts='0.00', return_code='0', GAL='0.78', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='2207' AND source_name='4FGL J2121.0+1901' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 18:41:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  4.108e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  7.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 320.260 19.032
Photon Flux Upper Limit: 4.95948925666e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38759545/likelihoodResults_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.6950171
delta logL = -2.77158978861e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10538.6949929
delta logL = -3.52151073457e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21532E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .99004       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78486       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      242 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .55798        .42118E-03** at limit **
   2  alpha         3.3850        1.4733        .86919E-05     .0000    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.47274E-04
   4  Prefactor     .78490        1.1338       -.39217E-05   -.10696E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.38497
  Normalizat = 1.1916
  Prefactor  = 0.784896
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10538.69     FROM HESSE     STATUS=FAILED         7 CALLS      249 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .55798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1309        1.4733        .86919E-05    .36183    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.86863    
   4  Prefactor     .78490        1.1338       -.39217E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.62823e-12
Minuit parameter uncertainties:
  1  2.50742e-06
  2  1.59392
  3  1.13247
  4  1.17042
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) = 10538.6949894
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  2.507e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  3.385e+00  1.594e+00  0.000e+00  5.000e+00 ( 1.000e+00)
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  1.170e+00  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  1.132e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 320.260 19.032

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38759545/cmap_HighResolution_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.96e-08', time_completed='2026-09-21 18:41:46.469012', job_id='38759545', GAL2='0.78', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1790041306.47', return_code2='101', ts='0.00', return_code='0', GAL='0.78', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='2207' AND source_name='4FGL J2121.0+1901' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 18:41:46 PDT 2026

table="SC_DATA" srcmdl=/lscratch/kocevski/38759644/Model_4FGL_J2121.0+1901_daily_bin2207.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits.....................!
real 64.23
user 62.67
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits', '/lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits', expMap='/lscratch/kocevski/38759644/expmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits', expCube='/lscratch/kocevski/38759644/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38759644/Model_4FGL_J2121.0+1901_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2121.0+1901'

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  3.670e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38759644/ft1_filtered_4FGL_J2121.0+1901_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38759644/ft2_4FGL_J2121.0+1901_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38759644/expmap_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38759644/ltcube_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38759644/Model_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.7339239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.555       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8138       1.0000          .0000       .10000E+07
     3 'Prefactor '    .68509E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .89558E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    47.580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11482E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    22.908       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33393E-05   1.0000          .0000       .10000E+07
     9 'norm      '    15.442       1.0000          .0000       .10000E+07
    10 'norm      '    .37731E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.0902       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12623E-03   1.0000          .0000       .10000E+07
    13 'norm      '    10.351       1.0000          .0000       .10000E+07
    14 'norm      '    1.3286       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.6231       1.0000          .0000       .10000E+07
    16 'Prefactor '    54.921       1.0000          .0000       .10000E+07
    17 'norm      '    .59992E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1931       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78464       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1453 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.745        13.815       -.12627E-06    .37989E-03
   2  Prefactor     8.6899        16.675        .60513E-06    .52463E-02
   3  Prefactor     .88818E-08    142.93       -.34634E-05** at limit **
   4  Prefactor     .83267E-09    13.744       -.37325E-06** at limit **
   5  Prefactor     47.781        10.209       -.15831E-06   -.15640E-01
   6  Prefactor     .16653E-09    14.608        .17368E-06** at limit **
   7  Prefactor     22.864        5.3273       -.42419E-07   -.44710E-01
   8  Prefactor      .0000        1.1274       -.33329E-06** at limit **
   9  norm          15.452        5.0605       -.22279E-06    .70407E-05
  10  norm           .0000        1.1492       -.18011E-07** at limit **
  11  Prefactor     1.1063        12.125       -.13808E-05   -.47868E-04
  12  Prefactor     .33307E-09    48.233       -.48360E-06** at limit **
  13  norm          10.314        4.4684        .10586E-06    .83861E-03
  14  norm          1.3286        2.5346        .11203E-06   -.97003E-04
  15  Prefactor     10.557        39.089       -.11596E-05    .46965E-02
  16  Prefactor     55.195        13.876       -.20750E-06    .16248E-02
  17  norm          .24425E-08    21.651        .94072E-07** at limit **
  18  Normalizat    1.1916        .28116        .20669E-04    .77238E-05
  19  Prefactor     .78490        .89938E-01   -.34596E-05    .28847E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.7454
  Prefactor  = 8.68987
  Prefactor  = 8.88178e-09
  Prefactor  = 8.32667e-10
  Prefactor  = 47.7811
  Prefactor  = 1.66533e-10
  Prefactor  = 22.8637
  Prefactor  = 0
  norm       = 15.452
  norm       = 0
  Prefactor  = 1.1063
  Prefactor  = 3.33067e-10
  norm       = 10.3145
  norm       = 1.32863
  Prefactor  = 10.5567
  Prefactor  = 55.1952
  norm       = 2.44249e-09
  Normalizat = 1.1916
  Prefactor  = 0.784896
 **********
 **   18 **HESSE 
 **********

 FCN=   10538.69     FROM HESSE     STATUS=OK           312 CALLS     1765 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.745        13.819        .19054E-03   -1.5603    
   2  Prefactor     8.6899        17.010        .33738E-03   -1.5649    
   3  Prefactor     .88818E-08    142.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83267E-09    13.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.781        36.624        .14498E-03   -1.5570    
   6  Prefactor     .16653E-09    14.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.864        24.357        .20898E-03   -1.5612    
   8  Prefactor      .0000        1.1248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.452        5.0588        .25461E-03   -1.5629    
  10  norm           .0000        1.1455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1063        11.867        .11454E-02   -1.5687    
  12  Prefactor     .33307E-09    48.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.314        4.6195        .31119E-03   -1.5644    
  14  norm          1.3286        2.5845        .95272E-03   -1.5685    
  15  Prefactor     10.557        48.950        .32280E-03   -1.5643    
  16  Prefactor     55.195        48.774        .13495E-03   -1.5559    
  17  norm          .24425E-08    .75316        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1916        .23770        .89095E-01   -.86863    
  19  Prefactor     .78490        .74774E-01    .43517E-01   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21568e-06
Minuit parameter uncertainties:
  1  13.8193
  2  17.01
  3  0.00225238
  4  0.000211501
  5  36.6243
  6  9.99675e-05
  7  24.3567
  8  1.14179e-06
  9  5.05881
  10  4.10792e-06
  11  7.24655
  12  0.000246578
  13  4.61949
  14  2.58447
  15  45.4652
  16  48.7748
  17  8.57531e-05
  18  0.23792
  19  0.0747837
Done.

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

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  4.108e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  7.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 320.260 19.032
Photon Flux Upper Limit: 4.95948925666e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38759644/likelihoodResults_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.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) = 10538.6950171
delta logL = -2.77158978861e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10538.6949929
delta logL = -3.52151073457e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21532E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .99004       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78486       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10538.69     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      242 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .55798        .42118E-03** at limit **
   2  alpha         3.3850        1.4733        .86919E-05     .0000    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.47274E-04
   4  Prefactor     .78490        1.1338       -.39217E-05   -.10696E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.38497
  Normalizat = 1.1916
  Prefactor  = 0.784896
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10538.69     FROM HESSE     STATUS=FAILED         7 CALLS      249 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .55798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1309        1.4733        .86919E-05    .36183    
   3  Normalizat    1.1916        1.1094        .95693E-05   -.86863    
   4  Prefactor     .78490        1.1338       -.39217E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.62823e-12
Minuit parameter uncertainties:
  1  2.50742e-06
  2  1.59392
  3  1.13247
  4  1.17042
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) = 10538.6949894
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  0.000e+00  2.507e-06  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  3.385e+00  1.594e+00  0.000e+00  5.000e+00 ( 1.000e+00)
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  7.849e-01  1.170e+00  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.192e+00  1.132e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 320.260 19.032

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38759644/cmap_HighResolution_811382401_811641601_4FGL_J2121.0+1901_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.96e-08', time_completed='2026-09-21 18:43:37.949905', job_id='38759644', GAL2='0.78', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1790041417.95', return_code2='101', ts='0.00', return_code='0', GAL='0.78', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='2207' AND source_name='4FGL J2121.0+1901' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 18:43:38 PDT 2026

