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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1748
RA = 323.836, Dec = -50.1015
tmin = 692409601, tmax = 692668801
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='896912', job_status='RUN', time_executed='2022-12-14 01:15:52.054341', time_epoch_executed='1671009352.05' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/896912

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/896912/ft1_4FGL_J2135.3-5006_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/896912/ft1_4FGL_J2135.3-5006_daily_bin1748.fits outfile=/scratch/kocevski/896912/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1748.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.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/896912/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/896912/ft1_filtered_4FGL_J2135.3-5006_daily_bin1748.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 555

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/896912/ft1_filtered_4FGL_J2135.3-5006_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/896912/ltcube_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.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/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.fits
.....................!
real 12.14
user 11.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/896912/ft1_filtered_4FGL_J2135.3-5006_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/896912/ltcube_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.fits outfile=/scratch/kocevski/896912/expmap_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.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/896912/ltcube_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.fits
.....................!
real 190.98
user 184.96
sys 5.66

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/896912/ft1_filtered_4FGL_J2135.3-5006_daily_bin1748.fits scfile=/scratch/kocevski/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.fits outfile=/scratch/kocevski/896912/cmap_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.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.57
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/896912/ft1_filtered_4FGL_J2135.3-5006_daily_bin1748.fits scfile=/scratch/kocevski/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.fits outfile=/scratch/kocevski/896912/cmap_HighResolution_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/896912/ft1_filtered_4FGL_J2135.3-5006_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896912/ft2_4FGL_J2135.3-5006_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/896912/Model_4FGL_J2135.3-5006_daily_bin1748.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/896912/ft1_filtered_4FGL_J2135.3-5006_daily_bin1748.fits.....................!
real 47.64
user 46.32
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.5134       1.0000          .0000       .10000E+07
     3 'Prefactor '    22.932       1.0000          .0000       .10000E+07
     4 'norm      '    .68200E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.981       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25829E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .62786E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .50360E-06   1.0000          .0000       .10000E+07
     9 'norm      '    16.604       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27389E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .48483       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.7568       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.3196       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23875E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .66874       1.0000          .0000       .10000E+07
    16 'Prefactor '    .59269E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .34053E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15688E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.6516       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80578       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=   5988.712     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1549 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.456        88.330        .24983E-07   -.23457E-03
   2  Prefactor     5.5192        3.7307        .17913E-07   -.27012E-03
   3  Prefactor     22.947        1.4976       -.54215E-08    .20526E-01
   4  norm           .0000        1.3933       -.30621E-07** at limit **
   5  Prefactor     11.988        10.930       -.12213E-06    .35527E-03
   6  Prefactor      .0000        11.665        .86789E-07** at limit **
   7  Prefactor      .0000        19.890        .12452E-06** at limit **
   8  Prefactor      .0000        5.8249        .47977E-07** at limit **
   9  norm          16.611        6.3087       -.17576E-07    .12428E-03
  10  Prefactor      .0000        2.8742        .33146E-07** at limit **
  11  Prefactor     .61062E-09    89.490       -.71992E-06** at limit **
  12  Prefactor     1.7835        8.5280       -.50960E-06   -.14213E-04
  13  Prefactor     4.3233        4.2555        .53199E-07    .17698E-03
  14  Prefactor     .55511E-10    53.898       -.24045E-06** at limit **
  15  norm          .67215        9.8823       -.11088E-06   -.38110E-04
  16  Prefactor      .0000        1.5660       -.36828E-07** at limit **
  17  Prefactor      .0000        2.6881       -.64926E-07** at limit **
  18  Prefactor      .0000        14.553       -.17966E-06** at limit **
  19  Normalizat    1.6521        .26959       -.52046E-05    .16090E-04
  20  Prefactor     .80496        .16938        .51916E-06    .14360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.4564
  Prefactor  = 5.51924
  Prefactor  = 22.9475
  norm       = 0
  Prefactor  = 11.9875
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 16.6112
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 1.78351
  Prefactor  = 4.32327
  Prefactor  = 5.55112e-11
  norm       = 0.672148
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.65208
  Prefactor  = 0.804962
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.712     FROM HESSE     STATUS=OK           329 CALLS     1878 TOTAL
                     EDM=   .93E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.456        87.945        .12858E-03   -1.5547    
   2  Prefactor     5.5192        3.7984        .42766E-03   -1.5661    
   3  Prefactor     22.947        26.776        .20888E-03   -1.5612    
   4  norm           .0000        1.3835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.988        10.894        .28916E-03   -1.5639    
   6  Prefactor      .0000        11.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        19.885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.7517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.611        6.3093        .24552E-03   -1.5626    
  10  Prefactor      .0000        2.8746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    88.876        .80250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7835        8.5161        .79041E-03   -1.5681    
  13  Prefactor     4.3233        4.2412        .48445E-03   -1.5666    
  14  Prefactor     .55511E-10    53.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .67215        9.8538        .63283E-03   -1.5692    
  16  Prefactor      .0000        1.5675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.6841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        14.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.6521        .23111        .61019E-01   -.73590    
  20  Prefactor     .80496        .14521        .43792E-01   -.99546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.2676e-07
