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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin2085
RA = 321.595, Dec = -46.0978
tmin = 779760001, tmax = 780019201
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='14126736', job_status='RUN', time_executed='2025-10-21 02:12:34.183681', time_epoch_executed='1761037954.18' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='2085'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/14126736

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/14126736/ft1_4FGL_J2126.3-4605_daily_bin2085.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/14126736/ft1_4FGL_J2126.3-4605_daily_bin2085.fits outfile=/lscratch/kocevski/14126736/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin2085.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=779760001.0 tmax=780019201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.18
user 2.21
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.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/14126736/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin2085.fits evtable="EVENTS" outfile="/lscratch/kocevski/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 359

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14126736/ltcube_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.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/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits
.....................!
real 13.75
user 12.74
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits evtable="EVENTS" scfile=/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14126736/ltcube_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.fits outfile=/lscratch/kocevski/14126736/expmap_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.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/14126736/ltcube_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.fits
.....................!
real 79.24
user 73.59
sys 4.66

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/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits scfile=/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits outfile=/lscratch/kocevski/14126736/cmap_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.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.71
user 0.26
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits scfile=/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits outfile=/lscratch/kocevski/14126736/cmap_HighResolution_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.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.81
user 0.25
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits evtable="EVENTS" scfile=/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14126736/Model_4FGL_J2126.3-4605_daily_bin2085.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/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits......................!
real 17.74
user 16.33
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits', '/lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits', expMap='/lscratch/kocevski/14126736/expmap_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.fits', expCube='/lscratch/kocevski/14126736/ltcube_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14126736/Model_4FGL_J2126.3-4605_daily_bin2085.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/14126736/ft1_filtered_4FGL_J2126.3-4605_daily_bin2085.fits
Spacecraft file(s): /lscratch/kocevski/14126736/ft2_4FGL_J2126.3-4605_daily_bin2085.fits
Exposure map: /lscratch/kocevski/14126736/expmap_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.fits
Exposure cube: /lscratch/kocevski/14126736/ltcube_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/14126736/Model_4FGL_J2126.3-4605_daily_bin2085.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) = 4004.62759259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15654E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .68150E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .86376E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.7529       1.0000          .0000       .10000E+07
     5 'Prefactor '    .66156E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.7075       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18429E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .44370E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .90791E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.7283       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7913       1.0000          .0000       .10000E+07
    12 'norm      '    9.9352       1.0000          .0000       .10000E+07
    13 'Prefactor '    .42266E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    17.692       1.0000          .0000       .10000E+07
    15 'Prefactor '    40.781       1.0000          .0000       .10000E+07
    16 'Prefactor '    .83235E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.5151       1.0000          .0000       .10000E+07
    18 'Prefactor '    .44454E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .46613E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.0869       1.0000          .0000       .10000E+07
    21 'Prefactor '    .42686E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4975       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .64553       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4004.468     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     1853 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.0500       -.30442E-07** at limit **
   2  norm          .11102E-09    7.8901        .60174E-07** at limit **
   3  Prefactor     .99920E-09    23.508        .17359E-06** at limit **
   4  Prefactor     1.7660        2.9035        .63168E-07   -.70639E-04
   5  Prefactor      .0000        9.5609        .54712E-07** at limit **
   6  norm          1.7194        2.1046       -.33268E-08    .88808E-05
   7  Prefactor     .66613E-09    1.1038        .12480E-07** at limit **
   8  Prefactor      .0000        3.4784       -.88519E-08** at limit **
   9  Prefactor     .16098E-08    17.297        .11333E-06** at limit **
  10  Prefactor     9.6431        28.640       -.43376E-07   -.74580E-03
  11  Prefactor     6.7183        6.8604        .26984E-07   -.24389E-03
  12  norm          9.9145        8.5621       -.47040E-08    .16606E-02
  13  Prefactor      .0000        6.5426       -.30346E-07** at limit **
  14  Prefactor     18.309        3.3252       -.88874E-08   -.20884E-01
  15  Prefactor     45.098        56.140        .13574E-06    .39887E-03
  16  Prefactor      .0000        5.1560       -.36257E-07** at limit **
  17  Prefactor     9.5000        8.4704        .28723E-07   -.47804E-03
  18  Prefactor     .16653E-09    67.024        .20697E-06** at limit **
  19  norm          .16653E-09    8.2624        .75835E-07** at limit **
  20  Prefactor     9.1203        9.0623       -.76140E-08   -.21316E-03
  21  Prefactor      .0000        6.2091       -.86239E-07** at limit **
  22  Normalizat    1.4912        .33336       -.23112E-05    .43259E-05
  23  Prefactor     .64693        .17934        .72848E-07    .47126E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 9.99201e-10
  Prefactor  = 1.76599
  Prefactor  = 0
  norm       = 1.71936
  Prefactor  = 6.66134e-10
  Prefactor  = 0
  Prefactor  = 1.60982e-09
  Prefactor  = 9.64312
  Prefactor  = 6.71829
  norm       = 9.91452
  Prefactor  = 0
  Prefactor  = 18.3087
  Prefactor  = 45.0985
  Prefactor  = 0
  Prefactor  = 9.50002
  Prefactor  = 1.66533e-10
  norm       = 1.66533e-10
  Prefactor  = 9.12028
  Prefactor  = 0
  Normalizat = 1.49119
  Prefactor  = 0.646929
 **********
 **   18 **HESSE 
 **********

 FCN=   4004.468     FROM HESSE     STATUS=OK           416 CALLS     2269 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.0496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    7.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99920E-09    23.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7660        2.9295        .79149E-03   -1.5681    
   5  Prefactor      .0000        9.5631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7194        2.1268        .80433E-03   -1.5682    
   7  Prefactor     .66613E-09    29.082        .17142E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16098E-08    17.445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6431        28.779        .33904E-03   -1.5646    
  11  Prefactor     6.7183        6.8558        .38478E-03   -1.5656    
  12  norm          9.9145        8.8183        .31766E-03   -1.5645    
  13  Prefactor      .0000        6.5375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.309        20.571        .23784E-03   -1.5622    
  15  Prefactor     45.098        55.902        .15661E-03   -1.5574    
  16  Prefactor      .0000        5.1369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.5000        8.4197        .32464E-03   -1.5646    
  18  Prefactor     .16653E-09    66.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .16653E-09    8.2881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.1203        9.0460        .33224E-03   -1.5648    
  21  Prefactor      .0000        6.2058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4912        .28226        .59775E-01   -.78026    
  23  Prefactor     .64693        .15136        .41671E-01   -1.0564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02157e-08
