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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1746
RA = 323.836, Dec = -50.1015
tmin = 691891201, tmax = 692150401
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='740500', job_status='RUN', time_executed='2022-12-08 01:49:07.770704', time_epoch_executed='1670492947.77' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740500

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740500/ft1_4FGL_J2135.3-5006_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740500/ft2_4FGL_J2135.3-5006_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740500/ft1_4FGL_J2135.3-5006_daily_bin1746.fits outfile=/scratch/kocevski/740500/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1746.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=691891201.0 tmax=692150401.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.76
user 4.50
sys 0.23

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

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

Number of photons that the gtmktime cut: 544

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740500/ft1_filtered_4FGL_J2135.3-5006_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/740500/ft2_4FGL_J2135.3-5006_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/740500/ltcube_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.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/740500/ft2_4FGL_J2135.3-5006_daily_bin1746.fits
.....................!
real 12.45
user 12.01
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740500/ft1_filtered_4FGL_J2135.3-5006_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/740500/ft2_4FGL_J2135.3-5006_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/740500/ltcube_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.fits outfile=/scratch/kocevski/740500/expmap_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.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/740500/ltcube_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.fits
.....................!
real 193.46
user 187.26
sys 5.48

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/740500/ft1_filtered_4FGL_J2135.3-5006_daily_bin1746.fits scfile=/scratch/kocevski/740500/ft2_4FGL_J2135.3-5006_daily_bin1746.fits outfile=/scratch/kocevski/740500/cmap_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.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.60
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740500/ft1_filtered_4FGL_J2135.3-5006_daily_bin1746.fits scfile=/scratch/kocevski/740500/ft2_4FGL_J2135.3-5006_daily_bin1746.fits outfile=/scratch/kocevski/740500/cmap_HighResolution_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/740500/ft1_filtered_4FGL_J2135.3-5006_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/740500/ft2_4FGL_J2135.3-5006_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/740500/Model_4FGL_J2135.3-5006_daily_bin1746.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/740500/ft1_filtered_4FGL_J2135.3-5006_daily_bin1746.fits.....................!
real 49.82
user 48.38
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.207       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.1852       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22251E-01   1.0000          .0000       .10000E+07
     4 'norm      '    5.7292       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26677E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    117.66       1.0000          .0000       .10000E+07
     7 'Prefactor '    .19783       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0877       1.0000          .0000       .10000E+07
     9 'norm      '    27.390       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.049       1.0000          .0000       .10000E+07
    11 'Prefactor '    .70293E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .33645E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.625       1.0000          .0000       .10000E+07
    14 'Prefactor '    .89840E-02   1.0000          .0000       .10000E+07
    15 'norm      '    2.1794       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66835E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .41349E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .47034       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2341       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0109       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=   5970.935     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1599 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.687        10.156       -.67702E-06   -.87261E-01
   2  Prefactor     2.1797        3.1770        .21943E-06    .14226E-03
   3  Prefactor     .38858E-09    21.072        .89501E-06** at limit **
   4  norm          5.7265        2.8634        .27454E-07   -.25281E-02
   5  Prefactor     .16676E-06    10.766        .26442E-06** at limit **
   6  Prefactor     117.51        2.5361       -.11341E-06   -.18477E-01
   7  Prefactor     .30368E-04    11.870        .18847E-05** at limit **
   8  Prefactor     1.0694        5.9155       -.32178E-06   -.19120E-03
   9  norm          27.366        7.8858       -.41925E-06   -.13708    
  10  Prefactor     11.077        3.8006       -.35093E-06   -.25915E-01
  11  Prefactor     .29787E-06    51.591        .17306E-05** at limit **
  12  Prefactor     .52180E-08    8.4955        .71393E-07** at limit **
  13  Prefactor     10.580        6.4908        .12252E-06   -.67236E-02
  14  Prefactor     .11835E-03    340.31       -.17829E-04** at limit **
  15  norm          2.1291        5.7209       -.29440E-06    .54671E-03
  16  Prefactor     .27756E-09    2.9376       -.55708E-06** at limit **
  17  Prefactor     .11102E-09    3.6069        .26319E-06** at limit **
  18  Prefactor     .84378E-01    55.461       -.66348E-05** at limit **
  19  Normalizat    1.2356        .28849        .17700E-04    .22946E-04
  20  Prefactor     1.0107        .18211       -.13336E-04    .97343E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.6873
  Prefactor  = 2.1797
  Prefactor  = 3.88578e-10
  norm       = 5.72654
  Prefactor  = 1.66755e-07
  Prefactor  = 117.51
  Prefactor  = 3.03677e-05
  Prefactor  = 1.0694
  norm       = 27.3658
  Prefactor  = 11.0772
  Prefactor  = 2.97873e-07
  Prefactor  = 5.21805e-09
  Prefactor  = 10.5798
  Prefactor  = 0.000118347
  norm       = 2.12905
  Prefactor  = 2.77556e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 0.0843775
  Normalizat = 1.23558
  Prefactor  = 1.01074
 **********
 **   18 **HESSE 
 **********

 FCN=   5970.935     FROM HESSE     STATUS=OK           339 CALLS     1938 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.687        76.946        .14874E-03   -1.5574    
   2  Prefactor     2.1797        3.2045        .69604E-03   -1.5678    
   3  Prefactor     .38858E-09    20.767        .16893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.7265        2.8726        .41940E-03   -1.5660    
   5  Prefactor     .16676E-06    11.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     117.51        61.719        .92199E-04   -1.5491    
   7  Prefactor     .30368E-04    83.487        .11814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0694        5.9913        .11488E-02   -1.5687    
   9  norm          27.366        9.7824        .19111E-03   -1.5603    
  10  Prefactor     11.077        10.202        .30115E-03   -1.5641    
  11  Prefactor     .29787E-06    51.884        .14809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .52180E-08    8.5638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.580        6.4633        .30713E-03   -1.5643    
  14  Prefactor     .11835E-03    348.73        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1291        5.7769        .69708E-03   -1.5679    
  16  Prefactor     .27756E-09    2.9373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    3.6122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .84378E-01    37.312        .11460E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2356        .25340        .70994E-01   -.85510    
  20  Prefactor     1.0107        .15576        .43198E-01   -.92372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90946e-06
