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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1707
RA = 353.869, Dec = -1.476
tmin = 681782401, tmax = 682041601
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='551628', job_status='RUN', time_executed='2022-08-13 00:39:03.201328', time_epoch_executed='1660376343.2' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551628

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551628/ft1_4FGL_J2335.4-0128_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551628/ft2_4FGL_J2335.4-0128_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551628/ft1_4FGL_J2335.4-0128_daily_bin1707.fits outfile=/scratch/kocevski/551628/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1707.fits ra=353.869 dec=-1.476 rad=12.0 tmin=681782401.0 tmax=682041601.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.41
user 5.15
sys 0.24

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

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

Number of photons that the gtmktime cut: 458

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551628/ft1_filtered_4FGL_J2335.4-0128_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/551628/ft2_4FGL_J2335.4-0128_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/551628/ltcube_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.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/551628/ft2_4FGL_J2335.4-0128_daily_bin1707.fits
.....................!
real 11.63
user 11.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551628/ft1_filtered_4FGL_J2335.4-0128_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551628/ft2_4FGL_J2335.4-0128_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/551628/ltcube_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.fits outfile=/scratch/kocevski/551628/expmap_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.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/551628/ltcube_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.fits
.....................!
real 190.04
user 185.22
sys 4.51

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/551628/ft1_filtered_4FGL_J2335.4-0128_daily_bin1707.fits scfile=/scratch/kocevski/551628/ft2_4FGL_J2335.4-0128_daily_bin1707.fits outfile=/scratch/kocevski/551628/cmap_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551628/ft1_filtered_4FGL_J2335.4-0128_daily_bin1707.fits scfile=/scratch/kocevski/551628/ft2_4FGL_J2335.4-0128_daily_bin1707.fits outfile=/scratch/kocevski/551628/cmap_HighResolution_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551628/ft1_filtered_4FGL_J2335.4-0128_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551628/ft2_4FGL_J2335.4-0128_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551628/Model_4FGL_J2335.4-0128_daily_bin1707.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/551628/ft1_filtered_4FGL_J2335.4-0128_daily_bin1707.fits.....................!
real 52.58
user 51.29
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.099       1.0000         .10000E-03   10000.    
     7 'norm      '    16.022       1.0000         .10000E-03   10000.    
     8 'norm      '    79.752       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.648       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5481       1.0000         .10000E-03   10000.    
    13 'norm      '    .74283       1.0000         .10000E-03   10000.    
    14 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10793E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10694E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8876       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.434       1.0000         .10000E-03   10000.    
    21 'norm      '    24.421       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.448       1.0000         .10000E-03   10000.    
    26 'Prefactor '    50.856       1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.376       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .50382       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2653       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=   5299.864     FROM MIGRAD    STATUS=CONVERGED    729 CALLS     3741 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.839       -.18074E-06** at limit **
   2  Prefactor     .10000E-03    39.857       -.10630E-06** at limit **
   3  Prefactor     42.676        20.592        .89469E-08    .16651E-04
   4  Prefactor     .10000E-03    3.3845       -.54115E-07** at limit **
   5  norm          .10000E-03    1.1262       -.95628E-07** at limit **
   6  Prefactor     10.088        22.489        .12786E-07    .56665E-05
   7  norm          16.024        6.8998        .12445E-07    .28510E-04
   8  norm          79.755        26.329       -.10847E-06    .59851E-04
   9  Prefactor     .10000E-03    16.522       -.14713E-06** at limit **
  10  Prefactor     .10000E-03    27.860       -.50233E-06** at limit **
  11  Prefactor     47.854        111.66       -.75362E-05    .44370E-04
  12  Prefactor     8.5177        20.651        .37292E-05    .10118E-04
  13  norm          .74302        1.0074       -.39202E-06   -.60868E-03
  14  norm          .10000E-03    3.4377       -.58164E-06** at limit **
  15  Prefactor     .10000E-03    4.7529       -.68097E-07** at limit **
  16  Prefactor     .10000E-03    160.99       -.98230E-07** at limit **
  17  norm          .10000E-03    14.359       -.35330E-06** at limit **
  18  Prefactor     .10000E-03    207.93       -.52532E-06** at limit **
  19  Prefactor     2.8356        30.871        .66210E-05    .33281E-04
  20  Prefactor     13.434        31.925       -.15292E-06    .13743E-04
  21  norm          24.463        37.731       -.40946E-05   -.35411E-05
  22  Prefactor     .10000E-03    65.240       -.28570E-06** at limit **
  23  Prefactor     .10000E-03    2.5054       -.24901E-06** at limit **
  24  Prefactor     .10000E-03    23.346       -.28229E-06** at limit **
  25  Prefactor     10.437        24.571       -.25139E-06    .11210E-04
  26  Prefactor     50.856        25.327       -.13094E-06    .18907E-04
  27  Prefactor     10.374        10.226        .11772E-06    .29828E-05
  28  Normalizat    .50386        .28808       -.25290E-05    .34972E-04
  29  Prefactor     1.2653        .19248        .13323E-05   -.41700E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.6761
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.0885
  norm       = 16.0242
  norm       = 79.7549
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.8537
  Prefactor  = 8.51771
  norm       = 0.743016
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.83558
  Prefactor  = 13.4342
  norm       = 24.4628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4372
  Prefactor  = 50.856
  Prefactor  = 10.3738
  Normalizat = 0.503862
  Prefactor  = 1.26525
 **********
 **   18 **HESSE 
 **********

 FCN=   5299.864     FROM HESSE     STATUS=OK           549 CALLS     4290 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.392        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42.676        20.559        .61367E-04   -1.4400    
   4  Prefactor     .10000E-03    3.3896        .13067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.1332        .75351E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.088        22.484        .12609E-03   -1.5073    
   7  norm          16.024        6.8937        .10006E-03   -1.4907    
   8  norm          79.755        26.274        .44971E-04   -1.3919    
   9  Prefactor     .10000E-03    16.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     47.854        108.89        .58090E-04   -1.4323    
  12  Prefactor     8.5177        20.268        .13711E-03   -1.5124    
  13  norm          .74302        .92813        .82331E-03   -1.5536    
  14  norm          .10000E-03    3.4424        .13162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.7609        .15496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    163.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    14.736        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    207.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.8356        29.605        .23916E-03   -1.5371    
  20  Prefactor     13.434        31.756        .10928E-03   -1.4975    
  21  norm          24.463        36.754        .81060E-04   -1.4718    
  22  Prefactor     .10000E-03    65.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.5343        .11241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    23.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     10.437        24.508        .12396E-03   -1.5062    
  26  Prefactor     50.856        25.286        .56237E-04   -1.4280    
  27  Prefactor     10.374        10.200        .12439E-03   -1.5064    
  28  Normalizat    .50386        .29663        .42164E-03   -1.1224    
  29  Prefactor     1.2653        .20372        .20379E-03   -.84346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26434e-10
