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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1780
RA = 322.296, Dec = -2.6829
tmin = 700704001, tmax = 700963201
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='77878', job_status='RUN', time_executed='2023-03-20 01:45:24.557658', time_epoch_executed='1679301924.56' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77878

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77878/ft1_4FGL_J2129.1-0240_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77878/ft1_4FGL_J2129.1-0240_daily_bin1780.fits outfile=/scratch/kocevski/77878/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1780.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.13
user 3.90
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.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/77878/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.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.34
sys 0.16

Number of photons that the gtmktime cut: 509

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/77878/ltcube_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.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/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits
.....................!
real 12.85
user 12.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/77878/ltcube_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.fits outfile=/scratch/kocevski/77878/expmap_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.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/77878/ltcube_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.fits
.....................!
real 191.26
user 185.39
sys 5.51

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/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits scfile=/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits outfile=/scratch/kocevski/77878/cmap_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits scfile=/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits outfile=/scratch/kocevski/77878/cmap_HighResolution_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77878/Model_4FGL_J2129.1-0240_daily_bin1780.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/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits.....................!
real 60.94
user 59.40
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits', '/scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits', expMap='/scratch/kocevski/77878/expmap_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.fits', expCube='/scratch/kocevski/77878/ltcube_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77878/Model_4FGL_J2129.1-0240_daily_bin1780.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/77878/ft1_filtered_4FGL_J2129.1-0240_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/77878/ft2_4FGL_J2129.1-0240_daily_bin1780.fits
Exposure map: /scratch/kocevski/77878/expmap_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.fits
Exposure cube: /scratch/kocevski/77878/ltcube_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77878/Model_4FGL_J2129.1-0240_daily_bin1780.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) = 5739.13169323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5916       1.0000          .0000       .10000E+07
     2 'Prefactor '    .49012E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .20883E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.1068       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2798       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.475       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.276       1.0000          .0000       .10000E+07
     8 'Prefactor '    39.266       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4228       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1844       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3875       1.0000          .0000       .10000E+07
    12 'norm      '    .29418E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.9715       1.0000          .0000       .10000E+07
    14 'norm      '    12.311       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22541E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .73148E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13914E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.8224       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18792E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .93487       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84580       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=   5739.118     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1609 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5821        4.3433        .53288E-06    .16783E-02
   2  Prefactor     .36549E-06    12.243       -.19725E-05** at limit **
   3  Prefactor     .16653E-09    18.384        .73015E-06** at limit **
   4  Prefactor     6.2384        4.0337        .10201E-05   -.45318E-01
   5  Prefactor     3.3679        2.9065        .74572E-06    .21261E-01
   6  Prefactor     11.399        6.2133        .79298E-06    .30296E-01
   7  Prefactor     10.598        7.8850       -.75810E-06    .91254E-01
   8  Prefactor     39.570        6.9379        .65733E-06   -.10803    
   9  Prefactor     2.4161        3.1458        .37492E-06    .46139E-03
  10  Prefactor     2.2048        2.7289        .14890E-06    .33325E-02
  11  Prefactor     .62948E-04    395.88       -.17757E-04** at limit **
  12  norm          .99920E-09    6.3854        .11156E-05** at limit **
  13  Prefactor     5.4382        13.501        .31672E-05   -.50153E-01
  14  norm          12.328        1.4884       -.16668E-06    .17654E-02
  15  Prefactor      .0000        3.5374        .63319E-07** at limit **
  16  Prefactor      .0000        3.0009       -.26809E-06** at limit **
  17  Prefactor     .22959E-06    20.071       -.48042E-05** at limit **
  18  Prefactor     9.8317        12.172       -.17380E-05   -.73046E-01
  19  Prefactor     .11868E-06    10.776        .13432E-05** at limit **
  20  Normalizat    .93592        .26736       -.30643E-04   -.97526E-04
  21  Prefactor     .84543        .13160        .74812E-05   -.14469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58212
  Prefactor  = 3.65485e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 6.23844
  Prefactor  = 3.36789
  Prefactor  = 11.399
  Prefactor  = 10.598
  Prefactor  = 39.5697
  Prefactor  = 2.41613
  Prefactor  = 2.20485
  Prefactor  = 6.29476e-05
  norm       = 9.99201e-10
  Prefactor  = 5.43824
  norm       = 12.3285
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.29594e-07
  Prefactor  = 9.83172
  Prefactor  = 1.18683e-07
  Normalizat = 0.935917
  Prefactor  = 0.845432
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.118     FROM HESSE     STATUS=OK           369 CALLS     1978 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5821        4.3740        .53296E-03   -1.5670    
   2  Prefactor     .36549E-06    12.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    18.059        .16979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2384        164.71        .40604E-03   -1.5658    
   5  Prefactor     3.3679        43.202        .55887E-03   -1.5671    
   6  Prefactor     11.399        18.762        .29549E-03   -1.5640    
   7  Prefactor     10.598        26.968        .31233E-03   -1.5643    
   8  Prefactor     39.570        47.221        .15960E-03   -1.5582    
   9  Prefactor     2.4161        3.1629        .65726E-03   -1.5677    
  10  Prefactor     2.2048        3.0811        .69618E-03   -1.5678    
  11  Prefactor     .62948E-04    53.015        .12281E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .99920E-09    6.3928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4382        97.098        .45080E-03   -1.5661    
  14  norm          12.328        18.640        .28524E-03   -1.5638    
  15  Prefactor      .0000        3.5362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.0038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .22959E-06    20.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.8317        14.485        .31949E-03   -1.5645    
  19  Prefactor     .11868E-06    10.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .93592        .23955        .72910E-01   -.95209    
  21  Prefactor     .84543        .10979        .44310E-01   -.98075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73664e-06
