/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 = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2126.3-4605_weekly_bin945
RA = 321.595, Dec = -46.0978
tmin = 810518401, tmax = 811123201
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='38330794', job_status='RUN', time_executed='2026-09-15 16:53:12.718332', time_epoch_executed='1789516392.72' WHERE source_name='4FGL J2126.3-4605' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38330794

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38330794/ft1_4FGL_J2126.3-4605_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38330794/ft1_4FGL_J2126.3-4605_weekly_bin945.fits outfile=/lscratch/kocevski/38330794/ft1_filteredMKT_4FGL_J2126.3-4605_weekly_bin945.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=810518401.0 tmax=811123201.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 6.20
user 5.63
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.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/38330794/ft1_filteredMKT_4FGL_J2126.3-4605_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.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.68
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1660

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38330794/ltcube_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.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/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits
.....................!
real 19.51
user 18.81
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38330794/ltcube_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.fits outfile=/lscratch/kocevski/38330794/expmap_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.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/38330794/ltcube_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.fits
.....................!
real 73.26
user 68.34
sys 4.31

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 J2126.3-4605 @ 321.595 -46.0978

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits scfile=/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits outfile=/lscratch/kocevski/38330794/cmap_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.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=321.595 yref=-46.0978 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.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits scfile=/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits outfile=/lscratch/kocevski/38330794/cmap_HighResolution_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.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=321.595 yref=-46.0978 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.91
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38330794/Model_4FGL_J2126.3-4605_weekly_bin945.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/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits....................!
real 50.74
user 48.64
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits', '/lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits', expMap='/lscratch/kocevski/38330794/expmap_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.fits', expCube='/lscratch/kocevski/38330794/ltcube_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38330794/Model_4FGL_J2126.3-4605_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2126.3-4605'

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.352e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38330794/ft1_filtered_4FGL_J2126.3-4605_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38330794/ft2_4FGL_J2126.3-4605_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38330794/expmap_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38330794/ltcube_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38330794/Model_4FGL_J2126.3-4605_weekly_bin945.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) = 17714.3386318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14163E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.0172       1.0000          .0000       .10000E+07
     3 'Prefactor '    27.607       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25567E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9854       1.0000          .0000       .10000E+07
     6 'norm      '    .66273       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20536E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45734E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .18035E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .36737       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.7229       1.0000          .0000       .10000E+07
    12 'norm      '    6.2099       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15600E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .62326E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.923       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45363E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.0918       1.0000          .0000       .10000E+07
    18 'Prefactor '    66.209       1.0000          .0000       .10000E+07
    19 'norm      '    .30392E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .27945E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    10.890       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1530       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96955       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17714.33     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2303 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.5347       -.28384E-07** at limit **
   2  norm          1.0139        1.5417        .16491E-07   -.10116E-01
   3  Prefactor     27.714        39.768       -.21466E-05   -.21075E-04
   4  Prefactor      .0000        .65250       -.12901E-07** at limit **
   5  Prefactor     5.9893        7.7630        .52514E-06    .25593E-03
   6  norm          .66268        .94298        .21784E-08   -.86470E-03
   7  Prefactor      .0000        9.0736        .22060E-07** at limit **
   8  Prefactor      .0000        1.5413       -.72191E-08** at limit **
   9  Prefactor      .0000        6.7785        .19834E-07** at limit **
  10  Prefactor     .14988E-08    6.6817       -.60767E-07** at limit **
  11  Prefactor     9.7460        3.1865        .63003E-08    .10206E-02
  12  norm          6.2269        2.6033       -.23301E-08   -.22052E-02
  13  Prefactor      .0000        2.2027        .32368E-07** at limit **
  14  Prefactor      .0000        1.2368       -.10669E-07** at limit **
  15  Prefactor     10.946        16.224       -.57405E-06   -.98713E-04
  16  Prefactor      .0000        2.4305        .21074E-06** at limit **
  17  Prefactor     9.0833        3.0049        .79094E-08   -.39052E-02
  18  Prefactor     65.892        46.908       -.68051E-06   -.16326E-03
  19  norm           .0000        2.5576       -.20632E-06** at limit **
  20  Prefactor      .0000        .59544       -.66339E-08** at limit **
  21  Prefactor     10.900        4.7886        .10651E-07    .25351E-03
  22  Normalizat    1.1534        .12325        .12874E-05   -.10106E-04
  23  Prefactor     .96940        .76514E-01   -.18587E-07    .22237E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.01388
  Prefactor  = 27.7145
  Prefactor  = 0
  Prefactor  = 5.98928
  norm       = 0.662681
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.4988e-09
  Prefactor  = 9.74599
  norm       = 6.22693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.9459
  Prefactor  = 0
  Prefactor  = 9.08334
  Prefactor  = 65.8917
  norm       = 0
  Prefactor  = 0
  Prefactor  = 10.9001
  Normalizat = 1.15344
  Prefactor  = 0.969402
 **********
 **   18 **HESSE 
 **********

 FCN=   17714.33     FROM HESSE     STATUS=OK           378 CALLS     2681 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.7206        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0139        14.681        .25781E-03   -1.5688    
   3  Prefactor     27.714        39.772        .76142E-05   -1.5603    
   4  Prefactor      .0000        .65669        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9893        7.7607        .16408E-04   -1.5659    
   6  norm          .66268        .93404        .14695E-04   -1.5692    
   7  Prefactor      .0000        9.0883        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.5439        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        6.7914        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14988E-08    7.8935        .10439E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7460        3.1909        .12845E-04   -1.5646    
  12  norm          6.2269        2.6057        .67204E-04   -1.5658    
  13  Prefactor      .0000        2.2089        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.2381        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.946        16.245        .12116E-04   -1.5642    
  16  Prefactor      .0000        2.4446        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.0833        3.0182        .63368E-04   -1.5648    
  18  Prefactor     65.892        46.961        .49162E-05   -1.5546    
  19  norm           .0000        2.5787        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        .59642        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.900        4.8025        .12134E-04   -1.5642    
  22  Normalizat    1.1534        .14564        .28525E-03   -.88054    
  23  Prefactor     .96940        .90688E-01    .19864E-03   -.93756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73377e-09
