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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin161
RA = 208.718, Dec = -10.6932
tmin = 281059201, tmax = 281318401
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='52371', job_status='RUN', time_executed='2021-09-08 17:23:50.032571', time_epoch_executed='1631147030.03' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='161'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52371

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52371/ft1_4FGL_J1354.8-1041_daily_bin161.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52371/ft2_4FGL_J1354.8-1041_daily_bin161.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52371/ft1_4FGL_J1354.8-1041_daily_bin161.fits outfile=/scratch/kocevski/52371/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin161.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=281059201.0 tmax=281318401.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.47
user 4.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52371/ft1_filtered_4FGL_J1354.8-1041_daily_bin161.fits" evtable="EVENTS" scfile=/scratch/kocevski/52371/ft2_4FGL_J1354.8-1041_daily_bin161.fits sctable="SC_DATA" outfile=/scratch/kocevski/52371/ltcube_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.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/52371/ft2_4FGL_J1354.8-1041_daily_bin161.fits
.....................!
real 12.47
user 12.14
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52371/ft1_filtered_4FGL_J1354.8-1041_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/52371/ft2_4FGL_J1354.8-1041_daily_bin161.fits sctable="SC_DATA" expcube=/scratch/kocevski/52371/ltcube_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.fits outfile=/scratch/kocevski/52371/expmap_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.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/52371/ltcube_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.fits
.....................!
real 190.88
user 186.16
sys 4.30

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/52371/ft1_filtered_4FGL_J1354.8-1041_daily_bin161.fits scfile=/scratch/kocevski/52371/ft2_4FGL_J1354.8-1041_daily_bin161.fits outfile=/scratch/kocevski/52371/cmap_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52371/ft1_filtered_4FGL_J1354.8-1041_daily_bin161.fits scfile=/scratch/kocevski/52371/ft2_4FGL_J1354.8-1041_daily_bin161.fits outfile=/scratch/kocevski/52371/cmap_HighResolution_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52371/ft1_filtered_4FGL_J1354.8-1041_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/52371/ft2_4FGL_J1354.8-1041_daily_bin161.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52371/Model_4FGL_J1354.8-1041_daily_bin161.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/52371/ft1_filtered_4FGL_J1354.8-1041_daily_bin161.fits....................!
real 46.89
user 45.48
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4416       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6379       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.3003       1.0000         .10000E-03   10000.    
     6 'norm      '    .10485E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.5817       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.8244       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6873       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.6064       1.0000         .10000E-03   10000.    
    17 'norm      '    11.794       1.0000         .10000E-03   10000.    
    18 'norm      '    19.332       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.677       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    18.437       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4083       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95384       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=   5510.330     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2551 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4430        7.0999        .24202E-06   -.64058E-05
   2  Prefactor     1.6394        6.0726        .88694E-05   -.12746E-03
   3  Prefactor     .10000E-03    6.4105        .28647E-06** at limit **
   4  Prefactor     .10000E-03    14.519       -.33296E-05** at limit **
   5  norm          4.3007        2.0129        .15273E-07   -.22534E-03
   6  norm          .10000E-03    2.5302        .25854E-06** at limit **
   7  norm          6.5761        6.1094       -.32196E-06   -.43436E-03
   8  Prefactor     .10000E-03    29.566        .11350E-05** at limit **
   9  norm          .10000E-03    34.681       -.10159E-05** at limit **
  10  Prefactor     .10000E-03    12.169        .21750E-06** at limit **
  11  norm          4.8223        5.5546       -.18183E-06   -.37781E-03
  12  Prefactor     .10000E-03    1.5126        .25026E-07** at limit **
  13  Prefactor     2.6845        40.042        .12856E-05    .10435E-04
  14  Prefactor     .10000E-03    55.245        .44833E-06** at limit **
  15  norm          .10000E-03    3.5677        .46176E-07** at limit **
  16  norm          2.6064        2.8408       -.24775E-07   -.27602E-03
  17  norm          11.794        11.271        .63233E-07   -.12246E-04
  18  norm          19.332        11.877       -.29258E-06   -.21821E-03
  19  Prefactor     14.648        35.262        .34240E-05   -.41928E-04
  20  Prefactor     .10000E-03    9.4081       -.12655E-08** at limit **
  21  norm          18.438        18.492        .87348E-07   -.36268E-04
  22  Normalizat    1.4082        .27750        .35732E-06   -.27980E-03
  23  Prefactor     .95383        .14099       -.16625E-05   -.68068E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44304
  Prefactor  = 1.63936
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 4.30071
  norm       = 0.0001
  norm       = 6.57612
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.82233
  Prefactor  = 0.0001
  Prefactor  = 2.68446
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.60644
  norm       = 11.7943
  norm       = 19.3323
  Prefactor  = 14.6481
  Prefactor  = 0.0001
  norm       = 18.4383
  Normalizat = 1.40817
  Prefactor  = 0.953825
 **********
 **   18 **HESSE 
 **********

 FCN=   5510.330     FROM HESSE     STATUS=OK           370 CALLS     2921 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4430        7.0704        .26183E-03   -1.5395    
   2  Prefactor     1.6394        6.1190        .16511E-02   -1.5452    
   3  Prefactor     .10000E-03    6.4646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    55.267        .49995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3007        2.0239        .68466E-04   -1.5293    
   6  norm          .10000E-03    4.1841        .21542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.5761        5.9695        .15642E-03   -1.5195    
   8  Prefactor     .10000E-03    30.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    34.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.8223        5.5588        .18099E-03   -1.5269    
  12  Prefactor     .10000E-03    1.5154        .89150E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6845        40.291        .24855E-03   -1.5380    
  14  Prefactor     .10000E-03    55.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.5978        .13692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.6064        2.8350        .12421E-03   -1.5385    
  17  norm          11.794        11.272        .11665E-03   -1.5021    
  18  norm          19.332        11.861        .91095E-04   -1.4828    
  19  Prefactor     14.648        35.306        .10455E-03   -1.4942    
  20  Prefactor     .10000E-03    9.4098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          18.438        18.496        .93278E-04   -1.4849    
  22  Normalizat    1.4082        .32757        .32756E-03   -.80393    
  23  Prefactor     .95383        .16774        .20477E-03   -.94285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36498e-10
