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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1695
RA = 353.869, Dec = -1.476
tmin = 678672001, tmax = 678931201
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='731352', job_status='RUN', time_executed='2022-07-08 00:38:07.418234', time_epoch_executed='1657265887.42' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731352

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731352/ft1_4FGL_J2335.4-0128_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731352/ft1_4FGL_J2335.4-0128_daily_bin1695.fits outfile=/scratch/kocevski/731352/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1695.fits ra=353.869 dec=-1.476 rad=12.0 tmin=678672001.0 tmax=678931201.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 10.08
user 3.42
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.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/731352/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.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.74
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 518

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731352/ltcube_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.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/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits
.....................!
real 12.63
user 11.95
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731352/ltcube_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.fits outfile=/scratch/kocevski/731352/expmap_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.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/731352/ltcube_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.fits
.....................!
real 193.24
user 187.60
sys 5.28

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 162 point sources and 0 extended sources

Setting source of interest to:
4FGL J2335.4-0128 @ 353.869 -1.476

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits scfile=/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits outfile=/scratch/kocevski/731352/cmap_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.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=353.869 yref=-1.476 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits scfile=/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits outfile=/scratch/kocevski/731352/cmap_HighResolution_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.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=353.869 yref=-1.476 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731352/Model_4FGL_J2335.4-0128_daily_bin1695.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/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits.....................!
real 58.19
user 56.84
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits', '/scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits', expMap='/scratch/kocevski/731352/expmap_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.fits', expCube='/scratch/kocevski/731352/ltcube_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731352/Model_4FGL_J2335.4-0128_daily_bin1695.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2335.4-0128'

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  4.347e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.505e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
453         beta:  3.100e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/731352/ft1_filtered_4FGL_J2335.4-0128_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731352/ft2_4FGL_J2335.4-0128_daily_bin1695.fits
Exposure map: /scratch/kocevski/731352/expmap_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731352/ltcube_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731352/Model_4FGL_J2335.4-0128_daily_bin1695.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) = 5747.30752271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.239       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .18924E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.717       1.0000         .10000E-03   10000.    
     7 'norm      '    8.1866       1.0000         .10000E-03   10000.    
     8 'norm      '    9.0018       1.0000         .10000E-03   10000.    
     9 'Prefactor '    89.713       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25679E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11320       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9170       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16627E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.329       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.3113       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .23989       1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.871       1.0000         .10000E-03   10000.    
    25 'Prefactor '    29.375       1.0000         .10000E-03   10000.    
    26 'Prefactor '    19.803       1.0000         .10000E-03   10000.    
    27 'Prefactor '    13.648       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .86349       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .92591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5747.300     FROM MIGRAD    STATUS=CONVERGED    724 CALLS     3766 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0946        .18819E-06** at limit **
   2  Prefactor     .10000E-03    14.951        .88430E-05** at limit **
   3  Prefactor     36.208        22.960       -.62740E-05   -.70388E-03
   4  Prefactor     .10000E-03    7.6932        .11933E-05** at limit **
   5  norm          .10000E-03    2.6644        .17918E-05** at limit **
   6  Prefactor     12.718        16.476       -.74937E-06   -.75295E-04
   7  norm          8.1855        4.9899       -.14199E-05   -.64126E-03
   8  norm          9.0024        9.1308       -.51358E-06    .54656E-04
   9  Prefactor     89.703        47.602       -.76851E-05    .54782E-04
  10  Prefactor     .10000E-03    13.190       -.94048E-06** at limit **
  11  Prefactor     .10000E-03    30.922       -.97853E-07** at limit **
  12  Prefactor     .10000E-03    6.0627        .19947E-06** at limit **
  13  norm          .11387        .45915       -.66260E-06   -.65535E-03
  14  norm          2.9183        4.9301       -.26238E-06   -.27161E-03
  15  Prefactor     .10001E-03    5.9375       -.44991E-06** at limit **
  16  Prefactor     .10000E-03    18.567       -.97081E-05** at limit **
  17  norm          .10000E-03    2.6310       -.45876E-06** at limit **
  18  Prefactor     .10000E-03    66.307        .99688E-05** at limit **
  19  Prefactor     .10000E-03    16.338        .28868E-05** at limit **
  20  Prefactor     28.337        23.795        .60504E-06    .56655E-04
  21  norm          .10000E-03    12.496       -.52308E-05** at limit **
  22  Prefactor     9.2621        43.717       -.96434E-04    .81936E-05
  23  Prefactor     .24294        2.3691        .27285E-06   -.45226E-04
  24  Prefactor     25.872        28.664       -.65698E-06    .95506E-05
  25  Prefactor     29.379        22.402       -.97811E-06   -.33634E-05
  26  Prefactor     19.803        17.577        .39073E-06   -.12143E-03
  27  Prefactor     13.650        8.5816       -.19667E-06   -.19126E-04
  28  Normalizat    .86335        .20683        .65636E-05   -.23188E-03
  29  Prefactor     .92592        .14222        .54278E-06    .11443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.2079
  Prefactor  = 0.0001
  norm       = 0.000100005
  Prefactor  = 12.7177
  norm       = 8.18547
  norm       = 9.00237
  Prefactor  = 89.7032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.113866
  norm       = 2.91828
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.3368
  norm       = 0.0001
  Prefactor  = 9.26214
  Prefactor  = 0.24294
  Prefactor  = 25.8723
  Prefactor  = 29.3793
  Prefactor  = 19.803
  Prefactor  = 13.6502
  Normalizat = 0.863354
  Prefactor  = 0.925921
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.300     FROM HESSE     STATUS=OK           559 CALLS     4325 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1159        .14979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.208        21.573        .66573E-04   -1.4504    
   4  Prefactor     .10000E-03    7.7516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.7557        .21966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.718        16.467        .11233E-03   -1.4995    
   7  norm          8.1855        4.9568        .12146E-03   -1.5136    
   8  norm          9.0024        9.1335        .13359E-03   -1.5108    
   9  Prefactor     89.703        47.514        .42423E-04   -1.3811    
  10  Prefactor     .10000E-03    94.328        .52440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.1029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11387        .69966        .97251E-03   -1.5641    
  14  norm          2.9183        4.8995        .20836E-03   -1.5366    
  15  Prefactor     .10001E-03    30.746        .35287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6379        .12007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    66.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.634        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.337        23.522        .75271E-04   -1.4643    
  21  norm          .10000E-03    12.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.2621        43.195        .13134E-03   -1.5099    
  23  Prefactor     .24294        21.480        .21285E-02   -1.5609    
  24  Prefactor     25.872        28.661        .78759E-04   -1.4690    
  25  Prefactor     29.379        22.400        .73922E-04   -1.4623    
  26  Prefactor     19.803        17.566        .90005E-04   -1.4818    
  27  Prefactor     13.650        8.5982        .10842E-03   -1.4969    
  28  Normalizat    .86335        .24033        .28946E-03   -.97760    
  29  Prefactor     .92592        .16638        .20827E-03   -.95241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02172e-08
