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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1765
RA = 353.869, Dec = -1.476
tmin = 696816001, tmax = 697075201
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='651249', job_status='RUN', time_executed='2023-02-03 01:57:56.800336', time_epoch_executed='1675418276.8' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/651249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/651249/ft1_4FGL_J2335.4-0128_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/651249/ft2_4FGL_J2335.4-0128_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/651249/ft1_4FGL_J2335.4-0128_daily_bin1765.fits outfile=/scratch/kocevski/651249/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1765.fits ra=353.869 dec=-1.476 rad=12.0 tmin=696816001.0 tmax=697075201.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.70
user 3.45
sys 0.23

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

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

Number of photons that the gtmktime cut: 429

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/651249/ft1_filtered_4FGL_J2335.4-0128_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/651249/ft2_4FGL_J2335.4-0128_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/651249/ltcube_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.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/651249/ft2_4FGL_J2335.4-0128_daily_bin1765.fits
.....................!
real 15.49
user 15.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/651249/ft1_filtered_4FGL_J2335.4-0128_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651249/ft2_4FGL_J2335.4-0128_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/651249/ltcube_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.fits outfile=/scratch/kocevski/651249/expmap_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.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/651249/ltcube_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.fits
.....................!
real 193.08
user 187.45
sys 5.07

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/651249/ft1_filtered_4FGL_J2335.4-0128_daily_bin1765.fits scfile=/scratch/kocevski/651249/ft2_4FGL_J2335.4-0128_daily_bin1765.fits outfile=/scratch/kocevski/651249/cmap_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/651249/ft1_filtered_4FGL_J2335.4-0128_daily_bin1765.fits scfile=/scratch/kocevski/651249/ft2_4FGL_J2335.4-0128_daily_bin1765.fits outfile=/scratch/kocevski/651249/cmap_HighResolution_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/651249/ft1_filtered_4FGL_J2335.4-0128_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651249/ft2_4FGL_J2335.4-0128_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/651249/Model_4FGL_J2335.4-0128_daily_bin1765.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/651249/ft1_filtered_4FGL_J2335.4-0128_daily_bin1765.fits.....................!
real 50.22
user 48.88
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62146E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .46968E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .63291E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65743E-03   1.0000          .0000       .10000E+07
     6 'norm      '    9.9392       1.0000          .0000       .10000E+07
     7 'norm      '    .42963E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31714E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.3263       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17708E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .98956E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .27729       1.0000          .0000       .10000E+07
    13 'norm      '    .94176E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1640       1.0000          .0000       .10000E+07
    15 'Prefactor '    43.381       1.0000          .0000       .10000E+07
    16 'norm      '    .20734E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.5901       1.0000          .0000       .10000E+07
    18 'norm      '    11.539       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16464E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .17829E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    17.968       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0315       1.0000          .0000       .10000E+07
    23 'Normalizat'    .68216       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0297       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=   4932.451     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     2010 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.673        8.5026        .43302E-07   -.46047E-01
   2  Prefactor     .24153E-06    4.7177        .19788E-06** at limit **
   3  Prefactor     .38791E-06    2.1012       -.71609E-08** at limit **
   4  norm          .11657E-08    3.6664        .67390E-07** at limit **
   5  Prefactor     .61673E-07    21.507       -.34057E-06** at limit **
   6  norm          9.9255        4.9429        .83145E-07    .15829E-02
   7  norm          .83267E-09    3.8913       -.84438E-07** at limit **
   8  Prefactor     .33973E-07    14.716       -.53222E-08** at limit **
   9  Prefactor     5.2393        2.3271       -.44089E-07   -.12738E-01
  10  Prefactor     .22613E-05    42.905        .28962E-07** at limit **
  11  Prefactor     .61062E-09    3.9026       -.70619E-07** at limit **
  12  norm          .27683        .45155       -.83082E-08   -.33094E-02
  13  norm          .55511E-10    2.0062        .71299E-07** at limit **
  14  Prefactor     4.1673        8.8765        .15692E-06   -.82888E-02
  15  Prefactor     43.182        2.0894        .83315E-08   -.37829E-01
  16  norm          .27756E-09    3.2141        .19453E-07** at limit **
  17  Prefactor     3.5851        1.4229       -.69124E-09    .44505E-02
  18  norm          11.537        16.615        .12577E-06    .27336E-02
  19  Prefactor     .55879E-04    5.1337        .88208E-08** at limit **
  20  Prefactor     .53485E-06    120.78        .60072E-06** at limit **
  21  Prefactor     17.960        1.6114       -.40310E-08    .71425E-02
  22  Prefactor     3.0312        7.4301        .25187E-06    .41710E-01
  23  Normalizat    .68250        .21231       -.17307E-05   -.12635E-03
  24  Prefactor     1.0296        .15916       -.43039E-06   -.21311E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6733
  Prefactor  = 2.41529e-07
  Prefactor  = 3.87912e-07
  norm       = 1.16573e-09
  Prefactor  = 6.16729e-08
  norm       = 9.92546
  norm       = 8.32667e-10
  Prefactor  = 3.39728e-08
  Prefactor  = 5.23931
  Prefactor  = 2.2613e-06
  Prefactor  = 6.10623e-10
  norm       = 0.276827
  norm       = 5.55112e-11
  Prefactor  = 4.16729
  Prefactor  = 43.1822
  norm       = 2.77556e-10
  Prefactor  = 3.58512
  norm       = 11.537
  Prefactor  = 5.5879e-05
  Prefactor  = 5.3485e-07
  Prefactor  = 17.9597
  Prefactor  = 3.03125
  Normalizat = 0.682504
  Prefactor  = 1.02962
 **********
 **   18 **HESSE 
 **********

 FCN=   4932.451     FROM HESSE     STATUS=OK           449 CALLS     2459 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.673        10.578        .29258E-03   -1.5640    
   2  Prefactor     .24153E-06    6.2719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .38791E-06    6.1159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11657E-08    3.5966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .61673E-07    21.625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.9255        4.9588        .31760E-03   -1.5645    
   7  norm          .83267E-09    6.0138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33973E-07    14.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.2393        20.038        .43524E-03   -1.5662    
  10  Prefactor     .22613E-05    45.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    3.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .27683        .51571        .10536E-02   -1.5697    
  13  norm          .55511E-10    2.0092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1673        9.0749        .49368E-03   -1.5667    
  15  Prefactor     43.182        46.225        .15184E-03   -1.5577    
  16  norm          .27756E-09    3.2129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5851        19.204        .53308E-03   -1.5670    
  18  norm          11.537        17.634        .29466E-03   -1.5640    
  19  Prefactor     .55879E-04    2.6678        .60654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .53485E-06    120.71        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.960        16.527        .23601E-03   -1.5623    
  22  Prefactor     3.0312        10.735        .58255E-03   -1.5673    
  23  Normalizat    .68250        .19274        .66419E-01   -1.0459    
  24  Prefactor     1.0296        .13971        .41283E-01   -.91749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77566e-07
