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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin485
RA = 208.718, Dec = -10.6932
tmin = 365040001, tmax = 365299201
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='53988', job_status='RUN', time_executed='2021-09-08 17:28:57.038067', time_epoch_executed='1631147337.04' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53988

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53988/ft1_4FGL_J1354.8-1041_daily_bin485.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53988/ft2_4FGL_J1354.8-1041_daily_bin485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53988/ft1_4FGL_J1354.8-1041_daily_bin485.fits outfile=/scratch/kocevski/53988/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin485.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=365040001.0 tmax=365299201.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.63
user 3.42
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53988/ft1_filtered_4FGL_J1354.8-1041_daily_bin485.fits" evtable="EVENTS" scfile=/scratch/kocevski/53988/ft2_4FGL_J1354.8-1041_daily_bin485.fits sctable="SC_DATA" outfile=/scratch/kocevski/53988/ltcube_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.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/53988/ft2_4FGL_J1354.8-1041_daily_bin485.fits
.....................!
real 14.99
user 14.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53988/ft1_filtered_4FGL_J1354.8-1041_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/53988/ft2_4FGL_J1354.8-1041_daily_bin485.fits sctable="SC_DATA" expcube=/scratch/kocevski/53988/ltcube_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.fits outfile=/scratch/kocevski/53988/expmap_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.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/53988/ltcube_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.fits
.....................!
real 190.37
user 184.90
sys 5.08

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/53988/ft1_filtered_4FGL_J1354.8-1041_daily_bin485.fits scfile=/scratch/kocevski/53988/ft2_4FGL_J1354.8-1041_daily_bin485.fits outfile=/scratch/kocevski/53988/cmap_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.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/53988/ft1_filtered_4FGL_J1354.8-1041_daily_bin485.fits scfile=/scratch/kocevski/53988/ft2_4FGL_J1354.8-1041_daily_bin485.fits outfile=/scratch/kocevski/53988/cmap_HighResolution_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=208.718 yref=-10.6932 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53988/ft1_filtered_4FGL_J1354.8-1041_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/53988/ft2_4FGL_J1354.8-1041_daily_bin485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53988/Model_4FGL_J1354.8-1041_daily_bin485.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/53988/ft1_filtered_4FGL_J1354.8-1041_daily_bin485.fits.....................!
real 49.81
user 48.47
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5747       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3556       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9242       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0502       1.0000         .10000E-03   10000.    
     6 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.8998       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2983       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11150E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .65996       1.0000         .10000E-03   10000.    
    14 'Prefactor '    88.336       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    20.216       1.0000         .10000E-03   10000.    
    18 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.293       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.011       1.0000         .10000E-03   10000.    
    21 'norm      '    1.3620       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3199       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72741       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=   5761.060     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2574 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5746        5.7041       -.17415E-05    .27972E-03
   2  Prefactor     8.3545        8.8585       -.41957E-07   -.12205E-04
   3  Prefactor     .10000E-03    3.2517        .54691E-07** at limit **
   4  Prefactor     8.9279        16.998       -.72398E-07    .14775E-04
   5  norm          1.0500        1.0817        .28200E-07    .37008E-05
   6  norm          .10000E-03    3.5176       -.42177E-06** at limit **
   7  norm          4.8978        7.8801       -.11233E-07   -.64408E-04
   8  Prefactor     2.3206        32.253        .12330E-05    .18168E-05
   9  norm          .10000E-03    8.7897       -.20612E-07** at limit **
  10  Prefactor     .10000E-03    13.770        .15065E-09** at limit **
  11  norm          .10000E-03    2.5238       -.14022E-06** at limit **
  12  Prefactor     .10000E-03    6.0744       -.27348E-06** at limit **
  13  Prefactor     .47462        20.441       -.56986E-06    .49533E-04
  14  Prefactor     88.307        56.590       -.24082E-05   -.16224E-03
  15  norm          .10000E-03    4.5459       -.10566E-07** at limit **
  16  norm          .10000E-03    1.2743        .21119E-07** at limit **
  17  norm          20.218        13.866       -.15677E-07    .65623E-05
  18  norm          .10000E-03    4.1483       -.12752E-06** at limit **
  19  Prefactor     32.287        29.584       -.12161E-05   -.10857E-03
  20  Prefactor     19.005        32.692       -.10977E-05   -.40528E-04
  21  norm          1.3673        61.410        .24325E-05   -.95069E-05
  22  Normalizat    1.3206        .23644        .56705E-06    .14761E-04
  23  Prefactor     .72701        .11837       -.11871E-06    .54719E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.57459
  Prefactor  = 8.35452
  Prefactor  = 0.0001
  Prefactor  = 8.92787
  norm       = 1.04996
  norm       = 0.0001
  norm       = 4.8978
  Prefactor  = 2.32058
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.474621
  Prefactor  = 88.3074
  norm       = 0.0001
  norm       = 0.0001
  norm       = 20.2181
  norm       = 0.0001
  Prefactor  = 32.2872
  Prefactor  = 19.0055
  norm       = 1.36727
  Normalizat = 1.32065
  Prefactor  = 0.727006
 **********
 **   18 **HESSE 
 **********

 FCN=   5761.060     FROM HESSE     STATUS=OK           372 CALLS     2946 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5746        5.8037        .85077E-03   -1.5236    
   2  Prefactor     8.3545        8.8592        .13869E-03   -1.5130    
   3  Prefactor     .10000E-03    3.2679        .13365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.9279        16.709        .13417E-03   -1.5110    
   5  norm          1.0500        1.0624        .77152E-04   -1.5503    
   6  norm          .10000E-03    3.5340        .27287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.8978        7.8332        .18171E-03   -1.5265    
   8  Prefactor     2.3206        32.050        .27071E-03   -1.5403    
   9  norm          .10000E-03    8.7903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5385        .11766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.2997        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .47462        266.83        .65062E-02   -1.5570    
  14  Prefactor     88.307        58.734        .21374E-03   -1.3826    
  15  norm          .10000E-03    4.5930        .15798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.2935        .83602E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.218        13.869        .89081E-04   -1.4808    
  18  norm          .10000E-03    4.1636        .15085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     32.287        30.082        .70512E-04   -1.4571    
  20  Prefactor     19.005        32.445        .91860E-04   -1.4836    
  21  norm          1.3673        61.116        .37412E-03   -1.5474    
  22  Normalizat    1.3206        .28363        .29027E-03   -.82952    
  23  Prefactor     .72701        .14069        .19503E-03   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.58034e-10
