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


Performing analysis on: 4FGL_J1333.7+5056_daily_bin1750
RA = 203.439, Dec = 50.9366
tmin = 692928001, tmax = 693187201
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='13423', job_status='RUN', time_executed='2022-12-20 00:57:44.381823', time_epoch_executed='1671526664.38' WHERE source_name='4FGL J1333.7+5056' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13423

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13423/ft1_4FGL_J1333.7+5056_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13423/ft1_4FGL_J1333.7+5056_daily_bin1750.fits outfile=/scratch/kocevski/13423/ft1_filteredMKT_4FGL_J1333.7+5056_daily_bin1750.fits ra=203.439 dec=50.9366 rad=12.0 tmin=692928001.0 tmax=693187201.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 2.75
user 2.53
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.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/13423/ft1_filteredMKT_4FGL_J1333.7+5056_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.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.42
user 0.26
sys 0.15

Number of photons that the gtmktime cut: 566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/13423/ltcube_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.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/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits
.....................!
real 9.22
user 8.91
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/13423/ltcube_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.fits outfile=/scratch/kocevski/13423/expmap_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.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/13423/ltcube_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.fits
.....................!
real 150.34
user 145.61
sys 3.93

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/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits scfile=/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits outfile=/scratch/kocevski/13423/cmap_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.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.45
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits scfile=/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits outfile=/scratch/kocevski/13423/cmap_HighResolution_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.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.45
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/13423/Model_4FGL_J1333.7+5056_daily_bin1750.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/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits.....................!
real 38.20
user 37.02
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits', '/scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits', expMap='/scratch/kocevski/13423/expmap_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.fits', expCube='/scratch/kocevski/13423/ltcube_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13423/Model_4FGL_J1333.7+5056_daily_bin1750.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/13423/ft1_filtered_4FGL_J1333.7+5056_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/13423/ft2_4FGL_J1333.7+5056_daily_bin1750.fits
Exposure map: /scratch/kocevski/13423/expmap_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.fits
Exposure cube: /scratch/kocevski/13423/ltcube_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13423/Model_4FGL_J1333.7+5056_daily_bin1750.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) = 6136.86066095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2009       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.938       1.0000          .0000       .10000E+07
     3 'Prefactor '    .99122       1.0000          .0000       .10000E+07
     4 'norm      '    2.5497       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.7010       1.0000          .0000       .10000E+07
     6 'norm      '    .17347E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .71933E-02   1.0000          .0000       .10000E+07
     8 'norm      '    32.976       1.0000          .0000       .10000E+07
     9 'norm      '    3.9585       1.0000          .0000       .10000E+07
    10 'Prefactor '    65.376       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11651E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.3714       1.0000          .0000       .10000E+07
    13 'Prefactor '    102.28       1.0000          .0000       .10000E+07
    14 'norm      '    .60263E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .21816E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .20998E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    11.751       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.931       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.1233       1.0000          .0000       .10000E+07
    20 'Prefactor '    22.278       1.0000          .0000       .10000E+07
    21 'Prefactor '    4.6082       1.0000          .0000       .10000E+07
    22 'Prefactor '    .17444E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .79913E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    23.312       1.0000          .0000       .10000E+07
    25 'Prefactor '    8.6031       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0161       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83951       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=   6136.855     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2485 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1048        6.8917       -.74061E-07   -.12991E-01
   2  Prefactor     10.858        4.7328        .14469E-07    .39902E-01
   3  Prefactor     1.0275        5.2038        .34705E-06   -.28871E-02
   4  norm          2.5478        1.6056       -.29521E-07   -.11391E-02
   5  Prefactor     7.7071        5.2513       -.18270E-07   -.11143E-01
   6  norm          .55511E-10    .57961        .16138E-06** at limit **
   7  Prefactor     .10492E-07    11.452        .17318E-06** at limit **
   8  norm          32.960        8.6059        .60375E-08   -.15235    
   9  norm          3.9445        4.0022        .15624E-07   -.15354E-03
  10  Prefactor     66.097        39.101        .84289E-07    .57079E-01
  11  Prefactor     .29698E-07    29.438        .82640E-06** at limit **
  12  norm          4.3524        4.5956       -.26863E-07   -.16353E-02
  13  Prefactor     103.40        54.676        .21570E-06   -.40013E-01
  14  norm           .0000        1.2391       -.67086E-08** at limit **
  15  norm           .0000        1.3550       -.35956E-07** at limit **
  16  norm           .0000        5.2865       -.71215E-07** at limit **
  17  Prefactor     11.858        3.3846        .17332E-07    .10591E-01
  18  Prefactor     21.154        6.4261        .51377E-07    .78456E-02
  19  Prefactor     1.1058        3.8753        .51175E-07    .10635E-02
  20  Prefactor     22.303        5.4730        .13896E-07   -.12489    
  21  Prefactor     4.6064        2.6806       -.45896E-07   -.26366E-02
  22  Prefactor     .81601E-08    12.298       -.11010E-06** at limit **
  23  Prefactor     .11102E-09    25.125        .22082E-06** at limit **
  24  Prefactor     23.219        4.1608        .67288E-08   -.74631E-01
  25  Prefactor     8.6515        12.304       -.35499E-07   -.82285E-01
  26  Normalizat    1.0149        .18963        .10723E-05    .14116E-03
  27  Prefactor     .84015        .22261       -.50637E-06    .84627E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.10484
  Prefactor  = 10.8576
  Prefactor  = 1.02753
  norm       = 2.54776
  Prefactor  = 7.70711
  norm       = 5.55112e-11
  Prefactor  = 1.04916e-08
  norm       = 32.9595
  norm       = 3.9445
  Prefactor  = 66.0974
  Prefactor  = 2.96985e-08
  norm       = 4.35236
  Prefactor  = 103.397
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 11.858
  Prefactor  = 21.1544
  Prefactor  = 1.10579
  Prefactor  = 22.3028
  Prefactor  = 4.60644
  Prefactor  = 8.16014e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 23.2192
  Prefactor  = 8.65153
  Normalizat = 1.01486
  Prefactor  = 0.840153
 **********
 **   18 **HESSE 
 **********

 FCN=   6136.855     FROM HESSE     STATUS=OK           550 CALLS     3035 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1048        10.259        .37356E-03   -1.5655    
   2  Prefactor     10.858        26.177        .30268E-03   -1.5642    
   3  Prefactor     1.0275        5.2744        .43454E-03   -1.5688    
   4  norm          2.5478        1.6054        .63919E-03   -1.5676    
   5  Prefactor     7.7071        15.604        .36112E-03   -1.5652    
   6  norm          .55511E-10    .58055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10492E-07    11.328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.960        18.374        .17416E-03   -1.5593    
   9  norm          3.9445        4.0395        .50674E-03   -1.5668    
  10  Prefactor     66.097        40.507        .12369E-03   -1.5545    
  11  Prefactor     .29698E-07    29.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3524        4.6071        .48149E-03   -1.5666    
  13  Prefactor     103.40        56.291        .98887E-04   -1.5505    
  14  norm           .0000        1.2119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.3540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        5.3090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.858        45.783        .29198E-03   -1.5639    
  18  Prefactor     21.154        45.225        .21864E-03   -1.5616    
  19  Prefactor     1.1058        4.1398        .11060E-02   -1.5687    
  20  Prefactor     22.303        20.692        .21192E-03   -1.5614    
  21  Prefactor     4.6064        2.8028        .46864E-03   -1.5665    
  22  Prefactor     .81601E-08    12.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .11102E-09    25.093        .14504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     23.219        23.306        .20716E-03   -1.5612    
  25  Prefactor     8.6515        15.010        .34152E-03   -1.5649    
  26  Normalizat    1.0149        .16331        .43990E-01   -.92534    
  27  Prefactor     .84015        .18965        .65593E-01   -.98265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28688e-06
