aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 126 seconds before starting...
Proceeding.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7493
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1748
RA = 321.595, Dec = -46.0978
tmin = 692409601, tmax = 692668801
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='896896', job_status='RUN', time_executed='2022-12-14 01:17:37.206482', time_epoch_executed='1671009457.21' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/896896

Creating custom pfile directory:
/scratch/kocevski/896896/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=692409601.0 && nMetStart<692668801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=692409601.0 && nMetStart<692668801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/896896/ft1_4FGL_J2126.3-4605_daily_bin1748.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=692409601.0 && nMetStart<692668801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/896896/ft1_4FGL_J2126.3-4605_daily_bin1748.fits outfile=/scratch/kocevski/896896/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1748.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=692409601.0 tmax=692668801.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.56
user 3.35
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/896896/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 527

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/896896/ltcube_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.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 /scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits
.....................!
real 11.99
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/896896/ltcube_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.fits outfile=/scratch/kocevski/896896/expmap_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.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 /scratch/kocevski/896896/ltcube_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.fits
.....................!
real 189.77
user 184.74
sys 4.67

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=/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits scfile=/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits outfile=/scratch/kocevski/896896/cmap_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits scfile=/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits outfile=/scratch/kocevski/896896/cmap_HighResolution_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/896896/Model_4FGL_J2126.3-4605_daily_bin1748.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...
/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits.....................!
real 47.02
user 45.69
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits', '/scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits', expMap='/scratch/kocevski/896896/expmap_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.fits', expCube='/scratch/kocevski/896896/ltcube_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/896896/Model_4FGL_J2126.3-4605_daily_bin1748.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): /scratch/kocevski/896896/ft1_filtered_4FGL_J2126.3-4605_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/896896/ft2_4FGL_J2126.3-4605_daily_bin1748.fits
Exposure map: /scratch/kocevski/896896/expmap_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.fits
Exposure cube: /scratch/kocevski/896896/ltcube_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/896896/Model_4FGL_J2126.3-4605_daily_bin1748.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) = 5771.87950882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53399E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .13200E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    87.073       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9177       1.0000          .0000       .10000E+07
     5 'Prefactor '    27.193       1.0000          .0000       .10000E+07
     6 'norm      '    .14784E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    21.106       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.976       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10670E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .64750E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .36414E-02   1.0000          .0000       .10000E+07
    12 'norm      '    17.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26851E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13764E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .22211E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.4060       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.2260       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14703E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .63151       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67168E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12054E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.5144       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84031       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=   5771.855     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     1890 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6203       -.58700E-07** at limit **
   2  norm          .33307E-09    31.984        .23152E-06** at limit **
   3  Prefactor     91.207        97.252       -.21567E-05   -.14837E-03
   4  Prefactor     4.9080        3.6469       -.15956E-06   -.43590E-03
   5  Prefactor     27.698        2.8571       -.18010E-07   -.73339E-02
   6  norm           .0000        1.6430       -.16408E-06** at limit **
   7  Prefactor     21.058        1.2826       -.23285E-07    .24050E-02
   8  Prefactor     13.876        11.539        .40702E-06   -.91768E-04
   9  Prefactor      .0000        12.156        .31315E-06** at limit **
  10  Prefactor     .11102E-09    23.364        .14704E-06** at limit **
  11  Prefactor      .0000        7.9685        .66497E-06** at limit **
  12  norm          17.058        6.4410        .86980E-07   -.86705E-04
  13  Prefactor      .0000        21.226       -.23548E-05** at limit **
  14  Prefactor      .0000        3.0824        .16784E-06** at limit **
  15  Prefactor     .22204E-09    235.83        .63701E-05** at limit **
  16  Prefactor     2.4301        7.9606        .55351E-06   -.15669E-03
  17  Prefactor     3.2310        3.5495       -.14522E-06   -.12481E-03
  18  Prefactor     .11102E-09    53.126       -.29472E-06** at limit **
  19  norm          .63773        9.9686        .18832E-05   -.24572E-03
  20  Prefactor      .0000        1.7185        .41238E-06** at limit **
  21  Prefactor      .0000        3.9044       -.27967E-06** at limit **
  22  Normalizat    1.5140        .27573       -.13262E-05   -.16020E-04
  23  Prefactor     .83959        .16336        .18824E-05   -.12999E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 3.33067e-10
  Prefactor  = 91.2071
  Prefactor  = 4.908
  Prefactor  = 27.6977
  norm       = 0
  Prefactor  = 21.0577
  Prefactor  = 13.8757
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.0581
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 2.43008
  Prefactor  = 3.23099
  Prefactor  = 1.11022e-10
  norm       = 0.637732
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.51404
  Prefactor  = 0.839593
 **********
 **   18 **HESSE 
 **********

 FCN=   5771.855     FROM HESSE     STATUS=OK           416 CALLS     2306 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .33307E-09    32.145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     91.207        97.045        .10717E-03   -1.5517    
   4  Prefactor     4.9080        3.7157        .45331E-03   -1.5664    
   5  Prefactor     27.698        28.029        .19180E-03   -1.5603    
   6  norm           .0000        1.6290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.058        21.770        .21773E-03   -1.5616    
   8  Prefactor     13.876        11.496        .26767E-03   -1.5633    
   9  Prefactor      .0000        12.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    23.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        7.8480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          17.058        6.4368        .24231E-03   -1.5625    
  13  Prefactor      .0000        21.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.0822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    35.302        .16895E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.4301        8.0999        .65979E-03   -1.5677    
  17  Prefactor     3.2310        3.5538        .56375E-03   -1.5672    
  18  Prefactor     .11102E-09    52.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .63773        9.9067        .66452E-03   -1.5692    
  20  Prefactor      .0000        1.7189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.9120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.5140        .23917        .63725E-01   -.77385    
  23  Prefactor     .83959        .13988        .44240E-01   -.98285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.45412e-07
