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 33 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1664
RA = 323.836, Dec = -50.1015
tmin = 670636801, tmax = 670896001
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='316688', job_status='RUN', time_executed='2022-04-06 00:36:25.318093', time_epoch_executed='1649230585.32' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316688/ft1_4FGL_J2135.3-5006_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316688/ft1_4FGL_J2135.3-5006_daily_bin1664.fits outfile=/scratch/kocevski/316688/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1664.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.50
user 5.23
sys 0.23

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

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

Number of photons that the gtmktime cut: 738

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316688/ltcube_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.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/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits
.....................!
real 11.72
user 11.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316688/ltcube_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.fits outfile=/scratch/kocevski/316688/expmap_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.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/316688/ltcube_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.fits
.....................!
real 189.72
user 185.07
sys 4.26

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/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits scfile=/scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits outfile=/scratch/kocevski/316688/cmap_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits scfile=/scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits outfile=/scratch/kocevski/316688/cmap_HighResolution_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316688/Model_4FGL_J2135.3-5006_daily_bin1664.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/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits.....................!
real 59.36
user 58.03
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits', '/scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits', expMap='/scratch/kocevski/316688/expmap_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.fits', expCube='/scratch/kocevski/316688/ltcube_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/316688/Model_4FGL_J2135.3-5006_daily_bin1664.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  1.000e-04  1.000e+04 ( 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/316688/ft1_filtered_4FGL_J2135.3-5006_daily_bin1664.fits
Spacecraft file(s): /scratch/kocevski/316688/ft2_4FGL_J2135.3-5006_daily_bin1664.fits
Exposure map: /scratch/kocevski/316688/expmap_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.fits
Exposure cube: /scratch/kocevski/316688/ltcube_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/316688/Model_4FGL_J2135.3-5006_daily_bin1664.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) = 7927.24784194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    107.33       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.063       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5373       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.3760       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1688       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6748       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.341       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7617       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3383       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3715       1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.360       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8281       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8151       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.4146       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.7754       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99212       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85972       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=   7927.242     FROM MIGRAD    STATUS=CONVERGED     78 CALLS     2285 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     107.33        1.0192       -.30142E-07    .11514E-02
   2  Prefactor     .10000E-03    2.9953       -.19574E-06** at limit **
   3  Prefactor     38.061        1.0165       -.38139E-07    .18620E-03
   4  norm          1.5373        1.7796        .58962E-07    .16378E-04
   5  Prefactor     .10001E-03    19.648       -.39420E-06** at limit **
   6  Prefactor     9.3754        1.0145       -.82393E-07    .27193E-03
   7  Prefactor     2.1686        2.1914        .14329E-05   -.11095E-03
   8  Prefactor     4.6785        1.2011        .32360E-06   -.63688E-03
   9  Prefactor     11.340        1.0053       -.43145E-07    .18722E-04
  10  Prefactor     6.7617        3.7233       -.23624E-05   -.29849E-02
  11  norm          1.3383        3.6071       -.11556E-05   -.22508E-03
  12  Prefactor     5.3713        1.0493        .22781E-06   -.41507E-03
  13  Prefactor     55.358        1.0578       -.67864E-07    .16088E-02
  14  Prefactor     2.8283        4.5495        .12635E-05    .22410E-02
  15  Prefactor     5.8152        3.6753        .20698E-05    .18384E-02
  16  Prefactor     .10060E-03    16.682        .47094E-05** at limit **
  17  norm          3.4146        1.1323       -.26965E-06    .16834E-03
  18  Prefactor     .10000E-03    1.3167        .20280E-06** at limit **
  19  Prefactor     .10000E-03    1.5590        .21296E-06** at limit **
  20  Prefactor     .10007E-03    51.621       -.19167E-05** at limit **
  21  Prefactor     2.7749        4.0254        .39600E-05   -.11306E-02
  22  Prefactor     .10045E-03    14.338       -.19533E-05** at limit **
  23  Normalizat    .99213        .19132       -.13595E-05   -.24925E-04
  24  Prefactor     .85971        .12586        .90517E-06    .37051E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 107.329
  Prefactor  = 0.0001
  Prefactor  = 38.0615
  norm       = 1.53727
  Prefactor  = 0.000100012
  Prefactor  = 9.37539
  Prefactor  = 2.1686
  Prefactor  = 4.6785
  Prefactor  = 11.3405
  Prefactor  = 6.76166
  norm       = 1.33828
  Prefactor  = 5.37129
  Prefactor  = 55.3583
  Prefactor  = 2.82829
  Prefactor  = 5.81522
  Prefactor  = 0.000100596
  norm       = 3.41465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 2.77494
  Prefactor  = 0.000100448
  Normalizat = 0.992129
  Prefactor  = 0.859706
 **********
 **   18 **HESSE 
 **********

 FCN=   7927.242     FROM HESSE     STATUS=OK           459 CALLS     2744 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     107.33        70.591        .97048E-03   -1.3632    
   2  Prefactor     .10000E-03    1.3670        .33616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.061        19.319        .16241E-02   -1.4473    
   4  norm          1.5373        1.8085        .85997E-02   -1.5460    
   5  Prefactor     .10001E-03    20.060        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.3754        76.092        .32720E-02   -1.5095    
   7  Prefactor     2.1686        6.2560        .69910E-02   -1.5413    
   8  Prefactor     4.6785        42.970        .46532E-02   -1.5275    
   9  Prefactor     11.340        19.153        .29741E-02   -1.5034    
  10  Prefactor     6.7617        3.9208        .38576E-02   -1.5188    
  11  norm          1.3383        4.6608        .94763E-02   -1.5477    
  12  Prefactor     5.3713        7.0355        .43349E-02   -1.5244    
  13  Prefactor     55.358        31.527        .13478E-02   -1.4219    
  14  Prefactor     2.8283        5.6377        .60458E-02   -1.5372    
  15  Prefactor     5.8152        3.7313        .41637E-02   -1.5226    
  16  Prefactor     .10060E-03    30.534        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.4146        4.1148        .54730E-02   -1.5338    
  18  Prefactor     .10000E-03    1.3032        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.5482        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10007E-03    51.395        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.7749        7.0122        .61069E-02   -1.5375    
  22  Prefactor     .10045E-03    25.906        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .99213        .17245        .46068E-01   -.93295    
  24  Prefactor     .85971        .11043        .44490E-01   -.97564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90747e-07
