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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin215
RA = 208.718, Dec = -10.6932
tmin = 295056001, tmax = 295315201
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='52468', job_status='RUN', time_executed='2021-09-08 17:24:21.417266', time_epoch_executed='1631147061.42' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52468

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52468/ft1_4FGL_J1354.8-1041_daily_bin215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52468/ft2_4FGL_J1354.8-1041_daily_bin215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52468/ft1_4FGL_J1354.8-1041_daily_bin215.fits outfile=/scratch/kocevski/52468/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin215.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=295056001.0 tmax=295315201.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 2.57
user 2.38
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52468/ft1_filtered_4FGL_J1354.8-1041_daily_bin215.fits" evtable="EVENTS" scfile=/scratch/kocevski/52468/ft2_4FGL_J1354.8-1041_daily_bin215.fits sctable="SC_DATA" outfile=/scratch/kocevski/52468/ltcube_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.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/52468/ft2_4FGL_J1354.8-1041_daily_bin215.fits
.....................!
real 12.88
user 12.45
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52468/ft1_filtered_4FGL_J1354.8-1041_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/52468/ft2_4FGL_J1354.8-1041_daily_bin215.fits sctable="SC_DATA" expcube=/scratch/kocevski/52468/ltcube_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.fits outfile=/scratch/kocevski/52468/expmap_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.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/52468/ltcube_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.fits
.....................!
real 190.88
user 185.47
sys 5.05

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/52468/ft1_filtered_4FGL_J1354.8-1041_daily_bin215.fits scfile=/scratch/kocevski/52468/ft2_4FGL_J1354.8-1041_daily_bin215.fits outfile=/scratch/kocevski/52468/cmap_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52468/ft1_filtered_4FGL_J1354.8-1041_daily_bin215.fits scfile=/scratch/kocevski/52468/ft2_4FGL_J1354.8-1041_daily_bin215.fits outfile=/scratch/kocevski/52468/cmap_HighResolution_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.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.60
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52468/ft1_filtered_4FGL_J1354.8-1041_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/52468/ft2_4FGL_J1354.8-1041_daily_bin215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52468/Model_4FGL_J1354.8-1041_daily_bin215.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/52468/ft1_filtered_4FGL_J1354.8-1041_daily_bin215.fits.....................!
real 53.77
user 52.43
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6509       1.0000         .10000E-03   10000.    
     5 'norm      '    .66365       1.0000         .10000E-03   10000.    
     6 'norm      '    6.6556       1.0000         .10000E-03   10000.    
     7 'norm      '    11.177       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    32.711       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2272       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4583       1.0000         .10000E-03   10000.    
    17 'norm      '    12.847       1.0000         .10000E-03   10000.    
    18 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.503       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92547       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1723       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=   6483.044     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2526 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8136       -.17575E-07** at limit **
   2  Prefactor     .10000E-03    7.7840        .83394E-06** at limit **
   3  Prefactor     .10000E-03    7.8269        .36993E-06** at limit **
   4  Prefactor     1.7143        88.867       -.22658E-05    .20873E-04
   5  norm          .66427        1.3574        .35117E-06    .16098E-03
   6  norm          6.6476        4.8884        .69184E-06    .37063E-03
   7  norm          11.173        8.0621        .28596E-06    .13354E-03
   8  Prefactor     .10000E-03    8.7810       -.63425E-06** at limit **
   9  norm          32.710        36.691       -.20428E-06   -.10010E-04
  10  Prefactor     .10025E-03    11.675        .16194E-05** at limit **
  11  norm          .10000E-03    3.7547       -.32591E-07** at limit **
  12  Prefactor     2.2291        5.8743        .10299E-05    .89120E-04
  13  Prefactor     .10000E-03    15.514       -.33794E-06** at limit **
  14  Prefactor     .10000E-03    20.776       -.10822E-06** at limit **
  15  norm          .10000E-03    7.9668       -.81697E-06** at limit **
  16  norm          3.4597        2.9936        .14888E-06    .57690E-04
  17  norm          12.850        11.845       -.58487E-07   -.90327E-05
  18  norm          .10000E-03    9.9616        .44533E-06** at limit **
  19  Prefactor     30.508        21.720        .15216E-06    .32891E-04
  20  Prefactor     .10000E-03    15.200       -.36265E-07** at limit **
  21  norm          .10000E-03    6.3809       -.10800E-06** at limit **
  22  Normalizat    .92521        .25640       -.93610E-06   -.45685E-04
  23  Prefactor     1.1724        .13237        .54659E-06   -.10749E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.71434
  norm       = 0.664275
  norm       = 6.64761
  norm       = 11.173
  Prefactor  = 0.0001
  norm       = 32.7103
  Prefactor  = 0.000100251
  norm       = 0.0001
  Prefactor  = 2.22906
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.45974
  norm       = 12.8503
  norm       = 0.0001
  Prefactor  = 30.5079
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.92521
  Prefactor  = 1.17239
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.044     FROM HESSE     STATUS=OK           370 CALLS     2896 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8141        .13191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.8386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.9503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7143        83.990        .32859E-03   -1.5446    
   5  norm          .66427        1.3258        .12637E-03   -1.5545    
   6  norm          6.6476        4.8143        .11512E-03   -1.5192    
   7  norm          11.173        8.0283        .11983E-03   -1.5039    
   8  Prefactor     .10000E-03    8.8435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.710        36.690        .70061E-04   -1.4563    
  10  Prefactor     .10025E-03    68.519        .46230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.8010        .15228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2291        5.8354        .27550E-03   -1.5409    
  13  Prefactor     .10000E-03    15.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.2368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4597        2.9781        .12254E-03   -1.5336    
  17  norm          12.850        11.846        .11176E-03   -1.4991    
  18  norm          .10000E-03    10.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.508        21.711        .72545E-04   -1.4603    
  20  Prefactor     .10000E-03    15.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.3907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92521        .28423        .37277E-03   -.95580    
  23  Prefactor     1.1724        .14963        .18357E-03   -.87185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58935e-09