Minuit parameter uncertainties:
  1  3.15109e-07
  2  0.000204189
  3  97.0463
  4  3.7157
  5  28.0289
  6  3.55223e-06
  7  21.7705
  8  11.4955
  9  1.92683e-05
  10  9.5703e-05
  11  7.50056e-08
  12  6.43682
  13  9.07271e-06
  14  9.55724e-07
  15  0.00017897
  16  8.09996
  17  3.55378
  18  0.000149705
  19  5.02706
  20  4.38294e-07
  21  3.4484e-06
  22  0.239344
  23  0.139944
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.388e+01  1.150e+01  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:  8.396e-01  1.399e-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.514e+00  2.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.47
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 7.51e-08 +/- 6.22e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.71e-05

TS (Fixed Index): 2.47
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 2.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.60e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/896896/likelihoodResults_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.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) = 5771.72271232
delta logL = 0.132608360766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5771.70079023
delta logL = 0.154530453159

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5771.701     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      250 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.168        11.771        .11475E-04    .23213E-02
   2  Index         2.9875        .83830        .78565E-02    .22558E-04
   3  Normalizat    1.4760        .27620        .28463E-03    .34310E-04
   4  Prefactor     .85311        .16392        .22079E-03    .22820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1684
  Index      = 2.98748
  Normalizat = 1.47605
  Prefactor  = 0.853107
 **********
 **   18 **HESSE 
 **********

 FCN=   5771.701     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.168        11.035        .45900E-06   -1.5638    
   2  Index         2.9875        .78509        .31426E-03   -.41425    
   3  Normalizat    1.4760        .27630        .11385E-04   -.78454    
   4  Prefactor     .85311        .16393        .44159E-04   -.97799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67412e-10
Minuit parameter uncertainties:
  1  11.0351
  2  0.788988
  3  0.276581
  4  0.16402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/896896': No such file or directory
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) = 5771.70078958
delta logL = 0.154531104073

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.217e+01  1.104e+01  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  2.987e+00  7.890e-01  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:  8.531e-01  1.640e-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.476e+00  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.82
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 2.99 +/- 0.79
Photon Flux (Free Index): 1.09e-07 +/- 8.99e-08
Energy Flux (Free Index): 2.20e-05 +/- 1.56e-05

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 /scratch/kocevski/896896/cmap_HighResolution_692409601_692668801_4FGL_J2126.3-4605_daily_bin1748.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/896896

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-02', comment='SUCCESS', photon_flux='7.51e-08', energy_flux2='2.20e-05', photon_flux_error='6.22e-08', dlogl='1.55e-01', energy_flux='2.06e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2022-12-14 01:26:42.624992', photon_index_error2='0.79', photon_index2='2.99', ts='2.47', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='2.06e-07', energy_flux_error2='1.56e-05', EG='1.51', time_epoch_completed='1671010002.63', return_code='0', job_id='896896', GAL2='0.85', EG2='1.48', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='8.99e-08', ts2='2.82', photon_index='2.55' WHERE bin_id='1748' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:26:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 896896: <4FGL_J2126.3-4605_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1748> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec 14 01:15:22 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:15:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:15:23 2022
Terminated at Wed Dec 14 01:26:43 2022
Results reported at Wed Dec 14 01:26:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1748 321.595 -46.0978 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2126.3-4605 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   547.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            681 sec.

The output (if any) is above this job summary.

