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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1245
RA = 208.718, Dec = -10.6932
tmin = 562032001, tmax = 562291201
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='57611', job_status='RUN', time_executed='2021-09-08 17:38:44.757406', time_epoch_executed='1631147924.76' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1245'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57611

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57611/ft1_4FGL_J1354.8-1041_daily_bin1245.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57611/ft2_4FGL_J1354.8-1041_daily_bin1245.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57611/ft1_4FGL_J1354.8-1041_daily_bin1245.fits outfile=/scratch/kocevski/57611/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1245.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=562032001.0 tmax=562291201.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.58
user 3.35
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/57611/ft1_filtered_4FGL_J1354.8-1041_daily_bin1245.fits" evtable="EVENTS" scfile=/scratch/kocevski/57611/ft2_4FGL_J1354.8-1041_daily_bin1245.fits sctable="SC_DATA" outfile=/scratch/kocevski/57611/ltcube_562032001_562291201_4FGL_J1354.8-1041_daily_bin1245.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/57611/ft2_4FGL_J1354.8-1041_daily_bin1245.fits
.....................!
real 11.99
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57611/ft1_filtered_4FGL_J1354.8-1041_daily_bin1245.fits evtable="EVENTS" scfile=/scratch/kocevski/57611/ft2_4FGL_J1354.8-1041_daily_bin1245.fits sctable="SC_DATA" expcube=/scratch/kocevski/57611/ltcube_562032001_562291201_4FGL_J1354.8-1041_daily_bin1245.fits outfile=/scratch/kocevski/57611/expmap_562032001_562291201_4FGL_J1354.8-1041_daily_bin1245.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/57611/ltcube_562032001_562291201_4FGL_J1354.8-1041_daily_bin1245.fits
.....................!
real 192.12
user 187.84
sys 3.93

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/57611/ft1_filtered_4FGL_J1354.8-1041_daily_bin1245.fits scfile=/scratch/kocevski/57611/ft2_4FGL_J1354.8-1041_daily_bin1245.fits outfile=/scratch/kocevski/57611/cmap_562032001_562291201_4FGL_J1354.8-1041_daily_bin1245.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/57611/ft1_filtered_4FGL_J1354.8-1041_daily_bin1245.fits scfile=/scratch/kocevski/57611/ft2_4FGL_J1354.8-1041_daily_bin1245.fits outfile=/scratch/kocevski/57611/cmap_HighResolution_562032001_562291201_4FGL_J1354.8-1041_daily_bin1245.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=208.718 yref=-10.6932 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/57611/ft1_filtered_4FGL_J1354.8-1041_daily_bin1245.fits evtable="EVENTS" scfile=/scratch/kocevski/57611/ft2_4FGL_J1354.8-1041_daily_bin1245.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/57611/Model_4FGL_J1354.8-1041_daily_bin1245.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/57611/ft1_filtered_4FGL_J1354.8-1041_daily_bin1245.fits.....................!
real 61.07
user 59.12
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    12.386       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.012       1.0000         .10000E-03   10000.    
     5 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.1512       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10590E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1417       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.994       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9637       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    24.937       1.0000         .10000E-03   10000.    
    16 'norm      '    17.546       1.0000         .10000E-03   10000.    
    17 'norm      '    22.691       1.0000         .10000E-03   10000.    
    18 'norm      '    27.355       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11529E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95656       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3547       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=   7292.783     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2210 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6110         .0000    ** at limit **
   2  Prefactor     12.386        10.368         .0000        .16855E-03
   3  Prefactor     .10000E-03    2.6449         .0000    ** at limit **
   4  Prefactor     33.014        26.009         .0000        .48958E-03
   5  norm          .10000E-03    .92573         .0000    ** at limit **
   6  norm          4.1516        5.3782         .0000        .23789E-02
   7  norm          .10000E-03    8.1200         .0000    ** at limit **
   8  Prefactor     .10000E-03    13.722         .0000    ** at limit **
   9  norm          .10000E-03    12.241         .0000    ** at limit **
  10  Prefactor     .10077E-03    32.339         .0000    ** at limit **
  11  norm          1.1390        8.6465         .0000        .27361E-01
  12  Prefactor     15.995        10.016         .0000        .38874E-03
  13  Prefactor     4.9644        32.237         .0000        .64726E-03
  14  Prefactor     .10101E-03    59.483         .0000    ** at limit **
  15  norm          24.939        14.778         .0000        .49649E-03
  16  norm          17.547        4.7601         .0000        .12464E-01
  17  norm          22.692        13.992         .0000        .49024E-04
  18  norm          27.355        12.777         .0000        .11712E-02
  19  Prefactor     .10191E-03    36.972         .0000    ** at limit **
  20  Prefactor     .10087E-03    130.79         .0000    ** at limit **
  21  norm          .10000E-03    7.6498         .0000    ** at limit **
  22  Normalizat    .95640        .28808         .0000        .61652E-05
  23  Prefactor     1.3548        .15239         .0000       -.11988E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 12.3862
  Prefactor  = 0.0001
  Prefactor  = 33.0137
  norm       = 0.0001
  norm       = 4.15155
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100768
  norm       = 1.13902
  Prefactor  = 15.9945
  Prefactor  = 4.96436
  Prefactor  = 0.000101011
  norm       = 24.9385
  norm       = 17.5471
  norm       = 22.6919
  norm       = 27.3554
  Prefactor  = 0.000101905
  Prefactor  = 0.000100871
  norm       = 0.000100001
  Normalizat = 0.956403
  Prefactor  = 1.35478
 **********
 **   18 **HESSE 
 **********

 FCN=   7292.783     FROM HESSE     STATUS=OK           360 CALLS     2570 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6174        .17910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.386        10.362        .11382E-03   -1.5004    
   3  Prefactor     .10000E-03    2.6476        .13563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.014        25.921        .69741E-04   -1.4558    
   5  norm          .10000E-03    2.5557        .15760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.1516        5.3382        .18208E-03   -1.5300    
   7  norm          .10000E-03    8.2567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10077E-03    32.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1390        8.8158        .21743E-02   -1.5495    
  12  Prefactor     15.995        10.004        .10015E-03   -1.4908    
  13  Prefactor     4.9644        32.375        .90256E-03   -1.5262    
  14  Prefactor     .10101E-03    59.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          24.939        14.769        .80217E-04   -1.4709    
  16  norm          17.547        4.7594        .91207E-04   -1.4870    
  17  norm          22.692        13.991        .84087E-04   -1.4755    
  18  norm          27.355        12.767        .76597E-04   -1.4661    
  19  Prefactor     .10191E-03    37.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10087E-03    135.07        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.6539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95640        .32502        .44669E-03   -.94506    
  23  Prefactor     1.3548        .17530        .20937E-03   -.81692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33798e-07
