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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1740
RA = 323.836, Dec = -50.1015
tmin = 690336001, tmax = 690595201
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='835887', job_status='RUN', time_executed='2022-11-20 00:48:51.455034', time_epoch_executed='1668934131.46' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835887

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835887/ft1_4FGL_J2135.3-5006_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835887/ft2_4FGL_J2135.3-5006_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835887/ft1_4FGL_J2135.3-5006_daily_bin1740.fits outfile=/scratch/kocevski/835887/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1740.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=690336001.0 tmax=690595201.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 2.98
user 2.74
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/835887/ft2_4FGL_J2135.3-5006_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/835887/ltcube_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.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/835887/ft2_4FGL_J2135.3-5006_daily_bin1740.fits
.....................!
real 13.51
user 13.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/835887/ft2_4FGL_J2135.3-5006_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/835887/ltcube_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.fits outfile=/scratch/kocevski/835887/expmap_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.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/835887/ltcube_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.fits
.....................!
real 190.78
user 185.42
sys 4.94

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/835887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1740.fits scfile=/scratch/kocevski/835887/ft2_4FGL_J2135.3-5006_daily_bin1740.fits outfile=/scratch/kocevski/835887/cmap_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=323.836 yref=-50.1015 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1740.fits scfile=/scratch/kocevski/835887/ft2_4FGL_J2135.3-5006_daily_bin1740.fits outfile=/scratch/kocevski/835887/cmap_HighResolution_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.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/835887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/835887/ft2_4FGL_J2135.3-5006_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835887/Model_4FGL_J2135.3-5006_daily_bin1740.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/835887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1740.fits.....................!
real 77.13
user 75.64
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60791E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .67808       1.0000          .0000       .10000E+07
     3 'Prefactor '    16.073       1.0000          .0000       .10000E+07
     4 'norm      '    2.4599       1.0000          .0000       .10000E+07
     5 'Prefactor '    .50921E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42507E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12231E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4695       1.0000          .0000       .10000E+07
     9 'norm      '    5.0325       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30752E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    38.976       1.0000          .0000       .10000E+07
    12 'Prefactor '    .34091       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.9680       1.0000          .0000       .10000E+07
    14 'Prefactor '    .51944       1.0000          .0000       .10000E+07
    15 'norm      '    4.5674       1.0000          .0000       .10000E+07
    16 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.1779       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.6371       1.0000          .0000       .10000E+07
    19 'Normalizat'    .96439       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95326       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=   11507.88     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1519 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42727E-06    16.985       -.13016E-06** at limit **
   2  Prefactor     .67873        1.1171       -.92943E-08   -.50337E-03
   3  Prefactor     16.045        13.559        .23788E-06    .44226E-01
   4  norm          2.4612        1.3135        .16185E-07    .28384E-02
   5  Prefactor      .0000        3.3842        .37659E-07** at limit **
   6  Prefactor     .55511E-10    26.379        .70016E-07** at limit **
   7  Prefactor     .37843E-05    18.682        .23441E-06** at limit **
   8  Prefactor     1.4685        2.2020        .27736E-07    .73155E-03
   9  norm          5.0498        2.9792       -.99707E-08   -.74968E-03
  10  Prefactor     .55511E-10    17.361        .58596E-07** at limit **
  11  Prefactor     39.716        28.899        .35977E-06   -.97385E-01
  12  Prefactor     .33963        28.527       -.10650E-05   -.10654E-02
  13  Prefactor     5.9718        2.7949        .66524E-08   -.85302E-03
  14  Prefactor     .50013E-04    38.637       -.26544E-06** at limit **
  15  norm          4.6328        4.2249        .40116E-08   -.10355E-03
  16  Prefactor      .0000        .72239        .43341E-08** at limit **
  17  Prefactor     3.1600        3.1893        .26909E-07    .28173E-03
  18  Prefactor     6.6320        2.9640       -.30902E-07    .88285E-02
  19  Normalizat    .96388        .16455       -.17637E-05   -.42590E-04
  20  Prefactor     .95334        .10919        .91644E-06    .41783E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.27269e-07
  Prefactor  = 0.678735
  Prefactor  = 16.0452
  norm       = 2.46117
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 3.78425e-06
  Prefactor  = 1.46848
  norm       = 5.04983
  Prefactor  = 5.55112e-11
  Prefactor  = 39.7163
  Prefactor  = 0.339626
  Prefactor  = 5.97176
  Prefactor  = 5.00127e-05
  norm       = 4.63279
  Prefactor  = 0
  Prefactor  = 3.15997
  Prefactor  = 6.63198
  Normalizat = 0.963878
  Prefactor  = 0.953338
 **********
 **   18 **HESSE 
 **********

 FCN=   11507.88     FROM HESSE     STATUS=OK           351 CALLS     1870 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42727E-06    17.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .67873        1.1343        .62506E-03   -1.5691    
   3  Prefactor     16.045        13.916        .24956E-03   -1.5628    
   4  norm          2.4612        1.3188        .65181E-03   -1.5677    
   5  Prefactor      .0000        3.3761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    8.5544        .11233E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37843E-05    22.363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4685        2.2330        .88627E-03   -1.5684    
   9  norm          5.0498        3.0647        .44801E-03   -1.5663    
  10  Prefactor     .55511E-10    2.2427        .93708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.716        33.574        .16019E-03   -1.5582    
  12  Prefactor     .33963        4.6254        .68284E-02   -1.5696    
  13  Prefactor     5.9718        2.8000        .41080E-03   -1.5659    
  14  Prefactor     .50013E-04    86.598        .76778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.6328        4.2244        .47078E-03   -1.5665    
  16  Prefactor      .0000        .72301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.1600        3.2208        .56822E-03   -1.5672    
  18  Prefactor     6.6320        16.212        .38927E-03   -1.5656    
  19  Normalizat    .96388        .14513        .45719E-01   -.94251    
  20  Prefactor     .95334        .93682E-01    .45680E-01   -.94301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07435e-06