Minuit parameter uncertainties:
  1  70.6464
  2  6.16696e-07
  3  19.3219
  4  1.80853
  5  0.000978893
  6  53.5117
  7  6.25784
  8  28.3841
  9  19.1637
  10  3.92096
  11  4.66206
  12  7.03654
  13  31.5366
  14  5.63873
  15  3.73143
  16  0.00853443
  17  4.11511
  18  4.88169e-08
  19  2.28566e-06
  20  0.00390584
  21  7.01431
  22  0.00681607
  23  0.17255
  24  0.110459
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  6.762e+00  3.921e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.597e-01  1.105e-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.921e-01  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 5.90e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.08e-05

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) = 7927.23511706
delta logL = 0.00654990065868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7927.23203032
delta logL = 0.00963664887695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1178       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3611       1.0000          .0000       10.000    
     3 'Normalizat'    .99489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85835       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=   7927.232     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1150        89.738        .37589E-02    .29287E-03
   2  Index         2.3616        6.1808        .19132        .86558E-04
   3  Normalizat    .99512        .82878E-01    .46103E-01    .77564E-04
   4  Prefactor     .85823        .49545E-01    .44472E-01    .10678E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.11498
  Index      = 2.36162
  Normalizat = 0.995124
  Prefactor  = 0.858227
 **********
 **   18 **HESSE 
 **********

 FCN=   7927.232     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1150        4.8687        .13179E-03   -1.5174    
   2  Index         2.3616        .49790        .70120E-02   -.55586    
   3  Normalizat    .99512        .18508        .27141E-03   -.93194    
   4  Prefactor     .85823        .12578        .19751E-03   -.97616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24695e-11
Minuit parameter uncertainties:
  1  4.86895
  2  0.499051
  3  0.185197
  4  0.125823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316688': 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) = 7927.2320288
delta logL = 0.00963816206331

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  7.115e+00  4.869e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.362e+00  4.991e-01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.582e-01  1.258e-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.951e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.64
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.36 +/- 0.50
Photon Flux (Free Index): 5.69e-08 +/- 3.60e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.43e-05

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/316688/cmap_HighResolution_670636801_670896001_4FGL_J2135.3-5006_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.90e-08', energy_flux2='1.97e-05', photon_flux_error='3.42e-08', dlogl='9.64e-03', energy_flux='1.86e-05', photon_flux2='5.69e-08', job_status='DONE', time_completed='2022-04-06 00:47:09.432825', photon_index_error2='0.50', photon_index2='2.36', ts='5.63', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='0.99', time_epoch_completed='1649231229.43', return_code='0', job_id='316688', GAL2='0.86', EG2='1.00', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='3.60e-08', ts2='5.64', photon_index='2.43' WHERE bin_id='1664' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:47:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 316688: <4FGL_J2135.3-5006_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:41 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:44 2022
Terminated at Wed Apr  6 00:47:10 2022
Results reported at Wed Apr  6 00:47:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1664 323.836 -50.1015 670636801 670896001 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 :                                   646.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            689 sec.

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

