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

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


Performing analysis on: 4FGL_J1421.1-1120_daily_bin2114
RA = 215.287, Dec = -11.3393
tmin = 787276801, tmax = 787536001
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='17373087', job_status='RUN', time_executed='2025-12-16 01:11:16.172900', time_epoch_executed='1765876276.17' WHERE source_name='4FGL J1421.1-1120' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17373087

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17373087/ft1_4FGL_J1421.1-1120_daily_bin2114.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17373087/ft1_4FGL_J1421.1-1120_daily_bin2114.fits outfile=/lscratch/kocevski/17373087/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin2114.fits ra=215.287 dec=-11.3393 rad=12.0 tmin=787276801.0 tmax=787536001.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.79
user 1.92
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.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/17373087/ft1_filteredMKT_4FGL_J1421.1-1120_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 895

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17373087/ltcube_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.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/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits
.....................!
real 8.70
user 7.85
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17373087/ltcube_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.fits outfile=/lscratch/kocevski/17373087/expmap_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.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/17373087/ltcube_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.fits
.....................!
real 72.36
user 67.54
sys 3.84

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

Setting source of interest to:
4FGL J1421.1-1120 @ 215.287 -11.3393

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits scfile=/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits outfile=/lscratch/kocevski/17373087/cmap_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.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=215.287 yref=-11.3393 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.88
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits scfile=/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits outfile=/lscratch/kocevski/17373087/cmap_HighResolution_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.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=215.287 yref=-11.3393 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.88
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17373087/Model_4FGL_J1421.1-1120_daily_bin2114.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/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits.....................!
real 31.47
user 29.60
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits', '/lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits', expMap='/lscratch/kocevski/17373087/expmap_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.fits', expCube='/lscratch/kocevski/17373087/ltcube_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17373087/Model_4FGL_J1421.1-1120_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1421.1-1120'

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  4.817e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
303        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.097e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17373087/ft1_filtered_4FGL_J1421.1-1120_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17373087/ft2_4FGL_J1421.1-1120_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17373087/expmap_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17373087/ltcube_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17373087/Model_4FGL_J1421.1-1120_daily_bin2114.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) = 9793.56400869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35028E-07   1.0000          .0000       .10000E+07
     2 'norm      '    17.002       1.0000          .0000       .10000E+07
     3 'norm      '    3.9792       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9128       1.0000          .0000       .10000E+07
     5 'norm      '    2.1797       1.0000          .0000       .10000E+07
     6 'norm      '    .33862E-08   1.0000          .0000       .10000E+07
     7 'norm      '    7.2510       1.0000          .0000       .10000E+07
     8 'norm      '    .75200E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.939       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12128E-03   1.0000          .0000       .10000E+07
    11 'norm      '    11.490       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24762E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .98893E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .25636E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.5336       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90947       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9793.543     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      873 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.4491       -.24454E-07** at limit **
   2  norm          16.961        7.9948        .57343E-07   -.39443E-02
   3  norm          3.9595        4.3432       -.69692E-08   -.19660E-04
   4  Prefactor     2.9476        6.7795       -.48579E-07   -.82850E-03
   5  norm          2.1704        5.9315        .20240E-06    .59855E-03
   6  norm           .0000        1.1810        .26651E-07** at limit **
   7  norm          7.2536        1.2292        .15687E-08   -.31376E-03
   8  norm           .0000        2.3086        .39383E-07** at limit **
   9  Prefactor     27.122        1.5395       -.14514E-08    .52206E-01
  10  Prefactor     .66613E-09    12.441        .90374E-07** at limit **
  11  norm          11.627        1.2565       -.24155E-08   -.27841E-01
  12  Prefactor      .0000        1.8225       -.26570E-07** at limit **
  13  Prefactor     .16653E-09    25.751       -.19135E-06** at limit **
  14  Prefactor     .27756E-09    9.9883        .24095E-06** at limit **
  15  Normalizat    1.5332        .23810       -.13353E-05    .47894E-05
  16  Prefactor     .90944        .10944        .22931E-06    .82597E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 16.9609
  norm       = 3.95955
  Prefactor  = 2.94756
  norm       = 2.17038
  norm       = 0
  norm       = 7.25358
  norm       = 0
  Prefactor  = 27.1222
  Prefactor  = 6.66134e-10
  norm       = 11.6267
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Normalizat = 1.53319
  Prefactor  = 0.909439
 **********
 **   18 **HESSE 
 **********

 FCN=   9793.543     FROM HESSE     STATUS=OK           233 CALLS     1106 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.4452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.961        8.0749        .24263E-03   -1.5626    
   3  norm          3.9595        4.3407        .50538E-03   -1.5668    
   4  Prefactor     2.9476        7.0943        .59504E-03   -1.5674    
   5  norm          2.1704        6.2094        .69704E-03   -1.5678    
   6  norm           .0000        1.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.2536        7.3084        .37226E-03   -1.5654    
   8  norm           .0000        2.3085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.122        18.490        .19270E-03   -1.5604    
  10  Prefactor     .66613E-09    12.484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.627        11.580        .29530E-03   -1.5640    
  12  Prefactor      .0000        1.8230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-09    25.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-09    9.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.5332        .20547        .74385E-01   -.76850    
  16  Prefactor     .90944        .94118E-01    .45126E-01   -.95812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49413e-07
