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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1670
RA = 353.869, Dec = -1.476
tmin = 672192001, tmax = 672451201
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='876036', job_status='RUN', time_executed='2022-04-24 00:52:48.360091', time_epoch_executed='1650786768.36' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/876036

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/876036/ft1_4FGL_J2335.4-0128_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/876036/ft1_4FGL_J2335.4-0128_daily_bin1670.fits outfile=/scratch/kocevski/876036/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1670.fits ra=353.869 dec=-1.476 rad=12.0 tmin=672192001.0 tmax=672451201.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.21
user 3.99
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.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/876036/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.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.46
user 0.31
sys 0.14

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/876036/ltcube_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.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/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits
.....................!
real 11.70
user 11.36
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/876036/ltcube_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.fits outfile=/scratch/kocevski/876036/expmap_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.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/876036/ltcube_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.fits
.....................!
real 156.71
user 152.35
sys 4.00

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/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits scfile=/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits outfile=/scratch/kocevski/876036/cmap_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.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.50
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits scfile=/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits outfile=/scratch/kocevski/876036/cmap_HighResolution_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.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.50
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/876036/Model_4FGL_J2335.4-0128_daily_bin1670.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/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits.....................!
real 51.30
user 50.10
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits', '/scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits', expMap='/scratch/kocevski/876036/expmap_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.fits', expCube='/scratch/kocevski/876036/ltcube_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/876036/Model_4FGL_J2335.4-0128_daily_bin1670.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/876036/ft1_filtered_4FGL_J2335.4-0128_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/876036/ft2_4FGL_J2335.4-0128_daily_bin1670.fits
Exposure map: /scratch/kocevski/876036/expmap_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.fits
Exposure cube: /scratch/kocevski/876036/ltcube_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/876036/Model_4FGL_J2335.4-0128_daily_bin1670.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) = 6392.12522973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10948E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    44.127       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.320       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4290       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1950       1.0000         .10000E-03   10000.    
     8 'norm      '    57.719       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.955       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .35022       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .62717       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .47599E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    44.509       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.364       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.6720       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.4713       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.9437       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0542       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .92093       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6392.112     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     3619 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10069E-03    13.879       -.10760E-04** at limit **
   2  Prefactor     44.129        1.1283        .53332E-06   -.55055E-03
   3  Prefactor     14.318        1.0114       -.19725E-06    .12676E-04
   4  Prefactor     .10000E-03    2.5571        .94996E-07** at limit **
   5  norm          .10000E-03    2.8981       -.13593E-07** at limit **
   6  Prefactor     8.4279        1.0076       -.12324E-06    .16807E-04
   7  norm          1.1964        2.9681        .49184E-06    .94396E-04
   8  norm          57.720        1.0294       -.18271E-06   -.93711E-04
   9  Prefactor     .10030E-03    16.669        .39071E-04** at limit **
  10  Prefactor     11.956        1.0084       -.22583E-06    .30725E-04
  11  Prefactor     .10029E-03    22.182       -.21113E-04** at limit **
  12  Prefactor     .10000E-03    3.6419        .12718E-06** at limit **
  13  norm          .35001        .62729       -.35486E-07   -.73755E-05
  14  norm          .10000E-03    1.6639       -.35594E-06** at limit **
  15  Prefactor     .10000E-03    10.448        .51648E-06** at limit **
  16  Prefactor     .10268E-03    47.096       -.28073E-04** at limit **
  17  norm          .10000E-03    3.2648       -.15389E-06** at limit **
  18  Prefactor     .60058        33.335       -.80410E-04    .15838E-02
  19  Prefactor     .10000E-03    61.710       -.81161E-04** at limit **
  20  Prefactor     .10071E-03    56.911        .71526E-04** at limit **
  21  norm          44.461        6.7848       -.58010E-05    .14723E-02
  22  Prefactor     13.370        1.4220        .16963E-05   -.21327E-03
  23  Prefactor     3.6692        3.9656        .30033E-05   -.98767E-04
  24  Prefactor     .10005E-03    16.988       -.21923E-04** at limit **
  25  Prefactor     2.4744        1.0673       -.11391E-05    .26510E-04
  26  Prefactor     .10000E-03    5.9806       -.32231E-06** at limit **
  27  Prefactor     7.9434        1.1322       -.14156E-05   -.72047E-03
  28  Normalizat    1.0541        .21659       -.73075E-06   -.13683E-03
  29  Prefactor     .92098        .15814        .56556E-06   -.11470E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100688
  Prefactor  = 44.129
  Prefactor  = 14.3184
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.42785
  norm       = 1.19638
  norm       = 57.7202
  Prefactor  = 0.000100302
  Prefactor  = 11.9556
  Prefactor  = 0.000100287
  Prefactor  = 0.0001
  norm       = 0.350011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000102678
  norm       = 0.0001
  Prefactor  = 0.600577
  Prefactor  = 0.000100002
  Prefactor  = 0.000100713
  norm       = 44.4611
  Prefactor  = 13.3698
  Prefactor  = 3.66916
  Prefactor  = 0.000100049
  Prefactor  = 2.47445
  Prefactor  = 0.0001
  Prefactor  = 7.94343
  Normalizat = 1.05405
  Prefactor  = 0.920975
 **********
 **   18 **HESSE 
 **********

 FCN=   6392.112     FROM HESSE     STATUS=OK           627 CALLS     4246 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10069E-03    24.612        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.129        56.375        .15088E-02   -1.4378    
   3  Prefactor     14.318        17.512        .26461E-02   -1.4951    
   4  Prefactor     .10000E-03    2.5524        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6149        .36087E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4279        13.002        .34520E-02   -1.5127    
   7  norm          1.1964        3.1007        .10401E-01   -1.5489    
   8  norm          57.720        16.943        .13201E-02   -1.4187    
   9  Prefactor     .10030E-03    19.779        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.956        19.654        .28965E-02   -1.5016    
  11  Prefactor     .10029E-03    30.100        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.6099        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .35001        .63579        .10643E-02   -1.5590    
  14  norm          .10000E-03    1.6560        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.303        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10268E-03    90.455        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.2547        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .60058        185.99        .36113       -1.5553    
  19  Prefactor     .10000E-03    12.091        .96347E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10071E-03    64.910        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          44.461        30.186        .15024E-02   -1.4373    
  22  Prefactor     13.370        28.560        .27392E-02   -1.4977    
  23  Prefactor     3.6692        4.3446        .52696E-02   -1.5325    
  24  Prefactor     .10005E-03    17.375        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.4744        38.839        .65026E-02   -1.5393    
  26  Prefactor     .10000E-03    5.9706        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.9434        8.7353        .35565E-02   -1.5144    
  28  Normalizat    1.0541        .19542        .62839E-01   -.91241    
  29  Prefactor     .92098        .13784        .45271E-01   -.95412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89535e-07
