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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1061
RA = 208.718, Dec = -10.6932
tmin = 514339201, tmax = 514598401
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='55512', job_status='RUN', time_executed='2021-09-08 17:35:00.245000', time_epoch_executed='1631147700.25' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1061'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55512

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55512/ft1_4FGL_J1354.8-1041_daily_bin1061.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55512/ft1_4FGL_J1354.8-1041_daily_bin1061.fits outfile=/scratch/kocevski/55512/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1061.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=514339201.0 tmax=514598401.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 4.17
user 3.93
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.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/55512/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1061.fits evtable="EVENTS" outfile="/scratch/kocevski/55512/ft1_filtered_4FGL_J1354.8-1041_daily_bin1061.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/55512/ft1_filtered_4FGL_J1354.8-1041_daily_bin1061.fits" evtable="EVENTS" scfile=/scratch/kocevski/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.fits sctable="SC_DATA" outfile=/scratch/kocevski/55512/ltcube_514339201_514598401_4FGL_J1354.8-1041_daily_bin1061.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/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.fits
.....................!
real 12.48
user 11.66
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55512/ft1_filtered_4FGL_J1354.8-1041_daily_bin1061.fits evtable="EVENTS" scfile=/scratch/kocevski/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.fits sctable="SC_DATA" expcube=/scratch/kocevski/55512/ltcube_514339201_514598401_4FGL_J1354.8-1041_daily_bin1061.fits outfile=/scratch/kocevski/55512/expmap_514339201_514598401_4FGL_J1354.8-1041_daily_bin1061.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/55512/ltcube_514339201_514598401_4FGL_J1354.8-1041_daily_bin1061.fits
.....................!
real 191.52
user 185.95
sys 5.02

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/55512/ft1_filtered_4FGL_J1354.8-1041_daily_bin1061.fits scfile=/scratch/kocevski/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.fits outfile=/scratch/kocevski/55512/cmap_514339201_514598401_4FGL_J1354.8-1041_daily_bin1061.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55512/ft1_filtered_4FGL_J1354.8-1041_daily_bin1061.fits scfile=/scratch/kocevski/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.fits outfile=/scratch/kocevski/55512/cmap_HighResolution_514339201_514598401_4FGL_J1354.8-1041_daily_bin1061.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55512/ft1_filtered_4FGL_J1354.8-1041_daily_bin1061.fits evtable="EVENTS" scfile=/scratch/kocevski/55512/ft2_4FGL_J1354.8-1041_daily_bin1061.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55512/Model_4FGL_J1354.8-1041_daily_bin1061.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/55512/ft1_filtered_4FGL_J1354.8-1041_daily_bin1061.fits.....................!
real 64.00
user 62.63
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0676       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0691       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14107E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .34070       1.0000         .10000E-03   10000.    
     6 'norm      '    22.513       1.0000         .10000E-03   10000.    
     7 'norm      '    9.4177       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.8303       1.0000         .10000E-03   10000.    
    11 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.419       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11418E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .94301       1.0000         .10000E-03   10000.    
    15 'norm      '    16.539       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10158E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3358       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93957       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=   7875.331     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2173 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0673        6.7695       -.10782E-06   -.54257E-04
   2  Prefactor     4.0702        4.4323       -.60864E-07   -.11331E-03
   3  Prefactor     .10000E-03    2.2864        .67175E-09** at limit **
   4  Prefactor     .10000E-03    13.543        .11605E-07** at limit **
   5  norm          .34309        1.0627       -.82934E-08   -.93592E-05
   6  norm          22.521        6.1405       -.28151E-08    .22665E-02
   7  norm          9.4189        9.2062       -.42074E-08    .51500E-03
   8  Prefactor     .10000E-03    6.6667        .14272E-08** at limit **
   9  norm          .10000E-03    12.791       -.13069E-07** at limit **
  10  Prefactor     9.8372        9.6469       -.26194E-07   -.13689E-03
  11  norm          .10000E-03    1.9728       -.21142E-10** at limit **
  12  Prefactor     11.420        7.8039        .35083E-08   -.83088E-03
  13  Prefactor     .10000E-03    31.175        .16356E-08** at limit **
  14  Prefactor     .75121        16.869       -.18287E-07    .25613E-05
  15  norm          16.537        10.700        .15189E-09   -.55068E-03
  16  norm          .10000E-03    .96791       -.38587E-09** at limit **
  17  norm          .10000E-03    4.8277        .35061E-10** at limit **
  18  norm          .10000E-03    2.7668       -.36955E-09** at limit **
  19  Prefactor     .10000E-03    5.6932       -.64642E-09** at limit **
  20  Prefactor     .10000E-03    12.305        .32270E-08** at limit **
  21  norm          .10000E-03    18.867       -.40984E-08** at limit **
  22  Normalizat    1.3354        .22895        .15379E-07   -.60409E-05
  23  Prefactor     .93974        .11548        .89774E-08   -.32217E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.06731
  Prefactor  = 4.07023
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.343088
  norm       = 22.5213
  norm       = 9.41892
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 9.8372
  norm       = 0.0001
  Prefactor  = 11.4205
  Prefactor  = 0.0001
  Prefactor  = 0.751207
  norm       = 16.5366
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.33543
  Prefactor  = 0.939743
 **********
 **   18 **HESSE 
 **********

 FCN=   7875.331     FROM HESSE     STATUS=OK           370 CALLS     2543 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0673        9.4487        .99956E-03   -1.5305    
   2  Prefactor     4.0702        5.8211        .99938E-03   -1.5304    
   3  Prefactor     .10000E-03    2.2914        .13103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .34309        1.3307        .15136E-02   -1.5591    
   6  norm          22.521        6.1363        .84419E-04   -1.4758    
   7  norm          9.4189        9.1895        .13059E-03   -1.5094    
   8  Prefactor     .10000E-03    6.6857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.8372        9.9957        .63904E-03   -1.5081    
  11  norm          .10000E-03    1.9909        .12169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.420        7.8003        .11855E-03   -1.5032    
  13  Prefactor     .10000E-03    31.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .75121        239.14        .70390E-02   -1.5535    
  15  norm          16.537        10.686        .98484E-04   -1.4894    
  16  norm          .10000E-03    .97808        .85206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.8314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.7779        .14414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.6962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    19.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3354        .26790        .33386E-03   -.82515    
  23  Prefactor     .93974        .13692        .20399E-03   -.94766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68014e-08