Minuit parameter uncertainties:
  1  0.00545424
  2  1.13431
  3  13.9158
  4  1.31879
  5  1.85812e-07
  6  3.4392e-05
  7  0.0183986
  8  2.23304
  9  3.06468
  10  1.72629e-05
  11  33.5737
  12  2.50671
  13  2.80003
  14  0.131622
  15  4.22442
  16  6.50225e-07
  17  3.22085
  18  16.212
  19  0.145192
  20  0.0936983
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.468e+00  2.233e+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:  9.533e-01  9.370e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.639e-01  1.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/835887/likelihoodResults_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.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) = 11507.7976018
delta logL = 0.077647607146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11507.7888861
delta logL = 0.0863632683322

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2203       1.0000          .0000       .10000E+07
     2 'Index     '    2.8996       1.0000          .0000       10.000    
     3 'Normalizat'    .95478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95664       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=   11507.79     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2167        33.682        .10207E-02    .15871E-01
   2  Index         2.9005        6.4444        .22347        .11607E-03
   3  Normalizat    .95482        .32092E-01    .45598E-01    .26673E-04
   4  Prefactor     .95662        .21829E-01    .45723E-01    .74278E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.21674
  Index      = 2.90053
  Normalizat = 0.954824
  Prefactor  = 0.956621
 **********
 **   18 **HESSE 
 **********

 FCN=   11507.79     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2167        2.2941        .14647E-04   -1.5686    
   2  Index         2.9005        1.3158        .13478E-01   -.43333    
   3  Normalizat    .95482        .15546        .27572E-03   -.94560    
   4  Prefactor     .95662        .10737        .19199E-03   -.94190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86594e-08
Minuit parameter uncertainties:
  1  2.29407
  2  1.33495
  3  0.155537
  4  0.107396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835887': 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) = 11507.7888845
delta logL = 0.0863649013518

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.217e+00  2.294e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.901e+00  1.335e+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:  9.566e-01  1.074e-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:  9.548e-01  1.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
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/835887/cmap_HighResolution_690336001_690595201_4FGL_J2135.3-5006_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2022-11-20 01:01:05.664283', job_id='835887', GAL2='0.96', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1668934865.66', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.64e-02', ts2='0.78', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1740' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 01:01:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 835887: <4FGL_J2135.3-5006_daily_bin1740> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:45:33 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:48:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:48:18 2022
Terminated at Sun Nov 20 01:01:06 2022
Results reported at Sun Nov 20 01:01:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1740 323.836 -50.1015 690336001 690595201 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 :                                   735.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            933 sec.

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