Minuit parameter uncertainties:
  1  10.2591
  2  26.177
  3  4.65601
  4  1.60537
  5  15.6039
  6  1.09443e-05
  7  0.000689553
  8  18.3738
  9  4.03947
  10  40.5068
  11  0.00186826
  12  4.60708
  13  56.2916
  14  2.94543e-06
  15  4.91112e-06
  16  2.10093e-05
  17  45.7846
  18  45.2254
  19  4.13978
  20  20.6918
  21  2.80284
  22  0.000633274
  23  0.000106324
  24  23.306
  25  15.0099
  26  0.16339
  27  0.189801
Done.

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

Extracting fit parameters...

4FGL J1333.7+5056
   Spectrum: LogParabola
350         norm:  4.352e+00  4.607e+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:  8.402e-01  1.898e-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:  1.015e+00  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 203.439 50.937
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 2.82e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 1.14e-05

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

Saving results to:
/scratch/kocevski/13423/likelihoodResults_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.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) = 6135.95896317
delta logL = 0.896258643513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6135.95328593
delta logL = 0.901935883481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48453       1.0000          .0000       .10000E+07
     2 'alpha     '    4.3497       1.0000          .0000       5.0000    
     3 'Normalizat'    .93841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91227       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=   6135.953     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      255 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48282        5.1160        .75481E-03   -.60362E-02
   2  alpha         4.3519        4.6756        .38172        .57059E-05
   3  Normalizat    .93845        .44811E-01    .45391E-01   -.74976E-04
   4  Prefactor     .91225        .55460E-01    .45161E-01   -.22710E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.482824
  alpha      = 4.35187
  Normalizat = 0.938451
  Prefactor  = 0.912246
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.953     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48282        9.9276        .34128E-05   -1.5694    
   2  alpha         4.3519        4.3150        .18321E-01    .83418    
   3  Normalizat    .93845        .16963        .22429E-03   -.95122    
   4  Prefactor     .91225        .20785        .27946E-03   -.95714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.30072e-10
