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 187 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1695
RA = 322.296, Dec = -2.6829
tmin = 678672001, tmax = 678931201
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='731110', job_status='RUN', time_executed='2022-07-08 00:38:30.594169', time_epoch_executed='1657265910.59' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731110/ft1_4FGL_J2129.1-0240_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731110/ft1_4FGL_J2129.1-0240_daily_bin1695.fits outfile=/scratch/kocevski/731110/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1695.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=678672001.0 tmax=678931201.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.62
user 3.40
sys 0.21

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

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

Number of photons that the gtmktime cut: 532

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731110/ltcube_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.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/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits
.....................!
real 12.11
user 11.79
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731110/ltcube_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.fits outfile=/scratch/kocevski/731110/expmap_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.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/731110/ltcube_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.fits
.....................!
real 190.96
user 186.19
sys 4.42

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/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits scfile=/scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits outfile=/scratch/kocevski/731110/cmap_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.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/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits scfile=/scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits outfile=/scratch/kocevski/731110/cmap_HighResolution_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731110/Model_4FGL_J2129.1-0240_daily_bin1695.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/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits.....................!
real 59.61
user 58.34
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits', '/scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits', expMap='/scratch/kocevski/731110/expmap_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.fits', expCube='/scratch/kocevski/731110/ltcube_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731110/Model_4FGL_J2129.1-0240_daily_bin1695.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  1.000e-04  1.000e+04 ( 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/731110/ft1_filtered_4FGL_J2129.1-0240_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731110/ft2_4FGL_J2129.1-0240_daily_bin1695.fits
Exposure map: /scratch/kocevski/731110/expmap_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731110/ltcube_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731110/Model_4FGL_J2129.1-0240_daily_bin1695.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) = 5839.4499145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6117       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11214E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    55.145       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .30232E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10686E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24799E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15317E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.003       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24037E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8022       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .46839       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .29288E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18213E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12619E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16401E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10317E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13267E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .23261E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.7257       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1440       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90038       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.

 FCN=   5839.422     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2889 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6045        5.8659        .23558E-05    .30858E-04
   2  Prefactor     .10000E-03    31.302       -.40950E-06** at limit **
   3  Prefactor     55.167        47.138        .51088E-06    .14629E-03
   4  Prefactor     .10000E-03    19.935        .34660E-07** at limit **
   5  Prefactor     .10000E-03    11.055       -.81439E-07** at limit **
   6  Prefactor     .10000E-03    20.043        .34840E-07** at limit **
   7  Prefactor     .10000E-03    38.816        .57314E-06** at limit **
   8  Prefactor     .10000E-03    18.952        .84828E-07** at limit **
   9  Prefactor     26.006        24.015        .21565E-06   -.22058E-05
  10  Prefactor     .10000E-03    78.532       -.19100E-05** at limit **
  11  Prefactor     6.7673        6.9278        .16660E-06   -.29631E-04
  12  Prefactor     .47269        2.5603        .13982E-05   -.67215E-04
  13  Prefactor     .10000E-03    29.541       -.28223E-06** at limit **
  14  Prefactor     .10000E-03    35.820       -.12568E-06** at limit **
  15  norm          .10000E-03    9.3639        .72872E-07** at limit **
  16  Prefactor     .10000E-03    13.344       -.68426E-07** at limit **
  17  norm          .10000E-03    49.033        .32349E-06** at limit **
  18  Prefactor     .10000E-03    2.4014       -.61821E-08** at limit **
  19  Prefactor     .10000E-03    5.5660       -.17083E-07** at limit **
  20  Prefactor     .10001E-03    5.7022       -.67466E-06** at limit **
  21  Prefactor     .10000E-03    14.989        .13885E-06** at limit **
  22  Prefactor     .10000E-03    7.8513       -.43256E-07** at limit **
  23  Prefactor     7.7042        16.420        .38312E-06    .13978E-04
  24  Normalizat    1.1446        .23788       -.78634E-06   -.42893E-04
  25  Prefactor     .90019        .11825       -.27893E-06   -.72939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60451
  Prefactor  = 0.0001
  Prefactor  = 55.1666
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.0063
  Prefactor  = 0.000100004
  Prefactor  = 6.7673
  Prefactor  = 0.472686
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.70417
  Normalizat = 1.1446
  Prefactor  = 0.900193
 **********
 **   18 **HESSE 
 **********

 FCN=   5839.422     FROM HESSE     STATUS=OK           415 CALLS     3304 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6045        5.8734        .33320E-03   -1.5455    
   2  Prefactor     .10000E-03    32.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     55.167        48.212        .54016E-04   -1.4221    
   4  Prefactor     .10000E-03    20.021        .21387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    40.546        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.006        24.021        .78559E-04   -1.4688    
  10  Prefactor     .10000E-03    80.624        .20057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.7673        6.9362        .15384E-03   -1.5188    
  12  Prefactor     .47269        2.6503        .23140E-03   -1.5570    
  13  Prefactor     .10000E-03    29.730        .21400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.4784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    50.771        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.4052        .11564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.6239        .17599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    20.805        .34416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    15.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.8785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.7042        16.396        .14427E-03   -1.5153    
  24  Normalizat    1.1446        .28822        .31014E-03   -.88332    
  25  Prefactor     .90019        .14437        .17626E-03   -.96134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.3866e-10
