/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 237 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1065
RA = 208.718, Dec = -10.6932
tmin = 515376001, tmax = 515635201
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='55517', job_status='RUN', time_executed='2021-09-08 17:35:16.846548', time_epoch_executed='1631147716.85' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1065'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55517/ft1_4FGL_J1354.8-1041_daily_bin1065.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55517/ft1_4FGL_J1354.8-1041_daily_bin1065.fits outfile=/scratch/kocevski/55517/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1065.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=515376001.0 tmax=515635201.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.45
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.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/55517/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1065.fits evtable="EVENTS" outfile="/scratch/kocevski/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits" evtable="EVENTS" scfile=/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits sctable="SC_DATA" outfile=/scratch/kocevski/55517/ltcube_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.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/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits
.....................!
real 12.01
user 11.66
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits evtable="EVENTS" scfile=/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits sctable="SC_DATA" expcube=/scratch/kocevski/55517/ltcube_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.fits outfile=/scratch/kocevski/55517/expmap_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.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/55517/ltcube_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.fits
.....................!
real 191.20
user 185.59
sys 5.04

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/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits scfile=/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits outfile=/scratch/kocevski/55517/cmap_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.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/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits scfile=/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits outfile=/scratch/kocevski/55517/cmap_HighResolution_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits evtable="EVENTS" scfile=/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55517/Model_4FGL_J1354.8-1041_daily_bin1065.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/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits.....................!
real 48.26
user 46.90
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits', '/scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits', expMap='/scratch/kocevski/55517/expmap_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.fits', expCube='/scratch/kocevski/55517/ltcube_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55517/Model_4FGL_J1354.8-1041_daily_bin1065.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  1.000e-04  1.000e+04 ( 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  0.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/55517/ft1_filtered_4FGL_J1354.8-1041_daily_bin1065.fits
Spacecraft file(s): /scratch/kocevski/55517/ft2_4FGL_J1354.8-1041_daily_bin1065.fits
Exposure map: /scratch/kocevski/55517/expmap_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.fits
Exposure cube: /scratch/kocevski/55517/ltcube_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55517/Model_4FGL_J1354.8-1041_daily_bin1065.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) = 5736.78316635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6344       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1361       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11068E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.2385       1.0000         .10000E-03   10000.    
     7 'norm      '    .29760E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .69626       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .16884E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4315       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10320E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10279E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    20.711       1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.732       1.0000         .10000E-03   10000.    
    20 'Prefactor '    42.862       1.0000         .10000E-03   10000.    
    21 'norm      '    .19352E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91178       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1528       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5736.764     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2604 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.0049        .75022E-08** at limit **
   2  Prefactor     2.6373        11.130        .11878E-05    .99943E-04
   3  Prefactor     3.1393        11.381        .80827E-06    .65855E-04
   4  Prefactor     .10000E-03    36.366       -.10011E-06** at limit **
   5  norm          .10000E-03    .95497        .32668E-06** at limit **
   6  norm          3.2468        4.2519       -.98213E-07    .62049E-03
   7  norm          .10004E-03    10.142       -.24705E-05** at limit **
   8  Prefactor     .65604        8.9900       -.21876E-06    .16899E-03
   9  norm          .10000E-03    22.655        .10691E-05** at limit **
  10  Prefactor     .10001E-03    39.704        .26432E-05** at limit **
  11  norm          .10020E-03    9.7580       -.34419E-05** at limit **
  12  Prefactor     1.4374        5.1771        .31891E-05    .67736E-03
  13  Prefactor     .10000E-03    16.009        .10422E-06** at limit **
  14  Prefactor     .10001E-03    66.790        .16394E-05** at limit **
  15  norm          .10000E-03    4.4348       -.17578E-06** at limit **
  16  norm          .10000E-03    1.4233        .11261E-06** at limit **
  17  norm          .10000E-03    35.045       -.86207E-07** at limit **
  18  norm          20.709        10.851        .13557E-06   -.52108E-04
  19  Prefactor     43.721        27.936       -.16900E-06   -.19313E-03
  20  Prefactor     42.849        34.891       -.10157E-05   -.27142E-03
  21  norm          .10002E-03    75.695       -.56497E-05** at limit **
  22  Normalizat    .91125        .25886       -.28499E-05   -.23386E-05
  23  Prefactor     1.1531        .13859        .23469E-06    .66267E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.63725
  Prefactor  = 3.1393
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.24678
  norm       = 0.000100039
  Prefactor  = 0.656043
  norm       = 0.000100003
  Prefactor  = 0.000100011
  norm       = 0.000100203
  Prefactor  = 1.4374
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 20.7095
  Prefactor  = 43.7213
  Prefactor  = 42.8487
  norm       = 0.000100022
  Normalizat = 0.911251
  Prefactor  = 1.15307
 **********
 **   18 **HESSE 
 **********

 FCN=   5736.764     FROM HESSE     STATUS=OK           370 CALLS     2974 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.0074        .14804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6373        11.033        .25123E-03   -1.5383    
   3  Prefactor     3.1393        11.282        .22892E-03   -1.5354    
   4  Prefactor     .10000E-03    36.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.4869        .14107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2468        3.8474        .15341E-03   -1.5348    
   7  norm          .10004E-03    30.796        .37962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .65604        57.549        .42919E-02   -1.5546    
   9  norm          .10000E-03    22.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    41.639        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10020E-03    25.777        .32161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4374        5.4188        .32129E-03   -1.5468    
  13  Prefactor     .10000E-03    16.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    67.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.4794        .15578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7515        .17479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    35.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          20.709        10.815        .88012E-04   -1.4797    
  19  Prefactor     43.721        28.011        .60623E-04   -1.4385    
  20  Prefactor     42.849        34.984        .61233E-04   -1.4398    
  21  norm          .10002E-03    78.726        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91125        .28898        .36574E-03   -.96066    
  23  Prefactor     1.1531        .15747        .18231E-03   -.87788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18051e-08
