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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1779
RA = 353.869, Dec = -1.476
tmin = 700444801, tmax = 700704001
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='41776', job_status='RUN', time_executed='2023-03-17 02:42:32.978854', time_epoch_executed='1679046152.98' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/41776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/41776/ft1_4FGL_J2335.4-0128_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/41776/ft2_4FGL_J2335.4-0128_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/41776/ft1_4FGL_J2335.4-0128_daily_bin1779.fits outfile=/scratch/kocevski/41776/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1779.fits ra=353.869 dec=-1.476 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.31
user 5.06
sys 0.21

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

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

Number of photons that the gtmktime cut: 480

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/41776/ft1_filtered_4FGL_J2335.4-0128_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/41776/ft2_4FGL_J2335.4-0128_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/41776/ltcube_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.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/41776/ft2_4FGL_J2335.4-0128_daily_bin1779.fits
.....................!
real 12.13
user 11.81
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/41776/ft1_filtered_4FGL_J2335.4-0128_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/41776/ft2_4FGL_J2335.4-0128_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/41776/ltcube_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.fits outfile=/scratch/kocevski/41776/expmap_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.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/41776/ltcube_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.fits
.....................!
real 192.61
user 187.38
sys 4.81

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/41776/ft1_filtered_4FGL_J2335.4-0128_daily_bin1779.fits scfile=/scratch/kocevski/41776/ft2_4FGL_J2335.4-0128_daily_bin1779.fits outfile=/scratch/kocevski/41776/cmap_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/41776/ft1_filtered_4FGL_J2335.4-0128_daily_bin1779.fits scfile=/scratch/kocevski/41776/ft2_4FGL_J2335.4-0128_daily_bin1779.fits outfile=/scratch/kocevski/41776/cmap_HighResolution_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=353.869 yref=-1.476 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/41776/ft1_filtered_4FGL_J2335.4-0128_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/41776/ft2_4FGL_J2335.4-0128_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/41776/Model_4FGL_J2335.4-0128_daily_bin1779.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/41776/ft1_filtered_4FGL_J2335.4-0128_daily_bin1779.fits....................!
real 55.19
user 53.87
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5373.22958511

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21450E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .35024E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.2122       1.0000          .0000       .10000E+07
     4 'norm      '    .14759E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36322E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.6638       1.0000          .0000       .10000E+07
     7 'norm      '    15.733       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18827E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3107       1.0000          .0000       .10000E+07
    10 'Prefactor '    .95818E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21939E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .17097E-06   1.0000          .0000       .10000E+07
    13 'norm      '    23.169       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3852       1.0000          .0000       .10000E+07
    15 'Prefactor '    .30994       1.0000          .0000       .10000E+07
    16 'norm      '    .26272E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .37757E-02   1.0000          .0000       .10000E+07
    18 'norm      '    17.822       1.0000          .0000       .10000E+07
    19 'Prefactor '    43.065       1.0000          .0000       .10000E+07
    20 'Prefactor '    57.518       1.0000          .0000       .10000E+07
    21 'Prefactor '    .24594E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .27129E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .72710       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3232       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=   5373.225     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1981 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12473E-06    4.0705        .79715E-07** at limit **
   2  Prefactor     .23498E-06    5.1014       -.22992E-07** at limit **
   3  Prefactor     2.2169        7.2489        .82123E-07   -.12359E-01
   4  norm           .0000        2.5796       -.78094E-07** at limit **
   5  Prefactor     .14266E-07    5.5274        .15119E-06** at limit **
   6  norm          1.6798        6.1283        .55436E-07    .69271E-02
   7  norm          15.708        2.4978       -.10111E-07    .81698E-02
   8  Prefactor     .19373E-07    5.9702        .15108E-06** at limit **
   9  Prefactor     4.2709        1.7900        .65670E-08    .13061E-02
  10  Prefactor     .28151E-05    140.83       -.49383E-06** at limit **
  11  Prefactor     .31808E-07    12.976        .18681E-06** at limit **
  12  norm           .0000        1.3816       -.15150E-07** at limit **
  13  norm          23.145        11.692        .50853E-07    .22055E-01
  14  Prefactor     4.2953        5.7843       -.35495E-07   -.10468E-02
  15  Prefactor     .57288E-07    2.5293       -.46118E-07** at limit **
  16  norm          .11102E-08    5.0958       -.15570E-06** at limit **
  17  Prefactor     .20262E-07    7.8660       -.25918E-07** at limit **
  18  norm          17.209        7.8228       -.22984E-07   -.86122E-01
  19  Prefactor     43.161        10.141       -.48785E-08   -.94378E-01
  20  Prefactor     57.601        1.1654       -.15319E-08    .13732E-01
  21  Prefactor      .0000        19.400        .45251E-08** at limit **
  22  Prefactor     .99365E-08    3.9354        .50522E-07** at limit **
  23  Normalizat    .72641        .27483        .56930E-05    .30476E-04
  24  Prefactor     1.3241        .19963       -.36007E-05   -.80732E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.24734e-07
  Prefactor  = 2.34979e-07
  Prefactor  = 2.21691
  norm       = 0
  Prefactor  = 1.42664e-08
  norm       = 1.67978
  norm       = 15.708
  Prefactor  = 1.93734e-08
  Prefactor  = 4.2709
  Prefactor  = 2.81514e-06
  Prefactor  = 3.18079e-08
  norm       = 0
  norm       = 23.1449
  Prefactor  = 4.29534
  Prefactor  = 5.72875e-08
  norm       = 1.11022e-09
  Prefactor  = 2.02616e-08
  norm       = 17.2087
  Prefactor  = 43.1613
  Prefactor  = 57.6007
  Prefactor  = 0
  Prefactor  = 9.9365e-09
  Normalizat = 0.726413
  Prefactor  = 1.32407
 **********
 **   18 **HESSE 
 **********

 FCN=   5373.225     FROM HESSE     STATUS=NOT POSDEF   445 CALLS     2426 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12473E-06    10.896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23498E-06    9.6162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2169        1535.8        .69126E-03   -1.5678    
   4  norm           .0000        2.5125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14266E-07    12.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6798        920.19        .81739E-03   -1.5682    
   7  norm          15.708        12.989        .25224E-03   -1.5629    
   8  Prefactor     .19373E-07    12.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2709        18.274        .48497E-03   -1.5667    
  10  Prefactor     .28151E-05    141.55        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .31808E-07    14.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.3320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          23.145        11.965        .20780E-03   -1.5612    
  14  Prefactor     4.2953        5.7536        .48071E-03   -1.5667    
  15  Prefactor     .57288E-07    49.088        .10076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-08    5.0175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .20262E-07    8.0658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          17.209        50.568        .23697E-03   -1.5625    
  19  Prefactor     43.161        12.729        .15240E-03   -1.5577    
  20  Prefactor     57.601        46.189        .13186E-03   -1.5556    
  21  Prefactor      .0000        18.827        .16751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .99365E-08    10.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .72641        .24889        .84123E-01   -1.0286    
  24  Prefactor     1.3241        .17300        .48153E-01   -.82594    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.75671e-06
