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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1736
RA = 321.595, Dec = -46.0978
tmin = 689299201, tmax = 689558401
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='962105', job_status='RUN', time_executed='2022-11-08 00:36:00.044292', time_epoch_executed='1667896560.04' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/962105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/962105/ft1_4FGL_J2126.3-4605_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/962105/ft1_4FGL_J2126.3-4605_daily_bin1736.fits outfile=/scratch/kocevski/962105/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1736.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=689299201.0 tmax=689558401.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.55
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.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/962105/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/962105/ft1_filtered_4FGL_J2126.3-4605_daily_bin1736.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 862

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/962105/ft1_filtered_4FGL_J2126.3-4605_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/962105/ltcube_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.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/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.fits
.....................!
real 14.64
user 14.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/962105/ft1_filtered_4FGL_J2126.3-4605_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/962105/ltcube_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.fits outfile=/scratch/kocevski/962105/expmap_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.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/962105/ltcube_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.fits
.....................!
real 191.33
user 185.80
sys 5.15

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/962105/ft1_filtered_4FGL_J2126.3-4605_daily_bin1736.fits scfile=/scratch/kocevski/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.fits outfile=/scratch/kocevski/962105/cmap_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/962105/ft1_filtered_4FGL_J2126.3-4605_daily_bin1736.fits scfile=/scratch/kocevski/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.fits outfile=/scratch/kocevski/962105/cmap_HighResolution_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/962105/ft1_filtered_4FGL_J2126.3-4605_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/962105/ft2_4FGL_J2126.3-4605_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/962105/Model_4FGL_J2126.3-4605_daily_bin1736.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/962105/ft1_filtered_4FGL_J2126.3-4605_daily_bin1736.fits.....................!
real 67.18
user 65.82
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8553       1.0000          .0000       .10000E+07
     2 'norm      '    15.862       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32741       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24303E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25791E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .18985E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .74140E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.6941       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20926E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2483       1.0000          .0000       .10000E+07
    11 'Prefactor '    .79029       1.0000          .0000       .10000E+07
    12 'norm      '    14.147       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98601E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9687       1.0000          .0000       .10000E+07
    15 'Prefactor '    35.547       1.0000          .0000       .10000E+07
    16 'Prefactor '    .29854E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7568       1.0000          .0000       .10000E+07
    18 'Prefactor '    .36841E-03   1.0000          .0000       .10000E+07
    19 'norm      '    2.2159       1.0000          .0000       .10000E+07
    20 'Prefactor '    .83317E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .42756E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0196       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0562       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=   9196.077     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1484 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8556        2.5476        .89594E-08   -.69739E-03
   2  norm          15.853        1.2248        .23855E-06   -.89287E-03
   3  Prefactor     .30538E-05    10.112        .26970E-06** at limit **
   4  Prefactor      .0000        1.0831        .56640E-07** at limit **
   5  Prefactor     .11102E-09    7.9222       -.44809E-05** at limit **
   6  norm           .0000        .55547        .57782E-07** at limit **
   7  Prefactor      .0000        5.7475       -.32915E-06** at limit **
   8  Prefactor     7.6898        5.7351        .10166E-07    .16774E-02
   9  Prefactor     .51070E-08    25.136        .22865E-05** at limit **
  10  Prefactor     3.2464        2.4237        .16691E-05    .39218E-02
  11  Prefactor     .78640        2.5975       -.12801E-07    .13029E-02
  12  norm          14.154        5.1038       -.32690E-07    .26430E-02
  13  Prefactor     .66613E-09    8.6827        .64437E-05** at limit **
  14  Prefactor     2.9448        7.1302        .30834E-06   -.57414E-03
  15  Prefactor     36.340        8.1448        .53011E-06   -.40639E-01
  16  Prefactor     .12768E-08    12.960       -.89395E-06** at limit **
  17  Prefactor     5.7756        3.8005        .28064E-06   -.14528E-01
  18  Prefactor     .30587E-07    33.929       -.16519E-05** at limit **
  19  norm          2.2127        3.1418       -.52868E-07   -.16493E-02
  20  Prefactor      .0000        1.3762       -.21336E-06** at limit **
  21  Prefactor     .55511E-10    4.2620       -.58293E-07** at limit **
  22  Normalizat    1.0185        .19215       -.50222E-05   -.11701E-03
  23  Prefactor     1.0567        .12330        .15204E-05   -.33543E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85563
  norm       = 15.8534
  Prefactor  = 3.05383e-06
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.6898
  Prefactor  = 5.10703e-09
  Prefactor  = 3.24636
  Prefactor  = 0.786403
  norm       = 14.1544
  Prefactor  = 6.66134e-10
  Prefactor  = 2.94478
  Prefactor  = 36.3397
  Prefactor  = 1.27676e-09
  Prefactor  = 5.7756
  Prefactor  = 3.05866e-08
  norm       = 2.21269
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 1.01854
  Prefactor  = 1.05669
 **********
 **   18 **HESSE 
 **********

 FCN=   9196.077     FROM HESSE     STATUS=OK           414 CALLS     1898 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8556        2.5534        .60140E-03   -1.5674    
   2  norm          15.853        13.960        .25121E-03   -1.5628    
   3  Prefactor     .30538E-05    199.48        .98431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    7.9864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .55465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.7553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6898        5.7327        .36128E-03   -1.5653    
   9  Prefactor     .51070E-08    25.270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2464        13.363        .56171E-03   -1.5672    
  11  Prefactor     .78640        2.5953        .53661E-03   -1.5690    
  12  norm          14.154        5.1056        .26604E-03   -1.5633    
  13  Prefactor     .66613E-09    8.8128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9448        7.1783        .58905E-03   -1.5674    
  15  Prefactor     36.340        29.901        .16775E-03   -1.5587    
  16  Prefactor     .12768E-08    12.898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.7756        3.8043        .41838E-03   -1.5660    
  18  Prefactor     .30587E-07    38.332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2127        3.1608        .69062E-03   -1.5678    
  20  Prefactor      .0000        1.3762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    4.2616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0185        .16845        .66763E-01   -.92412    
  23  Prefactor     1.0567        .10667        .39558E-01   -.90863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22497e-07
