/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 219 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 = 7468
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin423
RA = 208.718, Dec = -10.6932
tmin = 348969601, tmax = 349228801
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='53883', job_status='RUN', time_executed='2021-09-08 17:29:38.155368', time_epoch_executed='1631147378.16' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='423'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53883

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53883/ft1_4FGL_J1354.8-1041_daily_bin423.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53883/ft2_4FGL_J1354.8-1041_daily_bin423.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53883/ft1_4FGL_J1354.8-1041_daily_bin423.fits outfile=/scratch/kocevski/53883/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin423.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=348969601.0 tmax=349228801.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.82
user 3.57
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53883/ft1_filtered_4FGL_J1354.8-1041_daily_bin423.fits" evtable="EVENTS" scfile=/scratch/kocevski/53883/ft2_4FGL_J1354.8-1041_daily_bin423.fits sctable="SC_DATA" outfile=/scratch/kocevski/53883/ltcube_348969601_349228801_4FGL_J1354.8-1041_daily_bin423.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/53883/ft2_4FGL_J1354.8-1041_daily_bin423.fits
.....................!
real 16.47
user 16.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53883/ft1_filtered_4FGL_J1354.8-1041_daily_bin423.fits evtable="EVENTS" scfile=/scratch/kocevski/53883/ft2_4FGL_J1354.8-1041_daily_bin423.fits sctable="SC_DATA" expcube=/scratch/kocevski/53883/ltcube_348969601_349228801_4FGL_J1354.8-1041_daily_bin423.fits outfile=/scratch/kocevski/53883/expmap_348969601_349228801_4FGL_J1354.8-1041_daily_bin423.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/53883/ltcube_348969601_349228801_4FGL_J1354.8-1041_daily_bin423.fits
.....................!
real 190.17
user 184.94
sys 4.86

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/53883/ft1_filtered_4FGL_J1354.8-1041_daily_bin423.fits scfile=/scratch/kocevski/53883/ft2_4FGL_J1354.8-1041_daily_bin423.fits outfile=/scratch/kocevski/53883/cmap_348969601_349228801_4FGL_J1354.8-1041_daily_bin423.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.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53883/ft1_filtered_4FGL_J1354.8-1041_daily_bin423.fits scfile=/scratch/kocevski/53883/ft2_4FGL_J1354.8-1041_daily_bin423.fits outfile=/scratch/kocevski/53883/cmap_HighResolution_348969601_349228801_4FGL_J1354.8-1041_daily_bin423.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/53883/ft1_filtered_4FGL_J1354.8-1041_daily_bin423.fits evtable="EVENTS" scfile=/scratch/kocevski/53883/ft2_4FGL_J1354.8-1041_daily_bin423.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53883/Model_4FGL_J1354.8-1041_daily_bin423.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/53883/ft1_filtered_4FGL_J1354.8-1041_daily_bin423.fits.....................!
real 75.79
user 74.30
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4744       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7166       1.0000         .10000E-03   10000.    
     5 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10812E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    11.224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13910E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.4688       1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.619       1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8831       1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.380       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.044       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0676       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    16.707       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1977       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0158       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=   9418.370     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2201 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2306        .25645E-07** at limit **
   2  Prefactor     .10000E-03    1.8295        .39060E-07** at limit **
   3  Prefactor     3.4776        8.4783       -.38027E-05   -.91720E-05
   4  Prefactor     1.7094        27.923       -.47279E-05   -.16880E-03
   5  norm          .10000E-03    .54604        .92800E-07** at limit **
   6  norm          .10000E-03    2.1811        .15945E-06** at limit **
   7  norm          11.223        6.5166        .89417E-06   -.17095E-03
   8  Prefactor     .10000E-03    19.830       -.54596E-06** at limit **
   9  norm          5.3676        30.087       -.17141E-05   -.70444E-05
  10  Prefactor     42.622        13.373        .10364E-05   -.33229E-03
  11  norm          .10000E-03    2.3369       -.35986E-07** at limit **
  12  Prefactor     8.8844        6.4386        .25481E-06   -.42160E-03
  13  Prefactor     36.381        22.353        .68959E-06   -.76445E-04
  14  Prefactor     .10000E-03    48.107        .55195E-06** at limit **
  15  norm          15.044        8.0483        .49924E-06   -.28848E-03
  16  norm          3.0676        2.3905       -.19846E-06   -.55958E-03
  17  norm          .10000E-03    3.9481       -.66086E-08** at limit **
  18  norm          16.706        7.8270        .44903E-06   -.20532E-03
  19  Prefactor     .10000E-03    7.2900        .11193E-07** at limit **
  20  Prefactor     .10000E-03    8.6580       -.58556E-07** at limit **
  21  norm          .10000E-03    6.8501        .23405E-07** at limit **
  22  Normalizat    1.1975        .21486        .73409E-06   -.24570E-04
  23  Prefactor     1.0159        .10802       -.33060E-06    .99533E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.47763
  Prefactor  = 1.70942
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.2231
  Prefactor  = 0.0001
  norm       = 5.36763
  Prefactor  = 42.6223
  norm       = 0.0001
  Prefactor  = 8.88438
  Prefactor  = 36.3809
  Prefactor  = 0.0001
  norm       = 15.0436
  norm       = 3.06756
  norm       = 0.0001
  norm       = 16.706
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.1975
  Prefactor  = 1.01593
 **********
 **   18 **HESSE 
 **********

 FCN=   9418.370     FROM HESSE     STATUS=OK           366 CALLS     2567 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2332        .17036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8321        .12820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4776        8.6518        .21694E-03   -1.5335    
   4  Prefactor     1.7094        29.225        .32071E-03   -1.5446    
   5  norm          .10000E-03    2.2558        .13611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2107        .27567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.223        6.4906        .11958E-03   -1.5038    
   8  Prefactor     .10000E-03    20.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.3676        30.192        .17182E-03   -1.5245    
  10  Prefactor     42.622        13.172        .61407E-04   -1.4401    
  11  norm          .10000E-03    2.3659        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.8844        6.4250        .13448E-03   -1.5112    
  13  Prefactor     36.381        22.326        .66445E-04   -1.4501    
  14  Prefactor     .10000E-03    48.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.044        8.0233        .10326E-03   -1.4932    
  16  norm          3.0676        2.4022        .12628E-03   -1.5358    
  17  norm          .10000E-03    3.9560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.706        7.7945        .97987E-04   -1.4890    
  19  Prefactor     .10000E-03    7.3174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.6729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.8693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1975        .24718        .33985E-03   -.86680    
  23  Prefactor     1.0159        .12577        .19809E-03   -.92201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87356e-10
