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


Performing analysis on: 4FGL_J1333.7+5056_daily_bin1709
RA = 203.439, Dec = 50.9366
tmin = 682300801, tmax = 682560001
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='135157', job_status='RUN', time_executed='2022-09-16 17:42:49.848983', time_epoch_executed='1663375369.85' WHERE source_name='4FGL J1333.7+5056' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135157

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135157/ft1_4FGL_J1333.7+5056_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135157/ft1_4FGL_J1333.7+5056_daily_bin1709.fits outfile=/scratch/kocevski/135157/ft1_filteredMKT_4FGL_J1333.7+5056_daily_bin1709.fits ra=203.439 dec=50.9366 rad=12.0 tmin=682300801.0 tmax=682560001.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.80
user 3.54
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.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/135157/ft1_filteredMKT_4FGL_J1333.7+5056_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.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.83
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/135157/ltcube_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.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/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits
.....................!
real 15.12
user 14.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/135157/ltcube_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.fits outfile=/scratch/kocevski/135157/expmap_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.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/135157/ltcube_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.fits
.....................!
real 194.51
user 188.68
sys 5.33

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 211 point sources and 0 extended sources

Setting source of interest to:
4FGL J1333.7+5056 @ 203.439 50.9366

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits scfile=/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits outfile=/scratch/kocevski/135157/cmap_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.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=203.439 yref=50.9366 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits scfile=/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits outfile=/scratch/kocevski/135157/cmap_HighResolution_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.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=203.439 yref=50.9366 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.59
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135157/Model_4FGL_J1333.7+5056_daily_bin1709.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/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits.....................!
real 54.84
user 53.37
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits', '/scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits', expMap='/scratch/kocevski/135157/expmap_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.fits', expCube='/scratch/kocevski/135157/ltcube_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135157/Model_4FGL_J1333.7+5056_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.7+5056'

4FGL J1333.7+5056
   Spectrum: LogParabola
