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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin755
RA = 208.718, Dec = -10.6932
tmin = 435024001, tmax = 435283201
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='54983', job_status='RUN', time_executed='2021-09-08 17:30:43.053744', time_epoch_executed='1631147443.05' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54983

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54983/ft1_4FGL_J1354.8-1041_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54983/ft2_4FGL_J1354.8-1041_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54983/ft1_4FGL_J1354.8-1041_daily_bin755.fits outfile=/scratch/kocevski/54983/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin755.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=435024001.0 tmax=435283201.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 5.09
user 4.83
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54983/ft1_filtered_4FGL_J1354.8-1041_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/54983/ft2_4FGL_J1354.8-1041_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/54983/ltcube_435024001_435283201_4FGL_J1354.8-1041_daily_bin755.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/54983/ft2_4FGL_J1354.8-1041_daily_bin755.fits
.....................!
real 12.34
user 11.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54983/ft1_filtered_4FGL_J1354.8-1041_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/54983/ft2_4FGL_J1354.8-1041_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/54983/ltcube_435024001_435283201_4FGL_J1354.8-1041_daily_bin755.fits outfile=/scratch/kocevski/54983/expmap_435024001_435283201_4FGL_J1354.8-1041_daily_bin755.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/54983/ltcube_435024001_435283201_4FGL_J1354.8-1041_daily_bin755.fits
.....................!
real 191.49
user 185.23
sys 5.01

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/54983/ft1_filtered_4FGL_J1354.8-1041_daily_bin755.fits scfile=/scratch/kocevski/54983/ft2_4FGL_J1354.8-1041_daily_bin755.fits outfile=/scratch/kocevski/54983/cmap_435024001_435283201_4FGL_J1354.8-1041_daily_bin755.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.52
user 0.35
sys 0.16

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54983/ft1_filtered_4FGL_J1354.8-1041_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/54983/ft2_4FGL_J1354.8-1041_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54983/Model_4FGL_J1354.8-1041_daily_bin755.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/54983/ft1_filtered_4FGL_J1354.8-1041_daily_bin755.fits.....................!
real 68.46
user 67.01
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10485E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    71.253       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.929       1.0000         .10000E-03   10000.    
     5 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.2589       1.0000         .10000E-03   10000.    
     7 'norm      '    11.216       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      '    3.3023       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.3477       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.874       1.0000         .10000E-03   10000.    
    16 'norm      '    4.0133       1.0000         .10000E-03   10000.    
    17 'norm      '    5.2310       1.0000         .10000E-03   10000.    
    18 'norm      '    62.217       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.5328       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87478       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1544       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=   8834.332     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2196 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.3220        .10366    ** at limit **
   2  Prefactor     .10000E-03    3.2029        .90712E-02** at limit **
   3  Prefactor     71.255        16.322        .11889E-02    .57980E-03
   4  Prefactor     26.928        21.255        .19300E-02    .25850E-03
   5  norm          .10000E-03    .84680        .32490E-01** at limit **
   6  norm          3.2581        3.3662        .56084E-02    .33424E-04
   7  norm          11.217        7.5121        .29906E-02   -.19911E-03
   8  Prefactor     .10000E-03    5.4668        .90712E-02** at limit **
   9  norm          .10000E-03    20.868        .90712E-02** at limit **
  10  Prefactor     .10000E-03    3.5811        .90712E-02** at limit **
  11  norm          3.3022        3.8764        .55696E-02    .18561E-03
  12  Prefactor     .10000E-03    1.4997        .90712E-02** at limit **
  13  Prefactor     9.3466        15.058        .32770E-02   -.87778E-04
  14  Prefactor     .10000E-03    94.971        .90712E-02** at limit **
  15  norm          15.873        8.8390        .25132E-02    .10871E-02
  16  norm          4.0134        3.2590        .50326E-02    .61319E-03
  17  norm          5.2310        5.6593        .43938E-02   -.86224E-04
  18  norm          62.216        12.069        .12718E-02    .30393E-04
  19  Prefactor     .10000E-03    6.9887        .90712E-02** at limit **
  20  Prefactor     .10000E-03    12.967        .90712E-02** at limit **
  21  norm          5.5331        11.563        .42702E-02    .18519E-02
  22  Normalizat    .87493        .23698        .93761E-01    .17042E-04
  23  Prefactor     1.1543        .12192        .35810E-01   -.36353E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.2553
  Prefactor  = 26.9275
  norm       = 0.0001
  norm       = 3.25813
  norm       = 11.2168
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.30216
  Prefactor  = 0.0001
  Prefactor  = 9.34655
  Prefactor  = 0.0001
  norm       = 15.8734
  norm       = 4.01335
  norm       = 5.23095
  norm       = 62.2163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.53307
  Normalizat = 0.874925
  Prefactor  = 1.15434
 **********
 **   18 **HESSE 
 **********

 FCN=   8834.332     FROM HESSE     STATUS=OK           372 CALLS     2568 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    38.341        .55629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.2144        .16427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     71.255        16.253        .47558E-04   -1.4018    
   4  Prefactor     26.928        21.160        .38600E-03   -1.4670    
   5  norm          .10000E-03    1.3587        .16533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2581        3.3480        .15306E-03   -1.5347    
   7  norm          11.217        7.4981        .11962E-03   -1.5038    
   8  Prefactor     .10000E-03    5.4858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    20.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5880        .17370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.3022        3.8713        .19420E-03   -1.5345    
  12  Prefactor     .10000E-03    1.5032        .11235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.3466        15.054        .13108E-03   -1.5096    
  14  Prefactor     .10000E-03    95.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.873        8.8320        .50263E-03   -1.4911    
  16  norm          4.0134        3.2461        .14032E-03   -1.5307    
  17  norm          5.2310        5.6610        .17575E-03   -1.5251    
  18  norm          62.216        12.049        .50871E-04   -1.4129    
  19  Prefactor     .10000E-03    7.0109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.5331        11.573        .85404E-03   -1.5237    
  22  Normalizat    .87493        .26193        .41536E-03   -.97347    
  23  Prefactor     1.1543        .13700        .19692E-03   -.87748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96208e-10
