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 35 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7327
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1697
RA = 353.869, Dec = -1.476
tmin = 679190401, tmax = 679449601
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='857771', job_status='RUN', time_executed='2022-07-14 00:36:43.670837', time_epoch_executed='1657784203.67' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857771

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857771/ft1_4FGL_J2335.4-0128_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857771/ft1_4FGL_J2335.4-0128_daily_bin1697.fits outfile=/scratch/kocevski/857771/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1697.fits ra=353.869 dec=-1.476 rad=12.0 tmin=679190401.0 tmax=679449601.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.49
user 3.27
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 559

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857771/ltcube_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.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/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits
.....................!
real 13.13
user 12.75
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857771/ltcube_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.fits outfile=/scratch/kocevski/857771/expmap_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.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/857771/ltcube_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.fits
.....................!
real 191.16
user 185.82
sys 5.00

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/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits scfile=/scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits outfile=/scratch/kocevski/857771/cmap_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits scfile=/scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits outfile=/scratch/kocevski/857771/cmap_HighResolution_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.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.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857771/Model_4FGL_J2335.4-0128_daily_bin1697.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/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits.....................!
real 61.48
user 60.17
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits', '/scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits', expMap='/scratch/kocevski/857771/expmap_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.fits', expCube='/scratch/kocevski/857771/ltcube_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857771/Model_4FGL_J2335.4-0128_daily_bin1697.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2335.4-0128'

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  4.347e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.505e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
453         beta:  3.100e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/857771/ft1_filtered_4FGL_J2335.4-0128_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857771/ft2_4FGL_J2335.4-0128_daily_bin1697.fits
Exposure map: /scratch/kocevski/857771/expmap_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857771/ltcube_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857771/Model_4FGL_J2335.4-0128_daily_bin1697.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) = 6345.68104988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.957       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .37289E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.5052       1.0000         .10000E-03   10000.    
     8 'norm      '    19.886       1.0000         .10000E-03   10000.    
     9 'Prefactor '    68.542       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11286E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .44921       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .67576       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .33995       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.299       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    32.844       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .18992E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.651       1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.2864       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .76358       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0061       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.

 FCN=   6345.660     FROM MIGRAD    STATUS=CONVERGED    759 CALLS     3856 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6203        .97074E-07** at limit **
   2  Prefactor     .10000E-03    12.544       -.24365E-06** at limit **
   3  Prefactor     40.957        18.434        .18419E-06    .29994E-04
   4  Prefactor     .10000E-03    3.5462       -.41674E-08** at limit **
   5  norm          .10000E-03    1.3204        .19710E-06** at limit **
   6  Prefactor     .10000E-03    11.819       -.84879E-06** at limit **
   7  norm          7.5049        4.2117        .82754E-07    .18213E-03
   8  norm          19.891        12.886       -.69545E-07    .48822E-04
   9  Prefactor     68.547        43.500       -.31097E-06    .79119E-04
  10  Prefactor     .10000E-03    4.8526       -.52107E-07** at limit **
  11  Prefactor     .10000E-03    32.991       -.10723E-05** at limit **
  12  Prefactor     .10012E-03    12.525       -.52240E-05** at limit **
  13  norm          .44910        .72995        .45812E-08    .34881E-03
  14  norm          .10000E-03    1.2567       -.18349E-07** at limit **
  15  Prefactor     .66958        15.894        .42656E-05    .72969E-04
  16  Prefactor     .10000E-03    16.085        .56506E-06** at limit **
  17  norm          .43880        16.054       -.62885E-05   -.96859E-05
  18  Prefactor     .10000E-03    60.172       -.34960E-05** at limit **
  19  Prefactor     .10000E-03    5.4720        .58611E-07** at limit **
  20  Prefactor     30.245        26.542        .31972E-05    .26033E-03
  21  norm          .10000E-03    8.3924       -.44699E-07** at limit **
  22  Prefactor     32.851        31.797       -.69211E-06    .41652E-04
  23  Prefactor     .10000E-03    1.4284        .26233E-07** at limit **
  24  Prefactor     .10000E-03    122.35       -.84457E-06** at limit **
  25  Prefactor     .10000E-03    10.892        .57088E-06** at limit **
  26  Prefactor     13.652        13.153       -.41781E-07    .30078E-04
  27  Prefactor     6.2876        5.4074        .13998E-05    .11900E-02
  28  Normalizat    .76377        .18469       -.99579E-06    .35883E-03
  29  Prefactor     1.0059        .13385        .35352E-06    .48584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.9572
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.50488
  norm       = 19.8908
  Prefactor  = 68.5465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100124
  norm       = 0.449099
  norm       = 0.0001
  Prefactor  = 0.669581
  Prefactor  = 0.0001
  norm       = 0.438798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.2448
  norm       = 0.0001
  Prefactor  = 32.8511
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6517
  Prefactor  = 6.28758
  Normalizat = 0.763769
  Prefactor  = 1.00585
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.660     FROM HESSE     STATUS=OK           553 CALLS     4409 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6467        .16720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.957        17.571        .62636E-04   -1.4427    
   4  Prefactor     .10000E-03    3.5669        .14598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.1370        .16644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.5049        4.1899        .11642E-03   -1.5160    
   8  norm          19.891        12.893        .89816E-04   -1.4816    
   9  Prefactor     68.547        43.418        .48483E-04   -1.4050    
  10  Prefactor     .10000E-03    4.8563        .17137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    33.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10012E-03    35.453        .33399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44910        .65863        .83035E-03   -1.5574    
  14  norm          .10000E-03    1.2579        .87183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .66958        35.350        .43243E-02   -1.5544    
  16  Prefactor     .10000E-03    16.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .43880        39.122        .39673E-02   -1.5575    
  18  Prefactor     .10000E-03    59.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.5156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.245        27.003        .72788E-04   -1.4608    
  21  norm          .10000E-03    8.4141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     32.851        31.784        .69919E-04   -1.4561    
  23  Prefactor     .10000E-03    1.4697        .18584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    125.85        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    10.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     13.652        13.160        .10841E-03   -1.4969    
  27  Prefactor     6.2876        6.3537        .80049E-03   -1.5206    
  28  Normalizat    .76377        .21124        .29752E-03   -1.0143    
  29  Prefactor     1.0059        .15587        .19783E-03   -.92535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70404e-08