Minuit parameter uncertainties:
  1  7.05286e-06
  2  7.71628
  3  39.772
  4  2.7728e-06
  5  7.76074
  6  0.934043
  7  3.00972e-06
  8  8.69509e-07
  9  2.31231e-06
  10  0.000219509
  11  3.19095
  12  2.60566
  13  2.94564e-06
  14  7.40268e-07
  15  16.245
  16  1.63568e-05
  17  3.01825
  18  46.9615
  19  3.12376e-06
  20  2.67176e-07
  21  4.80247
  22  0.145696
  23  0.0907023
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  0.000e+00  8.695e-07  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.694e-01  9.070e-02  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.153e+00  1.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 3.61232622349e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00281916318453 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38330794/likelihoodResults_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.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) = 17714.3276428
delta logL = -0.0021577812804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17714.3254853
delta logL = -3.43876308762e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   17714.33     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      233 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5241        .42118E-03** at limit **
   2  Index         2.6706        1.2461        .90365E-06     .0000    
   3  Normalizat    1.1534        1.1248        .12332E-05   -.22796E-04
   4  Prefactor     .96940        1.3104       -.14757E-05   -.38644E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.67056
  Normalizat = 1.15344
  Prefactor  = 0.969402
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17714.33     FROM HESSE     STATUS=FAILED         9 CALLS      242 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .80719        1.9577        .90365E-06   -.48464    
   3  Normalizat    1.1534        1.1248        .12332E-05   -.88054    
   4  Prefactor     .96940        1.3104       -.14757E-05   -.93757    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96087e-13
Minuit parameter uncertainties:
  1  1.17804e-06
  2  1.26322
  3  1.14969
  4  1.35756
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) = 17714.325485
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  0.000e+00  1.178e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  2.671e+00  1.263e+00  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.694e-01  1.358e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.153e+00  1.150e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 321.595 -46.098

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/38330794/cmap_HighResolution_810518401_811123201_4FGL_J2126.3-4605_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.82e-03', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2026-09-15 17:02:50.128765', job_id='38330794', GAL2='0.97', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1789516970.13', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='945' AND source_name='4FGL J2126.3-4605' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 17:02:50 PDT 2026