Minuit parameter uncertainties:
  1  9.45219
  2  5.82188
  3  2.25386e-07
  4  0.000269576
  5  1.33077
  6  6.13649
  7  9.19092
  8  2.35797e-06
  9  0.000343597
  10  9.99743
  11  9.2031e-07
  12  7.80101
  13  0.000112399
  14  26.9136
  15  10.6876
  16  1.5873e-07
  17  3.66984e-06
  18  1.71465e-07
  19  6.63331e-06
  20  9.53606e-05
  21  9.84009e-05
  22  0.268184
  23  0.136975
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.654e+01  1.069e+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:  9.397e-01  1.370e-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.335e+00  2.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.47
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 5.55e-08
Energy Flux (Fixed Index): 3.22e-05 +/- 2.08e-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) = 7873.83102226
delta logL = 1.50005453285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7873.81685472
delta logL = 1.51422207556

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.370       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2663       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97814       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7873.817     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      291 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.370        9.9235        .58172E-03   -.93749E-04
   2  alpha         3.2662        .71808        .10442E-01    .30196E-03
   3  Normalizat    1.2123        .27131        .34696E-03   -.65206E-05
   4  Prefactor     .97816        .13835        .20018E-03   -.12324E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.3703
  alpha      = 3.2662
  Normalizat = 1.21229
  Prefactor  = 0.978164
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.817     FROM HESSE     STATUS=OK            27 CALLS      318 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.370        8.4050        .23269E-04   -1.5064    
   2  alpha         3.2662        .61017        .20884E-02    .31149    
   3  Normalizat    1.2123        .27032        .13878E-04   -.86224    
   4  Prefactor     .97816        .13784        .80074E-05   -.93461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09905e-11
Minuit parameter uncertainties:
  1  8.40591
  2  0.617059
  3  0.27063
  4  0.137892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55512': 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) = 7873.81685464
delta logL = 1.51422215575

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.037e+01  8.406e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.266e+00  6.171e-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:  9.782e-01  1.379e-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.212e+00  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.83
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 3.27 +/- 0.62
Photon Flux (Free Index): 1.99e-07 +/- 9.89e-08
Energy Flux (Free Index): 3.97e-05 +/- 1.75e-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/55512/cmap_HighResolution_514339201_514598401_4FGL_J1354.8-1041_daily_bin1061.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='3.97e-05', photon_flux_error='5.55e-08', dlogl='1.51e+00', energy_flux='3.22e-05', photon_flux2='1.99e-07', job_status='DONE', time_completed='2021-09-08 17:45:03.557744', photon_index_error2='0.62', photon_index2='3.27', ts='4.47', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='1.34', time_epoch_completed='1631148303.56', return_code='0', job_id='55512', GAL2='0.98', EG2='1.21', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='9.89e-08', ts2='7.83', photon_index='2.27' WHERE bin_id='1061' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:45:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 55512: <4FGL_J1354.8-1041_daily_bin1061> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1061> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:31:09 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:31:10 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:10 2021
Terminated at Wed Sep  8 17:45:04 2021
Results reported at Wed Sep  8 17:45:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1061 208.718 -10.6932 514339201 514598401 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 :                                   597.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            835 sec.

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

