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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin839
RA = 208.718, Dec = -10.6932
tmin = 456796801, tmax = 457056001
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='55142', job_status='RUN', time_executed='2021-09-08 17:33:12.414386', time_epoch_executed='1631147592.41' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='839'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55142

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55142/ft1_4FGL_J1354.8-1041_daily_bin839.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55142/ft2_4FGL_J1354.8-1041_daily_bin839.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55142/ft1_4FGL_J1354.8-1041_daily_bin839.fits outfile=/scratch/kocevski/55142/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin839.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=456796801.0 tmax=457056001.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.45
user 3.09
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55142/ft1_filtered_4FGL_J1354.8-1041_daily_bin839.fits" evtable="EVENTS" scfile=/scratch/kocevski/55142/ft2_4FGL_J1354.8-1041_daily_bin839.fits sctable="SC_DATA" outfile=/scratch/kocevski/55142/ltcube_456796801_457056001_4FGL_J1354.8-1041_daily_bin839.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/55142/ft2_4FGL_J1354.8-1041_daily_bin839.fits
.....................!
real 11.72
user 11.38
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55142/ft1_filtered_4FGL_J1354.8-1041_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/55142/ft2_4FGL_J1354.8-1041_daily_bin839.fits sctable="SC_DATA" expcube=/scratch/kocevski/55142/ltcube_456796801_457056001_4FGL_J1354.8-1041_daily_bin839.fits outfile=/scratch/kocevski/55142/expmap_456796801_457056001_4FGL_J1354.8-1041_daily_bin839.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/55142/ltcube_456796801_457056001_4FGL_J1354.8-1041_daily_bin839.fits
.....................!
real 196.01
user 191.66
sys 3.93

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/55142/ft1_filtered_4FGL_J1354.8-1041_daily_bin839.fits scfile=/scratch/kocevski/55142/ft2_4FGL_J1354.8-1041_daily_bin839.fits outfile=/scratch/kocevski/55142/cmap_456796801_457056001_4FGL_J1354.8-1041_daily_bin839.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55142/ft1_filtered_4FGL_J1354.8-1041_daily_bin839.fits scfile=/scratch/kocevski/55142/ft2_4FGL_J1354.8-1041_daily_bin839.fits outfile=/scratch/kocevski/55142/cmap_HighResolution_456796801_457056001_4FGL_J1354.8-1041_daily_bin839.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/55142/ft1_filtered_4FGL_J1354.8-1041_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/55142/ft2_4FGL_J1354.8-1041_daily_bin839.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55142/Model_4FGL_J1354.8-1041_daily_bin839.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/55142/ft1_filtered_4FGL_J1354.8-1041_daily_bin839.fits.....................!
real 55.16
user 53.26
sys 1.66

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.4460       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.715       1.0000         .10000E-03   10000.    
     4 'Prefactor '    57.334       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.2728       1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.348       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.8686       1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7387       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.4968       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    20.653       1.0000         .10000E-03   10000.    
    18 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    51.657       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.7224       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6089       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72852       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=   6387.048     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2590 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.4302       -.85182E-07** at limit **
   2  Prefactor     3.4464        5.4052        .31024E-06    .35376E-04
   3  Prefactor     15.713        13.050        .10625E-05    .15483E-03
   4  Prefactor     57.271        37.484        .61596E-06    .11452E-03
   5  norm          .10000E-03    .59684       -.14036E-06** at limit **
   6  norm          1.2862        10.229       -.74547E-05   -.41462E-04
   7  norm          .10000E-03    5.2259        .12341E-05** at limit **
   8  Prefactor     13.353        22.814        .33905E-05    .63639E-04
   9  norm          .10000E-03    17.924       -.29395E-05** at limit **
  10  Prefactor     8.8600        18.463       -.31672E-05   -.12189E-04
  11  norm          .10000E-03    2.0388       -.61042E-07** at limit **
  12  Prefactor     6.7388        6.7146        .71624E-06    .12335E-03
  13  Prefactor     .10000E-03    7.7394       -.35638E-06** at limit **
  14  Prefactor     .10000E-03    35.182        .10923E-05** at limit **
  15  norm          8.4965        6.8804       -.87460E-07    .42906E-04
  16  norm          .10000E-03    2.0825       -.26134E-07** at limit **
  17  norm          20.653        13.778       -.19957E-06    .64467E-05
  18  norm          .10000E-03    12.193        .13070E-05** at limit **
  19  Prefactor     51.650        35.153       -.27977E-05   -.18650E-04
  20  Prefactor     .10000E-03    34.398        .28285E-05** at limit **
  21  norm          3.7218        16.245       -.38128E-06   -.93328E-05
  22  Normalizat    1.6089        .25154        .42238E-05    .50062E-04
  23  Prefactor     .72851        .12078       -.44183E-06    .30641E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.44638
  Prefactor  = 15.7132
  Prefactor  = 57.2715
  norm       = 0.0001
  norm       = 1.28617
  norm       = 0.0001
  Prefactor  = 13.3532
  norm       = 0.0001
  Prefactor  = 8.85999
  norm       = 0.0001
  Prefactor  = 6.73876
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.49648
  norm       = 0.0001
  norm       = 20.6534
  norm       = 0.0001
  Prefactor  = 51.6504
  Prefactor  = 0.0001
  norm       = 3.7218
  Normalizat = 1.60885
  Prefactor  = 0.728513
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.048     FROM HESSE     STATUS=OK           370 CALLS     2960 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.4333        .16429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4464        5.3908        .21788E-03   -1.5337    
   3  Prefactor     15.713        13.172        .10103E-03   -1.4915    
   4  Prefactor     57.271        37.034        .52981E-04   -1.4193    
   5  norm          .10000E-03    .98416        .11929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2862        10.071        .31097E-03   -1.5481    
   7  norm          .10000E-03    5.3189        .17889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.353        22.593        .10964E-03   -1.4977    
   9  norm          .10000E-03    17.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.8600        18.294        .13459E-03   -1.5113    
  11  norm          .10000E-03    2.0557        .11142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.7388        6.7161        .15457E-03   -1.5189    
  13  Prefactor     .10000E-03    7.7445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.4965        6.8708        .13752E-03   -1.5125    
  16  norm          .10000E-03    2.1617        .22500E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.653        13.779        .88134E-04   -1.4799    
  18  norm          .10000E-03    12.606        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     51.650        35.207        .55801E-04   -1.4269    
  20  Prefactor     .10000E-03    34.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.7218        16.242        .20930E-03   -1.5322    
  22  Normalizat    1.6089        .28566        .30460E-03   -.74764    
  23  Prefactor     .72851        .13871        .21721E-03   -1.0242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73266e-10
