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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1737
RA = 322.296, Dec = -2.6829
tmin = 689558401, tmax = 689817601
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='163073', job_status='RUN', time_executed='2022-11-11 00:59:22.160115', time_epoch_executed='1668157162.16' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163073

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163073/ft1_4FGL_J2129.1-0240_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163073/ft1_4FGL_J2129.1-0240_daily_bin1737.fits outfile=/scratch/kocevski/163073/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1737.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=689558401.0 tmax=689817601.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.69
user 3.47
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.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/163073/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 825

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/163073/ltcube_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.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/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits
.....................!
real 14.73
user 14.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/163073/ltcube_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.fits outfile=/scratch/kocevski/163073/expmap_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.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/163073/ltcube_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.fits
.....................!
real 190.38
user 185.79
sys 4.07

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

Setting source of interest to:
4FGL J2129.1-0240 @ 322.296 -2.6829

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits scfile=/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits outfile=/scratch/kocevski/163073/cmap_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.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=322.296 yref=-2.6829 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.56
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits scfile=/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits outfile=/scratch/kocevski/163073/cmap_HighResolution_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.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=322.296 yref=-2.6829 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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163073/Model_4FGL_J2129.1-0240_daily_bin1737.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/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits.....................!
real 83.95
user 82.62
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits', '/scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits', expMap='/scratch/kocevski/163073/expmap_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.fits', expCube='/scratch/kocevski/163073/ltcube_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/163073/Model_4FGL_J2129.1-0240_daily_bin1737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2129.1-0240'

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  5.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/163073/ft1_filtered_4FGL_J2129.1-0240_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/163073/ft2_4FGL_J2129.1-0240_daily_bin1737.fits
Exposure map: /scratch/kocevski/163073/expmap_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.fits
Exposure cube: /scratch/kocevski/163073/ltcube_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/163073/Model_4FGL_J2129.1-0240_daily_bin1737.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) = 8897.18754546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57948E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    28.026       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32296E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10906       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.8909       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17467E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .59730E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9821       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4705       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14973E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .32501E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .16798E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    87.104       1.0000          .0000       .10000E+07
    14 'norm      '    .20102       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.2388       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.699       1.0000          .0000       .10000E+07
    17 'Prefactor '    .58396E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .96836E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.0397       1.0000          .0000       .10000E+07
    20 'Normalizat'    .87044       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0331       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=   8897.186     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1754 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30140E-04    1207.1        .11300E-04** at limit **
   2  Prefactor     28.067        19.056        .40570E-07   -.73319E-01
   3  Prefactor     .80769E-07    5.4955       -.34302E-07** at limit **
   4  Prefactor      .0000        25.921        .47128E-07** at limit **
   5  Prefactor     1.8585        8.1644       -.23163E-06    .57632E-01
   6  Prefactor     .10436E-07    5.0411        .16203E-07** at limit **
   7  Prefactor     .18308E-06    9.7591       -.10743E-06** at limit **
   8  Prefactor     6.0345        37.611       -.49661E-06    .10331E-01
   9  Prefactor     2.4573        4.3382       -.72324E-07   -.23582E-02
  10  Prefactor      .0000        4.1979        .33525E-07** at limit **
  11  Prefactor     .70055E-07    5.1514       -.36045E-07** at limit **
  12  norm           .0000        1.9821       -.20876E-07** at limit **
  13  Prefactor     87.194        5.2744       -.89168E-07    .37695E-01
  14  norm          .13439E-06    1.9510       -.11605E-07** at limit **
  15  Prefactor     9.2600        6.9157        .12147E-07    .68919E-02
  16  Prefactor     18.685        6.7060       -.45644E-07    .57300E-02
  17  Prefactor     .16265E-07    4.6871       -.62463E-07** at limit **
  18  Prefactor     .34417E-08    4.6308        .12058E-06** at limit **
  19  Prefactor     6.0383        8.0558       -.37778E-07    .35500E-02
  20  Normalizat    .87107        .22940        .84320E-06    .10790E-04
  21  Prefactor     1.0329        .11752        .32764E-06    .32919E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.01401e-05
  Prefactor  = 28.0674
  Prefactor  = 8.07687e-08
  Prefactor  = 0
  Prefactor  = 1.85847
  Prefactor  = 1.04361e-08
  Prefactor  = 1.83076e-07
  Prefactor  = 6.03449
  Prefactor  = 2.45734
  Prefactor  = 0
  Prefactor  = 7.00551e-08
  norm       = 0
  Prefactor  = 87.1936
  norm       = 1.34392e-07
  Prefactor  = 9.26005
  Prefactor  = 18.6852
  Prefactor  = 1.62648e-08
  Prefactor  = 3.44169e-09
  Prefactor  = 6.03835
  Normalizat = 0.871067
  Prefactor  = 1.03292
 **********
 **   18 **HESSE 
 **********

 FCN=   8897.186     FROM HESSE     STATUS=OK           369 CALLS     2123 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30140E-04    3.7651        .52711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.067        20.747        .18893E-03   -1.5602    
   3  Prefactor     .80769E-07    10.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        25.959        .13692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8585        26.539        .75639E-03   -1.5681    
   6  Prefactor     .10436E-07    5.0756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .18308E-06    10.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.0345        45.426        .41030E-03   -1.5659    
   9  Prefactor     2.4573        4.3743        .65029E-03   -1.5677    
  10  Prefactor      .0000        .81811        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .70055E-07    10.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.9849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     87.194        60.212        .10715E-03   -1.5521    
  14  norm          .13439E-06    36.188        .11758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.2600        7.3126        .32948E-03   -1.5647    
  16  Prefactor     18.685        6.7158        .23134E-03   -1.5622    
  17  Prefactor     .16265E-07    4.9499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .34417E-08    4.6704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.0383        8.0892        .40832E-03   -1.5659    
  20  Normalizat    .87107        .20207        .78869E-01   -.97484    
  21  Prefactor     1.0329        .99859E-01    .41020E-01   -.91640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35431e-07