Minuit parameter uncertainties:
  1  3.26622e-06
  2  5.13824e-07
  3  21.5781
  4  0.000115319
  5  0.000307204
  6  16.4726
  7  4.95707
  8  9.13487
  9  47.5344
  10  0.000286669
  11  9.59202e-05
  12  6.14215e-05
  13  0.564271
  14  4.90019
  15  0.000946366
  16  2.00269e-05
  17  6.61246e-06
  18  2.56113e-05
  19  6.56087e-05
  20  23.5296
  21  1.59113e-05
  22  40.0513
  23  4.56947
  24  28.6763
  25  22.4065
  26  17.5708
  27  8.59899
  28  0.240631
  29  0.166467
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  1.591e-05  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.505e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
453         beta:  3.100e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  9.259e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.634e-01  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.869 -1.476
Photon Flux Upper Limit: 5.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731352/likelihoodResults_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.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) = 5747.30000977
delta logL = -0.000380720082831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5747.29962908
delta logL = -3.14148564939e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5159       1.0000          .0000       5.0000    
     3 'Normalizat'    .86343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5747.300     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      197 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.043        .90712E-02** at limit **
   2  alpha         2.5272        3.5713        .41153       -.46121E-05
   3  Normalizat    .86336        .18740        .65436E-01    .23529E-04
   4  Prefactor     .92592        .14007        .45334E-01    .13467E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.52719
  Normalizat = 0.863359
  Prefactor  = 0.925918
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.300     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5272        3.5590        .50000        .10875E-01
   3  Normalizat    .86336        .21782        .28946E-03   -.97760    
   4  Prefactor     .92592        .16301        .20827E-03   -.95241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13675e-11
Minuit parameter uncertainties:
  1  3.28494e-06
  2  2.50335
  3  0.218043
  4  0.163095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731352': 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) = 5747.29962901
delta logL = 4.08999767387e-08

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  3.285e-06  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.527e+00  2.503e+00  0.000e+00  5.000e+00 ( 1.000e+00)
453         beta:  3.100e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  9.259e-01  1.631e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.634e-01  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.869 -1.476

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/731352/cmap_HighResolution_678672001_678931201_4FGL_J2335.4-0128_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2022-07-08 00:50:54.956931', job_id='731352', GAL2='0.93', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1657266654.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.09e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1695' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:50:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 731352: <4FGL_J2335.4-0128_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:30 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:31 2022
Terminated at Fri Jul  8 00:50:55 2022
Results reported at Fri Jul  8 00:50:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1695 353.869 -1.476 678672001 678931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2335.4-0128 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   760.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            925 sec.

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