Minuit parameter uncertainties:
  1  1.01564e-06
  2  3.98062e-05
  3  7.23989e-06
  4  24.034
  5  1.32584
  6  4.81457
  7  8.02906
  8  7.98154e-05
  9  36.7152
  10  0.00830191
  11  9.48473e-06
  12  5.83693
  13  3.24313e-05
  14  2.27996e-05
  15  8.36111e-05
  16  2.97824
  17  11.8478
  18  3.18887e-05
  19  21.7162
  20  3.10769e-06
  21  7.21511e-06
  22  0.284696
  23  0.149683
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  8.361e-05  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.172e+00  1.497e-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.252e-01  2.847e-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: 8.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/52468/likelihoodResults_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.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) = 6483.04458492
delta logL = -0.000578786952246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6483.04400627
delta logL = -1.33874891617e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2684       1.0000          .0000       5.0000    
     3 'Normalizat'    .92516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1724       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=   6483.044     FROM MIGRAD    STATUS=FAILED        85 CALLS      227 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    1213.6        .18142E-02** at limit **
   2  alpha         2.2500        3.3169        .16551        .73024E-06
   3  Normalizat    .92521        .97986E-01    .37278E-03    .19366E-04
   4  Prefactor     1.1724        .54006E-01    .18357E-03    .49841E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6483.044     FROM SIMPLEX   STATUS=UNCHANGED    175 CALLS      402 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    1213.6        .49924E-03** at limit **
   2  alpha         2.2500        3.3169        .40523E-05    .73024E-06
   3  Normalizat    .92521        .97986E-01    .20328E-06    .19366E-04
   4  Prefactor     1.1724        .54006E-01    .65696E-07    .49841E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6483.044     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      430 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    8.2807        .36285E-03** at limit **
   2  alpha         2.2483        2.6496        .66203E-02    .67247E-06
   3  Normalizat    .92521        .26868        .14911E-04    .18908E-04
   4  Prefactor     1.1724        .14821        .36715E-04    .48801E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100043
  alpha      = 2.24833
  Normalizat = 0.92521
  Prefactor  = 1.17239
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.044     FROM HESSE     STATUS=OK            23 CALLS      453 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    8.2568        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2483        2.9047        .13241E-02   -.10084    
   3  Normalizat    .92521        .26864        .29822E-05   -.95580    
   4  Prefactor     1.1724        .14819        .73429E-05   -.87185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0183e-08
Minuit parameter uncertainties:
  1  0.00118673
  2  264.868
  3  0.269031
  4  0.148246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52468': 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) = 6483.04400613
delta logL = 7.12043402018e-09

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.187e-03  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.248e+00  2.649e+02  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.172e+00  1.482e-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.252e-01  2.690e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/52468/cmap_HighResolution_295056001_295315201_4FGL_J1354.8-1041_daily_bin215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-05', job_status='DONE', photon_flux_upper_limit='8.76e-08', time_completed='2021-09-08 17:34:46.361238', job_id='52468', GAL2='1.17', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631147686.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='7.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='215' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:34:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 52468: <4FGL_J1354.8-1041_daily_bin215> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin215> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:21:09 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:21:11 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:11 2021
Terminated at Wed Sep  8 17:34:46 2021
Results reported at Wed Sep  8 17:34:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin215 208.718 -10.6932 295056001 295315201 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 :                                   623.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            817 sec.

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