Minuit parameter uncertainties:
  1  0.0213055
  2  20.7475
  3  0.00187815
  4  3.92695e-05
  5  14.0461
  6  0.0004605
  7  0.00273299
  8  33.1135
  9  4.37431
  10  8.41991e-06
  11  0.00175072
  12  8.36364e-06
  13  60.2129
  14  0.00441071
  15  7.31264
  16  6.71582
  17  0.000567929
  18  0.000254451
  19  8.08922
  20  0.202249
  21  0.0998768
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  6.034e+00  3.311e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.033e+00  9.988e-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:  8.711e-01  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 322.296 -2.683
Photon Flux Upper Limit: 9.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163073/likelihoodResults_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.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) = 8897.12814951
delta logL = 0.0576248797624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8897.12010571
delta logL = 0.0656686740185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6149       1.0000          .0000       .10000E+07
     2 'Index     '    3.5415       1.0000          .0000       10.000    
     3 'Normalizat'    .85513       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0380       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8897.120     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      277 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5997        1082.7        .10623E-03   -.75553E-03
   2  Index         3.5431        8.0949        .81549E-02   -.11652E-04
   3  Normalizat    .85518        .18985        .35214E-03    .14580E-03
   4  Prefactor     1.0380        .10199        .16950E-03    .36239E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.59966
  Index      = 3.54313
  Normalizat = 0.855182
  Prefactor  = 1.03802
 **********
 **   18 **HESSE 
 **********

 FCN=   8897.120     FROM HESSE     STATUS=OK            27 CALLS      304 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5997        30.967        .42493E-05   -1.5670    
   2  Index         3.5431        3.0488        .32620E-03   -.29566    
   3  Normalizat    .85518        .22930        .14086E-04   -.98053    
   4  Prefactor     1.0380        .11866        .33899E-04   -.91473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85779e-11
Minuit parameter uncertainties:
  1  21.1161
  2  3.30572
  3  0.229559
  4  0.118691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163073': 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) = 8897.12010536
delta logL = 0.0656690229425

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  3.600e+00  2.112e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  3.543e+00  3.306e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.038e+00  1.187e-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:  8.552e-01  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 322.296 -2.683

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/163073/cmap_HighResolution_689558401_689817601_4FGL_J2129.1-0240_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-03', job_status='DONE', photon_flux_upper_limit='9.78e-08', time_completed='2022-11-11 01:11:12.685671', job_id='163073', GAL2='1.04', fit_tolerance='1e-08', EG2='0.86', EG='0.87', time_epoch_completed='1668157872.69', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='6.57e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1737' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:11:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 163073: <4FGL_J2129.1-0240_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1737> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Nov 11 00:55:37 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 00:57:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 00:57:38 2022
Terminated at Fri Nov 11 01:11:13 2022
Results reported at Fri Nov 11 01:11:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1737 322.296 -2.6829 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2129.1-0240 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   712.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            936 sec.

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

