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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1746
RA = 353.869, Dec = -1.476
tmin = 691891201, tmax = 692150401
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='743837', job_status='RUN', time_executed='2022-12-08 01:57:16.396819', time_epoch_executed='1670493436.4' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743837/ft1_4FGL_J2335.4-0128_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743837/ft2_4FGL_J2335.4-0128_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743837/ft1_4FGL_J2335.4-0128_daily_bin1746.fits outfile=/scratch/kocevski/743837/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1746.fits ra=353.869 dec=-1.476 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.70
user 4.46
sys 0.23

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

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

Number of photons that the gtmktime cut: 465

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743837/ft1_filtered_4FGL_J2335.4-0128_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/743837/ft2_4FGL_J2335.4-0128_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/743837/ltcube_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.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/743837/ft2_4FGL_J2335.4-0128_daily_bin1746.fits
.....................!
real 12.01
user 11.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743837/ft1_filtered_4FGL_J2335.4-0128_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/743837/ft2_4FGL_J2335.4-0128_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/743837/ltcube_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.fits outfile=/scratch/kocevski/743837/expmap_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.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/743837/ltcube_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.fits
.....................!
real 190.99
user 185.47
sys 5.17

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/743837/ft1_filtered_4FGL_J2335.4-0128_daily_bin1746.fits scfile=/scratch/kocevski/743837/ft2_4FGL_J2335.4-0128_daily_bin1746.fits outfile=/scratch/kocevski/743837/cmap_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743837/ft1_filtered_4FGL_J2335.4-0128_daily_bin1746.fits scfile=/scratch/kocevski/743837/ft2_4FGL_J2335.4-0128_daily_bin1746.fits outfile=/scratch/kocevski/743837/cmap_HighResolution_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743837/ft1_filtered_4FGL_J2335.4-0128_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/743837/ft2_4FGL_J2335.4-0128_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743837/Model_4FGL_J2335.4-0128_daily_bin1746.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/743837/ft1_filtered_4FGL_J2335.4-0128_daily_bin1746.fits.....................!
real 53.60
user 52.29
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25914E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.895       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.7908       1.0000          .0000       .10000E+07
     4 'norm      '    .71739E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.588       1.0000          .0000       .10000E+07
     6 'norm      '    18.563       1.0000          .0000       .10000E+07
     7 'norm      '    .36453E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    38.078       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13603E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    100.88       1.0000          .0000       .10000E+07
    11 'Prefactor '    .88383       1.0000          .0000       .10000E+07
    12 'norm      '    .47736       1.0000          .0000       .10000E+07
    13 'norm      '    .57801E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .89762E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    92.019       1.0000          .0000       .10000E+07
    16 'norm      '    7.1507       1.0000          .0000       .10000E+07
    17 'Prefactor '    14.106       1.0000          .0000       .10000E+07
    18 'norm      '    8.5146       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.5541       1.0000          .0000       .10000E+07
    20 'Prefactor '    .70863       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.847       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27040       1.0000          .0000       .10000E+07
    23 'Normalizat'    .45893       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0827       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=   5116.134     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     3044 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5826        .36038E-06** at limit **
   2  Prefactor     16.939        9.3659       -.27465E-06   -.95362E-01
   3  Prefactor     9.7271        11.070       -.15098E-05   -.14436E-01
   4  norm           .0000        1.9356        .46602E-06** at limit **
   5  Prefactor     49.936        24.335        .20025E-05    .15760    
   6  norm          18.403        8.1267        .35724E-06   -.95991E-03
   7  norm          .38858E-09    7.6294        .43249E-06** at limit **
   8  Prefactor     38.857        31.559        .20846E-05   -.99317E-01
   9  Prefactor     .31863E-07    16.236       -.16718E-05** at limit **
  10  Prefactor     100.45        27.855       -.12628E-05    .11278    
  11  Prefactor     1.0376        21.024       -.34226E-05   -.10779E-01
  12  norm          .47667        .85615       -.28784E-06    .48372E-02
  13  norm          .55511E-10    3.4882       -.39623E-06** at limit **
  14  Prefactor     .55511E-10    6.8288       -.80743E-06** at limit **
  15  Prefactor     93.715        55.492        .10695E-05   -.54449E-02
  16  norm          7.1432        8.4877        .78372E-07   -.16318E-02
  17  Prefactor     14.335        19.043       -.12069E-05   -.13509E-01
  18  norm          8.4699        2.1554       -.39835E-06   -.75019E-02
  19  Prefactor     9.5294        5.4251       -.18368E-06    .16381E-02
  20  Prefactor     .30471E-04    250.49        .89036E-05** at limit **
  21  Prefactor     23.155        8.9846       -.41156E-06   -.37792E-01
  22  Prefactor     .15171        65.963        .11994E-06** at limit **
  23  Normalizat    .45970        .23856        .13824E-04    .21051E-04
  24  Prefactor     1.0817        .17460       -.19353E-05    .26052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 16.9387
  Prefactor  = 9.72713
  norm       = 0
  Prefactor  = 49.9356
  norm       = 18.4035
  norm       = 3.88578e-10
  Prefactor  = 38.8574
  Prefactor  = 3.18634e-08
  Prefactor  = 100.452
  Prefactor  = 1.03763
  norm       = 0.476666
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 93.7148
  norm       = 7.14324
  Prefactor  = 14.3355
  norm       = 8.46988
  Prefactor  = 9.5294
  Prefactor  = 3.04706e-05
  Prefactor  = 23.1549
  Prefactor  = 0.151709
  Normalizat = 0.459697
  Prefactor  = 1.08172
 **********
 **   18 **HESSE 
 **********

 FCN=   5116.134     FROM HESSE     STATUS=OK           459 CALLS     3503 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.939        18.834        .24340E-03   -1.5626    
   3  Prefactor     9.7271        11.192        .32001E-03   -1.5646    
   4  norm           .0000        1.9316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     49.936        30.390        .14202E-03   -1.5567    
   6  norm          18.403        8.2206        .23219E-03   -1.5622    
   7  norm          .38858E-09    7.6404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.857        38.933        .16207E-03   -1.5583    
   9  Prefactor     .31863E-07    16.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     100.45        87.407        .99570E-04   -1.5508    
  11  Prefactor     1.0376        49.750        .46885E-03   -1.5688    
  12  norm          .47667        .88055        .81020E-03   -1.5694    
  13  norm          .55511E-10    3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    6.8101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     93.715        63.983        .10425E-03   -1.5514    
  16  norm          7.1432        8.7529        .37488E-03   -1.5655    
  17  Prefactor     14.335        24.824        .26642E-03   -1.5632    
  18  norm          8.4699        18.974        .34330E-03   -1.5650    
  19  Prefactor     9.5294        5.8046        .32397E-03   -1.5646    
  20  Prefactor     .30471E-04    275.18        .60010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.155        25.130        .20926E-03   -1.5612    
  22  Prefactor     .15171        4.4849        .82553E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .45970        .22928        .82700E-01   -1.1432    
  24  Prefactor     1.0817        .15921        .38283E-01   -.90053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38482e-06