Minuit parameter uncertainties:
  1  1.23206e-07
  2  6.51817e-05
  3  0.000304228
  4  2.92947
  5  3.23642e-05
  6  2.12675
  7  0.000283237
  8  1.48632e-06
  9  0.000336891
  10  28.7794
  11  6.85582
  12  8.8183
  13  6.43134e-06
  14  20.5711
  15  55.9026
  16  1.19282e-06
  17  8.41972
  18  0.000204848
  19  7.66034e-05
  20  9.04599
  21  9.17723e-06
  22  0.282556
  23  0.15146
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  0.000e+00  1.486e-06  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:  6.469e-01  1.515e-01  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.491e+00  2.826e-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: 9.52192174138e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00743118133815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/14126736/likelihoodResults_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.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) = 4004.46823509
delta logL = -0.000568754188862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4004.46766663
delta logL = -2.87243437924e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.2569       1.0000          .0000       10.000    
     3 'Normalizat'    1.4910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64704       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=   4004.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      248 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3042        .42118E-03** at limit **
   2  Index         4.1276        1.6143        .24851E-04     .0000    
   3  Normalizat    1.4912        1.0507       -.21279E-05    .57605E-05
   4  Prefactor     .64693        .99610        .29088E-05    .98096E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.12764
  Normalizat = 1.49119
  Prefactor  = 0.646929
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4004.468     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8352        2.3407        .24851E-04   -.17537    
   3  Normalizat    1.4912        1.0507       -.21279E-05   -.78026    
   4  Prefactor     .64693        .99610        .29088E-05   -1.0564    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.37627e-13
Minuit parameter uncertainties:
  1  6.70331e-07
  2  1.64475
  3  1.06669
  4  1.02555
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) = 4004.46766634
delta logL = 0.0

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  0.000e+00  6.703e-07  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  4.128e+00  1.645e+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:  6.469e-01  1.026e+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.491e+00  1.067e+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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/14126736/cmap_HighResolution_779760001_780019201_4FGL_J2126.3-4605_daily_bin2085.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.43e-03', job_status='DONE', photon_flux_upper_limit='9.52e-08', time_completed='2025-10-21 02:19:17.164018', job_id='14126736', GAL2='0.65', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1761038357.16', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='2085' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 21 02:19:17 PDT 2025