Minuit parameter uncertainties:
  1  0.00823242
  2  56.4434
  3  17.5185
  4  1.74741e-06
  5  4.62452e-06
  6  13.0061
  7  3.10111
  8  16.9441
  9  0.00489083
  10  19.6642
  11  0.00587753
  12  4.94692e-06
  13  0.635805
  14  3.38445e-06
  15  1.55201e-05
  16  0.0311738
  17  5.03235e-06
  18  21.2029
  19  0.000340102
  20  0.0136185
  21  30.1962
  22  28.589
  23  4.34494
  24  0.00185492
  25  19.6215
  26  1.4621e-05
  27  8.73671
  28  0.195558
  29  0.137897
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  4.446e+01  3.020e+01  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.210e-01  1.379e-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:  1.054e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.35
Ra Dec: 353.869 -1.476
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.55e-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) = 6392.10861462
delta logL = 0.00350792943118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6392.10442281
delta logL = 0.00769974077411

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    41.282       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5967       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92276       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6392.104     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      270 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          41.259        37.665        .62389E-04   -.40621E-03
   2  alpha         2.5979        .79535        .12130E-01   -.59670E-04
   3  Normalizat    1.0495        .21869        .27845E-03    .39195E-04
   4  Prefactor     .92313        .15944        .21599E-03   -.27214E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 41.2587
  alpha      = 2.59793
  Normalizat = 1.04949
  Prefactor  = 0.923126
 **********
 **   18 **HESSE 
 **********

 FCN=   6392.104     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          41.259        35.195        .12478E-04   -1.4422    
   2  alpha         2.5979        .74422        .48519E-03    .39183E-01
   3  Normalizat    1.0495        .21822        .11138E-04   -.91390    
   4  Prefactor     .92313        .15930        .43198E-04   -.95338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38858e-10
Minuit parameter uncertainties:
  1  35.2129
  2  0.75569
  3  0.218407
  4  0.159385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/876036': 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) = 6392.10441879
delta logL = 0.00770376401306

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  4.126e+01  3.521e+01  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.598e+00  7.557e-01  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.231e-01  1.594e-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:  1.049e+00  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.38
Ra Dec: 353.869 -1.476
Photon Index (Free Index): 2.60 +/- 0.76
Photon Flux (Free Index): 5.84e-08 +/- 4.37e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.29e-05

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/876036/cmap_HighResolution_672192001_672451201_4FGL_J2335.4-0128_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='2.24e-05', photon_flux_error='3.72e-08', dlogl='7.70e-03', energy_flux='2.28e-05', photon_flux2='5.84e-08', job_status='DONE', time_completed='2022-04-24 01:02:26.829652', photon_index_error2='0.76', photon_index2='2.60', ts='6.35', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.05', time_epoch_completed='1650787346.83', return_code='0', job_id='876036', GAL2='0.92', EG2='1.05', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='4.37e-08', ts2='6.38', photon_index='2.50' WHERE bin_id='1670' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 01:02:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 876036: <4FGL_J2335.4-0128_daily_bin1670> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1670> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Apr 24 00:45:55 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:50:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:50:17 2022
Terminated at Sun Apr 24 01:02:27 2022
Results reported at Sun Apr 24 01:02:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1670 353.869 -1.476 672192001 672451201 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 :                                   580.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            992 sec.

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