Minuit parameter uncertainties:
  1  76.9475
  2  3.20448
  3  0.000173639
  4  2.8726
  5  0.00272966
  6  61.7198
  7  0.100705
  8  5.06244
  9  9.78236
  10  10.2019
  11  0.00786241
  12  0.000422873
  13  6.46332
  14  0.406328
  15  5.77694
  16  5.50872e-05
  17  3.63968e-05
  18  3.54869
  19  0.253653
  20  0.155834
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.069e+00  5.062e+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.011e+00  1.558e-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.236e+00  2.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/740500/likelihoodResults_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.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) = 5970.87868085
delta logL = 0.0564191443664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5970.71734505
delta logL = 0.217754942204

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69606E-03   1.0000          .0000       .10000E+07
     2 'Index     '    7.6512       1.0000          .0000       10.000    
     3 'Normalizat'    1.1896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0328       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=   5970.717     FROM MIGRAD    STATUS=CONVERGED    216 CALLS      459 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68794E-03    .94023E-01    .70284E-04** at limit **
   2  Index         7.6609        8.8251        .24106        .83996E-04
   3  Normalizat    1.1892        .50656        .72168E-01   -.13270E-03
   4  Prefactor     1.0330        .18267        .41043E-01   -.15577E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000687943
  Index      = 7.66089
  Normalizat = 1.18923
  Prefactor  = 1.03303
 **********
 **   18 **HESSE 
 **********

 FCN=   5970.717     FROM HESSE     STATUS=OK            33 CALLS      492 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68794E-03    .70859E-02    .31697E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.6609        3.0523        .10379E-01   -5.7220    
   3  Normalizat    1.1892        .28520        .31935E-03   -.86936    
   4  Prefactor     1.0330        .18288        .22069E-03   -.91636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02846e-09
Minuit parameter uncertainties:
  1  0.00441573
  2  3.40899
  3  0.285578
  4  0.182994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740500': 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) = 5970.7173356
delta logL = 0.217764399512

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  6.879e-04  4.416e-03  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  7.661e+00  3.409e+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.033e+00  1.830e-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.189e+00  2.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/740500/cmap_HighResolution_691891201_692150401_4FGL_J2135.3-5006_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.53e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2022-12-08 01:58:45.822681', job_id='740500', GAL2='1.03', fit_tolerance='1e-08', EG2='1.19', EG='1.24', time_epoch_completed='1670493525.82', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.18e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1746' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:58:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 740500: <4FGL_J2135.3-5006_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 01:45:20 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:45:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:45:22 2022
Terminated at Thu Dec  8 01:58:46 2022
Results reported at Thu Dec  8 01:58:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1746 323.836 -50.1015 691891201 692150401 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 :                                   579.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            806 sec.

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

