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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1765
RA = 208.718, Dec = -10.6932
tmin = 696816001, tmax = 697075201
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='636820', job_status='RUN', time_executed='2023-02-03 01:06:05.736354', time_epoch_executed='1675415165.74' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636820

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636820/ft1_4FGL_J1354.8-1041_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636820/ft1_4FGL_J1354.8-1041_daily_bin1765.fits outfile=/scratch/kocevski/636820/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1765.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=696816001.0 tmax=697075201.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.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.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/636820/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 812

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/636820/ltcube_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.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/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits
.....................!
real 15.58
user 15.05
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/636820/ltcube_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.fits outfile=/scratch/kocevski/636820/expmap_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.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/636820/ltcube_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.fits
.....................!
real 194.09
user 187.37
sys 5.82

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/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits scfile=/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits outfile=/scratch/kocevski/636820/cmap_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits scfile=/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits outfile=/scratch/kocevski/636820/cmap_HighResolution_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636820/Model_4FGL_J1354.8-1041_daily_bin1765.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/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits.....................!
real 69.20
user 67.64
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits', '/scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits', expMap='/scratch/kocevski/636820/expmap_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.fits', expCube='/scratch/kocevski/636820/ltcube_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636820/Model_4FGL_J1354.8-1041_daily_bin1765.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/636820/ft1_filtered_4FGL_J1354.8-1041_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/636820/ft2_4FGL_J1354.8-1041_daily_bin1765.fits
Exposure map: /scratch/kocevski/636820/expmap_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.fits
Exposure cube: /scratch/kocevski/636820/ltcube_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636820/Model_4FGL_J1354.8-1041_daily_bin1765.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) = 8803.56637181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41941E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .85883E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12109E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    34.357       1.0000          .0000       .10000E+07
     5 'norm      '    1.5367       1.0000          .0000       .10000E+07
     6 'norm      '    6.1859       1.0000          .0000       .10000E+07
     7 'norm      '    .13192E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1336       1.0000          .0000       .10000E+07
     9 'norm      '    .30090E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14864E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.9277       1.0000          .0000       .10000E+07
    12 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    13 'Prefactor '    .87300E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .11176E-02   1.0000          .0000       .10000E+07
    15 'norm      '    33.758       1.0000          .0000       .10000E+07
    16 'norm      '    10.163       1.0000          .0000       .10000E+07
    17 'norm      '    6.1911       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0204       1.0000          .0000       .10000E+07
    19 'Prefactor '    19.515       1.0000          .0000       .10000E+07
    20 'norm      '    .32720E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1427       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90369       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=   8803.562     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1724 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38192E-07    2.6582        .78202E-07** at limit **
   2  Prefactor     .38858E-09    2.5042       -.56658E-07** at limit **
   3  Prefactor     .65503E-08    2.6669        .69605E-07** at limit **
   4  Prefactor     34.325        1.4874       -.29895E-08    .30310E-01
   5  norm          1.5351        1.4949       -.21150E-07   -.20780E-02
   6  norm          6.1918        3.7062        .14061E-07   -.20581E-03
   7  norm          .44409E-09    13.984       -.36970E-06** at limit **
   8  Prefactor     2.1165        1.4841       -.12366E-07    .37190E-02
   9  norm          .58953E-07    6.5436       -.63307E-08** at limit **
  10  Prefactor     .17208E-08    4.0794        .15585E-08** at limit **
  11  norm          1.9314        3.1062       -.19392E-07   -.97232E-03
  12  Prefactor     .55511E-10    1.5914        .10182E-06** at limit **
  13  Prefactor     .46629E-08    24.988       -.30232E-07** at limit **
  14  norm          .46907E-07    3.9782        .48882E-07** at limit **
  15  norm          33.741        4.7598       -.33452E-08    .34371E-01
  16  norm          10.164        1.3282        .12004E-09    .19329E-01
  17  norm          6.1796        3.4280        .62602E-08   -.72455E-01
  18  Prefactor     2.9990        1.3134       -.24038E-07   -.46909E-02
  19  Prefactor     19.505        1.0099       -.48271E-09    .34018E-02
  20  norm          .26534E-07    3.7127        .17497E-07** at limit **
  21  Normalizat    1.1430        .23677        .14558E-05    .18572E-03
  22  Prefactor     .90383        .12186       -.17520E-06    .24694E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.81917e-08
  Prefactor  = 3.88578e-10
  Prefactor  = 6.55032e-09
  Prefactor  = 34.3253
  norm       = 1.53511
  norm       = 6.19179
  norm       = 4.44089e-10
  Prefactor  = 2.11649
  norm       = 5.89528e-08
  Prefactor  = 1.72085e-09
  norm       = 1.93135
  Prefactor  = 5.55112e-11
  Prefactor  = 4.66294e-09
  norm       = 4.69069e-08
  norm       = 33.7415
  norm       = 10.1644
  norm       = 6.17959
  Prefactor  = 2.99901
  Prefactor  = 19.5054
  norm       = 2.65343e-08
  Normalizat = 1.14297
  Prefactor  = 0.903834
 **********
 **   18 **HESSE 
 **********

 FCN=   8803.562     FROM HESSE     STATUS=OK           388 CALLS     2112 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38192E-07    5.1308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38858E-09    2.5076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .65503E-08    4.8508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.325        26.189        .17063E-03   -1.5591    
   5  norm          1.5351        1.5114        .86011E-03   -1.5683    
   6  norm          6.1918        5.4726        .40340E-03   -1.5658    
   7  norm          .44409E-09    13.872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1165        13.157        .70548E-03   -1.5679    
   9  norm          .58953E-07    8.2321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17208E-08    4.1890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9314        3.1445        .74788E-03   -1.5680    
  12  Prefactor     .55511E-10    1.5919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46629E-08    23.846        .14284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .46907E-07    7.6310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          33.741        4.9462        .17213E-03   -1.5592    
  16  norm          10.164        8.6215        .31407E-03   -1.5644    
  17  norm          6.1796        7.9312        .40323E-03   -1.5658    
  18  Prefactor     2.9990        23.944        .58369E-03   -1.5673    
  19  Prefactor     19.505        20.465        .22645E-03   -1.5620    
  20  norm          .26534E-07    7.5573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1430        .20770        .76809E-01   -.88384    
  22  Prefactor     .90383        .10609        .45052E-01   -.96007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.98845e-08
