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 134 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1731
RA = 353.869, Dec = -1.476
tmin = 688003201, tmax = 688262401
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='551312', job_status='RUN', time_executed='2022-10-24 00:43:00.621875', time_epoch_executed='1666597380.62' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551312

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551312/ft1_4FGL_J2335.4-0128_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551312/ft1_4FGL_J2335.4-0128_daily_bin1731.fits outfile=/scratch/kocevski/551312/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1731.fits ra=353.869 dec=-1.476 rad=12.0 tmin=688003201.0 tmax=688262401.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.54
user 3.33
sys 0.19

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

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

Number of photons that the gtmktime cut: 438

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551312/ltcube_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.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/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits
.....................!
real 12.37
user 12.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551312/ltcube_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.fits outfile=/scratch/kocevski/551312/expmap_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.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/551312/ltcube_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.fits
.....................!
real 190.28
user 185.20
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/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits scfile=/scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits outfile=/scratch/kocevski/551312/cmap_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.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.69
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits scfile=/scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits outfile=/scratch/kocevski/551312/cmap_HighResolution_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.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.59
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551312/Model_4FGL_J2335.4-0128_daily_bin1731.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/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits.....................!
real 51.26
user 48.91
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits', '/scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits', expMap='/scratch/kocevski/551312/expmap_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.fits', expCube='/scratch/kocevski/551312/ltcube_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551312/Model_4FGL_J2335.4-0128_daily_bin1731.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  0.000e+00  1.000e+06 ( 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 -5.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/551312/ft1_filtered_4FGL_J2335.4-0128_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/551312/ft2_4FGL_J2335.4-0128_daily_bin1731.fits
Exposure map: /scratch/kocevski/551312/expmap_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.fits
Exposure cube: /scratch/kocevski/551312/ltcube_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551312/Model_4FGL_J2335.4-0128_daily_bin1731.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) = 4960.90588647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0789       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.075       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92912E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .17153E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12400E-03   1.0000          .0000       .10000E+07
     6 'norm      '    2.2153       1.0000          .0000       .10000E+07
     7 'norm      '    .83158       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.991       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57833E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    72.338       1.0000          .0000       .10000E+07
    11 'Prefactor '    .79875E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.3000       1.0000          .0000       .10000E+07
    13 'norm      '    4.7547       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16286E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .65584E-02   1.0000          .0000       .10000E+07
    16 'norm      '    8.5487       1.0000          .0000       .10000E+07
    17 'Prefactor '    .39671E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .64328E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6073       1.0000          .0000       .10000E+07
    20 'Prefactor '    26.157       1.0000          .0000       .10000E+07
    21 'Prefactor '    13.442       1.0000          .0000       .10000E+07
    22 'Prefactor '    .93061E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3340       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56613       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=   4960.905     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2107 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1222        5.2059       -.64395E-07    .51509E-03
   2  Prefactor     12.092        12.732        .25839E-07   -.94131E-02
   3  Prefactor     .55511E-10    7.2893       -.39032E-06** at limit **
   4  norm           .0000        1.9670       -.23343E-06** at limit **
   5  Prefactor     .38858E-09    9.4320        .10882E-05** at limit **
   6  norm          2.2155        3.1200        .35790E-06   -.30080E-02
   7  norm          .81423        2.6778       -.65518E-06   -.10669E-01
   8  Prefactor     17.004        3.0154       -.24970E-06   -.36307E-01
   9  Prefactor     .40151E-06    26.992        .18997E-05** at limit **
  10  Prefactor     72.583        10.391        .35268E-06   -.21280    
  11  Prefactor     .25535E-08    17.091        .92179E-06** at limit **
  12  norm          1.3023        .99882       -.41978E-07    .23882E-02
  13  norm          4.6479        7.7167       -.35633E-06    .23318E-02
  14  Prefactor     .22204E-09    3.1309        .73006E-06** at limit **
  15  Prefactor     .67435E-06    15.245       -.77117E-07** at limit **
  16  norm          8.5784        7.6710       -.56735E-07    .98457E-05
  17  Prefactor     .49960E-09    5.6178       -.89235E-06** at limit **
  18  norm          .32196E-08    16.432       -.28042E-06** at limit **
  19  Prefactor     6.6092        5.0639        .15411E-07   -.70791E-03
  20  Prefactor     26.167        1.7381       -.64542E-07   -.34979E-02
  21  Prefactor     13.434        2.5296       -.12726E-06    .78427E-02
  22  Prefactor     .59410E-05    144.56       -.89480E-05** at limit **
  23  Normalizat    1.3342        .23871        .58159E-05    .35234E-04
  24  Prefactor     .56611        .16158       -.43559E-05    .64749E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12221
  Prefactor  = 12.0925
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 3.88578e-10
  norm       = 2.21551
  norm       = 0.814226
  Prefactor  = 17.0036
  Prefactor  = 4.01512e-07
  Prefactor  = 72.5826
  Prefactor  = 2.55351e-09
  norm       = 1.30229
  norm       = 4.64793
  Prefactor  = 2.22045e-10
  Prefactor  = 6.74349e-07
  norm       = 8.57841
  Prefactor  = 4.996e-10
  norm       = 3.21965e-09
  Prefactor  = 6.60923
  Prefactor  = 26.1673
  Prefactor  = 13.4343
  Prefactor  = 5.94097e-06
  Normalizat = 1.33416
  Prefactor  = 0.566109
 **********
 **   18 **HESSE 
 **********

 FCN=   4960.905     FROM HESSE     STATUS=OK           453 CALLS     2560 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1222        5.2430        .57779E-03   -1.5673    
   2  Prefactor     12.092        12.777        .28803E-03   -1.5638    
   3  Prefactor     .55511E-10    7.2692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.9527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    9.4868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2155        3.1509        .69072E-03   -1.5678    
   7  norm          .81423        46.501        .50610E-03   -1.5690    
   8  Prefactor     17.004        32.462        .24271E-03   -1.5625    
   9  Prefactor     .40151E-06    28.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     72.583        88.528        .11758E-03   -1.5538    
  11  Prefactor     .25535E-08    17.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3023        1.0141        .96886E-03   -1.5685    
  13  norm          4.6479        8.3713        .46119E-03   -1.5665    
  14  Prefactor     .22204E-09    3.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .67435E-06    31.598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5784        7.6851        .34261E-03   -1.5649    
  17  Prefactor     .49960E-09    5.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .32196E-08    33.008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6092        5.0671        .39016E-03   -1.5657    
  20  Prefactor     26.167        25.619        .19557E-03   -1.5606    
  21  Prefactor     13.434        22.128        .27294E-03   -1.5635    
  22  Prefactor     .59410E-05    9.4353        .58725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3342        .21434        .53277E-01   -.82552    
  24  Prefactor     .56611        .14303        .40590E-01   -1.0903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13194e-06