Minuit parameter uncertainties:
  1  5.55393e-07
  2  10.7913
  3  11.2894
  4  6.84816e-05
  5  1.74666e-05
  6  3.84773
  7  0.00219182
  8  12.3002
  9  0.000483785
  10  0.00136653
  11  0.00458038
  12  5.42069
  13  1.0891e-05
  14  0.00136076
  15  2.35191e-05
  16  1.01447e-05
  17  0.000136598
  18  10.8158
  19  28.0192
  20  35.001
  21  0.00261903
  22  0.289471
  23  0.157537
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.352e-05  1.000e-04  1.000e+04 ( 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  0.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:  1.153e+00  1.575e-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.113e-01  2.895e-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: 8.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.00e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55517/likelihoodResults_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.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) = 5736.76545715
delta logL = -0.00106288902862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5736.76439427
delta logL = -1.14014255814e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10284E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2443       1.0000          .0000       5.0000    
     3 'Normalizat'    .91127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1531       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5736.764     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      246 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    99.134        .61462E-01** at limit **
   2  alpha         1.6440        3.0155        .16571        .27443E-08
   3  Normalizat    .91125        .32348E-01    .36574E-03    .28628E-03
   4  Prefactor     1.1531        .18062E-01    .18231E-03    .75513E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.64402
  Normalizat = 0.911251
  Prefactor  = 1.15307
 **********
 **   18 **HESSE 
 **********

 FCN=   5736.764     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.9267        .29621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6440        3.0853        .66283E-02   -.34946    
   3  Normalizat    .91125        .27619        .14630E-04   -.96066    
   4  Prefactor     1.1531        .15417        .36463E-04   -.87788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61549e-10
Minuit parameter uncertainties:
  1  1.38076e-05
  2  213.474
  3  0.276625
  4  0.154235
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55517': 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) = 5736.76439042
delta logL = 3.84196027881e-06

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.381e-05  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.644e+00  2.135e+02  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  1.844e-01  0.000e+00  0.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:  1.153e+00  1.542e-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.113e-01  2.766e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/55517/cmap_HighResolution_515376001_515635201_4FGL_J1354.8-1041_daily_bin1065.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2021-09-08 17:45:09.727856', job_id='55517', GAL2='1.15', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1631148309.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='3.84e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1065' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:45:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 55517: <4FGL_J1354.8-1041_daily_bin1065> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1065> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:31:09 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:31:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:31:11 2021
Terminated at Wed Sep  8 17:45:10 2021
Results reported at Wed Sep  8 17:45:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1065 208.718 -10.6932 515376001 515635201 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 :                                   591.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