Minuit parameter uncertainties:
  1  2.5534
  2  13.96
  3  0.0493646
  4  6.48572e-06
  5  6.06724e-05
  6  1.37105e-06
  7  1.40238e-05
  8  5.73267
  9  0.00071947
  10  13.1727
  11  2.59527
  12  5.10561
  13  0.00015226
  14  7.17828
  15  29.901
  16  0.000257745
  17  3.80429
  18  0.00216566
  19  3.16076
  20  2.46621e-06
  21  2.45759e-05
  22  0.168534
  23  0.106693
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  7.690e+00  5.733e+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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.057e+00  1.067e-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.019e+00  1.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.16
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 4.16e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 8.51e-06

TS (Fixed Index): 3.16
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/962105/likelihoodResults_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.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) = 9196.07125449
delta logL = 0.00563313916973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9196.06937202
delta logL = 0.00751560367826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3269       1.0000          .0000       .10000E+07
     2 'Index     '    2.6442       1.0000          .0000       10.000    
     3 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0579       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=   9196.069     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      238 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3271        6.5385        .14812E-04   -.21291E-02
   2  Index         2.6439        .76486        .10174E-01   -.53357E-04
   3  Normalizat    1.0156        .18902        .29570E-03    .10965E-03
   4  Prefactor     1.0579        .12343        .19063E-03    .16913E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.32711
  Index      = 2.64394
  Normalizat = 1.0156
  Prefactor  = 1.05793
 **********
 **   18 **HESSE 
 **********

 FCN=   9196.069     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3271        6.3046        .59249E-06   -1.5654    
   2  Index         2.6439        .73726        .40696E-03   -.49066    
   3  Normalizat    1.0156        .18908        .11828E-04   -.92510    
   4  Prefactor     1.0579        .12348        .38126E-04   -.90823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12745e-10
Minuit parameter uncertainties:
  1  6.30464
  2  0.740742
  3  0.189208
  4  0.12351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/962105': 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) = 9196.06937194
delta logL = 0.00751568800479

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  7.327e+00  6.305e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  2.644e+00  7.407e-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:  1.058e+00  1.235e-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.016e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 2.64 +/- 0.74
Photon Flux (Free Index): 4.38e-08 +/- 3.65e-08
Energy Flux (Free Index): 1.10e-05 +/- 8.59e-06

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 /scratch/kocevski/962105/cmap_HighResolution_689299201_689558401_4FGL_J2126.3-4605_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.60e-03', comment='SUCCESS', photon_flux='4.16e-08', energy_flux2='1.10e-05', photon_flux_error='3.10e-08', dlogl='7.52e-03', energy_flux='1.14e-05', photon_flux2='4.38e-08', job_status='DONE', time_completed='2022-11-08 00:46:55.494693', photon_index_error2='0.74', photon_index2='2.64', ts='3.16', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='8.59e-06', EG='1.02', time_epoch_completed='1667897215.49', return_code='0', job_id='962105', GAL2='1.06', EG2='1.02', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='3.65e-08', ts2='3.18', photon_index='2.55' WHERE bin_id='1736' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:46:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 962105: <4FGL_J2126.3-4605_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1736> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov  8 00:35:35 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:35:35 2022
Terminated at Tue Nov  8 00:46:56 2022
Results reported at Tue Nov  8 00:46:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1736 321.595 -46.0978 689299201 689558401 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 :                                   657.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            681 sec.

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

