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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1777
RA = 208.718, Dec = -10.6932
tmin = 699926401, tmax = 700185601
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='915797', job_status='RUN', time_executed='2023-03-11 00:49:02.594265', time_epoch_executed='1678524542.59' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915797

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915797/ft1_4FGL_J1354.8-1041_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915797/ft1_4FGL_J1354.8-1041_daily_bin1777.fits outfile=/scratch/kocevski/915797/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1777.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=699926401.0 tmax=700185601.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.66
user 3.40
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.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/915797/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.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.48
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 881

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/915797/ltcube_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.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/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits
.....................!
real 11.92
user 11.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/915797/ltcube_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.fits outfile=/scratch/kocevski/915797/expmap_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.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/915797/ltcube_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.fits
.....................!
real 190.53
user 185.29
sys 4.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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1354.8-1041 @ 208.718 -10.6932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits scfile=/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits outfile=/scratch/kocevski/915797/cmap_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.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=208.718 yref=-10.6932 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/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits scfile=/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits outfile=/scratch/kocevski/915797/cmap_HighResolution_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.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=208.718 yref=-10.6932 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/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915797/Model_4FGL_J1354.8-1041_daily_bin1777.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/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits.....................!
real 72.03
user 70.74
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits', '/scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits', expMap='/scratch/kocevski/915797/expmap_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.fits', expCube='/scratch/kocevski/915797/ltcube_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/915797/Model_4FGL_J1354.8-1041_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1354.8-1041'

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.768e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        alpha:  2.271e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  1.844e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/915797/ft1_filtered_4FGL_J1354.8-1041_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/915797/ft2_4FGL_J1354.8-1041_daily_bin1777.fits
Exposure map: /scratch/kocevski/915797/expmap_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.fits
Exposure cube: /scratch/kocevski/915797/ltcube_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/915797/Model_4FGL_J1354.8-1041_daily_bin1777.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) = 9248.10115324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28428E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48361E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.9224       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23211E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .52535       1.0000          .0000       .10000E+07
     6 'norm      '    13.007       1.0000          .0000       .10000E+07
     7 'norm      '    10.138       1.0000          .0000       .10000E+07
     8 'Prefactor '    .46963E-04   1.0000          .0000       .10000E+07
     9 'norm      '    27.488       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.1247       1.0000          .0000       .10000E+07
    11 'norm      '    .12095E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.6366       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21065       1.0000          .0000       .10000E+07
    14 'norm      '    3.3841       1.0000          .0000       .10000E+07
    15 'norm      '    28.117       1.0000          .0000       .10000E+07
    16 'norm      '    .20447E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .19964E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .29232E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    15.096       1.0000          .0000       .10000E+07
    20 'norm      '    .13029E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4165       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9248.097     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1710 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48572E-07    2.4988        .38836E-06** at limit **
   2  Prefactor     .14433E-08    1.2614       -.11394E-06** at limit **
   3  Prefactor     8.9305        1.3328        .29962E-07    .81521E-03
   4  Prefactor     .20983E-06    10.902       -.79992E-06** at limit **
   5  norm          .52793        1.1225       -.12992E-06   -.12788E-02
   6  norm          13.008        4.1211       -.25120E-07   -.16058E-01
   7  norm          10.106        5.5044       -.11080E-06    .57355E-01
   8  Prefactor     .10919E-06    2.4392       -.58777E-06** at limit **
   9  norm          27.444        14.460       -.88556E-06    .15339    
  10  Prefactor     6.1738        6.0595        .87823E-08   -.12610E-02
  11  norm           .0000        1.0187        .21742E-06** at limit **
  12  Prefactor     5.6321        4.7426        .13445E-06   -.35114E-01
  13  Prefactor     .68151E-06    22.454       -.10526E-05** at limit **
  14  norm          3.3749        4.2718        .85590E-07    .39791E-01
  15  norm          28.094        4.1577       -.36218E-07   -.44457E-02
  16  norm          .60141E-06    6.0396        .96977E-06** at limit **
  17  norm          .74885E-07    4.6961        .75392E-06** at limit **
  18  Prefactor     .28760E-06    7.4362       -.10456E-05** at limit **
  19  Prefactor     15.094        1.1117        .36559E-07    .54212E-02
  20  norm          .27811E-07    3.8224       -.12089E-06** at limit **
  21  Normalizat    1.4168        .23296       -.19257E-05   -.80247E-04
  22  Prefactor     .74750        .11627       -.73394E-06   -.10553E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.85723e-08
  Prefactor  = 1.44329e-09
  Prefactor  = 8.93047
  Prefactor  = 2.09832e-07
  norm       = 0.527927
  norm       = 13.0085
  norm       = 10.1065
  Prefactor  = 1.0919e-07
  norm       = 27.4441
  Prefactor  = 6.17375
  norm       = 0
  Prefactor  = 5.63206
  Prefactor  = 6.8151e-07
  norm       = 3.37485
  norm       = 28.0937
  norm       = 6.01408e-07
  norm       = 7.48845e-08
  Prefactor  = 2.87603e-07
  Prefactor  = 15.0944
  norm       = 2.78111e-08
  Normalizat = 1.41678
  Prefactor  = 0.747503
 **********
 **   18 **HESSE 
 **********

 FCN=   9248.097     FROM HESSE     STATUS=OK           386 CALLS     2096 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48572E-07    3.3492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14433E-08    3.4354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.9305        9.1635        .33531E-03   -1.5648    
   4  Prefactor     .20983E-06    12.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .52793        1.1412        .76199E-03   -1.5693    
   6  norm          13.008        4.4928        .27749E-03   -1.5636    
   7  norm          10.106        7.4853        .31446E-03   -1.5644    
   8  Prefactor     .10919E-06    3.5421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          27.444        34.061        .19077E-03   -1.5603    
  10  Prefactor     6.1738        6.0693        .40543E-03   -1.5658    
  11  norm           .0000        1.0227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.6321        5.5411        .42288E-03   -1.5660    
  13  Prefactor     .68151E-06    37.892        .11589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.3749        6.7761        .54977E-03   -1.5671    
  15  norm          28.094        4.1595        .18862E-03   -1.5602    
  16  norm          .60141E-06    9.8554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .74885E-07    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .28760E-06    8.7645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.094        13.322        .25752E-03   -1.5630    
  20  norm          .27811E-07    4.0535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4168        .20263        .69116E-01   -.80145    
  22  Prefactor     .74750        .99848E-01    .43032E-01   -1.0169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26416e-06
