/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 8 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7493
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin762
RA = 208.718, Dec = -10.6932
tmin = 436838401, tmax = 437097601
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='55011', job_status='RUN', time_executed='2021-09-08 17:30:45.651709', time_epoch_executed='1631147445.65' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55011

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55011/ft1_4FGL_J1354.8-1041_daily_bin762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55011/ft2_4FGL_J1354.8-1041_daily_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55011/ft1_4FGL_J1354.8-1041_daily_bin762.fits outfile=/scratch/kocevski/55011/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin762.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=436838401.0 tmax=437097601.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.97
user 4.72
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55011/ft1_filtered_4FGL_J1354.8-1041_daily_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/55011/ft2_4FGL_J1354.8-1041_daily_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/55011/ltcube_436838401_437097601_4FGL_J1354.8-1041_daily_bin762.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/55011/ft2_4FGL_J1354.8-1041_daily_bin762.fits
.....................!
real 11.76
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55011/ft1_filtered_4FGL_J1354.8-1041_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/55011/ft2_4FGL_J1354.8-1041_daily_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/55011/ltcube_436838401_437097601_4FGL_J1354.8-1041_daily_bin762.fits outfile=/scratch/kocevski/55011/expmap_436838401_437097601_4FGL_J1354.8-1041_daily_bin762.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/55011/ltcube_436838401_437097601_4FGL_J1354.8-1041_daily_bin762.fits
.....................!
real 190.44
user 185.27
sys 4.59

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/55011/ft1_filtered_4FGL_J1354.8-1041_daily_bin762.fits scfile=/scratch/kocevski/55011/ft2_4FGL_J1354.8-1041_daily_bin762.fits outfile=/scratch/kocevski/55011/cmap_436838401_437097601_4FGL_J1354.8-1041_daily_bin762.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.37
sys 0.14

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

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55011/ft1_filtered_4FGL_J1354.8-1041_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/55011/ft2_4FGL_J1354.8-1041_daily_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55011/Model_4FGL_J1354.8-1041_daily_bin762.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/55011/ft1_filtered_4FGL_J1354.8-1041_daily_bin762.fits.....................!
real 83.45
user 81.52
sys 1.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.868       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    69.189       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.2113       1.0000         .10000E-03   10000.    
     7 'norm      '    5.9523       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.5373       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .53382       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.108       1.0000         .10000E-03   10000.    
    15 'norm      '    .10189E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2154       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0017       1.0000         .10000E-03   10000.    
    18 'norm      '    15.721       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .87759E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.140       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3222       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10919.12     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     2148 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.867        1.0304        .12954E-06   -.46223E-03
   2  Prefactor     .10000E-03    1.8581       -.33915E-06** at limit **
   3  Prefactor     69.184        1.1162        .10926E-06   -.24273E-02
   4  Prefactor     .10000E-03    5.4404        .62368E-06** at limit **
   5  norm          .10000E-03    .54699       -.29541E-06** at limit **
   6  norm          9.2100        3.4129        .14159E-06    .10659E-03
   7  norm          5.9519        1.7235        .13148E-06   -.33793E-03
   8  Prefactor     .10000E-03    3.1101        .23270E-06** at limit **
   9  norm          .10000E-03    14.612       -.79097E-05** at limit **
  10  Prefactor     .10000E-03    12.835        .84470E-05** at limit **
  11  norm          4.5368        4.0533        .58659E-05    .33074E-04
  12  Prefactor     .53354        .87306        .16429E-06   -.89930E-04
  13  Prefactor     .10000E-03    8.5550       -.85548E-05** at limit **
  14  Prefactor     36.105        1.0457       -.91438E-07    .12595E-02
  15  norm          .10000E-03    30.164        .14089E-04** at limit **
  16  norm          1.2153        1.3497        .11682E-06   -.44478E-04
  17  norm          1.9987        1.1710        .73584E-06   -.30100E-03
  18  norm          15.723        1.6072        .40998E-06    .77625E-03
  19  Prefactor     .10000E-03    307.68       -.10410E-04** at limit **
  20  Prefactor     16.137        1.0223        .22389E-07   -.33502E-03
  21  norm          .10000E-03    6.2396       -.13787E-05** at limit **
  22  Normalizat    1.3224        .24301        .27892E-07   -.38018E-04
  23  Prefactor     1.1497        .12764        .24770E-05   -.70413E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.8667
  Prefactor  = 0.0001
  Prefactor  = 69.1844
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.20999
  norm       = 5.95192
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.53676
  Prefactor  = 0.533536
  Prefactor  = 0.0001
  Prefactor  = 36.1047
  norm       = 0.000100001
  norm       = 1.21531
  norm       = 1.99867
  norm       = 15.7231
  Prefactor  = 0.0001
  Prefactor  = 16.1367
  norm       = 0.0001
  Normalizat = 1.32238
  Prefactor  = 1.14969
 **********
 **   18 **HESSE 
 **********

 FCN=   10919.12     FROM HESSE     STATUS=OK           440 CALLS     2588 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.867        13.879        .25968E-02   -1.4937    
   2  Prefactor     .10000E-03    1.8579        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     69.184        16.244        .12064E-02   -1.4042    
   4  Prefactor     .10000E-03    5.4377        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .53263        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.2100        4.1676        .33013E-02   -1.5101    
   7  norm          5.9519        5.7496        .41147E-02   -1.5220    
   8  Prefactor     .10000E-03    3.1058        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    14.742        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.571        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.5368        4.0895        .47249E-02   -1.5282    
  12  Prefactor     .53354        2.6300        .87419E-01   -1.5562    
  13  Prefactor     .10000E-03    8.5527        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     36.105        39.575        .16673E-02   -1.4505    
  15  norm          .10000E-03    4.0969        .68060E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2153        1.3634        .10244E-01   -1.5487    
  17  norm          1.9987        20.411        .73179E-02   -1.5425    
  18  norm          15.723        7.6371        .25253E-02   -1.4915    
  19  Prefactor     .10000E-03    12.770        .11560       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.137        20.446        .24924E-02   -1.4904    
  21  norm          .10000E-03    6.2108        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3224        .22209        .83470E-01   -.82901    
  23  Prefactor     1.1497        .11229        .35945E-01   -.87894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52777e-07
