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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1771
RA = 208.718, Dec = -10.6932
tmin = 698371201, tmax = 698630401
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='550140', job_status='RUN', time_executed='2023-02-21 01:00:45.304694', time_epoch_executed='1676970045.3' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550140/ft1_4FGL_J1354.8-1041_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550140/ft2_4FGL_J1354.8-1041_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550140/ft1_4FGL_J1354.8-1041_daily_bin1771.fits outfile=/scratch/kocevski/550140/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1771.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=698371201.0 tmax=698630401.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.29
user 2.87
sys 0.19

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

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

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550140/ft1_filtered_4FGL_J1354.8-1041_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/550140/ft2_4FGL_J1354.8-1041_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/550140/ltcube_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.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/550140/ft2_4FGL_J1354.8-1041_daily_bin1771.fits
.....................!
real 13.15
user 12.83
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550140/ft1_filtered_4FGL_J1354.8-1041_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/550140/ft2_4FGL_J1354.8-1041_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/550140/ltcube_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.fits outfile=/scratch/kocevski/550140/expmap_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.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/550140/ltcube_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.fits
.....................!
real 189.87
user 185.03
sys 4.32

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/550140/ft1_filtered_4FGL_J1354.8-1041_daily_bin1771.fits scfile=/scratch/kocevski/550140/ft2_4FGL_J1354.8-1041_daily_bin1771.fits outfile=/scratch/kocevski/550140/cmap_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.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.51
user 0.38
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550140/ft1_filtered_4FGL_J1354.8-1041_daily_bin1771.fits scfile=/scratch/kocevski/550140/ft2_4FGL_J1354.8-1041_daily_bin1771.fits outfile=/scratch/kocevski/550140/cmap_HighResolution_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550140/ft1_filtered_4FGL_J1354.8-1041_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/550140/ft2_4FGL_J1354.8-1041_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550140/Model_4FGL_J1354.8-1041_daily_bin1771.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/550140/ft1_filtered_4FGL_J1354.8-1041_daily_bin1771.fits.....................!
real 54.81
user 53.31
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.063       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.446       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17764E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45127E-01   1.0000          .0000       .10000E+07
     5 'norm      '    1.4504       1.0000          .0000       .10000E+07
     6 'norm      '    9.7955       1.0000          .0000       .10000E+07
     7 'norm      '    9.2609       1.0000          .0000       .10000E+07
     8 'Prefactor '    17.996       1.0000          .0000       .10000E+07
     9 'norm      '    .10248E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27076E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .16250E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6538       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39979E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .68285E-05   1.0000          .0000       .10000E+07
    15 'norm      '    36.174       1.0000          .0000       .10000E+07
    16 'norm      '    13.300       1.0000          .0000       .10000E+07
    17 'norm      '    .67708E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    14.919       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32786E-01   1.0000          .0000       .10000E+07
    20 'norm      '    21.847       1.0000          .0000       .10000E+07
    21 'Normalizat'    .99100       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96062       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=   6448.486     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1687 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.069        1.0392        .23918E-08   -.16337E-02
   2  Prefactor     10.469        1.5941       -.24030E-07   -.67021E-02
   3  Prefactor     .57732E-08    9.3893       -.31208E-06** at limit **
   4  Prefactor     .45070E-05    2.1296       -.99296E-08** at limit **
   5  norm          1.4500        1.3490       -.64360E-07    .90491E-03
   6  norm          9.8339        5.8119       -.17423E-06   -.53372E-02
   7  norm          9.2993        9.4071       -.15337E-07    .16738E-01
   8  Prefactor     17.869        2.1804       -.39958E-10   -.81106E-01
   9  norm          .11990E-07    13.081        .18419E-06** at limit **
  10  Prefactor     .66613E-09    5.9264       -.67345E-07** at limit **
  11  norm           .0000        1.8104        .15035E-06** at limit **
  12  Prefactor     1.6482        4.0562       -.35375E-06    .47324E-03
  13  Prefactor     .12768E-08    62.316        .42849E-06** at limit **
  14  norm          .55511E-10    1.9253       -.43862E-06** at limit **
  15  norm          36.194        5.4718       -.97410E-08   -.21009E-02
  16  norm          13.299        1.7784        .10760E-07   -.35118E-01
  17  norm           .0000        2.4886        .43062E-07** at limit **
  18  Prefactor     14.958        1.1110       -.11528E-08    .17440E-01
  19  Prefactor     .53291E-08    29.398       -.43289E-06** at limit **
  20  norm          21.884        1.0399        .59843E-08   -.10114E-01
  21  Normalizat    .99061        .28438        .10093E-04   -.36055E-05
  22  Prefactor     .96069        .14322       -.44812E-05    .33395E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.0688
  Prefactor  = 10.4687
  Prefactor  = 5.77316e-09
  Prefactor  = 4.50701e-06
  norm       = 1.45
  norm       = 9.83386
  norm       = 9.29929
  Prefactor  = 17.8693
  norm       = 1.19904e-08
  Prefactor  = 6.66134e-10
  norm       = 0
  Prefactor  = 1.64821
  Prefactor  = 1.27676e-09
  norm       = 5.55112e-11
  norm       = 36.1936
  norm       = 13.2992
  norm       = 0
  Prefactor  = 14.9577
  Prefactor  = 5.32907e-09
  norm       = 21.8839
  Normalizat = 0.990607
  Prefactor  = 0.960689
 **********
 **   18 **HESSE 
 **********

 FCN=   6448.486     FROM HESSE     STATUS=OK           396 CALLS     2083 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.069        13.141        .27689E-03   -1.5636    
   2  Prefactor     10.469        16.815        .30976E-03   -1.5643    
   3  Prefactor     .57732E-08    9.5048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .45070E-05    30.572        .11805E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4500        1.3394        .89428E-03   -1.5684    
   6  norm          9.8339        7.2147        .31993E-03   -1.5645    
   7  norm          9.2993        9.5813        .32909E-03   -1.5647    
   8  Prefactor     17.869        15.299        .23582E-03   -1.5623    
   9  norm          .11990E-07    13.270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .66613E-09    5.9481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.8094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6482        4.0969        .82047E-03   -1.5682    
  13  Prefactor     .12768E-08    61.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    1.9256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          36.194        5.4837        .16628E-03   -1.5588    
  16  norm          13.299        11.703        .27440E-03   -1.5635    
  17  norm           .0000        2.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.958        14.179        .25904E-03   -1.5631    
  19  Prefactor     .53291E-08    28.246        .16307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          21.884        19.126        .21401E-03   -1.5614    
  21  Normalizat    .99061        .25069        .83961E-01   -.93346    
  22  Prefactor     .96069        .12407        .45773E-01   -.94052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1986e-07
