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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1716
RA = 323.836, Dec = -50.1015
tmin = 684115201, tmax = 684374401
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='234525', job_status='RUN', time_executed='2022-09-16 23:22:37.381969', time_epoch_executed='1663395757.38' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/234525

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/234525/ft1_4FGL_J2135.3-5006_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/234525/ft1_4FGL_J2135.3-5006_daily_bin1716.fits outfile=/scratch/kocevski/234525/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1716.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=684115201.0 tmax=684374401.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.86
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.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/234525/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.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.53
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 665

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/234525/ltcube_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.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/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits
.....................!
real 14.82
user 14.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/234525/ltcube_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.fits outfile=/scratch/kocevski/234525/expmap_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.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/234525/ltcube_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.fits
.....................!
real 193.02
user 186.72
sys 5.94

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

Setting source of interest to:
4FGL J2135.3-5006 @ 323.836 -50.1015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits scfile=/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits outfile=/scratch/kocevski/234525/cmap_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.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=323.836 yref=-50.1015 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits scfile=/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits outfile=/scratch/kocevski/234525/cmap_HighResolution_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.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=323.836 yref=-50.1015 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234525/Model_4FGL_J2135.3-5006_daily_bin1716.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/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits.....................!
real 54.44
user 52.97
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits', '/scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits', expMap='/scratch/kocevski/234525/expmap_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.fits', expCube='/scratch/kocevski/234525/ltcube_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/234525/Model_4FGL_J2135.3-5006_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2135.3-5006'

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/234525/ft1_filtered_4FGL_J2135.3-5006_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/234525/ft2_4FGL_J2135.3-5006_daily_bin1716.fits
Exposure map: /scratch/kocevski/234525/expmap_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.fits
Exposure cube: /scratch/kocevski/234525/ltcube_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/234525/Model_4FGL_J2135.3-5006_daily_bin1716.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) = 7164.2183104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5929       1.0000          .0000       .10000E+07
     2 'Prefactor '    .86744       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.4360       1.0000          .0000       .10000E+07
     4 'norm      '    1.8785       1.0000          .0000       .10000E+07
     5 'Prefactor '    .72015E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    33.456       1.0000          .0000       .10000E+07
     7 'Prefactor '    .87738E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47132E-05   1.0000          .0000       .10000E+07
     9 'norm      '    18.650       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22581E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    21.695       1.0000          .0000       .10000E+07
    12 'Prefactor '    .27912       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15917E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    42.113       1.0000          .0000       .10000E+07
    15 'norm      '    .81445E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .65323       1.0000          .0000       .10000E+07
    17 'Prefactor '    .25553E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .28435E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .98084       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7164.189     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     1582 TOTAL
                     EDM=   .57E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    479.06        .25220E-06** at limit **
   2  Prefactor     .86523        2.3229        .82205E-08    .18357E-03
   3  Prefactor     6.4300        16.122        .77021E-08    .72270E-05
   4  norm          1.8804        1.3803       -.42556E-07    .27776E-04
   5  Prefactor      .0000        2.6176        .44987E-07** at limit **
   6  Prefactor     33.322        24.953       -.34073E-07    .11237E-03
   7  Prefactor      .0000        8.1644       -.64006E-08** at limit **
   8  Prefactor      .0000        1.6767        .12204E-06** at limit **
   9  norm          18.672        6.6596       -.10801E-06   -.18885E-03
  10  Prefactor     .55511E-10    12.787       -.39685E-06** at limit **
  11  Prefactor     22.882        31.260       -.10074E-05    .92195E-04
  12  Prefactor     .20819        32.091        .39644E-05** at limit **
  13  Prefactor      .0000        2.1412       -.15878E-07** at limit **
  14  Prefactor     44.388        79.065       -.47658E-06    .63926E-04
  15  norm           .0000        2.5551       -.30054E-06** at limit **
  16  Prefactor     .61781        2.2040       -.95083E-07   -.55679E-04
  17  Prefactor     .11102E-09    57.065        .13464E-05** at limit **
  18  Prefactor      .0000        15.812        .41813E-06** at limit **
  19  Normalizat    .97941        .19475        .81739E-05    .80991E-05
  20  Prefactor     .96428        .13357       -.26679E-05   -.48419E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0.865234
  Prefactor  = 6.42999
  norm       = 1.88037
  Prefactor  = 0
  Prefactor  = 33.3216
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.6724
  Prefactor  = 5.55112e-11
  Prefactor  = 22.8823
  Prefactor  = 0.208187
  Prefactor  = 0
  Prefactor  = 44.3876
  norm       = 0
  Prefactor  = 0.617805
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Normalizat = 0.979409
  Prefactor  = 0.964284
 **********
 **   18 **HESSE 
 **********

 FCN=   7164.189     FROM HESSE     STATUS=OK           341 CALLS     1923 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    469.40        .84023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .86523        2.3401        .48037E-03   -1.5689    
   3  Prefactor     6.4300        16.175        .39538E-03   -1.5657    
   4  norm          1.8804        1.3955        .75934E-03   -1.5681    
   5  Prefactor      .0000        2.6262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     33.322        24.955        .17291E-03   -1.5593    
   7  Prefactor      .0000        8.2295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.6767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          18.672        6.6767        .23164E-03   -1.5622    
  10  Prefactor     .55511E-10    12.739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.882        31.619        .21475E-03   -1.5612    
  12  Prefactor     .20819        5.4967        .55731E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     44.388        77.848        .15411E-03   -1.5575    
  15  norm           .0000        2.5441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .61781        2.2247        .64589E-03   -1.5692    
  17  Prefactor     .11102E-09    4.3116        .53640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        15.637        .16534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .97941        .17307        .45926E-01   -.93723    
  20  Prefactor     .96428        .11636        .45811E-01   -.93930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14136e-09