Minuit parameter uncertainties:
  1  1.175e-05
  2  10.364
  3  3.87955e-06
  4  25.9301
  5  6.71434e-06
  6  5.33886
  7  0.000219063
  8  1.74871e-05
  9  0.000154918
  10  0.0100597
  11  6.33865
  12  10.005
  13  25.3749
  14  0.015538
  15  14.7707
  16  4.75955
  17  13.993
  18  12.768
  19  0.0168382
  20  0.0217429
  21  0.000177384
  22  0.325697
  23  0.175379
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.494e+01  1.477e+01  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.355e+00  1.754e-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.564e-01  3.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.18
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 7.68e-08
Energy Flux (Fixed Index): 4.86e-05 +/- 2.88e-05

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) = 7292.69800531
delta logL = 0.0847027298678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7292.69523705
delta logL = 0.0874709899817

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.663       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0599       1.0000          .0000       5.0000    
     3 'Normalizat'    .97675       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3491       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=   7292.695     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      235 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.663        366.50        .19769E-02    .22633E-03
   2  alpha         2.0600        2.9751        .38300        .10893E-04
   3  Normalizat    .97663        .31212        .99937E-01    .27004E-04
   4  Prefactor     1.3491        .14763        .47460E-01   -.39733E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 25.6632
  alpha      = 2.05995
  Normalizat = 0.976627
  Prefactor  = 1.34912
 **********
 **   18 **HESSE 
 **********

 FCN=   7292.695     FROM HESSE     STATUS=OK            31 CALLS      266 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.663        14.246        .79076E-04   -1.4694    
   2  alpha         2.0600        .50652        .14026E-01   -.17694    
   3  Normalizat    .97663        .31519        .44281E-03   -.93818    
   4  Prefactor     1.3491        .17234        .20979E-03   -.81858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72189e-11
Minuit parameter uncertainties:
  1  14.248
  2  0.510165
  3  0.315795
  4  0.172413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57611': 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) = 7292.69523697
delta logL = 0.0874710646231

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.566e+01  1.425e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.060e+00  5.102e-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:  1.349e+00  1.724e-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.766e-01  3.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.44
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 2.06 +/- 0.51
Photon Flux (Free Index): 1.07e-07 +/- 8.07e-08
Energy Flux (Free Index): 5.06e-05 +/- 2.86e-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/57611/cmap_HighResolution_562032001_562291201_4FGL_J1354.8-1041_daily_bin1245.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='5.06e-05', photon_flux_error='7.68e-08', dlogl='8.75e-02', energy_flux='4.86e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-08 17:49:28.690962', photon_index_error2='0.51', photon_index2='2.06', ts='9.18', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', energy_flux_error2='2.86e-05', EG='0.96', time_epoch_completed='1631148568.69', return_code='0', job_id='57611', GAL2='1.35', EG2='0.98', return_code2='0', energy_flux_error='2.88e-05', photon_flux_error2='8.07e-08', ts2='9.44', photon_index='2.27' WHERE bin_id='1245' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:49:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 57611: <4FGL_J1354.8-1041_daily_bin1245> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1245> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 17:35:33 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:35:34 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:35:34 2021
Terminated at Wed Sep  8 17:49:29 2021
Results reported at Wed Sep  8 17:49:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1245 208.718 -10.6932 562032001 562291201 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 :                                   572.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            836 sec.

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