Minuit parameter uncertainties:
  1  7.76421e-06
  2  9.76079e-06
  3  20.5625
  4  1.95389e-06
  5  1.92238e-06
  6  22.5028
  7  6.89405
  8  26.2778
  9  4.25474e-06
  10  3.35576e-05
  11  109.347
  12  20.2844
  13  0.928143
  14  2.28206e-06
  15  1.74393e-06
  16  2.36964e-05
  17  2.96354e-05
  18  7.39998e-05
  19  18.3358
  20  31.796
  21  36.7881
  22  6.2466e-06
  23  1.08286e-06
  24  3.56489e-06
  25  24.5316
  26  25.291
  27  10.2015
  28  0.297569
  29  0.203851
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  2.446e+01  3.679e+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:  1.265e+00  2.039e-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:  5.039e-01  2.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 353.869 -1.476
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 3.02e-08 +/- 4.53e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 1.88e-05

TS (Fixed Index): 1.89
Ra Dec: 353.869 -1.476
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551628/likelihoodResults_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.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) = 5299.85947394
delta logL = 0.00462670620891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5299.85750813
delta logL = 0.00659251859724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.186       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4023       1.0000          .0000       5.0000    
     3 'Normalizat'    .50606       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2645       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=   5299.858     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      261 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.187        29.437        .78284E-04   -.14848E-03
   2  alpha         2.4022        .89492        .18055E-01   -.41023E-04
   3  Normalizat    .50636        .26619        .42067E-03    .46186E-04
   4  Prefactor     1.2643        .19826        .20385E-03    .14073E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 26.1871
  alpha      = 2.4022
  Normalizat = 0.506358
  Prefactor  = 1.26427
 **********
 **   18 **HESSE 
 **********

 FCN=   5299.858     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.187        28.652        .15657E-04   -1.4684    
   2  alpha         2.4022        .87181        .72219E-03   -.39130E-01
   3  Normalizat    .50636        .26615        .16827E-04   -1.1212    
   4  Prefactor     1.2643        .19829        .40771E-04   -.84376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27862e-10
Minuit parameter uncertainties:
  1  28.6668
  2  0.890551
  3  0.266823
  4  0.198405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551628': 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) = 5299.85750743
delta logL = 0.00659321846251

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  2.619e+01  2.867e+01  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.402e+00  8.906e-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:  1.264e+00  1.984e-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:  5.064e-01  2.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.91
Ra Dec: 353.869 -1.476
Photon Index (Free Index): 2.40 +/- 0.89
Photon Flux (Free Index): 2.79e-08 +/- 3.31e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.23e-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/551628/cmap_HighResolution_681782401_682041601_4FGL_J2335.4-0128_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', photon_flux='3.02e-08', energy_flux2='1.27e-05', photon_flux_error='4.53e-08', dlogl='6.59e-03', energy_flux='1.25e-05', photon_flux2='2.79e-08', job_status='DONE', time_completed='2022-08-13 00:50:41.746837', photon_index_error2='0.89', photon_index2='2.40', ts='1.89', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.23e-05', EG='0.50', time_epoch_completed='1660377041.75', return_code='0', job_id='551628', GAL2='1.26', EG2='0.51', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='3.31e-08', ts2='1.91', photon_index='2.50' WHERE bin_id='1707' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:50:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 551628: <4FGL_J2335.4-0128_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 13 00:35:30 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:35:31 2022
Terminated at Sat Aug 13 00:50:42 2022
Results reported at Sat Aug 13 00:50:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1707 353.869 -1.476 681782401 682041601 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 :                                   701.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             248.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

