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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1768
RA = 353.869, Dec = -1.476
tmin = 697593601, tmax = 697852801
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='285993', job_status='RUN', time_executed='2023-02-12 01:53:00.904875', time_epoch_executed='1676195580.9' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285993

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285993/ft1_4FGL_J2335.4-0128_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285993/ft2_4FGL_J2335.4-0128_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285993/ft1_4FGL_J2335.4-0128_daily_bin1768.fits outfile=/scratch/kocevski/285993/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1768.fits ra=353.869 dec=-1.476 rad=12.0 tmin=697593601.0 tmax=697852801.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.79
user 3.44
sys 0.26

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

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

Number of photons that the gtmktime cut: 510

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/285993/ft1_filtered_4FGL_J2335.4-0128_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/285993/ft2_4FGL_J2335.4-0128_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/285993/ltcube_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.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/285993/ft2_4FGL_J2335.4-0128_daily_bin1768.fits
.....................!
real 15.48
user 15.00
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285993/ft1_filtered_4FGL_J2335.4-0128_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/285993/ft2_4FGL_J2335.4-0128_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/285993/ltcube_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.fits outfile=/scratch/kocevski/285993/expmap_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.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/285993/ltcube_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.fits
.....................!
real 192.64
user 186.33
sys 5.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/285993/ft1_filtered_4FGL_J2335.4-0128_daily_bin1768.fits scfile=/scratch/kocevski/285993/ft2_4FGL_J2335.4-0128_daily_bin1768.fits outfile=/scratch/kocevski/285993/cmap_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285993/ft1_filtered_4FGL_J2335.4-0128_daily_bin1768.fits scfile=/scratch/kocevski/285993/ft2_4FGL_J2335.4-0128_daily_bin1768.fits outfile=/scratch/kocevski/285993/cmap_HighResolution_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/285993/ft1_filtered_4FGL_J2335.4-0128_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/285993/ft2_4FGL_J2335.4-0128_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/285993/Model_4FGL_J2335.4-0128_daily_bin1768.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/285993/ft1_filtered_4FGL_J2335.4-0128_daily_bin1768.fits.....................!
real 58.20
user 56.66
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33621E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.1210       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.3968       1.0000          .0000       .10000E+07
     4 'norm      '    .15995E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.7229       1.0000          .0000       .10000E+07
     6 'norm      '    .23504E-03   1.0000          .0000       .10000E+07
     7 'norm      '    24.092       1.0000          .0000       .10000E+07
     8 'Prefactor '    36.103       1.0000          .0000       .10000E+07
     9 'Prefactor '    46.420       1.0000          .0000       .10000E+07
    10 'Prefactor '    50.360       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20157E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.1973       1.0000          .0000       .10000E+07
    13 'norm      '    .62206E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11225E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    75.003       1.0000          .0000       .10000E+07
    16 'norm      '    .98512E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.3520       1.0000          .0000       .10000E+07
    18 'norm      '    19.769       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19931E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14144E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .66963E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.0672       1.0000          .0000       .10000E+07
    23 'Normalizat'    .78391       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91395       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=   5849.967     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1992 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    4.8561       -.13591E-06** at limit **
   2  Prefactor     4.0961        10.672        .56570E-08   -.46862E-02
   3  Prefactor     9.3220        6.3561       -.57015E-07   -.13125E-01
   4  norm           .0000        .97445       -.14012E-08** at limit **
   5  Prefactor     5.7307        9.6425        .77803E-07    .46463E-01
   6  norm           .0000        2.0543        .15771E-07** at limit **
   7  norm          24.322        2.8026        .13138E-07   -.19137E-01
   8  Prefactor     39.451        48.145        .37703E-06   -.95767E-02
   9  Prefactor     46.289        8.9499        .55645E-08   -.13050    
  10  Prefactor     50.764        9.8030        .31178E-07    .11240    
  11  Prefactor     .11102E-09    3.7878        .14433E-06** at limit **
  12  norm          1.1998        .99349       -.13538E-07   -.26055E-02
  13  norm           .0000        1.7954       -.29078E-08** at limit **
  14  Prefactor      .0000        3.4844        .13553E-07** at limit **
  15  Prefactor     77.040        65.109        .19734E-06   -.26818E-01
  16  norm           .0000        3.0898        .18915E-07** at limit **
  17  Prefactor     6.7998        3.7593        .66641E-07   -.19953E-01
  18  norm          19.518        20.845        .71139E-07    .34073E-01
  19  Prefactor      .0000        2.4793        .33739E-07** at limit **
  20  Prefactor     .25424E-07    23.796       -.17253E-06** at limit **
  21  Prefactor     .12379E-07    144.25        .59992E-06** at limit **
  22  Prefactor     7.1084        6.3691        .30290E-07   -.90081E-03
  23  Normalizat    .78280        .22270       -.64134E-06    .64501E-05
  24  Prefactor     .91248        .16226       -.17319E-07    .30993E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  Prefactor  = 4.09612
  Prefactor  = 9.32203
  norm       = 0
  Prefactor  = 5.73075
  norm       = 0
  norm       = 24.3217
  Prefactor  = 39.4506
  Prefactor  = 46.2888
  Prefactor  = 50.7641
  Prefactor  = 1.11022e-10
  norm       = 1.1998
  norm       = 0
  Prefactor  = 0
  Prefactor  = 77.0398
  norm       = 0
  Prefactor  = 6.79985
  norm       = 19.5183
  Prefactor  = 0
  Prefactor  = 2.54241e-08
  Prefactor  = 1.2379e-08
  Prefactor  = 7.10836
  Normalizat = 0.7828
  Prefactor  = 0.912476
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.967     FROM HESSE     STATUS=OK           451 CALLS     2443 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    4.8550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0961        10.732        .49633E-03   -1.5667    
   3  Prefactor     9.3220        6.4218        .32668E-03   -1.5647    
   4  norm           .0000        .97306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7307        9.9782        .41963E-03   -1.5660    
   6  norm           .0000        2.0528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.322        16.846        .20378E-03   -1.5609    
   8  Prefactor     39.451        48.182        .16645E-03   -1.5582    
   9  Prefactor     46.289        25.832        .14678E-03   -1.5572    
  10  Prefactor     50.764        44.153        .14093E-03   -1.5565    
  11  Prefactor     .11102E-09    3.7858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1998        1.0086        .10381E-02   -1.5686    
  13  norm           .0000        1.7943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.4831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     77.040        65.995        .11547E-03   -1.5532    
  16  norm           .0000        3.0868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.7998        23.652        .39802E-03   -1.5656    
  18  norm          19.518        21.393        .22499E-03   -1.5620    
  19  Prefactor      .0000        2.4747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .25424E-07    23.948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .12379E-07    12.642        .14920E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.1084        6.3842        .37711E-03   -1.5655    
  23  Normalizat    .78280        .19497        .66277E-01   -1.0071    
  24  Prefactor     .91248        .13897        .45183E-01   -.95706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15829e-07
