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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1731
RA = 323.836, Dec = -50.1015
tmin = 688003201, tmax = 688262401
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='551068', job_status='RUN', time_executed='2022-10-24 00:43:00.877589', time_epoch_executed='1666597380.88' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551068

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551068/ft1_4FGL_J2135.3-5006_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551068/ft2_4FGL_J2135.3-5006_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551068/ft1_4FGL_J2135.3-5006_daily_bin1731.fits outfile=/scratch/kocevski/551068/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1731.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=688003201.0 tmax=688262401.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.54
user 3.32
sys 0.20

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

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

Number of photons that the gtmktime cut: 555

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551068/ft1_filtered_4FGL_J2135.3-5006_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551068/ft2_4FGL_J2135.3-5006_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551068/ltcube_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.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/551068/ft2_4FGL_J2135.3-5006_daily_bin1731.fits
.....................!
real 12.12
user 11.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551068/ft1_filtered_4FGL_J2135.3-5006_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551068/ft2_4FGL_J2135.3-5006_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551068/ltcube_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.fits outfile=/scratch/kocevski/551068/expmap_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.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/551068/ltcube_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.fits
.....................!
real 190.58
user 185.39
sys 4.73

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/551068/ft1_filtered_4FGL_J2135.3-5006_daily_bin1731.fits scfile=/scratch/kocevski/551068/ft2_4FGL_J2135.3-5006_daily_bin1731.fits outfile=/scratch/kocevski/551068/cmap_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551068/ft1_filtered_4FGL_J2135.3-5006_daily_bin1731.fits scfile=/scratch/kocevski/551068/ft2_4FGL_J2135.3-5006_daily_bin1731.fits outfile=/scratch/kocevski/551068/cmap_HighResolution_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551068/ft1_filtered_4FGL_J2135.3-5006_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551068/ft2_4FGL_J2135.3-5006_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551068/Model_4FGL_J2135.3-5006_daily_bin1731.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/551068/ft1_filtered_4FGL_J2135.3-5006_daily_bin1731.fits.....................!
real 49.89
user 47.53
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0150       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1223       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.5453       1.0000          .0000       .10000E+07
     4 'norm      '    3.5336       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14707E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    101.83       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.694       1.0000          .0000       .10000E+07
     8 'Prefactor '    .37692E-06   1.0000          .0000       .10000E+07
     9 'norm      '    6.9624       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84799E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.343       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.6245       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1649       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47406E-03   1.0000          .0000       .10000E+07
    15 'norm      '    5.7522       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14515E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13505E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .11637E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .75736       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2158       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=   6062.457     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1569 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50143E-05    42.499        .43121E-05** at limit **
   2  Prefactor     3.1209        3.1593        .97140E-07   -.13678E-03
   3  Prefactor     8.7959        19.113        .40119E-06    .32383E-01
   4  norm          3.5353        2.5968        .23257E-06    .12863E-02
   5  Prefactor     .70499E-08    6.3964        .70575E-06** at limit **
   6  Prefactor     103.89        43.866        .25368E-05   -.52098E-01
   7  Prefactor     15.764        16.538       -.76230E-06   -.88588E-01
   8  Prefactor      .0000        1.4022       -.76246E-06** at limit **
   9  norm          6.9070        5.4154       -.51621E-06   -.83330E-04
  10  Prefactor     .33307E-09    4.4820        .93422E-06** at limit **
  11  Prefactor     11.966        7.8605        .98350E-06    .17209E-01
  12  Prefactor     2.6105        8.5172       -.45941E-06   -.10016E-02
  13  Prefactor     3.1932        4.8328        .15795E-05    .17107E-02
  14  Prefactor     .74885E-07    43.556        .42886E-05** at limit **
  15  norm          5.7057        7.4898       -.90675E-06    .50155E-03
  16  Prefactor     .38858E-09    4.7858       -.10046E-06** at limit **
  17  Prefactor     .10419        24.933        .13348E-05** at limit **
  18  Prefactor     .12157E-07    21.555        .18536E-05** at limit **
  19  Normalizat    .75490        .25891       -.18844E-04    .64779E-05
  20  Prefactor     1.2166        .16782        .58921E-05    .19382E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.01427e-06
  Prefactor  = 3.12086
  Prefactor  = 8.79593
  norm       = 3.53531
  Prefactor  = 7.04992e-09
  Prefactor  = 103.891
  Prefactor  = 15.7644
  Prefactor  = 0
  norm       = 6.90702
  Prefactor  = 3.33067e-10
  Prefactor  = 11.9664
  Prefactor  = 2.61051
  Prefactor  = 3.19323
  Prefactor  = 7.48845e-08
  norm       = 5.7057
  Prefactor  = 3.88578e-10
  Prefactor  = 0.104186
  Prefactor  = 1.21569e-08
  Normalizat = 0.754903
  Prefactor  = 1.21659
 **********
 **   18 **HESSE 
 **********

 FCN=   6062.457     FROM HESSE     STATUS=OK           343 CALLS     1912 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50143E-05    425.67        .12971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1209        3.1693        .57353E-03   -1.5673    
   3  Prefactor     8.7959        20.125        .34268E-03   -1.5649    
   4  norm          3.5353        2.6035        .53749E-03   -1.5670    
   5  Prefactor     .70499E-08    6.3804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     103.89        46.168        .99105E-04   -1.5504    
   7  Prefactor     15.764        23.240        .24486E-03   -1.5629    
   8  Prefactor      .0000        1.4000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9070        5.4344        .37997E-03   -1.5655    
  10  Prefactor     .33307E-09    4.4717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.966        40.419        .29721E-03   -1.5639    
  12  Prefactor     2.6105        9.0439        .62925E-03   -1.5676    
  13  Prefactor     3.1932        4.8326        .56945E-03   -1.5672    
  14  Prefactor     .74885E-07    47.677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.7057        7.5080        .41855E-03   -1.5660    
  16  Prefactor     .38858E-09    4.7535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10419        3.8529        .55166E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12157E-07    21.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .75490        .23049        .77458E-01   -1.0176    
  20  Prefactor     1.2166        .14772        .34268E-01   -.85822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71934e-07