Minuit parameter uncertainties:
  1  0.000885037
  2  6.06461e-05
  3  0.000356969
  4  26.1887
  5  1.51138
  6  5.47257
  7  0.000160607
  8  10.5542
  9  0.00139316
  10  0.000170592
  11  3.14451
  12  1.86143e-05
  13  0.000665914
  14  0.00119647
  15  4.94622
  16  8.62149
  17  7.93125
  18  16.948
  19  20.4646
  20  0.000895708
  21  0.207851
  22  0.106117
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  4.691e-08  1.196e-03  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:  9.038e-01  1.061e-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.143e+00  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/636820/likelihoodResults_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.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) = 8803.6413928
delta logL = -0.0794169127839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8803.53080023
delta logL = 0.0311756565497

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36966       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5359       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90586       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=   8803.531     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37055        79.442        .93090E-03    .27843E-01
   2  alpha         3.5354        2.7359        .46863        .59065E-04
   3  Normalizat    1.1330        .41148E-01    .77092E-01    .80841E-05
   4  Prefactor     .90587        .21959E-01    .45080E-01   -.30434E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.370546
  alpha      = 3.53544
  Normalizat = 1.133
  Prefactor  = 0.905865
 **********
 **   18 **HESSE 
 **********

 FCN=   8803.531     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37055        37.809        .22230E-04   -1.5696    
   2  alpha         3.5354        3.1399        .75618E-01    .42704    
   3  Normalizat    1.1330        .22953        .34122E-03   -.88699    
   4  Prefactor     .90587        .12130        .19963E-03   -.95936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3113e-06
Minuit parameter uncertainties:
  1  7.48605
  2  10.8143
  3  0.229732
  4  0.121337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636820': 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) = 8803.53079999
delta logL = 0.0311758891767

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.705e-01  7.486e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        alpha:  3.535e+00  1.081e+01  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:  9.059e-01  1.213e-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.133e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 208.718 -10.693

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/636820/cmap_HighResolution_696816001_697075201_4FGL_J1354.8-1041_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-05', job_status='DONE', photon_flux_upper_limit='6.00e-08', time_completed='2023-02-03 01:16:49.890464', job_id='636820', GAL2='0.91', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1675415809.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='3.12e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1765' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:16:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 636820: <4FGL_J1354.8-1041_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:05:24 2023
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:05:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:05:43 2023
Terminated at Fri Feb  3 01:16:50 2023
Results reported at Fri Feb  3 01:16:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1765 208.718 -10.6932 696816001 697075201 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 :                                   644.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             388.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            686 sec.

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