Minuit parameter uncertainties:
  1  2.27793e-05
  2  18.8343
  3  11.1925
  4  1.69833e-06
  5  30.39
  6  8.22065
  7  0.000106045
  8  38.933
  9  0.00144654
  10  87.4086
  11  14.3699
  12  0.880548
  13  3.28935e-05
  14  4.09994e-05
  15  63.9831
  16  8.75291
  17  24.8243
  18  18.9738
  19  5.80457
  20  0.183148
  21  25.13
  22  1.64972
  23  0.229751
  24  0.159284
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  8.470e+00  1.897e+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.082e+00  1.593e-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:  4.597e-01  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/743837/likelihoodResults_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.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) = 5115.994587
delta logL = 0.139031359812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5115.9677027
delta logL = 0.165915654776

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4280       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4790       1.0000          .0000       5.0000    
     3 'Normalizat'    .43449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0909       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=   5115.968     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      274 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4285        16.677        .17243E-04    .10998E-02
   2  alpha         3.4787        1.7328        .18189E-01    .20968E-04
   3  Normalizat    .43473        .23335        .37602E-03    .50551E-04
   4  Prefactor     1.0906        .17429        .18575E-03    .12569E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.42848
  alpha      = 3.47874
  Normalizat = 0.434735
  Prefactor  = 1.09062
 **********
 **   18 **HESSE 
 **********

 FCN=   5115.968     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4285        12.728        .68971E-06   -1.5661    
   2  alpha         3.4787        1.3908        .72757E-03    .40226    
   3  Normalizat    .43473        .23129        .15041E-04   -1.1554    
   4  Prefactor     1.0906        .17341        .37150E-04   -.89767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35019e-11
Minuit parameter uncertainties:
  1  12.7285
  2  1.49357
  3  0.231801
  4  0.173499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743837': 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) = 5115.96770169
delta logL = 0.165916662389

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  5.428e+00  1.273e+01  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  3.479e+00  1.494e+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:  1.091e+00  1.735e-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:  4.347e-01  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
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/743837/cmap_HighResolution_691891201_692150401_4FGL_J2335.4-0128_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-05', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2022-12-08 02:07:38.439424', job_id='743837', GAL2='1.09', fit_tolerance='1e-08', EG2='0.43', EG='0.46', time_epoch_completed='1670494058.44', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.66e-01', ts2='0.66', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1746' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 02:07:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 743837: <4FGL_J2335.4-0128_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1746> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec  8 01:55:24 2022
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:55:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:55:24 2022
Terminated at Thu Dec  8 02:07:39 2022
Results reported at Thu Dec  8 02:07:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1746 353.869 -1.476 691891201 692150401 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 :                                   624.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            735 sec.

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