Minuit parameter uncertainties:
  1  0.000109719
  2  10.7319
  3  6.42183
  4  3.44406e-07
  5  9.97822
  6  3.62846e-06
  7  16.8459
  8  48.1827
  9  25.8322
  10  44.153
  11  4.30536e-05
  12  1.00857
  13  8.53602e-07
  14  8.46396e-06
  15  65.9961
  16  3.83541e-06
  17  23.6523
  18  21.3936
  19  8.74931e-06
  20  0.00156012
  21  0.000791726
  22  6.38419
  23  0.195143
  24  0.139026
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.952e+01  2.139e+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:  9.125e-01  1.390e-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:  7.828e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.41
Ra Dec: 353.869 -1.476
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 2.41e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 9.99e-06 +/- 1.10e-05

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

Saving results to:
/scratch/kocevski/285993/likelihoodResults_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.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) = 5849.90518648
delta logL = 0.0618580198925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5849.86361179
delta logL = 0.103432711904

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.654       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0695       1.0000          .0000       5.0000    
     3 'Normalizat'    .76429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92062       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=   5849.864     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      246 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.646        26.143        .11253E-04   -.53633E-02
   2  alpha         3.0702        1.4569        .15973E-01   -.67698E-04
   3  Normalizat    .76427        .22355        .29642E-03    .53080E-03
   4  Prefactor     .92067        .16324        .20139E-03    .24665E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6465
  alpha      = 3.07021
  Normalizat = 0.764269
  Prefactor  = 0.920673
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.864     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.646        21.697        .45014E-06   -1.5637    
   2  alpha         3.0702        1.2338        .63891E-03    .23011    
   3  Normalizat    .76427        .22128        .59283E-04   -1.0141    
   4  Prefactor     .92067        .16224        .40278E-04   -.95422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97033e-09
Minuit parameter uncertainties:
  1  21.6973
  2  1.29387
  3  0.221538
  4  0.162321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285993': 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) = 5849.86361149
delta logL = 0.103433015574

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.265e+01  2.170e+01  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  3.070e+00  1.294e+00  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:  9.207e-01  1.623e-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:  7.643e-01  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 353.869 -1.476
Photon Index (Free Index): 3.07 +/- 1.29
Photon Flux (Free Index): 3.85e-08 +/- 4.99e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.06e-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/285993/cmap_HighResolution_697593601_697852801_4FGL_J2335.4-0128_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-05', comment='SUCCESS', photon_flux='2.41e-08', energy_flux2='1.06e-05', photon_flux_error='2.64e-08', dlogl='1.03e-01', energy_flux='9.99e-06', photon_flux2='3.85e-08', job_status='DONE', time_completed='2023-02-12 02:03:00.927058', photon_index_error2='1.29', photon_index2='3.07', ts='1.41', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='8.83e-08', energy_flux_error2='1.06e-05', EG='0.78', time_epoch_completed='1676196180.93', return_code='0', job_id='285993', GAL2='0.92', EG2='0.76', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='4.99e-08', ts2='1.62', photon_index='2.50' WHERE bin_id='1768' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 02:03:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 285993: <4FGL_J2335.4-0128_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1768> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 12 01:50:14 2023
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:51:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:51:29 2023
Terminated at Sun Feb 12 02:03:01 2023
Results reported at Sun Feb 12 02:03:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1768 353.869 -1.476 697593601 697852801 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 :                                   601.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            767 sec.

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