Minuit parameter uncertainties:
  1  7.07278
  2  6.12135
  3  5.14009e-05
  4  0.000467342
  5  2.02394
  6  7.87028e-05
  7  5.97001
  8  2.20883e-05
  9  0.00027152
  10  6.70364e-05
  11  5.55936
  12  2.83536e-06
  13  20.8163
  14  0.000200335
  15  7.48818e-06
  16  2.83511
  17  11.2745
  18  11.8622
  19  35.3563
  20  5.21982e-06
  21  18.5012
  22  0.328064
  23  0.167831
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  7.488e-06  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.538e-01  1.678e-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.408e+00  3.281e-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.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/52371/likelihoodResults_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.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) = 5510.33138886
delta logL = -0.00132021023001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5510.33006844
delta logL = 2.14017745748e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10179E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2421       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95383       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5510.330     FROM MIGRAD    STATUS=FAILED       108 CALLS      248 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20670E-03    13.778        .63182E-01** at limit **
   2  alpha         .97060        4.2482        .16573       -.53493E-06
   3  Normalizat    1.4082        .16519E-01    .32756E-03   -.14244E-03
   4  Prefactor     .95383        .87602E-02    .20477E-03   -.21544E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5510.330     FROM SIMPLEX   STATUS=PROGRESS      77 CALLS      325 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31358E-02    13.778        .19552E-02   -.12772E-02
   2  alpha         .92644        4.2482        .86480E-01   -.53493E-06
   3  Normalizat    1.4082        .16519E-01    .90315E-05   -.14244E-03
   4  Prefactor     .95385        .87602E-02    .29447E-04   -.21544E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5510.330     FROM MIGRAD    STATUS=CONVERGED    144 CALLS      469 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11024E-01    128.07        .47096E-01   -.22054E-03
   2  alpha         .97602        2.5376        .13258E-01    .69456E-07
   3  Normalizat    1.4082        .45924E-01    .26205E-05   -.98049E-04
   4  Prefactor     .95378        .24418E-01    .81906E-05    .19155E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.011024
  alpha      = 0.976023
  Normalizat = 1.40823
  Prefactor  = 0.953775
 **********
 **   18 **HESSE 
 **********

 FCN=   5510.330     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      502 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11024E-01    124.38        .46937E-01   -1.5729    
   2  alpha         .97602        3.2819        .53033E-03   -.65554    
   3  Normalizat    1.4082        .45164E-01    .52409E-06   -.80391    
   4  Prefactor     .95378        .23973E-01    .16381E-05   -.94287    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.12322e-09
Minuit parameter uncertainties:
  1  2.33611
  2  85.833
  3  0.0451656
  4  0.0239736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52371': 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) = 5510.33004774
delta logL = 2.09122499655e-05

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.102e-02  2.336e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  9.760e-01  8.583e+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.538e-01  2.397e-02  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.408e+00  4.517e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/52371/cmap_HighResolution_281059201_281318401_4FGL_J1354.8-1041_daily_bin161.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', job_status='DONE', photon_flux_upper_limit='7.27e-08', time_completed='2021-09-08 17:33:42.172272', job_id='52371', GAL2='0.95', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1631147622.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.09e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='161' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:33:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 52371: <4FGL_J1354.8-1041_daily_bin161> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin161> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:21:02 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:21:03 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:21:03 2021
Terminated at Wed Sep  8 17:33:42 2021
Results reported at Wed Sep  8 17:33:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin161 208.718 -10.6932 281059201 281318401 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 :                                   590.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             281.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            760 sec.

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

