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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1733
RA = 353.869, Dec = -1.476
tmin = 688521601, tmax = 688780801
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='709821', job_status='RUN', time_executed='2022-10-30 00:41:26.190031', time_epoch_executed='1667115686.19' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/709821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/709821/ft1_4FGL_J2335.4-0128_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/709821/ft2_4FGL_J2335.4-0128_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/709821/ft1_4FGL_J2335.4-0128_daily_bin1733.fits outfile=/scratch/kocevski/709821/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1733.fits ra=353.869 dec=-1.476 rad=12.0 tmin=688521601.0 tmax=688780801.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.51
user 3.30
sys 0.20

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

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

Number of photons that the gtmktime cut: 495

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/709821/ft1_filtered_4FGL_J2335.4-0128_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/709821/ft2_4FGL_J2335.4-0128_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/709821/ltcube_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.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/709821/ft2_4FGL_J2335.4-0128_daily_bin1733.fits
.....................!
real 12.17
user 11.86
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/709821/ft1_filtered_4FGL_J2335.4-0128_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/709821/ft2_4FGL_J2335.4-0128_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/709821/ltcube_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.fits outfile=/scratch/kocevski/709821/expmap_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.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/709821/ltcube_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.fits
.....................!
real 193.19
user 187.56
sys 5.31

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/709821/ft1_filtered_4FGL_J2335.4-0128_daily_bin1733.fits scfile=/scratch/kocevski/709821/ft2_4FGL_J2335.4-0128_daily_bin1733.fits outfile=/scratch/kocevski/709821/cmap_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/709821/ft1_filtered_4FGL_J2335.4-0128_daily_bin1733.fits scfile=/scratch/kocevski/709821/ft2_4FGL_J2335.4-0128_daily_bin1733.fits outfile=/scratch/kocevski/709821/cmap_HighResolution_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/709821/ft1_filtered_4FGL_J2335.4-0128_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/709821/ft2_4FGL_J2335.4-0128_daily_bin1733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/709821/Model_4FGL_J2335.4-0128_daily_bin1733.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/709821/ft1_filtered_4FGL_J2335.4-0128_daily_bin1733.fits.....................!
real 55.74
user 54.39
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64295E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.8225       1.0000          .0000       .10000E+07
     3 'Prefactor '    .40941E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .64221E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    27.658       1.0000          .0000       .10000E+07
     6 'norm      '    1.7978       1.0000          .0000       .10000E+07
     7 'norm      '    .18740E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .25069E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.530       1.0000          .0000       .10000E+07
    10 'Prefactor '    56.674       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72463E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.0210       1.0000          .0000       .10000E+07
    13 'norm      '    .33980E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11749E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12902E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .27869E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.381       1.0000          .0000       .10000E+07
    18 'norm      '    3.2532       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.4679       1.0000          .0000       .10000E+07
    20 'Prefactor '    70.120       1.0000          .0000       .10000E+07
    21 'Prefactor '    .86165       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11021E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    .98056       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82133       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=   5689.543     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2109 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    5.6402        .18005E-06** at limit **
   2  Prefactor     4.8250        9.7836        .14265E-06    .10134E-02
   3  Prefactor      .0000        1.9471        .58614E-07** at limit **
   4  norm           .0000        1.5398        .78951E-07** at limit **
   5  Prefactor     27.678        9.7601       -.22332E-06   -.10848    
   6  norm          1.7991        2.8827       -.17476E-07    .13288E-02
   7  norm          .43299E-08    8.0075       -.52764E-06** at limit **
   8  Prefactor     .14861E-05    26.649        .19431E-05** at limit **
   9  Prefactor     15.575        11.606        .34776E-06    .85923E-01
  10  Prefactor     57.694        52.472        .51095E-06   -.40999E-01
  11  Prefactor     .11102E-09    3.8349       -.22176E-06** at limit **
  12  norm          1.0201        1.0099       -.85739E-08    .33625E-03
  13  norm           .0000        1.4694       -.19492E-06** at limit **
  14  Prefactor      .0000        2.7294       -.52015E-07** at limit **
  15  Prefactor     .42133E-07    14.666        .20083E-06** at limit **
  16  norm          .66613E-09    5.2971       -.67106E-06** at limit **
  17  Prefactor     15.535        3.6966       -.44730E-07    .63451E-02
  18  norm          3.3570        4.2147       -.25601E-06   -.26602E-02
  19  Prefactor     2.4637        3.9354       -.31673E-07    .67306E-03
  20  Prefactor     69.381        32.560       -.31377E-06   -.11030    
  21  Prefactor     .90428        2.2578       -.20673E-06    .93946E-02
  22  Prefactor     .10895E-04    28.052       -.67187E-06** at limit **
  23  Normalizat    .97995        .21731        .11354E-04    .56399E-04
  24  Prefactor     .82149        .15296       -.45608E-05    .56797E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Prefactor  = 4.82499
  Prefactor  = 0
  norm       = 0
  Prefactor  = 27.6785
  norm       = 1.7991
  norm       = 4.32987e-09
  Prefactor  = 1.48609e-06
  Prefactor  = 15.5748
  Prefactor  = 57.6942
  Prefactor  = 1.11022e-10
  norm       = 1.02012
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.2133e-08
  norm       = 6.66134e-10
  Prefactor  = 15.5354
  norm       = 3.35698
  Prefactor  = 2.46375
  Prefactor  = 69.3814
  Prefactor  = 0.904279
  Prefactor  = 1.08951e-05
  Normalizat = 0.979949
  Prefactor  = 0.821486
 **********
 **   18 **HESSE 
 **********

 FCN=   5689.543     FROM HESSE     STATUS=OK           449 CALLS     2558 TOTAL
                     EDM=   .79E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    5.6364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.8250        9.8055        .45787E-03   -1.5664    
   3  Prefactor      .0000        1.9476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.5312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.678        18.507        .19018E-03   -1.5603    
   6  norm          1.7991        2.9957        .77946E-03   -1.5681    
   7  norm          .43299E-08    8.0144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14861E-05    28.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.575        18.822        .25389E-03   -1.5629    
  10  Prefactor     57.694        54.878        .13284E-03   -1.5556    
  11  Prefactor     .11102E-09    3.8200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0201        1.0510        .12768E-02   -1.5688    
  13  norm           .0000        1.4690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.7300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .42133E-07    14.731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .66613E-09    5.2964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.535        27.400        .25511E-03   -1.5629    
  18  norm          3.3570        39.939        .56127E-03   -1.5671    
  19  Prefactor     2.4637        4.9272        .65066E-03   -1.5677    
  20  Prefactor     69.381        38.385        .11943E-03   -1.5541    
  21  Prefactor     .90428        52.546        .48448E-03   -1.5689    
  22  Prefactor     .10895E-04    5.0056        .57080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97995        .19358        .45923E-01   -.93705    
  24  Prefactor     .82149        .13623        .43994E-01   -.98941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90057e-07
