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


Performing analysis on: 4FGL_J1333.7+5056_daily_bin1769
RA = 203.439, Dec = 50.9366
tmin = 697852801, tmax = 698112001
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='435857', job_status='RUN', time_executed='2023-02-15 00:50:52.796326', time_epoch_executed='1676451052.8' WHERE source_name='4FGL J1333.7+5056' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435857

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435857/ft1_4FGL_J1333.7+5056_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435857/ft1_4FGL_J1333.7+5056_daily_bin1769.fits outfile=/scratch/kocevski/435857/ft1_filteredMKT_4FGL_J1333.7+5056_daily_bin1769.fits ra=203.439 dec=50.9366 rad=12.0 tmin=697852801.0 tmax=698112001.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.41
user 4.17
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.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/435857/ft1_filteredMKT_4FGL_J1333.7+5056_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/435857/ft1_filtered_4FGL_J1333.7+5056_daily_bin1769.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.32
sys 0.16

Number of photons that the gtmktime cut: 525

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435857/ft1_filtered_4FGL_J1333.7+5056_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/435857/ltcube_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.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/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.fits
.....................!
real 12.40
user 12.05
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435857/ft1_filtered_4FGL_J1333.7+5056_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/435857/ltcube_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.fits outfile=/scratch/kocevski/435857/expmap_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.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/435857/ltcube_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.fits
.....................!
real 190.17
user 185.61
sys 4.23

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/435857/ft1_filtered_4FGL_J1333.7+5056_daily_bin1769.fits scfile=/scratch/kocevski/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.fits outfile=/scratch/kocevski/435857/cmap_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435857/ft1_filtered_4FGL_J1333.7+5056_daily_bin1769.fits scfile=/scratch/kocevski/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.fits outfile=/scratch/kocevski/435857/cmap_HighResolution_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435857/ft1_filtered_4FGL_J1333.7+5056_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435857/ft2_4FGL_J1333.7+5056_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435857/Model_4FGL_J1333.7+5056_daily_bin1769.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/435857/ft1_filtered_4FGL_J1333.7+5056_daily_bin1769.fits.....................!
real 49.21
user 48.00
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0735       1.0000          .0000       .10000E+07
     2 'Prefactor '    18.696       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19176E-03   1.0000          .0000       .10000E+07
     4 'norm      '    3.4175       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4411       1.0000          .0000       .10000E+07
     6 'norm      '    3.0816       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.020       1.0000          .0000       .10000E+07
     8 'norm      '    5.5694       1.0000          .0000       .10000E+07
     9 'norm      '    .18813E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    47.292       1.0000          .0000       .10000E+07
    11 'Prefactor '    .59744E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.7838       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23727E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .14760E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .14782E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .18863E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    136.34       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18978       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18887E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.2206       1.0000          .0000       .10000E+07
    21 'Prefactor '    .94279       1.0000          .0000       .10000E+07
    22 'Prefactor '    69.049       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15770E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    10.198       1.0000          .0000       .10000E+07
    25 'Prefactor '    10.014       1.0000          .0000       .10000E+07
    26 'Normalizat'    .98177       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .80095       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=   5622.496     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2423 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1158        6.4742       -.66529E-07   -.11746E-02
   2  Prefactor     18.139        4.5892       -.98348E-07    .23994E-01
   3  Prefactor     .11102E-09    5.1120        .93198E-07** at limit **
   4  norm          3.4187        2.0983        .24728E-06    .15539E-01
   5  Prefactor     2.5802        3.6913        .14497E-05   -.86461E-02
   6  norm          3.0829        1.8642       -.62565E-08   -.37292E-02
   7  Prefactor     16.025        10.411       -.27569E-05   -.10157    
   8  norm          5.4474        8.5776       -.19080E-06   -.33199E-02
   9  norm           .0000        2.4157       -.47705E-07** at limit **
  10  Prefactor     47.894        12.367       -.75320E-06    .16618    
  11  Prefactor     .28266E-06    35.467        .12770E-06** at limit **
  12  norm          3.7743        3.4512        .77418E-07    .44614E-02
  13  Prefactor     .15459E-05    41.578        .61917E-06** at limit **
  14  norm          .55511E-10    1.3375       -.57820E-07** at limit **
  15  norm           .0000        1.9201       -.15727E-07** at limit **
  16  norm          .55511E-10    4.0719        .82436E-07** at limit **
  17  Prefactor     140.92        65.784        .63915E-06   -.11101E-01
  18  Prefactor     .39263E-06    99.584        .66211E-06** at limit **
  19  Prefactor     .11102E-09    6.0393        .65379E-07** at limit **
  20  Prefactor     1.1452        10.643        .49986E-05   -.99025E-02
  21  Prefactor     .90081        2.5260        .55569E-07   -.55639E-03
  22  Prefactor     69.105        3.2192       -.19087E-06    .49974E-01
  23  Prefactor     .48794E-07    22.138        .52769E-06** at limit **
  24  Prefactor     9.8553        5.6590       -.15879E-05    .61115E-01
  25  Prefactor     10.010        10.232       -.86427E-06   -.16828E-01
  26  Normalizat    .98095        .18086        .76100E-05    .76044E-04
  27  Prefactor     .80127        .21899       -.36076E-05   -.76536E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.11582
  Prefactor  = 18.1385
  Prefactor  = 1.11022e-10
  norm       = 3.41869
  Prefactor  = 2.58023
  norm       = 3.0829
  Prefactor  = 16.0254
  norm       = 5.44736
  norm       = 0
  Prefactor  = 47.8938
  Prefactor  = 2.82663e-07
  norm       = 3.77426
  Prefactor  = 1.54587e-06
  norm       = 5.55112e-11
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 140.925
  Prefactor  = 3.9263e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 1.1452
  Prefactor  = 0.900811
  Prefactor  = 69.1045
  Prefactor  = 4.87943e-08
  Prefactor  = 9.85526
  Prefactor  = 10.0103
  Normalizat = 0.98095
  Prefactor  = 0.801274
 **********
 **   18 **HESSE 
 **********

 FCN=   5622.496     FROM HESSE     STATUS=OK           550 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1158        8.7054        .57832E-03   -1.5673    
   2  Prefactor     18.139        31.297        .23136E-03   -1.5623    
   3  Prefactor     .11102E-09    5.1072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4187        2.1128        .54696E-03   -1.5671    
   5  Prefactor     2.5802        40.138        .65456E-03   -1.5676    
   6  norm          3.0829        1.8668        .57753E-03   -1.5673    
   7  Prefactor     16.025        11.369        .24997E-03   -1.5628    
   8  norm          5.4474        8.5886        .42547E-03   -1.5661    
   9  norm           .0000        2.4045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.894        35.682        .14543E-03   -1.5570    
  11  Prefactor     .28266E-06    36.674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.7743        3.4742        .51872E-03   -1.5669    
  13  Prefactor     .15459E-05    46.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    1.3073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.9090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    4.0796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     140.92        66.191        .85647E-04   -1.5471    
  18  Prefactor     .39263E-06    103.87        .11961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    6.0325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1452        88.012        .10205E-02   -1.5687    
  21  Prefactor     .90081        2.8987        .42845E-03   -1.5689    
  22  Prefactor     69.105        34.541        .12035E-03   -1.5542    
  23  Prefactor     .48794E-07    22.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.8553        21.136        .31352E-03   -1.5645    
  25  Prefactor     10.010        10.267        .31640E-03   -1.5645    
  26  Normalizat    .98095        .16286        .45938E-01   -.93671    
  27  Prefactor     .80127        .18563        .63693E-01   -.99681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58804e-06