Minuit parameter uncertainties:
  1  0.000461564
  2  2.34008
  3  16.1753
  4  1.39546
  5  4.37216e-06
  6  24.9547
  7  8.42657e-06
  8  2.21773e-07
  9  6.67674
  10  3.84205e-05
  11  31.6195
  12  2.13948
  13  4.6334e-07
  14  77.8496
  15  9.32626e-06
  16  2.22472
  17  3.97166e-05
  18  3.02637e-06
  19  0.173171
  20  0.116388
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  2.218e-07  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.643e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.794e-01  1.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 5.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/234525/likelihoodResults_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.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) = 7164.19051087
delta logL = -0.0012944336404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7164.18921893
delta logL = -2.49624736171e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72231E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0060       1.0000          .0000       10.000    
     3 'Normalizat'    .97975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7164.189     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      276 TOTAL
                     EDM=   .56E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .90007E-03    .42118E-03** at limit **
   2  Index         3.6948        6.9373        .43990        .54272E-09
   3  Normalizat    .97941        .21245E-03    .45913E-01    .77626E-04
   4  Prefactor     .96428        .14795E-03    .45817E-01    .20066E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.69484
  Normalizat = 0.979408
  Prefactor  = 0.964284
 **********
 **   18 **HESSE 
 **********

 FCN=   7164.189     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      303 TOTAL
                     EDM=   .61E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .40043E-01    .51315E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6948        7.9372        .17596       -.26409    
   3  Normalizat    .97941        .14016E-02    .27498E-03   -.93724    
   4  Prefactor     .96428        .97621E-03    .19184E-03   -.93930    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.10557e-13
Minuit parameter uncertainties:
  1  2.41121e-06
  2  20399
  3  0.00140155
  4  0.000976206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/234525': 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) = 7164.18921643
delta logL = -8.73114913702e-11

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.551e-11  2.411e-06  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  3.695e+00  2.040e+04  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.643e-01  9.762e-04  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.794e-01  1.402e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 323.836 -50.102

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/234525/cmap_HighResolution_684115201_684374401_4FGL_J2135.3-5006_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', job_status='DONE', photon_flux_upper_limit='5.76e-08', time_completed='2022-09-16 23:32:32.871502', job_id='234525', GAL2='0.96', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1663396352.87', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-8.73e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1716' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:32:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 234525: <4FGL_J2135.3-5006_daily_bin1716> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1716> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 23:20:22 2022
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:22:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:22:02 2022
Terminated at Fri Sep 16 23:32:33 2022
Results reported at Fri Sep 16 23:32:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1716 323.836 -50.1015 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2135.3-5006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   598.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             344.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            731 sec.

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

