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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1669
RA = 353.869, Dec = -1.476
tmin = 671932801, tmax = 672192001
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='693509', job_status='RUN', time_executed='2022-04-21 00:43:27.492405', time_epoch_executed='1650527007.49' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693509

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693509/ft1_4FGL_J2335.4-0128_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693509/ft2_4FGL_J2335.4-0128_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693509/ft1_4FGL_J2335.4-0128_daily_bin1669.fits outfile=/scratch/kocevski/693509/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1669.fits ra=353.869 dec=-1.476 rad=12.0 tmin=671932801.0 tmax=672192001.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 3.77
user 3.50
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693509/ft2_4FGL_J2335.4-0128_daily_bin1669.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/693509/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/693509/ft1_filtered_4FGL_J2335.4-0128_daily_bin1669.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 568

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693509/ft1_filtered_4FGL_J2335.4-0128_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/693509/ft2_4FGL_J2335.4-0128_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/693509/ltcube_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.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/693509/ft2_4FGL_J2335.4-0128_daily_bin1669.fits
.....................!
real 12.18
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693509/ft1_filtered_4FGL_J2335.4-0128_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693509/ft2_4FGL_J2335.4-0128_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/693509/ltcube_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.fits outfile=/scratch/kocevski/693509/expmap_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.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/693509/ltcube_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.fits
.....................!
real 190.39
user 184.88
sys 5.02

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/693509/ft1_filtered_4FGL_J2335.4-0128_daily_bin1669.fits scfile=/scratch/kocevski/693509/ft2_4FGL_J2335.4-0128_daily_bin1669.fits outfile=/scratch/kocevski/693509/cmap_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.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/693509/ft1_filtered_4FGL_J2335.4-0128_daily_bin1669.fits scfile=/scratch/kocevski/693509/ft2_4FGL_J2335.4-0128_daily_bin1669.fits outfile=/scratch/kocevski/693509/cmap_HighResolution_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.901       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.920       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3740       1.0000         .10000E-03   10000.    
     5 'norm      '    3.3260       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3698       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5566       1.0000         .10000E-03   10000.    
     8 'norm      '    28.303       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12109E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .68035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.8474       1.0000         .10000E-03   10000.    
    14 'norm      '    2.4962       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5773       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.933       1.0000         .10000E-03   10000.    
    17 'norm      '    .42830E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    50.921       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.9198       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1098       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11115E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.471       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .12797E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.5257       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .69625       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .99259       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=   6439.937     FROM MIGRAD    STATUS=CONVERGED   1326 CALLS     4347 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8213        .18142E-02** at limit **
   2  Prefactor     27.891        31.050        .75845E-04   -.12441E-04
   3  Prefactor     10.924        17.911        .12124E-03   -.32820E-04
   4  Prefactor     3.3739        4.8686        .19099E-03   -.56192E-04
   5  norm          3.3269        3.0278        .11675E-03   -.11052E-03
   6  Prefactor     1.3702        11.219        .18628E-02   -.16231E-03
   7  norm          7.5578        4.2729        .10962E-03   -.64510E-04
   8  norm          28.304        11.588        .75306E-04   -.20833E-04
   9  Prefactor     .10001E-03    137.27        .58163E-02** at limit **
  10  Prefactor     .10001E-03    103.49        .45545E-02** at limit **
  11  Prefactor     .10000E-03    11.859        .18142E-02** at limit **
  12  Prefactor     .10000E-03    2.0410        .11186E-02** at limit **
  13  norm          1.8474        .92305        .25662E-03    .92589E-05
  14  norm          2.4962        3.1468        .15543E-03   -.20919E-04
  15  Prefactor     9.5613        12.394        .12949E-03   -.82465E-03
  16  Prefactor     11.010        34.929        .12117E-03   -.70369E-05
  17  norm          .10037E-03    100.41        .36314E-02** at limit **
  18  Prefactor     50.925        142.69        .56201E-04   -.85769E-05
  19  Prefactor     9.9110        11.535        .12723E-03   -.35564E-04
  20  Prefactor     5.1108        29.919        .17786E-03   -.18460E-03
  21  norm          .10000E-03    10.709        .18142E-02** at limit **
  22  Prefactor     .10000E-03    34.088        .18142E-02** at limit **
  23  Prefactor     .10000E-03    12.220        .21969E-02** at limit **
  24  Prefactor     21.543        33.174        .86442E-04   -.27093E-04
  25  Prefactor     .10000E-03    6.4807        .18142E-02** at limit **
  26  Prefactor     .10029E-03    43.064        .43155E-02** at limit **
  27  Prefactor     7.5318        8.2671        .14619E-03    .75433E-05
  28  Normalizat    .69584        .21279        .30600E-03   -.54385E-03
  29  Prefactor     .99273        .15195        .19472E-03   -.76820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 27.8911
  Prefactor  = 10.9245
  Prefactor  = 3.37389
  norm       = 3.3269
  Prefactor  = 1.37016
  norm       = 7.55778
  norm       = 28.3041
  Prefactor  = 0.000100006
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.84737
  norm       = 2.49621
  Prefactor  = 9.56128
  Prefactor  = 11.0101
  norm       = 0.000100374
  Prefactor  = 50.9245
  Prefactor  = 9.91096
  Prefactor  = 5.11083
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.543
  Prefactor  = 0.0001
  Prefactor  = 0.000100287
  Prefactor  = 7.53176
  Normalizat = 0.695836
  Prefactor  = 0.992731
 **********
 **   18 **HESSE 
 **********

 FCN=   6439.937     FROM HESSE     STATUS=OK           525 CALLS     4872 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.891        31.055        .30338E-05   -1.4651    
   3  Prefactor     10.924        17.908        .48496E-05   -1.5047    
   4  Prefactor     3.3739        4.8683        .76396E-05   -1.5341    
   5  norm          3.3269        3.0274        .46700E-05   -1.5343    
   6  Prefactor     1.3702        11.194        .74513E-04   -1.5474    
   7  norm          7.5578        4.2696        .43846E-05   -1.5158    
   8  norm          28.304        11.588        .30122E-05   -1.4643    
   9  Prefactor     .10001E-03    140.79        .23265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    107.15        .18218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.859        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.0411        .22371E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.8474        .92291        .10265E-04   -1.5436    
  14  norm          2.4962        3.1466        .62172E-05   -1.5392    
  15  Prefactor     9.5613        12.359        .51797E-05   -1.5089    
  16  Prefactor     11.010        34.940        .48468E-05   -1.5044    
  17  norm          .10037E-03    103.15        .14526E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.925        142.68        .11240E-04   -1.4280    
  19  Prefactor     9.9110        11.519        .50891E-05   -1.5078    
  20  Prefactor     5.1108        29.865        .71145E-05   -1.5256    
  21  norm          .10000E-03    10.709        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    34.091        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.270        .43937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     21.543        33.176        .34577E-05   -1.4779    
  25  Prefactor     .10000E-03    6.4810        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10029E-03    43.832        .86309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.5318        8.2663        .58476E-05   -1.5159    
  28  Normalizat    .69584        .21289        .61200E-04   -1.0406    
  29  Prefactor     .99273        .15202        .38943E-04   -.92972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16456e-08