Minuit parameter uncertainties:
  1  4.37396
  2  0.00425083
  3  0.000104176
  4  64.1129
  5  24.125
  6  18.7623
  7  26.9685
  8  47.2213
  9  3.16288
  10  3.0811
  11  0.115537
  12  0.000161511
  13  45.9592
  14  18.6404
  15  9.95391e-06
  16  6.24451e-06
  17  0.00429241
  18  14.4853
  19  0.00227293
  20  0.239828
  21  0.109818
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  3.957e+01  4.722e+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:  8.454e-01  1.098e-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:  9.359e-01  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 322.296 -2.683
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 5.03e-08 +/- 5.99e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.52e-05

TS (Fixed Index): 1.17
Ra Dec: 322.296 -2.683
Photon Flux Upper Limit: 1.71e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.34e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77878/likelihoodResults_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.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) = 5739.02841929
delta logL = 0.0892024668756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5739.0110813
delta logL = 0.106540459236

Fit tolerance = 1e-08

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

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

 FCN=   5739.011     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      289 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.181        434.63        .24008E-03    .57499E-02
   2  Index         3.4681        6.7225        .13890        .11611E-03
   3  Normalizat    .89537        .87683E-01    .74364E-01   -.37851E-04
   4  Prefactor     .86041        .38179E-01    .44496E-01   -.12093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1815
  Index      = 3.46813
  Normalizat = 0.895368
  Prefactor  = 0.860406
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.011     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      320 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.181        697.69        .48016E-04   -1.5625    
   2  Index         3.4681        6.2622        .77671E-02   -.31138    
   3  Normalizat    .89537        .31407        .32909E-03   -.96623    
   4  Prefactor     .86041        .14348        .16607E-03   -.97539    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.18453e-07
Minuit parameter uncertainties:
  1  219
  2  8.96666
  3  0.314715
  4  0.143539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77878': 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): 102
logL (Free Index) = 5739.01107587
delta logL = 0.106545893917

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.718e+01  2.190e+02  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  3.468e+00  8.967e+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:  8.604e-01  1.435e-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.954e-01  3.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 322.296 -2.683
Photon Index (Free Index): 3.47 +/- 8.97
Photon Flux (Free Index): 7.79e-08 +/- 1.58e-07
Energy Flux (Free Index): 1.31e-05 +/- 1.50e-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/77878/cmap_HighResolution_700704001_700963201_4FGL_J2129.1-0240_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', comment='SUCCESS', photon_flux='5.03e-08', energy_flux2='1.31e-05', photon_flux_error='5.99e-08', dlogl='1.07e-01', energy_flux='1.27e-05', photon_flux2='7.79e-08', job_status='DONE', time_completed='2023-03-20 01:54:30.991387', photon_index_error2='8.97', photon_index2='3.47', ts='1.17', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.71e-07', energy_flux_error2='1.50e-05', EG='0.94', time_epoch_completed='1679302470.99', return_code='0', job_id='77878', GAL2='0.86', EG2='0.90', return_code2='102', energy_flux_error='1.52e-05', photon_flux_error2='1.58e-07', ts2='1.45', photon_index='2.64' WHERE bin_id='1780' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:54:31 PDT 2023


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

Job <4FGL_J2129.1-0240_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:45:13 2023
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:45:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:45:14 2023
Terminated at Mon Mar 20 01:54:31 2023
Results reported at Mon Mar 20 01:54:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1780 322.296 -2.6829 700704001 700963201 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 :                                   548.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             367.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            558 sec.

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