Minuit parameter uncertainties:
  1  1.97198e-07
  2  9.38135e-06
  3  17.573
  4  1.23572e-06
  5  2.4657e-05
  6  3.04992e-05
  7  4.19007
  8  12.8948
  9  43.4378
  10  4.16908e-06
  11  0.000130543
  12  0.00419364
  13  0.658638
  14  2.72313e-06
  15  9.73558
  16  2.06535e-05
  17  8.29118
  18  0.000263184
  19  7.97014e-06
  20  27.0139
  21  5.50928e-06
  22  31.7999
  23  2.6603e-06
  24  0.000341412
  25  5.44187e-05
  26  13.1623
  27  6.35434
  28  0.211467
  29  0.15594
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  5.509e-06  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.505e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
453         beta:  3.100e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.006e+00  1.559e-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.638e-01  2.115e-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: 4.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857771/likelihoodResults_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.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) = 6345.66007138
delta logL = -0.000566199184505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6345.65950568
delta logL = -5.03303454025e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10787E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4768       1.0000          .0000       5.0000    
     3 'Normalizat'    .76363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0060       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=   6345.660     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      246 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    345.95        .18142E-01** at limit **
   2  alpha         1.7210        4.0466        .16462        .44890E-07
   3  Normalizat    .76377        .23324E-01    .29752E-03    .54604E-04
   4  Prefactor     1.0059        .17707E-01    .19783E-03    .82625E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 1.72097
  Normalizat = 0.763768
  Prefactor  = 1.00585
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.660     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.203        .28857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7210        2.5457        .65846E-02   -.31689    
   3  Normalizat    .76377        .20233        .11901E-04   -1.0143    
   4  Prefactor     1.0059        .15367        .39566E-04   -.92535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18689e-10
Minuit parameter uncertainties:
  1  0.000477923
  2  402.907
  3  0.202524
  4  0.153735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857771': 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) = 6345.65950284
delta logL = 2.34401613852e-06

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  4.779e-04  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  1.721e+00  4.029e+02  0.000e+00  5.000e+00 ( 1.000e+00)
453         beta:  3.100e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.006e+00  1.537e-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.638e-01  2.025e-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/857771/cmap_HighResolution_679190401_679449601_4FGL_J2335.4-0128_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.75e-05', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2022-07-14 00:49:35.224602', job_id='857771', GAL2='1.01', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1657784975.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.34e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1697' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:49:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 857771: <4FGL_J2335.4-0128_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:36:00 2022
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:36:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:36:01 2022
Terminated at Thu Jul 14 00:49:36 2022
Results reported at Thu Jul 14 00:49:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1697 353.869 -1.476 679190401 679449601 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 :                                   773.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            816 sec.

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

