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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1709
RA = 323.836, Dec = -50.1015
tmin = 682300801, tmax = 682560001
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='234515', job_status='RUN', time_executed='2022-09-16 23:23:34.740417', time_epoch_executed='1663395814.74' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/234515

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/234515/ft1_4FGL_J2135.3-5006_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/234515/ft2_4FGL_J2135.3-5006_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/234515/ft1_4FGL_J2135.3-5006_daily_bin1709.fits outfile=/scratch/kocevski/234515/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1709.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=682300801.0 tmax=682560001.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.86
user 3.54
sys 0.22

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

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

Number of photons that the gtmktime cut: 633

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/234515/ft1_filtered_4FGL_J2135.3-5006_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/234515/ft2_4FGL_J2135.3-5006_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/234515/ltcube_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.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/234515/ft2_4FGL_J2135.3-5006_daily_bin1709.fits
.....................!
real 14.03
user 13.50
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/234515/ft1_filtered_4FGL_J2135.3-5006_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/234515/ft2_4FGL_J2135.3-5006_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/234515/ltcube_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.fits outfile=/scratch/kocevski/234515/expmap_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.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/234515/ltcube_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.fits
.....................!
real 191.86
user 186.22
sys 4.71

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/234515/ft1_filtered_4FGL_J2135.3-5006_daily_bin1709.fits scfile=/scratch/kocevski/234515/ft2_4FGL_J2135.3-5006_daily_bin1709.fits outfile=/scratch/kocevski/234515/cmap_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/234515/ft1_filtered_4FGL_J2135.3-5006_daily_bin1709.fits scfile=/scratch/kocevski/234515/ft2_4FGL_J2135.3-5006_daily_bin1709.fits outfile=/scratch/kocevski/234515/cmap_HighResolution_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.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/234515/ft1_filtered_4FGL_J2135.3-5006_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/234515/ft2_4FGL_J2135.3-5006_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234515/Model_4FGL_J2135.3-5006_daily_bin1709.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/234515/ft1_filtered_4FGL_J2135.3-5006_daily_bin1709.fits.....................!
real 51.87
user 50.51
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80461E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10561       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.1039       1.0000          .0000       .10000E+07
     4 'norm      '    3.8514       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.6522       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10684E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.290       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3023       1.0000          .0000       .10000E+07
     9 'norm      '    .68100E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    23.884       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12663E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.5468       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.663       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24738       1.0000          .0000       .10000E+07
    15 'norm      '    .16366E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .53165E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.8778       1.0000          .0000       .10000E+07
    18 'Prefactor '    .87031E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .85821       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2212       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=   6802.524     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1524 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84487E-05    17.363        .13078E-05** at limit **
   2  Prefactor     .10441        17.629        .10095E-05** at limit **
   3  Prefactor     6.1638        1.4004        .77230E-07    .22788E-02
   4  norm          3.8509        2.1259       -.10037E-06   -.45154E-03
   5  Prefactor     5.6536        7.2939       -.50500E-06   -.21687E-01
   6  Prefactor     .68834E-08    9.3374       -.46425E-06** at limit **
   7  Prefactor     17.903        11.965       -.34918E-07    .51029E-01
   8  Prefactor     1.3044        3.1409       -.77596E-08   -.10532E-02
   9  norm          .43315E-06    17.169        .11880E-06** at limit **
  10  Prefactor     23.860        11.364       -.41228E-06   -.68045E-01
  11  Prefactor     .14092E-05    10.012        .77003E-06** at limit **
  12  Prefactor     9.6084        9.7255       -.47069E-06    .13002E-01
  13  Prefactor     15.714        6.0292        .11365E-06   -.96453E-02
  14  Prefactor     .78192E-04    109.42       -.29302E-06** at limit **
  15  norm          .44409E-09    3.0429        .30849E-06** at limit **
  16  Prefactor     .11102E-09    2.5476        .50078E-07** at limit **
  17  Prefactor     2.8629        7.4181       -.11626E-05   -.57882E-02
  18  Prefactor     .11365E-05    9.5639        .76940E-06** at limit **
  19  Normalizat    .85814        .25501        .31474E-05   -.40356E-04
  20  Prefactor     1.2213        .16279       -.40891E-06   -.31276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.44869e-06
  Prefactor  = 0.104407
  Prefactor  = 6.16377
  norm       = 3.85091
  Prefactor  = 5.65359
  Prefactor  = 6.88338e-09
  Prefactor  = 17.9025
  Prefactor  = 1.30439
  norm       = 4.33154e-07
  Prefactor  = 23.8595
  Prefactor  = 1.40921e-06
  Prefactor  = 9.60843
  Prefactor  = 15.7142
  Prefactor  = 7.81919e-05
  norm       = 4.44089e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.86291
  Prefactor  = 1.13654e-06
  Normalizat = 0.858142
  Prefactor  = 1.22135
 **********
 **   18 **HESSE 
 **********

 FCN=   6802.524     FROM HESSE     STATUS=OK           341 CALLS     1865 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84487E-05    26.770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10441        1.1839        .65761E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.1638        19.206        .40614E-03   -1.5658    
   4  norm          3.8509        2.1291        .51398E-03   -1.5669    
   5  Prefactor     5.6536        7.3203        .42229E-03   -1.5660    
   6  Prefactor     .68834E-08    9.3718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.903        30.274        .23392E-03   -1.5623    
   8  Prefactor     1.3044        3.2024        .96751E-03   -1.5685    
   9  norm          .43315E-06    17.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.860        11.520        .20467E-03   -1.5610    
  11  Prefactor     .14092E-05    22.229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.6084        9.7387        .32409E-03   -1.5646    
  13  Prefactor     15.714        6.0253        .25280E-03   -1.5629    
  14  Prefactor     .78192E-04    278.79        .10987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .44409E-09    3.0272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    2.5391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8629        7.3957        .59889E-03   -1.5674    
  18  Prefactor     .11365E-05    22.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .85814        .22636        .76211E-01   -.97947    
  20  Prefactor     1.2213        .14144        .34147E-01   -.85677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06538e-06
