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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1016
RA = 208.718, Dec = -10.6932
tmin = 502675201, tmax = 502934401
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='55440', job_status='RUN', time_executed='2021-09-08 17:31:28.716202', time_epoch_executed='1631147488.72' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1016'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55440

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55440/ft1_4FGL_J1354.8-1041_daily_bin1016.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55440/ft2_4FGL_J1354.8-1041_daily_bin1016.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55440/ft1_4FGL_J1354.8-1041_daily_bin1016.fits outfile=/scratch/kocevski/55440/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1016.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=502675201.0 tmax=502934401.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.59
user 3.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55440/ft1_filtered_4FGL_J1354.8-1041_daily_bin1016.fits" evtable="EVENTS" scfile=/scratch/kocevski/55440/ft2_4FGL_J1354.8-1041_daily_bin1016.fits sctable="SC_DATA" outfile=/scratch/kocevski/55440/ltcube_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.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/55440/ft2_4FGL_J1354.8-1041_daily_bin1016.fits
.....................!
real 12.24
user 11.85
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55440/ft1_filtered_4FGL_J1354.8-1041_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/55440/ft2_4FGL_J1354.8-1041_daily_bin1016.fits sctable="SC_DATA" expcube=/scratch/kocevski/55440/ltcube_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.fits outfile=/scratch/kocevski/55440/expmap_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.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/55440/ltcube_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.fits
.....................!
real 190.43
user 186.14
sys 3.85

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/55440/ft1_filtered_4FGL_J1354.8-1041_daily_bin1016.fits scfile=/scratch/kocevski/55440/ft2_4FGL_J1354.8-1041_daily_bin1016.fits outfile=/scratch/kocevski/55440/cmap_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55440/ft1_filtered_4FGL_J1354.8-1041_daily_bin1016.fits scfile=/scratch/kocevski/55440/ft2_4FGL_J1354.8-1041_daily_bin1016.fits outfile=/scratch/kocevski/55440/cmap_HighResolution_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.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/55440/ft1_filtered_4FGL_J1354.8-1041_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/55440/ft2_4FGL_J1354.8-1041_daily_bin1016.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55440/Model_4FGL_J1354.8-1041_daily_bin1016.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/55440/ft1_filtered_4FGL_J1354.8-1041_daily_bin1016.fits.....................!
real 57.07
user 55.75
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.2927       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .87490E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.090       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6246       1.0000         .10000E-03   10000.    
     6 'norm      '    .10450E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5154       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.7242       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.046       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7295       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.349       1.0000         .10000E-03   10000.    
    21 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91027       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1023       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=   7218.687     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2493 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6372        .47566E-05** at limit **
   2  Prefactor     1.2805        2.1636        .37250E-06   -.82631E-03
   3  Prefactor     .10000E-03    5.7351        .49362E-07** at limit **
   4  Prefactor     24.087        21.803       -.20645E-05    .20620E-04
   5  norm          1.6239        1.7304       -.12875E-06   -.11248E-03
   6  norm          .10000E-03    1.6379        .29123E-06** at limit **
   7  norm          3.5146        3.7851        .88585E-08    .59520E-04
   8  Prefactor     .10000E-03    3.7903       -.37902E-05** at limit **
   9  norm          .10000E-03    14.621       -.55494E-05** at limit **
  10  Prefactor     .10000E-03    3.0452        .18247E-05** at limit **
  11  norm          .10000E-03    6.7482       -.30739E-05** at limit **
  12  Prefactor     .10000E-03    2.7576       -.68754E-06** at limit **
  13  Prefactor     .10000E-03    12.365        .84622E-05** at limit **
  14  Prefactor     .10000E-03    13.490        .37589E-05** at limit **
  15  norm          .10000E-03    6.3921       -.13012E-05** at limit **
  16  norm          3.7242        2.7490        .69154E-07    .59345E-04
  17  norm          .10000E-03    4.1313       -.21710E-06** at limit **
  18  norm          15.044        10.010       -.26934E-06    .53001E-04
  19  Prefactor     2.7275        31.353       -.69882E-05   -.27149E-05
  20  Prefactor     15.348        20.183       -.16571E-05    .40956E-04
  21  norm          .10000E-03    14.680       -.69054E-05** at limit **
  22  Normalizat    .91032        .23676        .10959E-05    .10470E-03
  23  Prefactor     1.1023        .11978        .50200E-06    .23864E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.28052
  Prefactor  = 0.0001
  Prefactor  = 24.0868
  norm       = 1.62393
  norm       = 0.0001
  norm       = 3.51458
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.72417
  norm       = 0.0001
  norm       = 15.0445
  Prefactor  = 2.72748
  Prefactor  = 15.3477
  norm       = 0.0001
  Normalizat = 0.910322
  Prefactor  = 1.10228
 **********
 **   18 **HESSE 
 **********

 FCN=   7218.687     FROM HESSE     STATUS=OK           366 CALLS     2859 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6402        .17860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2805        15.524        .19465E-02   -1.5482    
   3  Prefactor     .10000E-03    18.049        .38495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.087        22.015        .81613E-04   -1.4726    
   5  norm          1.6239        1.7213        .10696E-03   -1.5453    
   6  norm          .10000E-03    1.6456        .10583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5146        3.7798        .16399E-03   -1.5333    
   8  Prefactor     .10000E-03    3.7963        .16158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    14.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.0486        .14478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.9843        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7907        .13767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.5157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.7242        2.7426        .11360E-03   -1.5322    
  17  norm          .10000E-03    4.1335        .16866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.044        9.9791        .10326E-03   -1.4932    
  19  Prefactor     2.7275        31.304        .24647E-03   -1.5378    
  20  Prefactor     15.348        20.178        .10223E-03   -1.4924    
  21  norm          .10000E-03    14.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91032        .26947        .36557E-03   -.96098    
  23  Prefactor     1.1023        .13842        .18054E-03   -.89394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19531e-09