Minuit parameter uncertainties:
  1  0.00233177
  2  0.00300631
  3  116.731
  4  3.27579e-06
  5  0.000860956
  6  78.6431
  7  12.9894
  8  0.000986845
  9  17.669
  10  0.0399251
  11  0.00136138
  12  2.50929e-06
  13  11.9653
  14  5.75364
  15  0.00335412
  16  0.000149276
  17  0.00080866
  18  50.569
  19  12.7293
  20  46.1892
  21  5.4606e-06
  22  0.000646281
  23  0.24928
  24  0.173079
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5373.22466329

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.721e+01  5.057e+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.324e+00  1.731e-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.264e-01  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 353.869 -1.476
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/41776/likelihoodResults_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.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) = 5373.22466326
delta logL = 2.98177837976e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5373.22466325
delta logL = 4.37921698904e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.209       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5046       1.0000          .0000       5.0000    
     3 'Normalizat'    .72639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3241       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=   5373.225     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      236 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.284        63.196        .96466E-05    .85608E-03
   2  alpha         2.5024        3.5594        .33546E-01    .32002E-04
   3  Normalizat    .72643        .26586        .37255E-03   -.25127E-03
   4  Prefactor     1.3240        .20031        .21286E-03    .46787E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.2839
  alpha      = 2.50239
  Normalizat = 0.726427
  Prefactor  = 1.32405
 **********
 **   18 **HESSE 
 **********

 FCN=   5373.225     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.284        54.065        .19293E-05   -1.5625    
   2  alpha         2.5024        1.9025        .13418E-02    .95432E-03
   3  Normalizat    .72643        .26505        .14902E-04   -1.0286    
   4  Prefactor     1.3240        .19979        .42571E-04   -.82595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18105e-09
Minuit parameter uncertainties:
  1  54.066
  2  2.16209
  3  0.265521
  4  0.199911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/41776': 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) = 5373.22466223
delta logL = 1.06544121081e-06

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.728e+01  5.407e+01  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  2.502e+00  2.162e+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.324e+00  1.999e-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.264e-01  2.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/41776/cmap_HighResolution_700444801_700704001_4FGL_J2335.4-0128_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-05', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2023-03-17 02:51:49.824996', job_id='41776', GAL2='1.32', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1679046709.83', return_code2='0', ts='0.17', comment='SUCCESS', return_code='102', GAL='1.32', dlogl='1.07e-06', ts2='0.18', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1779' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:51:49 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 41776: <4FGL_J2335.4-0128_daily_bin1779> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:40:17 2023
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:40:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:40:18 2023
Terminated at Fri Mar 17 02:51:50 2023
Results reported at Fri Mar 17 02:51:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1779 353.869 -1.476 700444801 700704001 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 :                                   559.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            693 sec.

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