Minuit parameter uncertainties:
  1  10.5779
  2  0.0024617
  3  0.00308055
  4  0.000128818
  5  0.00230989
  6  4.95876
  7  0.000141415
  8  0.00141953
  9  20.0386
  10  0.0203476
  11  9.5988e-05
  12  0.515713
  13  2.18761e-05
  14  9.07496
  15  46.2257
  16  6.07264e-05
  17  16.5949
  18  17.6342
  19  0.0244189
  20  0.0160702
  21  16.5266
  22  10.7349
  23  0.192932
  24  0.139755
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.154e+01  1.763e+01  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:  1.030e+00  1.398e-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.825e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/651249/likelihoodResults_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.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) = 4931.43906037
delta logL = 1.01146035875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4931.43116244
delta logL = 1.01935828939

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67325       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .57280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0822       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=   4931.431     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      254 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67312        2.0481        .62907E-03    .67084E-02
   2  alpha         5.0000        4.7589        .46415    ** at limit **
   3  Normalizat    .57279        .19447        .71972E-01    .22785E-04
   4  Prefactor     1.0822        .14257        .38307E-01   -.45994E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.673119
  alpha      = 5
  Normalizat = 0.572791
  Prefactor  = 1.08218
 **********
 **   18 **HESSE 
 **********

 FCN=   4931.431     FROM HESSE     STATUS=OK            31 CALLS      285 TOTAL
                     EDM=   .55E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67312        .48848        .38591E-05   -1.5692    
   2  alpha         5.0000        .78205        .39483E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .57279        .21713        .31861E-03   -1.0915    
   4  Prefactor     1.0822        .16125        .18064E-03   -.90038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.46827e-14
Minuit parameter uncertainties:
  1  0.488483
  2  2.37615e-07
  3  0.217454
  4  0.161322
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/651249': 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) = 4931.43116223
delta logL = 1.01935849737

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  6.731e-01  4.885e-01  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  5.000e+00  2.376e-07  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:  1.082e+00  1.613e-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.728e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.00
Ra Dec: 353.869 -1.476
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 9.32e-08 +/- 6.74e-08
Energy Flux (Free Index): 1.41e-05 +/- 1.02e-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/651249/cmap_HighResolution_696816001_697075201_4FGL_J2335.4-0128_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.95e-05', comment='SUCCESS', energy_flux2='1.41e-05', dlogl='1.02e+00', photon_flux2='9.32e-08', job_status='DONE', time_completed='2023-02-03 02:06:55.060788', photon_index_error2='0.00', photon_index2='5.00', ts='0.70', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.12e-08', energy_flux_error2='1.02e-05', EG='0.68', time_epoch_completed='1675418815.06', return_code='0', job_id='651249', GAL2='1.08', EG2='0.57', return_code2='0', photon_flux_error2='6.74e-08', ts2='3.00', photon_index='2.50' WHERE bin_id='1765' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:06:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 651249: <4FGL_J2335.4-0128_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:55:13 2023
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:55:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:55:39 2023
Terminated at Fri Feb  3 02:06:55 2023
Results reported at Fri Feb  3 02:06:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1765 353.869 -1.476 696816001 697075201 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 :                                   540.10 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            702 sec.

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