Minuit parameter uncertainties:
  1  87.9463
  2  3.79837
  3  26.7764
  4  3.38774e-07
  5  10.8937
  6  5.30411e-06
  7  3.41525e-05
  8  1.36209e-06
  9  6.30931
  10  8.95884e-08
  11  0.000471327
  12  7.79452
  13  4.24125
  14  8.32409e-05
  15  5.14713
  16  3.39337e-07
  17  7.58161e-07
  18  1.14236e-05
  19  0.231265
  20  0.145283
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  1.362e-06  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:  8.050e-01  1.453e-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.652e+00  2.313e-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: 9.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/896912/likelihoodResults_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.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) = 5988.71299452
delta logL = -0.0014453912836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5988.71154916
delta logL = -2.51729943557e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.3084       1.0000          .0000       10.000    
     3 'Normalizat'    1.6521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80494       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=   5988.712     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      239 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    4.8803       -.85980E-06** at limit **
   2  Index         2.6592        1.9344        .36448E-04    .11744E-09
   3  Normalizat    1.6521        .25869        .43310E-05    .12354E-03
   4  Prefactor     .80496        .16720        .19602E-05    .76414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.6592
  Normalizat = 1.65209
  Prefactor  = 0.804961
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.712     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      276 TOTAL
                     EDM=   .36E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .26694E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6592        6.9984        .50000       -.48721    
   3  Normalizat    1.6521        .44071E-03    .61019E-01   -.73590    
   4  Prefactor     .80496        .28467E-03    .43781E-01   -.99546    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.63016e-13
Minuit parameter uncertainties:
  1  4.7593e-06
  2  3677.6
  3  0.000440707
  4  0.000284666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/896912': 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) = 5988.71154913
delta logL = -3.63797880709e-11

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.220e-10  4.759e-06  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.659e+00  3.678e+03  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:  8.050e-01  2.847e-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:  1.652e+00  4.407e-04  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/896912/cmap_HighResolution_692409601_692668801_4FGL_J2135.3-5006_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', job_status='DONE', photon_flux_upper_limit='9.07e-08', time_completed='2022-12-14 01:24:41.490718', job_id='896912', GAL2='0.80', fit_tolerance='1e-08', EG2='1.65', EG='1.65', time_epoch_completed='1671009881.49', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1748' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:24:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 896912: <4FGL_J2135.3-5006_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1748> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec 14 01:15:24 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:15:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:15:25 2022
Terminated at Wed Dec 14 01:24:42 2022
Results reported at Wed Dec 14 01:24:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1748 323.836 -50.1015 692409601 692668801 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 :                                   529.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            558 sec.

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