Minuit parameter uncertainties:
  1  0.00012384
  2  9.80552
  3  5.71465e-07
  4  3.8574e-06
  5  18.5067
  6  2.99574
  7  0.000372846
  8  0.0129824
  9  18.8225
  10  54.8787
  11  3.686e-05
  12  1.05099
  13  2.06283e-06
  14  5.98138e-06
  15  0.00157604
  16  0.000119266
  17  27.3998
  18  23.1583
  19  4.92717
  20  38.3849
  21  13.7865
  22  0.0147698
  23  0.193723
  24  0.136285
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  3.357e+00  2.316e+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:  8.215e-01  1.363e-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:  9.799e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/709821/likelihoodResults_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.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): 102
logL (Free Index) = 5689.50701518
delta logL = 0.0363164762593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5689.32428843
delta logL = 0.219043232103

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30831       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .93504       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84194       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=   5689.324     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      320 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30849        .48744        .60205E-05   -.24359E-03
   2  alpha         5.0000        3.6682        .88945E-01** at limit **
   3  Normalizat    .93485        .21761        .26853E-03   -.40813E-04
   4  Prefactor     .84196        .15476        .20532E-03    .39258E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.308487
  alpha      = 5
  Normalizat = 0.934854
  Prefactor  = 0.84196
 **********
 **   18 **HESSE 
 **********

 FCN=   5689.324     FROM HESSE     STATUS=OK            25 CALLS      345 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30849        .47925        .24082E-06   -1.5697    
   2  alpha         5.0000        3.6670        .35578E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93485        .21777        .10741E-04   -.95246    
   4  Prefactor     .84196        .15490        .82128E-05   -.98200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.11736e-11
Minuit parameter uncertainties:
  1  0.479249
  2  4.58777e-05
  3  0.21798
  4  0.154979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/709821': 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) = 5689.32428726
delta logL = 0.219044396074

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  3.085e-01  4.792e-01  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  5.000e+00  4.588e-05  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:  8.420e-01  1.550e-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:  9.349e-01  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/709821/cmap_HighResolution_688521601_688780801_4FGL_J2335.4-0128_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.79e-05', job_status='DONE', photon_flux_upper_limit='6.72e-08', time_completed='2022-10-30 00:50:49.368450', job_id='709821', GAL2='0.84', fit_tolerance='1e-08', EG2='0.93', EG='0.98', time_epoch_completed='1667116249.37', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.19e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1733' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:50:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 709821: <4FGL_J2335.4-0128_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1733> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Oct 30 00:40:16 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:40:17 2022
Terminated at Sun Oct 30 00:50:50 2022
Results reported at Sun Oct 30 00:50:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1733 353.869 -1.476 688521601 688780801 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 :                                   565.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            634 sec.

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