Minuit parameter uncertainties:
  1  5.24296
  2  12.7767
  3  4.3699e-05
  4  1.29696e-05
  5  0.000124067
  6  3.15086
  7  12.3065
  8  32.4628
  9  0.00671311
  10  88.5293
  11  0.000419863
  12  1.01405
  13  8.37128
  14  5.0804e-05
  15  0.00923228
  16  7.68509
  17  0.000108104
  18  0.000650073
  19  5.06709
  20  25.6188
  21  22.1283
  22  0.0149739
  23  0.214482
  24  0.143125
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  3.220e-09  6.501e-04  0.000e+00  1.000e+06 ( 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 -5.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:  5.661e-01  1.431e-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.334e+00  2.145e-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: 6.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551312/likelihoodResults_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.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) = 4960.92051487
delta logL = -0.0155932293019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4960.84616368
delta logL = 0.058757960458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17216       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57570       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4960.846     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      318 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17225        .57241        .74529E-04** at limit **
   2  alpha         5.0000        4.9129        .50000    ** at limit **
   3  Normalizat    1.3103        .24336        .23722E-03   -.13179E-04
   4  Prefactor     .57569        .16414        .23908E-03   -.40419E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.172253
  alpha      = 5
  Normalizat = 1.31028
  Prefactor  = 0.575687
 **********
 **   18 **HESSE 
 **********

 FCN=   4960.846     FROM HESSE     STATUS=OK            31 CALLS      349 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17225        .54494        .14906E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.8468        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3103        .24409        .94889E-05   -.83260    
   4  Prefactor     .57569        .16444        .95631E-05   -1.0862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86688e-12
Minuit parameter uncertainties:
  1  0.544944
  2  3.93778e-06
  3  0.24431
  4  0.164574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551312': 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) = 4960.84616326
delta logL = 0.0587583750766

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.723e-01  5.449e-01  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  5.000e+00  3.938e-06  0.000e+00  5.000e+00 ( 1.000e+00)
453         beta:  3.100e-01  0.000e+00 -5.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:  5.757e-01  1.646e-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.310e+00  2.443e-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/551312/cmap_HighResolution_688003201_688262401_4FGL_J2335.4-0128_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='6.14e-08', time_completed='2022-10-24 00:52:02.304704', job_id='551312', GAL2='0.58', fit_tolerance='1e-08', EG2='1.31', EG='1.33', time_epoch_completed='1666597922.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='5.88e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1731' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:52:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 551312: <4FGL_J2335.4-0128_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:33 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:34 2022
Terminated at Mon Oct 24 00:52:02 2022
Results reported at Mon Oct 24 00:52:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1731 353.869 -1.476 688003201 688262401 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 :                                   537.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            689 sec.

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

