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 10 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_J2135.3-5006_daily_bin1780
RA = 323.836, Dec = -50.1015
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='77893', job_status='RUN', time_executed='2023-03-20 01:45:34.946768', time_epoch_executed='1679301934.95' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77893

Creating custom pfile directory:
/scratch/kocevski/77893/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/77893/ft1_4FGL_J2135.3-5006_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/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77893/ft1_4FGL_J2135.3-5006_daily_bin1780.fits outfile=/scratch/kocevski/77893/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1780.fits ra=323.836 dec=-50.1015 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.12
user 3.86
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_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/77893/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/77893/ft1_filtered_4FGL_J2135.3-5006_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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 809

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/77893/ltcube_700704001_700963201_4FGL_J2135.3-5006_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/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits
.....................!
real 12.81
user 12.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/77893/ltcube_700704001_700963201_4FGL_J2135.3-5006_daily_bin1780.fits outfile=/scratch/kocevski/77893/expmap_700704001_700963201_4FGL_J2135.3-5006_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/77893/ltcube_700704001_700963201_4FGL_J2135.3-5006_daily_bin1780.fits
.....................!
real 190.63
user 184.76
sys 5.46

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/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits scfile=/scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits outfile=/scratch/kocevski/77893/cmap_700704001_700963201_4FGL_J2135.3-5006_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=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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits scfile=/scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits outfile=/scratch/kocevski/77893/cmap_HighResolution_700704001_700963201_4FGL_J2135.3-5006_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=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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77893/Model_4FGL_J2135.3-5006_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/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits.....................!
real 64.05
user 62.54
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits', '/scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits', expMap='/scratch/kocevski/77893/expmap_700704001_700963201_4FGL_J2135.3-5006_daily_bin1780.fits', expCube='/scratch/kocevski/77893/ltcube_700704001_700963201_4FGL_J2135.3-5006_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77893/Model_4FGL_J2135.3-5006_daily_bin1780.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/77893/ft1_filtered_4FGL_J2135.3-5006_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/77893/ft2_4FGL_J2135.3-5006_daily_bin1780.fits
Exposure map: /scratch/kocevski/77893/expmap_700704001_700963201_4FGL_J2135.3-5006_daily_bin1780.fits
Exposure cube: /scratch/kocevski/77893/ltcube_700704001_700963201_4FGL_J2135.3-5006_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77893/Model_4FGL_J2135.3-5006_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) = 8788.13443838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5322       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11300E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10887E-01   1.0000          .0000       .10000E+07
     4 'norm      '    1.3574       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.9177       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.619       1.0000          .0000       .10000E+07
     7 'Prefactor '    .67238E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29548E-03   1.0000          .0000       .10000E+07
     9 'norm      '    2.3776       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14640E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    15.402       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16078       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43657E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    80.230       1.0000          .0000       .10000E+07
    15 'norm      '    3.1061       1.0000          .0000       .10000E+07
    16 'Prefactor '    .60750E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13161E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    13.522       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0360       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1962       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=   8788.134     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1631 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3310        124.83       -.12730E-05   -.36468E-02
   2  Prefactor      .0000        1.7766       -.57642E-07** at limit **
   3  Prefactor      .0000        6.6905       -.11849E-07** at limit **
   4  norm          1.3564        1.5467       -.12915E-08   -.15843E-04
   5  Prefactor     6.9078        7.5573        .49559E-07   -.12635E-02
   6  Prefactor     11.681        10.156       -.18559E-06    .45758E-01
   7  Prefactor      .0000        10.436        .19903E-06** at limit **
   8  Prefactor      .0000        2.1327        .90780E-07** at limit **
   9  norm          2.3724        3.0176        .14253E-06   -.32363E-03
  10  Prefactor      .0000        2.3372        .31980E-07** at limit **
  11  Prefactor     15.490        22.227       -.67635E-07   -.65137E-02
  12  Prefactor     .55511E-10    42.853       -.11626E-05** at limit **
  13  Prefactor      .0000        3.0350       -.61101E-07** at limit **
  14  Prefactor     81.591        94.214        .79995E-07   -.36676E-02
  15  norm          3.1098        3.9695       -.20114E-07   -.16594E-04
  16  Prefactor      .0000        48.596       -.58525E-06** at limit **
  17  Prefactor      .0000        2.7966        .10363E-07** at limit **
  18  Prefactor     13.608        23.531        .23410E-06    .15605E-01
  19  Normalizat    1.0368        .21794       -.17672E-05   -.37103E-05
  20  Prefactor     1.1961        .14432        .17404E-06   -.29586E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.331
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.35643
  Prefactor  = 6.90779
  Prefactor  = 11.6809
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.37239
  Prefactor  = 0
  Prefactor  = 15.4896
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 81.5911
  norm       = 3.10977
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 13.6079
  Normalizat = 1.0368
  Prefactor  = 1.19608
 **********
 **   18 **HESSE 
 **********

 FCN=   8788.134     FROM HESSE     STATUS=OK           347 CALLS     1978 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3310        126.10        .53761E-03   -1.5671    
   2  Prefactor      .0000        1.7196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        6.6869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3564        1.5680        .93758E-03   -1.5685    
   5  Prefactor     6.9078        7.6561        .38121E-03   -1.5655    
   6  Prefactor     11.681        31.763        .29364E-03   -1.5640    
   7  Prefactor      .0000        10.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.1268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3724        3.0892        .66412E-03   -1.5677    
  10  Prefactor      .0000        2.3388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.490        22.352        .25494E-03   -1.5629    
  12  Prefactor     .55511E-10    3.9995        .96187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.9947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     81.591        99.384        .11165E-03   -1.5527    
  15  norm          3.1098        3.9743        .57511E-03   -1.5673    
  16  Prefactor      .0000        1.7126        .88952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.7909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.608        24.336        .27213E-03   -1.5634    
  19  Normalizat    1.0368        .19281        .69915E-01   -.91808    
  20  Prefactor     1.1961        .12389        .34720E-01   -.86452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03387e-07