Minuit parameter uncertainties:
  1  0.0300781
  2  0.703159
  3  19.2062
  4  2.12915
  5  7.32031
  6  0.000507796
  7  30.2738
  8  3.20243
  9  0.00543075
  10  11.5199
  11  0.0111938
  12  9.73874
  13  6.02527
  14  0.295306
  15  7.49406e-05
  16  3.58255e-05
  17  7.39571
  18  0.0101237
  19  0.226607
  20  0.141485
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.304e+00  3.202e+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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.221e+00  1.415e-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:  8.581e-01  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/234515/likelihoodResults_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.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) = 6802.52368996
delta logL = 0.000178384121682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6802.52365617
delta logL = 0.000212171053136

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6802.524     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      276 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2779        3.4897        .21928E-04   -.26276E-02
   2  Index         2.4604        1.4993        .10500E-01   -.55230E-04
   3  Normalizat    .85785        .23310        .33736E-03   -.15592E-03
   4  Prefactor     1.2215        .15839        .19500E-03   -.26032E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27788
  Index      = 2.46045
  Normalizat = 0.857849
  Prefactor  = 1.22148
 **********
 **   18 **HESSE 
 **********

 FCN=   6802.524     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2779        3.3717        .87710E-06   -1.5685    
   2  Index         2.4604        1.4507        .42001E-03   -.53276    
   3  Normalizat    .85785        .23325        .13494E-04   -.97957    
   4  Prefactor     1.2215        .15848        .39000E-04   -.85673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43234e-10
Minuit parameter uncertainties:
  1  3.37174
  2  1.47968
  3  0.233524
  4  0.15854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/234515': 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): 0
logL (Free Index) = 6802.52365572
delta logL = 0.000212617625948

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.278e+00  3.372e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.460e+00  1.480e+00  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.221e+00  1.585e-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:  8.578e-01  2.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/234515/cmap_HighResolution_682300801_682560001_4FGL_J2135.3-5006_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.95e-03', job_status='DONE', photon_flux_upper_limit='8.97e-08', time_completed='2022-09-16 23:33:05.203090', job_id='234515', GAL2='1.22', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1663396385.2', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.13e-04', ts2='0.22', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1709' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:33:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 234515: <4FGL_J2135.3-5006_daily_bin1709> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1709> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 23:20:21 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:21:50 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:21:50 2022
Terminated at Fri Sep 16 23:33:06 2022
Results reported at Fri Sep 16 23:33:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1709 323.836 -50.1015 682300801 682560001 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 :                                   571.50 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            765 sec.

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