Minuit parameter uncertainties:
  1  5.93926e-06
  2  4.65217e-06
  3  8.65492
  4  14.1438
  5  1.55179e-05
  6  2.48337e-05
  7  6.49104
  8  0.000166735
  9  25.48
  10  13.1733
  11  5.03562e-06
  12  6.42547
  13  22.3306
  14  0.000108792
  15  8.02391
  16  2.40226
  17  1.17308e-07
  18  7.79502
  19  5.68953e-06
  20  1.76191e-06
  21  1.50761e-06
  22  0.247419
  23  0.125807
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.504e+01  8.024e+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.016e+00  1.258e-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.197e+00  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.90
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 7.82e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.56e-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) = 9417.54964453
delta logL = 0.820601193542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9417.52947746
delta logL = 0.840768258748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.680       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9712       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0372       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=   9417.529     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      288 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.676        7.7933        .61299E-03   -.20698E-04
   2  alpha         2.9715        .61368        .11464E-01    .33776E-03
   3  Normalizat    1.1318        .23609        .34776E-03   -.35111E-04
   4  Prefactor     1.0372        .12591        .19619E-03   -.51690E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6764
  alpha      = 2.97147
  Normalizat = 1.13179
  Prefactor  = 1.03723
 **********
 **   18 **HESSE 
 **********

 FCN=   9417.529     FROM HESSE     STATUS=OK            27 CALLS      315 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.676        7.0490        .24519E-04   -1.5054    
   2  alpha         2.9715        .55564        .22927E-02    .18972    
   3  Normalizat    1.1318        .23558        .13910E-04   -.88738    
   4  Prefactor     1.0372        .12574        .78474E-05   -.91499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85934e-12
Minuit parameter uncertainties:
  1  7.04958
  2  0.5605
  3  0.235799
  4  0.125772
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53883': 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) = 9417.52947703
delta logL = 0.84076869292

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.068e+01  7.050e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.971e+00  5.605e-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.037e+00  1.258e-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.132e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.75
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 2.97 +/- 0.56
Photon Flux (Free Index): 1.34e-07 +/- 6.65e-08
Energy Flux (Free Index): 3.05e-05 +/- 1.27e-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/53883/cmap_HighResolution_348969601_349228801_4FGL_J1354.8-1041_daily_bin423.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.82e-08', energy_flux2='3.05e-05', photon_flux_error='4.17e-08', dlogl='8.41e-01', energy_flux='2.93e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-08 17:41:18.545704', photon_index_error2='0.56', photon_index2='2.97', ts='7.90', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='1.20', time_epoch_completed='1631148078.55', return_code='0', job_id='53883', GAL2='1.04', EG2='1.13', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='6.65e-08', ts2='9.75', photon_index='2.27' WHERE bin_id='423' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:41:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 53883: <4FGL_J1354.8-1041_daily_bin423> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin423> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:25:46 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:25:48 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:25:48 2021
Terminated at Wed Sep  8 17:41:18 2021
Results reported at Wed Sep  8 17:41:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin423 208.718 -10.6932 348969601 349228801 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 :                                   695.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             259.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            932 sec.

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