Minuit parameter uncertainties:
  1  5.80433
  2  8.86062
  3  2.81933e-07
  4  16.7179
  5  1.06238
  6  1.1251e-05
  7  7.83487
  8  17.2591
  9  2.96507e-06
  10  2.21727e-05
  11  3.60576e-06
  12  2.00565e-05
  13  22.6068
  14  58.7728
  15  2.27207e-06
  16  7.02589e-07
  17  13.8714
  18  7.69819e-06
  19  30.0958
  20  32.4748
  21  18.3017
  22  0.283964
  23  0.140758
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.272e-06  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:  7.270e-01  1.408e-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.321e+00  2.840e-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: 7.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53988/likelihoodResults_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.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) = 5761.06100154
delta logL = -0.00103720069183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5761.01956304
delta logL = 0.0404012964063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27969       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1246       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73286       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=   5761.020     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      304 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28279        11.364        .29564E-01    .11574E-02
   2  alpha         4.1193        2.7870        .50000        .41579E-04
   3  Normalizat    1.2981        .29207E-01    .66107E-01   -.75466E-04
   4  Prefactor     .73301        .15107E-01    .42837E-01   -.29230E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.282786
  alpha      = 4.1193
  Normalizat = 1.29807
  Prefactor  = 0.733012
 **********
 **   18 **HESSE 
 **********

 FCN=   5761.020     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28279        172.90        .10373E-02   -1.5602    
   2  alpha         4.1193        4.4118        .75630E-02    .70459    
   3  Normalizat    1.2981        .28044        .29244E-03   -.83624    
   4  Prefactor     .73301        .12762        .19430E-03   -1.0225    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.96606e-06
Minuit parameter uncertainties:
  1  14.0232
  2  27.3333
  3  0.280772
  4  0.127671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53988': 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) = 5761.01956031
delta logL = 0.0404040254743

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.828e-01  1.402e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  4.119e+00  2.733e+01  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:  7.330e-01  1.277e-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.298e+00  2.808e-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/53988/cmap_HighResolution_365040001_365299201_4FGL_J1354.8-1041_daily_bin485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-05', job_status='DONE', photon_flux_upper_limit='7.65e-08', time_completed='2021-09-08 17:39:00.620674', job_id='53988', GAL2='0.73', fit_tolerance='1e-08', EG2='1.30', EG='1.32', time_epoch_completed='1631147940.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='4.04e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='485' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:39:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 53988: <4FGL_J1354.8-1041_daily_bin485> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin485> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:25:54 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:25:57 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:25:57 2021
Terminated at Wed Sep  8 17:39:01 2021
Results reported at Wed Sep  8 17:39:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin485 208.718 -10.6932 365040001 365299201 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 :                                   594.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            787 sec.

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