Minuit parameter uncertainties:
  1  7.2565e-05
  2  31.0731
  3  17.9169
  4  4.86883
  5  3.02749
  6  7.83429
  7  4.26979
  8  11.5889
  9  0.00184568
  10  0.00176054
  11  2.94483e-05
  12  6.77042e-06
  13  0.922922
  14  3.14685
  15  12.3623
  16  35.0054
  17  0.0124373
  18  143.658
  19  11.5217
  20  24.7275
  21  1.86094e-05
  22  6.91736e-05
  23  1.72493e-05
  24  33.204
  25  2.3992e-05
  26  0.00709407
  27  8.26751
  28  0.213147
  29  0.152086
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  1.861e-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.927e-01  1.521e-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:  6.958e-01  2.131e-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.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693509/likelihoodResults_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.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) = 6439.9372895
delta logL = -0.000444772718765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6439.93684605
delta logL = -1.31595788844e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5061       1.0000          .0000       5.0000    
     3 'Normalizat'    .69583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99261       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=   6439.937     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.448        .90712E-02** at limit **
   2  alpha         2.5075        3.5780        .41152       -.66889E-06
   3  Normalizat    .69584        .16881        .69146E-01    .19669E-03
   4  Prefactor     .99273        .12727        .46175E-01    .23701E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.50749
  Normalizat = 0.695839
  Prefactor  = 0.992731
 **********
 **   18 **HESSE 
 **********

 FCN=   6439.937     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5075        3.5558        .50000        .29953E-02
   3  Normalizat    .69584        .19497        .30600E-03   -1.0406    
   4  Prefactor     .99273        .14725        .19472E-03   -.92972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95709e-11
Minuit parameter uncertainties:
  1  0.000125947
  2  2.50818
  3  0.195161
  4  0.147307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693509': 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) = 6439.93684473
delta logL = 8.72205419e-10

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  1.259e-04  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.507e+00  2.508e+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.927e-01  1.473e-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:  6.958e-01  1.952e-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/693509/cmap_HighResolution_671932801_672192001_4FGL_J2335.4-0128_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-05', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2022-04-21 00:56:57.094935', job_id='693509', GAL2='0.99', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1650527817.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.72e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1669' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:56:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 693509: <4FGL_J2335.4-0128_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:40:18 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:40:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:40:20 2022
Terminated at Thu Apr 21 00:56:57 2022
Results reported at Thu Apr 21 00:56:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1669 353.869 -1.476 671932801 672192001 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 :                                   811.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   997 sec.
    Turnaround time :                            999 sec.

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