Minuit parameter uncertainties:
  1  2.98753e-07
  2  8.91972
  3  5.16278e-05
  4  22.0228
  5  1.72131
  6  1.07583e-05
  7  3.78004
  8  2.85893e-06
  9  1.1237e-05
  10  3.58544e-07
  11  1.68281e-05
  12  1.89734e-06
  13  6.71504e-06
  14  5.90888e-06
  15  2.26473e-06
  16  2.74265
  17  1.93624e-06
  18  9.98024
  19  18.4922
  20  20.1866
  21  2.26546e-05
  22  0.269867
  23  0.13847
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.265e-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:  1.102e+00  1.385e-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.103e-01  2.699e-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.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55440/likelihoodResults_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.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) = 7218.68770138
delta logL = -0.000731549908778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7218.6757076
delta logL = 0.011262228295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32675E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .89734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1064       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=   7218.676     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      311 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32714E-01    4.6805        .11869E-01    .36083E-02
   2  alpha         5.0000        2.7322        .46271       -.59613E-05
   3  Normalizat    .89730        .35382E-01    .83125E-01    .26499E-04
   4  Prefactor     1.1064        .18933E-01    .37349E-01   -.19703E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.032714
  alpha      = 5
  Normalizat = 0.897303
  Prefactor  = 1.1064
 **********
 **   18 **HESSE 
 **********

 FCN=   7218.676     FROM HESSE     STATUS=OK            37 CALLS      348 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32714E-01    1.0291        .60447E-03   -1.5672    
   2  alpha         5.0000        2.5641        .50000        1.5689    
   3  Normalizat    .89730        .26721        .36803E-03   -.96555    
   4  Prefactor     1.1064        .13905        .18025E-03   -.89262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12912e-09
Minuit parameter uncertainties:
  1  0.36641
  2  0.0586611
  3  0.267605
  4  0.139092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55440': 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) = 7218.67570758
delta logL = 0.0112622493371

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.271e-02  3.664e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  5.866e-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.106e+00  1.391e-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:  8.973e-01  2.676e-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/55440/cmap_HighResolution_502675201_502934401_4FGL_J1354.8-1041_daily_bin1016.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='7.74e-08', time_completed='2021-09-08 17:42:39.558499', job_id='55440', GAL2='1.11', fit_tolerance='1e-08', EG2='0.90', EG='0.91', time_epoch_completed='1631148159.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.13e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1016' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:42:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 55440: <4FGL_J1354.8-1041_daily_bin1016> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1016> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:31:03 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:31:05 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:05 2021
Terminated at Wed Sep  8 17:42:40 2021
Results reported at Wed Sep  8 17:42:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1016 208.718 -10.6932 502675201 502934401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1354.8-1041 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             305.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            697 sec.

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