Minuit parameter uncertainties:
  1  4.37871
  2  5.3483
  3  0.169722
  4  0.208028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13423': 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): 102
logL (Free Index) = 6135.95328488
delta logL = 0.90193693731

Extracting fit parameters...

4FGL J1333.7+5056
   Spectrum: LogParabola
350         norm:  4.828e-01  4.379e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  4.352e+00  5.348e+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:  9.122e-01  2.080e-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.385e-01  1.697e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.14
Ra Dec: 203.439 50.937
Photon Index (Free Index): 4.35 +/- 5.35
Photon Flux (Free Index): 7.67e-08 +/- 5.01e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.04e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/13423/cmap_HighResolution_692928001_693187201_4FGL_J1333.7+5056_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-05', comment='SUCCESS', photon_flux='2.82e-08', energy_flux2='1.12e-05', photon_flux_error='2.98e-08', dlogl='9.02e-01', energy_flux='1.08e-05', photon_flux2='7.67e-08', job_status='DONE', time_completed='2022-12-20 01:07:24.284828', photon_index_error2='5.35', photon_index2='4.35', ts='1.17', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='9.12e-08', energy_flux_error2='1.04e-05', EG='1.01', time_epoch_completed='1671527244.28', return_code='0', job_id='13423', GAL2='0.91', EG2='0.94', return_code2='102', energy_flux_error='1.14e-05', photon_flux_error2='5.01e-08', ts2='3.14', photon_index='2.25' WHERE bin_id='1750' AND source_name='4FGL J1333.7+5056' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:07:24 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 13423: <4FGL_J1333.7+5056_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1333.7+5056_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 00:55:16 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:55:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:55:17 2022
Terminated at Tue Dec 20 01:07:25 2022
Results reported at Tue Dec 20 01:07:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.7+5056_daily_bin1750 203.439 50.9366 692928001 693187201 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 :                                   580.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            729 sec.

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