Minuit parameter uncertainties:
  1  2.69687e-05
  2  2.09307e-06
  3  16.2536
  4  21.1654
  5  2.97279e-06
  6  3.34818
  7  7.49874
  8  1.08806e-05
  9  4.48321e-06
  10  3.95144e-06
  11  3.8716
  12  8.00897e-07
  13  15.0603
  14  1.57148e-05
  15  8.83275
  16  3.24627
  17  5.66162
  18  12.0492
  19  7.63491e-06
  20  4.5564e-06
  21  11.5772
  22  0.262312
  23  0.137042
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.587e+01  8.833e+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.154e+00  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:  8.749e-01  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.74
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 8.25e-08 +/- 4.59e-08
Energy Flux (Fixed Index): 3.09e-05 +/- 1.72e-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) = 8833.97342192
delta logL = 0.358117766769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8833.94629242
delta logL = 0.38524726371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.866       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8127       1.0000          .0000       5.0000    
     3 'Normalizat'    .90559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1430       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8833.946     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      255 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.868        9.9563        .94755E-04    .12718E-04
   2  alpha         1.8130        .49673        .15696E-01   -.33579E-05
   3  Normalizat    .90566        .25072        .40900E-03   -.46142E-05
   4  Prefactor     1.1429        .13513        .19772E-03    .32360E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.8679
  alpha      = 1.81298
  Normalizat = 0.905664
  Prefactor  = 1.14294
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.946     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.868        10.002        .37902E-05   -1.4862    
   2  alpha         1.8130        .49891        .62783E-03   -.27839    
   3  Normalizat    .90566        .25081        .16360E-04   -.96261    
   4  Prefactor     1.1429        .13519        .39544E-04   -.88106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11187e-12
Minuit parameter uncertainties:
  1  10.003
  2  0.502559
  3  0.251136
  4  0.135226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54983': 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) = 8833.94629214
delta logL = 0.385247547765

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.787e+01  1.000e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.813e+00  5.026e-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.143e+00  1.352e-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.057e-01  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.49
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 1.81 +/- 0.50
Photon Flux (Free Index): 6.04e-08 +/- 4.38e-08
Energy Flux (Free Index): 3.95e-05 +/- 2.43e-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/54983/cmap_HighResolution_435024001_435283201_4FGL_J1354.8-1041_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.25e-08', energy_flux2='3.95e-05', photon_flux_error='4.59e-08', dlogl='3.85e-01', energy_flux='3.09e-05', photon_flux2='6.04e-08', job_status='DONE', time_completed='2021-09-08 17:41:21.233805', photon_index_error2='0.50', photon_index2='1.81', ts='5.74', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='0.87', time_epoch_completed='1631148081.23', return_code='0', job_id='54983', GAL2='1.14', EG2='0.91', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='4.38e-08', ts2='6.49', photon_index='2.27' WHERE bin_id='755' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:41:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 54983: <4FGL_J1354.8-1041_daily_bin755> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin755> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:30:27 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:30:28 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:30:28 2021
Terminated at Wed Sep  8 17:41:22 2021
Results reported at Wed Sep  8 17:41:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin755 208.718 -10.6932 435024001 435283201 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 :                                   634.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            655 sec.

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