Minuit parameter uncertainties:
  1  9.71064e-06
  2  8.07486
  3  4.34071
  4  7.0943
  5  6.20944
  6  1.55663e-07
  7  7.30842
  8  6.17348e-06
  9  18.4902
  10  0.000180581
  11  11.58
  12  1.43462e-06
  13  0.000129055
  14  0.000103962
  15  0.205577
  16  0.0941352
Done.

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

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  2.712e+01  1.849e+01  0.000e+00  1.000e+06 ( 1.000e-13)
303        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.097e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.094e-01  9.414e-02  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.533e+00  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.54
Ra Dec: 215.287 -11.339
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.80e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.35e-05

TS (Fixed Index): 3.54
Ra Dec: 215.287 -11.339
Photon Flux Upper Limit: 1.41619303342e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0109222667168 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17373087/likelihoodResults_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.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) = 9793.49307657
delta logL = 0.0495570586027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9793.49168035
delta logL = 0.0509532753913

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9793.492     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      304 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.347        24.752        .84640E-05   -.97515E-03
   2  Index         2.5717        .72407        .76721E-02    .63790E-03
   3  Normalizat    1.5216        .23545        .33016E-03   -.29613E-05
   4  Prefactor     .91285        .10928        .19307E-03    .37567E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3467
  Index      = 2.57169
  Normalizat = 1.52157
  Prefactor  = 0.912849
 **********
 **   18 **HESSE 
 **********

 FCN=   9793.492     FROM HESSE     STATUS=OK            25 CALLS      329 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.347        22.579        .33856E-06   -1.5613    
   2  Index         2.5717        .66057        .15344E-02   -.50712    
   3  Normalizat    1.5216        .23510        .13206E-04   -.77174    
   4  Prefactor     .91285        .10920        .77230E-05   -.95694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40944e-11
Minuit parameter uncertainties:
  1  22.5794
  2  0.663108
  3  0.235267
  4  0.109226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9793.49168029
delta logL = 0.0509533388376

Extracting fit parameters...

4FGL J1421.1-1120
   Spectrum: PowerLaw
302    Prefactor:  2.235e+01  2.258e+01  0.000e+00  1.000e+06 ( 1.000e-13)
303        Index:  2.572e+00  6.631e-01  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.097e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.128e-01  1.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.522e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.67
Ra Dec: 215.287 -11.339
Photon Index (Free Index): 2.57 +/- 0.66
Photon Flux (Free Index): 6.74e-08 +/- 5.25e-08
Energy Flux (Free Index): 1.82e-05 +/- 1.29e-05

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/17373087/cmap_HighResolution_787276801_787536001_4FGL_J1421.1-1120_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', photon_flux='5.80e-08', energy_flux2='1.82e-05', photon_flux_error='3.95e-08', dlogl='5.10e-02', energy_flux='1.98e-05', photon_flux2='6.74e-08', job_status='DONE', time_completed='2025-12-16 01:18:41.723470', photon_index_error2='0.66', photon_index2='2.57', ts='3.54', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.29e-05', EG='1.53', time_epoch_completed='1765876721.72', return_code='0', job_id='17373087', GAL2='0.91', EG2='1.52', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='5.25e-08', ts2='3.67', photon_index='2.37' WHERE bin_id='2114' AND source_name='4FGL J1421.1-1120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:18:42 PST 2025