Minuit parameter uncertainties:
  1  40.9911
  2  1.46267e-08
  3  7.17493e-06
  4  1.56803
  5  7.65611
  6  31.763
  7  1.39727e-05
  8  4.95703e-07
  9  3.08924
  10  8.07913e-07
  11  22.3524
  12  2.52279e-05
  13  1.28984e-06
  14  99.3863
  15  3.97434
  16  4.71652e-06
  17  5.66762e-07
  18  24.336
  19  0.192938
  20  0.123916
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  4.957e-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:  1.196e+00  1.239e-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:  1.037e+00  1.929e-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: 6.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77893/likelihoodResults_700704001_700963201_4FGL_J2135.3-5006_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) = 8788.14189499
delta logL = -0.00801399282864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8788.13388311
delta logL = -2.10797406908e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31712E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.8874       1.0000          .0000       10.000    
     3 'Normalizat'    1.0367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1962       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=   8788.134     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      253 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    1.9817        .42118E-03** at limit **
   2  Index         1.2953        5.0950        .50000       -.11369E-08
   3  Normalizat    1.0368        .72798E-02    .69915E-01   -.39136E-03
   4  Prefactor     1.1961        .49776E-02    .34721E-01   -.27256E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 1.29535
  Normalizat = 1.0368
  Prefactor  = 1.19608
 **********
 **   18 **HESSE 
 **********

 FCN=   8788.134     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      284 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    8.7119        .81299E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2953        8.9821        .50000       -.83445    
   3  Normalizat    1.0368        .15370E-01    .30933E-03   -.91808    
   4  Prefactor     1.1961        .10525E-01    .19773E-03   -.86452    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24175e-09
Minuit parameter uncertainties:
  1  9.46313e-05
  2  73433.5
  3  0.0153697
  4  0.0105247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77893': 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) = 8788.133881
delta logL = -3.52883944288e-10

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.776e-10  9.463e-05  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  1.295e+00  7.343e+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:  1.196e+00  1.052e-02  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:  1.037e+00  1.537e-02  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/77893/cmap_HighResolution_700704001_700963201_4FGL_J2135.3-5006_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.68e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2023-03-20 01:56:25.805577', job_id='77893', GAL2='1.20', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1679302585.81', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='-3.53e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1780' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:56:25 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 77893: <4FGL_J2135.3-5006_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:45:15 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:45:16 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:16 2023
Terminated at Mon Mar 20 01:56:26 2023
Results reported at Mon Mar 20 01:56:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1780 323.836 -50.1015 700704001 700963201 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 :                                   652.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             341.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            671 sec.

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