Minuit parameter uncertainties:
  1  13.141
  2  16.8146
  3  0.000467539
  4  0.0234768
  5  1.33936
  6  7.21468
  7  9.58127
  8  15.2989
  9  0.0007984
  10  0.000124961
  11  9.73124e-06
  12  4.09691
  13  0.000558029
  14  2.2854e-05
  15  5.48371
  16  11.7031
  17  8.97645e-06
  18  14.1793
  19  0.000774542
  20  19.1265
  21  0.250992
  22  0.124108
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  5.551e-11  2.285e-05  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.607e-01  1.241e-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:  9.906e-01  2.510e-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: 5.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550140/likelihoodResults_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.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): 102
logL (Free Index) = 6448.48662222
delta logL = -0.000158506869411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6448.48646572
delta logL = -2.01183138415e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57626E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .51618       1.0000          .0000       5.0000    
     3 'Normalizat'    .99017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96094       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=   6448.486     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      264 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13878E-08    .57480E-01    .42118E-03** at limit **
   2  alpha         3.7268        3.0957        .50000        .18008E-08
   3  Normalizat    .99061        .17080E-02    .83961E-01    .22427E-03
   4  Prefactor     .96069        .88129E-03    .45777E-01    .13841E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38778e-09
  alpha      = 3.72681
  Normalizat = 0.990611
  Prefactor  = 0.960687
 **********
 **   18 **HESSE 
 **********

 FCN=   6448.486     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      291 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13878E-08    .38145        .69310E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7268        3.0768        .50000        .51292    
   3  Normalizat    .99061        .43722E-02    .37170E-03   -.93346    
   4  Prefactor     .96069        .22604E-02    .19345E-03   -.94052    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.04201e-11
Minuit parameter uncertainties:
  1  4.6169e-05
  2  25387
  3  0.00437224
  4  0.00226042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550140': 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) = 6448.48646371
delta logL = -9.57697920967e-10

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.388e-09  4.617e-05  0.000e+00  1.000e+06 ( 1.000e-12)
273        alpha:  3.727e+00  2.539e+04  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.607e-01  2.260e-03  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:  9.906e-01  4.372e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/550140/cmap_HighResolution_698371201_698630401_4FGL_J1354.8-1041_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-05', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2023-02-21 01:09:49.768508', job_id='550140', GAL2='0.96', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1676970589.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-9.58e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1771' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:09:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 550140: <4FGL_J1354.8-1041_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 01:00:18 2023
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 01:00:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 01:00:18 2023
Terminated at Tue Feb 21 01:09:50 2023
Results reported at Tue Feb 21 01:09:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1771 208.718 -10.6932 698371201 698630401 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 :                                   545.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            572 sec.

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

