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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1348
RA = 208.718, Dec = -10.6932
tmin = 588729601, tmax = 588988801
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='59347', job_status='RUN', time_executed='2021-09-08 17:40:39.594452', time_epoch_executed='1631148039.59' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59347

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59347/ft1_4FGL_J1354.8-1041_daily_bin1348.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59347/ft2_4FGL_J1354.8-1041_daily_bin1348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59347/ft1_4FGL_J1354.8-1041_daily_bin1348.fits outfile=/scratch/kocevski/59347/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1348.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=588729601.0 tmax=588988801.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.14
user 2.92
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59347/ft1_filtered_4FGL_J1354.8-1041_daily_bin1348.fits" evtable="EVENTS" scfile=/scratch/kocevski/59347/ft2_4FGL_J1354.8-1041_daily_bin1348.fits sctable="SC_DATA" outfile=/scratch/kocevski/59347/ltcube_588729601_588988801_4FGL_J1354.8-1041_daily_bin1348.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/59347/ft2_4FGL_J1354.8-1041_daily_bin1348.fits
.....................!
real 12.46
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59347/ft1_filtered_4FGL_J1354.8-1041_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/59347/ft2_4FGL_J1354.8-1041_daily_bin1348.fits sctable="SC_DATA" expcube=/scratch/kocevski/59347/ltcube_588729601_588988801_4FGL_J1354.8-1041_daily_bin1348.fits outfile=/scratch/kocevski/59347/expmap_588729601_588988801_4FGL_J1354.8-1041_daily_bin1348.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/59347/ltcube_588729601_588988801_4FGL_J1354.8-1041_daily_bin1348.fits
.....................!
real 189.33
user 184.83
sys 4.17

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/59347/ft1_filtered_4FGL_J1354.8-1041_daily_bin1348.fits scfile=/scratch/kocevski/59347/ft2_4FGL_J1354.8-1041_daily_bin1348.fits outfile=/scratch/kocevski/59347/cmap_588729601_588988801_4FGL_J1354.8-1041_daily_bin1348.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59347/ft1_filtered_4FGL_J1354.8-1041_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/59347/ft2_4FGL_J1354.8-1041_daily_bin1348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59347/Model_4FGL_J1354.8-1041_daily_bin1348.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/59347/ft1_filtered_4FGL_J1354.8-1041_daily_bin1348.fits.....................!
real 56.12
user 54.83
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .93149       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    25.173       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .44502E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    44.299       1.0000         .10000E-03   10000.    
    15 'norm      '    9.0854       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0505       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.589       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.470       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'    .90640       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1194       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=   7325.914     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2519 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4456       -.13887E-05** at limit **
   2  Prefactor     .10000E-03    2.8760       -.85741E-08** at limit **
   3  Prefactor     .10000E-03    5.5232        .11346E-05** at limit **
   4  Prefactor     .10000E-03    14.820       -.64165E-05** at limit **
   5  norm          .93137        1.4245       -.36133E-06   -.16274E-02
   6  norm          .10000E-03    1.1750        .15921E-07** at limit **
   7  norm          25.168        8.7410        .14668E-06    .25649E-04
   8  Prefactor     .10000E-03    8.5734        .18287E-06** at limit **
   9  norm          .10000E-03    11.029        .32715E-05** at limit **
  10  Prefactor     .10000E-03    4.5729        .55494E-07** at limit **
  11  norm          .10000E-03    1.7218        .71950E-07** at limit **
  12  Prefactor     .10001E-03    3.5093        .52456E-06** at limit **
  13  Prefactor     .10000E-03    18.538        .49045E-05** at limit **
  14  Prefactor     44.288        41.831       -.12716E-04   -.15638E-04
  15  norm          9.0682        9.0439       -.46453E-06   -.33000E-03
  16  norm          3.0505        2.4675       -.78019E-07   -.24055E-03
  17  norm          .10000E-03    7.1887       -.10782E-05** at limit **
  18  norm          13.590        8.3086       -.16349E-06   -.62706E-04
  19  Prefactor     13.470        13.900       -.12328E-06   -.18996E-04
  20  Prefactor     .10000E-03    6.7130        .21265E-05** at limit **
  21  norm          .10000E-03    7.4504       -.19527E-05** at limit **
  22  Normalizat    .90633        .22511        .51308E-06   -.48198E-04
  23  Prefactor     1.1194        .11794        .65498E-06   -.99845E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.931374
  norm       = 0.0001
  norm       = 25.1684
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 44.2876
  norm       = 9.06822
  norm       = 3.05052
  norm       = 0.0001
  norm       = 13.5898
  Prefactor  = 13.4703
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.906331
  Prefactor  = 1.11945
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.914     FROM HESSE     STATUS=OK           368 CALLS     2887 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.8815        .14176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.5663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .93137        1.3214        .12063E-02   -1.5515    
   6  norm          .10000E-03    1.1819        .90510E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          25.168        8.6318        .79841E-04   -1.4704    
   8  Prefactor     .10000E-03    8.6394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6028        .17873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.7358        .10967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    47.954        .27349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     44.288        41.665        .60236E-04   -1.4376    
  15  norm          9.0682        8.3207        .13297E-03   -1.5106    
  16  norm          3.0505        2.4643        .11455E-03   -1.5359    
  17  norm          .10000E-03    7.2068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.590        8.2973        .10866E-03   -1.4971    
  19  Prefactor     13.470        13.895        .10914E-03   -1.4974    
  20  Prefactor     .10000E-03    6.7097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.4788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .90633        .25042        .36820E-03   -.96238    
  23  Prefactor     1.1194        .13362        .18258E-03   -.88847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16376e-10