Minuit parameter uncertainties:
  1  8.70542
  2  31.2974
  3  5.30977e-05
  4  2.11278
  5  20.3535
  6  1.86677
  7  11.3694
  8  8.58858
  9  5.28184e-06
  10  35.6819
  11  0.00643966
  12  3.47425
  13  0.0168664
  14  1.4411e-05
  15  4.04504e-06
  16  2.20649e-05
  17  66.1915
  18  0.0127726
  19  4.91627e-05
  20  20.0792
  21  2.89871
  22  34.5411
  23  0.00208727
  24  21.136
  25  10.2673
  26  0.162945
  27  0.185776
Done.

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

Extracting fit parameters...

4FGL J1333.7+5056
   Spectrum: LogParabola
350         norm:  3.774e+00  3.474e+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.013e-01  1.858e-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.809e-01  1.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.44
Ra Dec: 203.439 50.937
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 9.36e-06 +/- 8.62e-06

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

Saving results to:
/scratch/kocevski/435857/likelihoodResults_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.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) = 5622.39505041
delta logL = 0.100977832823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5622.39309677
delta logL = 0.102931474457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6879       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8656       1.0000          .0000       5.0000    
     3 'Normalizat'    .99059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79532       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=   5622.393     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      201 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6879        5.3659        .52567E-03   -.35906E-02
   2  alpha         1.8656        .97976        .42965       -.23526E-04
   3  Normalizat    .99059        .15140        .46049E-01    .88350E-05
   4  Prefactor     .79532        .18554        .63914E-01    .13457E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.68793
  alpha      = 1.86563
  Normalizat = 0.990592
  Prefactor  = 0.795318
 **********
 **   18 **HESSE 
 **********

 FCN=   5622.393     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6879        3.6842        .13368E-04   -1.5670    
   2  alpha         1.8656        .82448        .19769E-01   -.25655    
   3  Normalizat    .99059        .17776        .20820E-03   -.93346    
   4  Prefactor     .79532        .21856        .28271E-03   -.99901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54774e-11
Minuit parameter uncertainties:
  1  3.6842
  2  0.841357
  3  0.177863
  4  0.218795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435857': 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) = 5622.39309677
delta logL = 0.102931474799

Extracting fit parameters...

4FGL J1333.7+5056
   Spectrum: LogParabola
350         norm:  3.688e+00  3.684e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  1.866e+00  8.414e-01  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:  7.953e-01  2.188e-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.906e-01  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.65
Ra Dec: 203.439 50.937
Photon Index (Free Index): 1.87 +/- 0.84
Photon Flux (Free Index): 1.60e-08 +/- 2.24e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.28e-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/435857/cmap_HighResolution_697852801_698112001_4FGL_J1333.7+5056_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-05', comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='1.13e-05', photon_flux_error='2.25e-08', dlogl='1.03e-01', energy_flux='9.36e-06', photon_flux2='1.60e-08', job_status='DONE', time_completed='2023-02-15 01:02:26.703519', photon_index_error2='0.84', photon_index2='1.87', ts='3.44', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='8.15e-08', energy_flux_error2='1.28e-05', EG='0.98', time_epoch_completed='1676451746.7', return_code='0', job_id='435857', GAL2='0.80', EG2='0.99', return_code2='0', energy_flux_error='8.62e-06', photon_flux_error2='2.24e-08', ts2='3.65', photon_index='2.25' WHERE bin_id='1769' AND source_name='4FGL J1333.7+5056' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:02:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 435857: <4FGL_J1333.7+5056_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1333.7+5056_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:50:21 2023
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:50:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:50:22 2023
Terminated at Wed Feb 15 01:02:27 2023
Results reported at Wed Feb 15 01:02:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.7+5056_daily_bin1769 203.439 50.9366 697852801 698112001 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 :                                   695.44 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             328.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            726 sec.

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