Minuit parameter uncertainties:
  1  0.092406
  2  3.16934
  3  20.1255
  4  2.6035
  5  0.000424169
  6  46.1679
  7  23.2396
  8  3.81899e-06
  9  5.43438
  10  7.59521e-05
  11  40.4203
  12  9.04397
  13  4.83257
  14  0.00377965
  15  7.50801
  16  8.81167e-05
  17  1.26715
  18  0.00102405
  19  0.230791
  20  0.147773
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  3.819e-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:  1.217e+00  1.478e-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:  7.549e-01  2.308e-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.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551068/likelihoodResults_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.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) = 6062.4574771
delta logL = -0.000269690005553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6062.45721053
delta logL = -3.11431904265e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88318E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .96083       1.0000          .0000       10.000    
     3 'Normalizat'    .75546       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2162       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6062.457     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      257 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1323        .42118E-03** at limit **
   2  Index         2.7191        1.9664       -.15250E-04     .0000    
   3  Normalizat    .75490        1.0946       -.11700E-04   -.34570E-04
   4  Prefactor     1.2166        1.0981        .24903E-05    .20810E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.71905
  Normalizat = 0.754902
  Prefactor  = 1.21659
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6062.457     FROM HESSE     STATUS=FAILED         9 CALLS      266 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .83721        2.1167       -.15250E-04   -.47371    
   3  Normalizat    .75490        1.0946       -.11700E-04   -1.0176    
   4  Prefactor     1.2166        1.0981        .24903E-05   -.85822    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.11213e-11
Minuit parameter uncertainties:
  1  2.3202e-06
  2  2.03675
  3  1.12911
  4  1.11989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551068': 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): 101
logL (Free Index) = 6062.45720741
delta logL = -8.18545231596e-12

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  2.320e-06  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.719e+00  2.037e+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.217e+00  1.120e+00  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:  7.549e-01  1.129e+00  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/551068/cmap_HighResolution_688003201_688262401_4FGL_J2135.3-5006_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='5.98e-08', time_completed='2022-10-24 00:51:59.495984', job_id='551068', GAL2='1.22', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1666597919.5', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='-8.19e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1731' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:51:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 551068: <4FGL_J2135.3-5006_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:17 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:18 2022
Terminated at Mon Oct 24 00:52:00 2022
Results reported at Mon Oct 24 00:52:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1731 323.836 -50.1015 688003201 688262401 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 :                                   537.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