Minuit parameter uncertainties:
  1  1.19972e-06
  2  9.73624e-07
  3  4.22904e-06
  4  3.67582e-05
  5  1.32141
  6  1.75344e-06
  7  8.63218
  8  9.06491e-07
  9  1.62109e-06
  10  6.43985e-07
  11  8.71225e-06
  12  0.00142875
  13  2.26682e-05
  14  41.6921
  15  8.32174
  16  2.4644
  17  4.45346e-06
  18  8.29797
  19  13.8984
  20  2.14939e-06
  21  3.65299e-06
  22  0.250741
  23  0.133662
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  9.068e+00  8.322e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.119e+00  1.337e-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.063e-01  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.80
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.71e-08 +/- 4.32e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.62e-05

TS (Fixed Index): 1.80
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59347/likelihoodResults_588729601_588988801_4FGL_J1354.8-1041_daily_bin1348.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): 0
logL (Free Index) = 7324.52775706
delta logL = 1.38665187619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7324.45965316
delta logL = 1.45475578079

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .94101       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5784       1.0000          .0000       5.0000    
     3 'Normalizat'    .76520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1733       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=   7324.460     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      269 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93707        8.6131        .94068E-02    .10682E-02
   2  alpha         4.5818        4.5979        .42327        .18390E-04
   3  Normalizat    .76592        .82592E-01    .89526E-01    .46857E-04
   4  Prefactor     1.1730        .45156E-01    .35294E-01   -.28706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.937074
  alpha      = 4.5818
  Normalizat = 0.765915
  Prefactor  = 1.17295
 **********
 **   18 **HESSE 
 **********

 FCN=   7324.460     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93707        12.804        .42456E-04   -1.5514    
   2  alpha         4.5818        4.5292        .22584E-01    .98400    
   3  Normalizat    .76592        .23265        .39656E-03   -1.0135    
   4  Prefactor     1.1730        .12752        .17880E-03   -.87168    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03269e-10
Minuit parameter uncertainties:
  1  6.92917
  2  4.44856
  3  0.232954
  4  0.127549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59347': 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) = 7324.45964079
delta logL = 1.45476815137

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  9.371e-01  6.929e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  4.582e+00  4.449e+00  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.173e+00  1.275e-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:  7.659e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.11
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 4.58 +/- 4.45
Photon Flux (Free Index): 1.46e-07 +/- 7.84e-08
Energy Flux (Free Index): 2.15e-05 +/- 1.60e-05

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/59347/cmap_HighResolution_588729601_588988801_4FGL_J1354.8-1041_daily_bin1348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.22e-05', comment='SUCCESS', photon_flux='4.71e-08', energy_flux2='2.15e-05', photon_flux_error='4.32e-08', dlogl='1.45e+00', energy_flux='1.77e-05', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-09-08 17:51:53.462308', photon_index_error2='4.45', photon_index2='4.58', ts='1.80', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.60e-05', EG='0.91', time_epoch_completed='1631148713.46', return_code='0', job_id='59347', GAL2='1.17', EG2='0.77', return_code2='102', energy_flux_error='1.62e-05', photon_flux_error2='7.84e-08', ts2='5.11', photon_index='2.27' WHERE bin_id='1348' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:51:53 PDT 2021


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

Job <4FGL_J1354.8-1041_daily_bin1348> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:40:21 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:40:23 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:40:23 2021
Terminated at Wed Sep  8 17:51:54 2021
Results reported at Wed Sep  8 17:51:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1348 208.718 -10.6932 588729601 588988801 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 :                                   653.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            693 sec.

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