Minuit parameter uncertainties:
  1  13.8824
  2  1.12723e-06
  3  16.2449
  4  1.00252e-05
  5  7.7351e-07
  6  4.1677
  7  5.75015
  8  4.44866e-06
  9  4.50984e-05
  10  4.99643e-05
  11  4.08971
  12  2.36909
  13  1.77768e-05
  14  39.6038
  15  0.00010542
  16  1.36347
  17  12.7793
  18  7.63759
  19  0.000110708
  20  20.4545
  21  1.21789e-05
  22  0.222249
  23  0.11231
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.054e-04  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.150e+00  1.123e-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.322e+00  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 7.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55011/likelihoodResults_436838401_437097601_4FGL_J1354.8-1041_daily_bin762.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10919.1242143
delta logL = -0.000159022874868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10919.1240079
delta logL = 4.74105581816e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27184E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4243       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1495       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=   10918.86     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      248 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0796        38.093        .99664E-02    .18242E-02
   2  alpha         3.7530        3.8517        .41176        .74009E-04
   3  Normalizat    1.2723        .51962E-01    .84839E-01    .27419E-03
   4  Prefactor     1.1622        .27243E-01    .35950E-01    .52277E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07964
  alpha      = 3.75299
  Normalizat = 1.27233
  Prefactor  = 1.16217
 **********
 **   18 **HESSE 
 **********

 FCN=   10918.86     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      279 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0796        104.33        .14650E-03   -1.5500    
   2  alpha         3.7530        2.9723        .36140E-01    .52498    
   3  Normalizat    1.2723        .24980        .37564E-03   -.84396    
   4  Prefactor     1.1622        .13436        .20435E-03   -.87504    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.15189e-06
Minuit parameter uncertainties:
  1  21.2638
  2  12.4054
  3  0.250039
  4  0.134402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55011': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10918.8610759
delta logL = 0.262979411988

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.080e+00  2.126e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.753e+00  1.241e+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.162e+00  1.344e-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.272e+00  2.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 208.718 -10.693

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/55011/cmap_HighResolution_436838401_437097601_4FGL_J1354.8-1041_daily_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2021-09-08 17:44:23.862711', job_id='55011', GAL2='1.16', fit_tolerance='1e-08', EG2='1.27', EG='1.32', time_epoch_completed='1631148263.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='2.63e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='762' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:44:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 55011: <4FGL_J1354.8-1041_daily_bin762> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin762 208.718 -10.6932 436838401 437097601 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 :                                   814.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            836 sec.

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