350         norm:  2.543e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  2.254e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
352         beta:  8.960e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  7.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/135157/ft1_filtered_4FGL_J1333.7+5056_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/135157/ft2_4FGL_J1333.7+5056_daily_bin1709.fits
Exposure map: /scratch/kocevski/135157/expmap_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.fits
Exposure cube: /scratch/kocevski/135157/ltcube_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135157/Model_4FGL_J1333.7+5056_daily_bin1709.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) = 6548.28461908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8042       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.280       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12131E-04   1.0000          .0000       .10000E+07
     4 'norm      '    2.3051       1.0000          .0000       .10000E+07
     5 'Prefactor '    34.536       1.0000          .0000       .10000E+07
     6 'norm      '    5.0638       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37127E-02   1.0000          .0000       .10000E+07
     8 'norm      '    17.476       1.0000          .0000       .10000E+07
     9 'norm      '    5.2577       1.0000          .0000       .10000E+07
    10 'Prefactor '    47.687       1.0000          .0000       .10000E+07
    11 'Prefactor '    .96204E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.5977       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3325       1.0000          .0000       .10000E+07
    14 'norm      '    .99420E-07   1.0000          .0000       .10000E+07
    15 'norm      '    9.4736       1.0000          .0000       .10000E+07
    16 'norm      '    .28077E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .65105E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .97821E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.6761       1.0000          .0000       .10000E+07
    20 'Prefactor '    19.575       1.0000          .0000       .10000E+07
    21 'Prefactor '    4.8344       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.999       1.0000          .0000       .10000E+07
    23 'Prefactor '    .39625E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    24.326       1.0000          .0000       .10000E+07
    25 'Prefactor '    7.2577       1.0000          .0000       .10000E+07
    26 'Normalizat'    .90601       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6548.193     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2384 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6851        6.1444       -.38194E-08    .21423E-02
   2  Prefactor     13.579        6.3548        .19390E-06   -.32162E-01
   3  Prefactor      .0000        1.4355       -.16204E-06** at limit **
   4  norm          2.3071        1.8162        .82622E-08   -.53124E-03
   5  Prefactor     34.373        16.038       -.72686E-06   -.87565E-01
   6  norm          5.0669        2.5155       -.47348E-07    .18684E-03
   7  Prefactor     .17764E-08    12.891        .16525E-05** at limit **
   8  norm          17.402        1.5142       -.19401E-08    .82589E-02
   9  norm          5.2283        4.5389        .20388E-07   -.15550E-03
  10  Prefactor     48.784        33.885       -.82009E-06    .43331E-01
  11  Prefactor     .66058E-08    12.836       -.55415E-06** at limit **
  12  norm          1.5850        4.0488       -.79090E-06   -.76436E-03
  13  Prefactor     4.3600        225.46        .18273E-05   -.39098E-03
  14  norm           .0000        .63396        .51674E-07** at limit **
  15  norm          9.4948        4.5267       -.66452E-07    .66615E-03
  16  norm           .0000        50.767        .17102E-05** at limit **
  17  Prefactor     .41633E-08    16.168       -.80661E-06** at limit **
  18  Prefactor     .22204E-09    8.7327       -.13047E-05** at limit **
  19  Prefactor     1.6473        3.7938        .89893E-06    .16563E-03
  20  Prefactor     19.653        5.9238       -.33468E-06   -.37336E-01
  21  Prefactor     4.8094        2.9274       -.22823E-06    .14128E-02
  22  Prefactor     22.612        21.024        .68143E-06   -.50995E-01
  23  Prefactor     .55511E-10    32.636       -.45092E-06** at limit **
  24  Prefactor     24.256        4.9307       -.20326E-06    .93207E-02
  25  Prefactor     7.1422        1.7152       -.99073E-07    .66368E-02
  26  Normalizat    .90303        .21089       -.17998E-04    .41325E-04
  27  Prefactor     1.2606        .25178        .75648E-05    .97843E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.68508
  Prefactor  = 13.5793
  Prefactor  = 0
  norm       = 2.30705
  Prefactor  = 34.3729
  norm       = 5.06686
  Prefactor  = 1.77636e-09
  norm       = 17.402
  norm       = 5.22834
  Prefactor  = 48.7837
  Prefactor  = 6.60583e-09
  norm       = 1.58497
  Prefactor  = 4.36002
  norm       = 0
  norm       = 9.49476
  norm       = 0
  Prefactor  = 4.16334e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 1.64731
  Prefactor  = 19.6532
  Prefactor  = 4.80943
  Prefactor  = 22.6124
  Prefactor  = 5.55112e-11
  Prefactor  = 24.2564
  Prefactor  = 7.14221
  Normalizat = 0.903034
  Prefactor  = 1.26064
 **********
 **   18 **HESSE 
 **********

 FCN=   6548.193     FROM HESSE     STATUS=OK           556 CALLS     2940 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6851        6.6713        .45876E-03   -1.5665    
   2  Prefactor     13.579        26.646        .27461E-03   -1.5634    
   3  Prefactor      .0000        1.4365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3071        1.8243        .67558E-03   -1.5678    
   5  Prefactor     34.373        22.957        .17018E-03   -1.5591    
   6  norm          5.0669        2.5204        .44659E-03   -1.5663    
   7  Prefactor     .17764E-08    12.758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.402        17.529        .23931E-03   -1.5625    
   9  norm          5.2283        4.5611        .43812E-03   -1.5662    
  10  Prefactor     48.784        36.121        .14482E-03   -1.5568    
  11  Prefactor     .66058E-08    12.854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5850        4.0974        .83863E-03   -1.5683    
  13  Prefactor     4.3600        224.98        .67117E-03   -1.5666    
  14  norm           .0000        .62994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.4948        4.5379        .32535E-03   -1.5646    
  16  norm           .0000        15.302        .11564E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41633E-08    16.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    8.7215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.6473        3.8420        .81362E-03   -1.5682    
  20  Prefactor     19.653        21.170        .22610E-03   -1.5619    
  21  Prefactor     4.8094        3.0468        .45729E-03   -1.5664    
  22  Prefactor     22.612        29.135        .21326E-03   -1.5613    
  23  Prefactor     .55511E-10    32.609        .15981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     24.256        24.547        .20280E-03   -1.5609    
  25  Prefactor     7.1422        17.463        .37208E-03   -1.5655    
  26  Normalizat    .90303        .18114        .44978E-01   -.96354    
  27  Prefactor     1.2606        .21195        .62574E-01   -.84485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50519e-07