Minuit parameter uncertainties:
  1  0.000806846
  2  0.000139956
  3  9.16348
  4  0.00326036
  5  1.14118
  6  4.49275
  7  7.48534
  8  0.00124378
  9  34.0615
  10  6.06928
  11  5.41729e-06
  12  5.54106
  13  0.0101634
  14  6.77611
  15  4.15947
  16  0.00486903
  17  0.00193124
  18  0.0031755
  19  13.3218
  20  0.000671781
  21  0.202746
  22  0.0998716
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.375e+00  6.776e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        alpha:  2.271e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  1.844e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.475e-01  9.987e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.417e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 9.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915797/likelihoodResults_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.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) = 9247.65769942
delta logL = 0.438930770999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9247.64933141
delta logL = 0.447298781266

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9247.649     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0738        71.476        .57854E-03    .81248E-02
   2  alpha         3.1593        4.0151        .43129        .62619E-04
   3  Normalizat    1.3844        .59968E-01    .69716E-01    .13458E-04
   4  Prefactor     .75569        .30249E-01    .43136E-01    .18936E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.07377
  alpha      = 3.15929
  Normalizat = 1.38437
  Prefactor  = 0.755688
 **********
 **   18 **HESSE 
 **********

 FCN=   9247.649     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0738        5.0512        .15938E-04   -1.5673    
   2  alpha         3.1593        1.0481        .20347E-01    .26687    
   3  Normalizat    1.3844        .22537        .30845E-03   -.81082    
   4  Prefactor     .75569        .11594        .20965E-03   -1.0138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25989e-08
Minuit parameter uncertainties:
  1  5.05117
  2  1.08428
  3  0.225536
  4  0.115979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915797': 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) = 9247.64933028
delta logL = 0.447299906338

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.074e+00  5.051e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        alpha:  3.159e+00  1.084e+00  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  1.844e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.557e-01  1.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.384e+00  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 3.16 +/- 1.08
Photon Flux (Free Index): 5.05e-08 +/- 5.20e-08
Energy Flux (Free Index): 1.05e-05 +/- 1.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/915797/cmap_HighResolution_699926401_700185601_4FGL_J1354.8-1041_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-05', comment='SUCCESS', energy_flux2='1.05e-05', dlogl='4.47e-01', photon_flux2='5.05e-08', job_status='DONE', time_completed='2023-03-11 01:00:21.464010', photon_index_error2='1.08', photon_index2='3.16', ts='0.35', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='9.15e-08', energy_flux_error2='1.07e-05', EG='1.42', time_epoch_completed='1678525221.46', return_code='0', job_id='915797', GAL2='0.76', EG2='1.38', return_code2='0', photon_flux_error2='5.20e-08', ts2='1.27', photon_index='2.27' WHERE bin_id='1777' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:00:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 915797: <4FGL_J1354.8-1041_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 00:45:21 2023
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:45:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:45:22 2023
Terminated at Sat Mar 11 01:00:22 2023
Results reported at Sat Mar 11 01:00:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1777 208.718 -10.6932 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1354.8-1041 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   681.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

