/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 0 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 = 7380
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin634
RA = 208.718, Dec = -10.6932
tmin = 403660801, tmax = 403920001
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='54168', job_status='RUN', time_executed='2021-09-08 17:26:33.725335', time_epoch_executed='1631147193.73' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='634'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54168

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54168/ft1_4FGL_J1354.8-1041_daily_bin634.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54168/ft2_4FGL_J1354.8-1041_daily_bin634.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54168/ft1_4FGL_J1354.8-1041_daily_bin634.fits outfile=/scratch/kocevski/54168/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin634.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=403660801.0 tmax=403920001.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 7.89
user 7.37
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54168/ft1_filtered_4FGL_J1354.8-1041_daily_bin634.fits" evtable="EVENTS" scfile=/scratch/kocevski/54168/ft2_4FGL_J1354.8-1041_daily_bin634.fits sctable="SC_DATA" outfile=/scratch/kocevski/54168/ltcube_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.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/54168/ft2_4FGL_J1354.8-1041_daily_bin634.fits
.....................!
real 12.56
user 12.10
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54168/ft1_filtered_4FGL_J1354.8-1041_daily_bin634.fits evtable="EVENTS" scfile=/scratch/kocevski/54168/ft2_4FGL_J1354.8-1041_daily_bin634.fits sctable="SC_DATA" expcube=/scratch/kocevski/54168/ltcube_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.fits outfile=/scratch/kocevski/54168/expmap_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.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/54168/ltcube_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.fits
.....................!
real 191.76
user 185.90
sys 5.45

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/54168/ft1_filtered_4FGL_J1354.8-1041_daily_bin634.fits scfile=/scratch/kocevski/54168/ft2_4FGL_J1354.8-1041_daily_bin634.fits outfile=/scratch/kocevski/54168/cmap_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54168/ft1_filtered_4FGL_J1354.8-1041_daily_bin634.fits scfile=/scratch/kocevski/54168/ft2_4FGL_J1354.8-1041_daily_bin634.fits outfile=/scratch/kocevski/54168/cmap_HighResolution_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54168/ft1_filtered_4FGL_J1354.8-1041_daily_bin634.fits evtable="EVENTS" scfile=/scratch/kocevski/54168/ft2_4FGL_J1354.8-1041_daily_bin634.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54168/Model_4FGL_J1354.8-1041_daily_bin634.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/54168/ft1_filtered_4FGL_J1354.8-1041_daily_bin634.fits.....................!
real 56.11
user 54.69
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.695       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5628       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.6115       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.735       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0914       1.0000         .10000E-03   10000.    
     6 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.396       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5599       1.0000         .10000E-03   10000.    
    11 'norm      '    2.3597       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .57957       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.2674       1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.651       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0242       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4116       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7092.179     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2568 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.696        10.910         .0000       -.33457E-04
   2  Prefactor     5.5645        13.855         .0000        .24656E-03
   3  Prefactor     8.6127        14.648         .0000        .16236E-03
   4  Prefactor     13.739        28.371         .0000       -.17591E-03
   5  norm          1.0915        1.3794         .0000        .89847E-03
   6  norm          .10000E-03    5.3927         .0000    ** at limit **
   7  norm          18.402        9.9444         .0000        .55796E-03
   8  Prefactor     .10000E-03    7.6151         .0000    ** at limit **
   9  norm          .10000E-03    18.113         .0000    ** at limit **
  10  Prefactor     2.5604        8.7321         .0000        .68024E-02
  11  norm          2.3598        4.6043         .0000        .16448E-01
  12  Prefactor     .58899        3.3397         .0000        .85938E-03
  13  Prefactor     .10000E-03    9.8929         .0000    ** at limit **
  14  Prefactor     .10000E-03    117.70         .0000    ** at limit **
  15  norm          .10000E-03    7.9381         .0000    ** at limit **
  16  norm          3.2675        2.7655         .0000        .31969E-03
  17  norm          .10000E-03    23.366         .0000    ** at limit **
  18  norm          11.651        8.9440         .0000        .14211E-02
  19  Prefactor     .10000E-03    7.2614         .0000    ** at limit **
  20  Prefactor     .10000E-03    5.3942         .0000    ** at limit **
  21  norm          .10000E-03    3.3579         .0000    ** at limit **
  22  Normalizat    1.0243        .28423         .0000       -.31213E-04
  23  Prefactor     1.4116        .14982         .0000       -.14405E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6958
  Prefactor  = 5.56447
  Prefactor  = 8.61268
  Prefactor  = 13.7386
  norm       = 1.09154
  norm       = 0.000100002
  norm       = 18.4017
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 2.56043
  norm       = 2.35978
  Prefactor  = 0.588991
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 3.26745
  norm       = 0.0001
  norm       = 11.6511
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Normalizat = 1.02431
  Prefactor  = 1.41156
 **********
 **   18 **HESSE 
 **********

 FCN=   7092.179     FROM HESSE     STATUS=OK           372 CALLS     2940 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.696        10.909        .10823E-03   -1.4968    
   2  Prefactor     5.5645        13.727        .17034E-03   -1.5236    
   3  Prefactor     8.6127        14.635        .13660E-03   -1.5121    
   4  Prefactor     13.739        28.020        .10808E-03   -1.4966    
   5  norm          1.0915        1.3393        .10590E-03   -1.5499    
   6  norm          .10000E-03    5.4267        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.402        9.8795        .93381E-04   -1.4850    
   8  Prefactor     .10000E-03    7.6394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    18.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5604        8.7140        .12758E-02   -1.5388    
  11  norm          2.3598        4.5861        .12111E-02   -1.5401    
  12  Prefactor     .58899        6.6047        .28872E-02   -1.5554    
  13  Prefactor     .10000E-03    9.9009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    119.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.1593        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.2675        2.7567        .12265E-03   -1.5346    
  17  norm          .10000E-03    23.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.651        8.9348        .58682E-03   -1.5025    
  19  Prefactor     .10000E-03    7.2708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.3952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.3586        .15072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0243        .31893        .39819E-03   -.92220    
  23  Prefactor     1.4116        .17009        .19459E-03   -.80048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9711e-08