Minuit parameter uncertainties:
  1  5.8755
  2  0.000133077
  3  48.2459
  4  1.4534e-05
  5  2.60752e-05
  6  1.01473e-05
  7  0.000231368
  8  4.72501e-05
  9  24.0302
  10  0.00112434
  11  6.93703
  12  2.23845
  13  5.06168e-05
  14  2.35776e-06
  15  2.47167e-05
  16  1.93138e-05
  17  0.000223836
  18  1.64563e-06
  19  7.62964e-06
  20  0.000988827
  21  6.4827e-05
  22  1.71041e-06
  23  16.4058
  24  0.28862
  25  0.144431
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.000e-04  1.124e-03  1.000e-04  1.000e+04 ( 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:  9.002e-01  1.444e-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.145e+00  2.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/731110/likelihoodResults_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.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) = 5839.42189654
delta logL = -5.89888159084e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5839.42183772
delta logL = -1.75350578502e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9449       1.0000          .0000       10.000    
     3 'Normalizat'    1.1446       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90019       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=   5839.422     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      284 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10216E-03    31.188        .18142E-01** at limit **
   2  Index         2.8733        7.4188        .50000        .35809E-05
   3  Normalizat    1.1446        .40291E-02    .31014E-03   -.55497E-04
   4  Prefactor     .90019        .20696E-02    .17626E-03   -.60759E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102162
  Index      = 2.8733
  Normalizat = 1.1446
  Prefactor  = 0.900194
 **********
 **   18 **HESSE 
 **********

 FCN=   5839.422     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10216E-03    1097.4        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8733        8.4349        .50000       -.43934    
   3  Normalizat    1.1446        .24288E-01    .12406E-04   -.88332    
   4  Prefactor     .90019        .12476E-01    .70503E-05   -.96134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.41001e-09
Minuit parameter uncertainties:
  1  0.099303
  2  930.632
  3  0.0242882
  4  0.0124762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731110': 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) = 5839.42183767
delta logL = -1.20944605442e-07

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.022e-04  9.930e-02  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.873e+00  9.306e+02  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:  9.002e-01  1.248e-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:  1.145e+00  2.429e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/731110/cmap_HighResolution_678672001_678931201_4FGL_J2129.1-0240_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2022-07-08 00:49:41.017350', job_id='731110', GAL2='0.90', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1657266581.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-1.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1695' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:49:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 731110: <4FGL_J2129.1-0240_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:13 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:14 2022
Terminated at Fri Jul  8 00:49:41 2022
Results reported at Fri Jul  8 00:49:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1695 322.296 -2.6829 678672001 678931201 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 :                                   672.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            868 sec.

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