Minuit parameter uncertainties:
  1  6.67128
  2  26.6465
  3  1.80064e-06
  4  1.82434
  5  22.9569
  6  2.5204
  7  0.000299921
  8  17.5289
  9  4.56107
  10  36.1214
  11  0.000582859
  12  4.09745
  13  62.6421
  14  7.36176e-07
  15  4.53793
  16  5.45705e-07
  17  0.000519228
  18  8.2395e-05
  19  3.84204
  20  21.1698
  21  3.0468
  22  29.1347
  23  8.47216e-05
  24  24.5468
  25  17.463
  26  0.181264
  27  0.212095
Done.

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

Extracting fit parameters...

4FGL J1333.7+5056
   Spectrum: LogParabola
350         norm:  1.585e+00  4.097e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  2.254e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
352         beta:  8.960e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  7.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.261e+00  2.121e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  9.030e-01  1.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 203.439 50.937
Photon Flux Upper Limit: 7.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.89e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135157/likelihoodResults_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.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) = 6548.0039394
delta logL = 0.189365533233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6547.99964379
delta logL = 0.193661142298

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4433       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0794       1.0000          .0000       5.0000    
     3 'Normalizat'    .88088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6548.000     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4425        52.703        .89731E-03    .91323E-02
   2  alpha         3.0801        3.8383        .42643        .46477E-04
   3  Normalizat    .88088        .39938E-01    .44657E-01    .75319E-05
   4  Prefactor     1.2754        .49923E-01    .62248E-01    .57829E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.44249
  alpha      = 3.08007
  Normalizat = 0.880885
  Prefactor  = 1.27543
 **********
 **   18 **HESSE 
 **********

 FCN=   6548.000     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4425        3.8173        .13203E-04   -1.5684    
   2  alpha         3.0801        1.5369        .21648E-01    .23416    
   3  Normalizat    .88088        .20237        .25974E-03   -.97135    
   4  Prefactor     1.2754        .24976        .27531E-03   -.84041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69719e-08
Minuit parameter uncertainties:
  1  3.81734
  2  1.66361
  3  0.202547
  4  0.249994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135157': 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) = 6547.99964356
delta logL = 0.193661370378

Extracting fit parameters...

4FGL J1333.7+5056
   Spectrum: LogParabola
350         norm:  1.442e+00  3.817e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  3.080e+00  1.664e+00  0.000e+00  5.000e+00 ( 1.000e+00)
352         beta:  8.960e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  7.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.275e+00  2.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.809e-01  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 203.439 50.937

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/135157/cmap_HighResolution_682300801_682560001_4FGL_J1333.7+5056_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.89e-05', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2022-09-16 17:55:28.893387', job_id='135157', GAL2='1.28', fit_tolerance='1e-08', EG2='0.88', EG='0.90', time_epoch_completed='1663376128.89', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.94e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1709' AND source_name='4FGL J1333.7+5056' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:55:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 135157: <4FGL_J1333.7+5056_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1333.7+5056_daily_bin1709> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:40:22 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:42:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:42:16 2022
Terminated at Fri Sep 16 17:55:29 2022
Results reported at Fri Sep 16 17:55:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.7+5056_daily_bin1709 203.439 50.9366 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1333.7+5056 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   760.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            907 sec.

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