Minuit parameter uncertainties:
  1  10.9109
  2  13.7349
  3  14.641
  4  28.0468
  5  1.33934
  6  0.000222635
  7  9.88039
  8  0.000252021
  9  0.000128741
  10  8.71832
  11  4.58681
  12  3.94489
  13  0.000101391
  14  5.20827e-05
  15  0.000242536
  16  2.75679
  17  3.26014e-05
  18  8.93583
  19  4.92811e-05
  20  0.000231548
  21  4.42933e-06
  22  0.319528
  23  0.170159
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.425e-04  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.412e+00  1.702e-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.024e+00  3.195e-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.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/54168/likelihoodResults_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.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) = 7092.18003222
delta logL = -0.000584925373914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7092.15548389
delta logL = 0.0239634105883

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39978E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4186       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7092.155     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      333 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39982E-01    .22299        .58000E-03    .89940E-03
   2  alpha         5.0000        4.2615        .18214    ** at limit **
   3  Normalizat    1.0041        .30808        .40186E-03   -.53949E-04
   4  Prefactor     1.4186        .16894        .19419E-03   -.31086E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0399815
  alpha      = 5
  Normalizat = 1.00412
  Prefactor  = 1.41861
 **********
 **   18 **HESSE 
 **********

 FCN=   7092.155     FROM HESSE     STATUS=OK            25 CALLS      358 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39982E-01    .22054        .23200E-04   -1.5668    
   2  alpha         5.0000        4.2164        .72855E-02    1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0041        .30637        .16074E-04   -.92892    
   4  Prefactor     1.4186        .16865        .77677E-05   -.79845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05602e-10
Minuit parameter uncertainties:
  1  0.187569
  2  0.000248903
  3  0.306907
  4  0.168718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54168': 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) = 7092.15548389
delta logL = 0.0239634109312

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.998e-02  1.876e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  2.489e-04  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.419e+00  1.687e-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.004e+00  3.069e-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/54168/cmap_HighResolution_403660801_403920001_4FGL_J1354.8-1041_daily_bin634.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-05', job_status='DONE', photon_flux_upper_limit='8.28e-08', time_completed='2021-09-08 17:38:21.646918', job_id='54168', GAL2='1.42', fit_tolerance='1e-08', EG2='1.00', EG='1.02', time_epoch_completed='1631147901.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='2.40e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='634' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:38:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 54168: <4FGL_J1354.8-1041_daily_bin634> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin634> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:26:15 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:26:17 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:26:17 2021
Terminated at Wed Sep  8 17:38:22 2021
Results reported at Wed Sep  8 17:38:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin634 208.718 -10.6932 403660801 403920001 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 :                                   692.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            727 sec.

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