Minuit parameter uncertainties:
  1  5.95631e-06
  2  5.39153
  3  13.1747
  4  37.0492
  5  2.786e-05
  6  7.19957
  7  7.39028e-05
  8  22.6071
  9  5.53056e-05
  10  18.3052
  11  3.95913e-06
  12  6.71682
  13  1.2601e-05
  14  9.08558e-06
  15  6.87143
  16  1.56291e-05
  17  13.7811
  18  1.61905e-05
  19  35.2209
  20  1.02598e-05
  21  15.5566
  22  0.285946
  23  0.138771
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  8.496e+00  6.871e+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:  7.285e-01  1.388e-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.609e+00  2.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.78
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.42e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 1.34e-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) = 6386.49039612
delta logL = 0.557716753591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6386.37173491
delta logL = 0.676377965207

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9486       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2062       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6344       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72505       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=   6386.372     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      212 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9364        4.4764        .45198E-02   -.23301E-02
   2  alpha         1.2052        .56558        .47655       -.38408E-04
   3  Normalizat    1.6346        .23370        .68448E-01   -.40403E-04
   4  Prefactor     .72498        .11826        .42734E-01   -.22193E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.93636
  alpha      = 1.20523
  Normalizat = 1.63459
  Prefactor  = 0.724976
 **********
 **   18 **HESSE 
 **********

 FCN=   6386.372     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9364        6.1895        .75286E-03   -1.5264    
   2  alpha         1.2052        .81227        .20001E-01   -.54440    
   3  Normalizat    1.6346        .26807        .30278E-03   -.74063    
   4  Prefactor     .72498        .13579        .21780E-03   -1.0256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68755e-11
Minuit parameter uncertainties:
  1  6.19034
  2  0.833189
  3  0.268302
  4  0.13585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55142': 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) = 6386.37173265
delta logL = 0.676380223485

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  4.936e+00  6.190e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.205e+00  8.332e-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:  7.250e-01  1.358e-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.635e+00  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.14
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 1.21 +/- 0.83
Photon Flux (Free Index): 1.29e-08 +/- 1.63e-08
Energy Flux (Free Index): 2.49e-05 +/- 2.90e-05

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/55142/cmap_HighResolution_456796801_457056001_4FGL_J1354.8-1041_daily_bin839.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.42e-08', energy_flux2='2.49e-05', photon_flux_error='3.57e-08', dlogl='6.76e-01', energy_flux='1.66e-05', photon_flux2='1.29e-08', job_status='DONE', time_completed='2021-09-08 17:42:45.874559', photon_index_error2='0.83', photon_index2='1.21', ts='4.78', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='2.90e-05', EG='1.61', time_epoch_completed='1631148165.87', return_code='0', job_id='55142', GAL2='0.72', EG2='1.63', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='1.63e-08', ts2='6.14', photon_index='2.27' WHERE bin_id='839' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:42:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 55142: <4FGL_J1354.8-1041_daily_bin839> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin839> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:30:37 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:30:39 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:39 2021
Terminated at Wed Sep  8 17:42:46 2021
Results reported at Wed Sep  8 17:42:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin839 208.718 -10.6932 456796801 457056001 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 :                                   572.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            729 sec.

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

