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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1084
RA = 208.718, Dec = -10.6932
tmin = 520300801, tmax = 520560001
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='55545', job_status='RUN', time_executed='2021-09-08 17:31:21.338410', time_epoch_executed='1631147481.34' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1084'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55545

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55545/ft1_4FGL_J1354.8-1041_daily_bin1084.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55545/ft1_4FGL_J1354.8-1041_daily_bin1084.fits outfile=/scratch/kocevski/55545/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1084.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=520300801.0 tmax=520560001.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 6.11
user 5.81
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.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/55545/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1084.fits evtable="EVENTS" outfile="/scratch/kocevski/55545/ft1_filtered_4FGL_J1354.8-1041_daily_bin1084.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.49
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55545/ft1_filtered_4FGL_J1354.8-1041_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/55545/ltcube_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.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/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.fits
.....................!
real 11.88
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55545/ft1_filtered_4FGL_J1354.8-1041_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/55545/ltcube_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.fits outfile=/scratch/kocevski/55545/expmap_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.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/55545/ltcube_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.fits
.....................!
real 192.41
user 187.09
sys 4.94

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/55545/ft1_filtered_4FGL_J1354.8-1041_daily_bin1084.fits scfile=/scratch/kocevski/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.fits outfile=/scratch/kocevski/55545/cmap_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55545/ft1_filtered_4FGL_J1354.8-1041_daily_bin1084.fits scfile=/scratch/kocevski/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.fits outfile=/scratch/kocevski/55545/cmap_HighResolution_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55545/ft1_filtered_4FGL_J1354.8-1041_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/55545/ft2_4FGL_J1354.8-1041_daily_bin1084.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55545/Model_4FGL_J1354.8-1041_daily_bin1084.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/55545/ft1_filtered_4FGL_J1354.8-1041_daily_bin1084.fits.....................!
real 50.10
user 48.85
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.474       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9341       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3030       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.8142       1.0000         .10000E-03   10000.    
     7 'norm      '    9.4269       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7508       1.0000         .10000E-03   10000.    
     9 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10843E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.9305       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4255       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .28993       1.0000         .10000E-03   10000.    
    14 'Prefactor '    50.621       1.0000         .10000E-03   10000.    
    15 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.4469       1.0000         .10000E-03   10000.    
    18 'norm      '    29.665       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.4337       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88465       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0472       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=   5668.284     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     2121 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.8956       -.18614E-05** at limit **
   2  Prefactor     20.472        14.155       -.78616E-05   -.71121E-03
   3  Prefactor     1.9266        4.4790        .79623E-05    .66896E-03
   4  Prefactor     5.4549        35.274       -.62024E-06    .95314E-03
   5  norm          .10000E-03    .79226        .19856E-06** at limit **
   6  norm          9.7787        7.3362       -.16555E-05   -.33460E-02
   7  norm          9.4312        4.6852        .30649E-05    .49240E-04
   8  Prefactor     1.7569        1.9076        .26973E-05    .49472E-03
   9  norm          .10000E-03    30.414       -.24251E-04** at limit **
  10  Prefactor     .10000E-03    15.364       -.32965E-05** at limit **
  11  norm          2.9286        5.7190       -.54413E-05   -.30110E-04
  12  Prefactor     4.4201        4.7772        .37125E-06    .15638E-02
  13  Prefactor     .86785E-01    1829.7       -.29452E-04    .22035E-03
  14  Prefactor     50.620        1.5953       -.48726E-06    .21703E-02
  15  norm          .10000E-03    4.0636       -.75805E-06** at limit **
  16  norm          .10000E-03    2.4069        .22258E-05** at limit **
  17  norm          7.4453        1.6376        .11721E-05    .23436E-03
  18  norm          29.664        1.1996        .25487E-06    .34071E-02
  19  Prefactor     3.4171        7.3235        .93400E-05   -.13557E-02
  20  Prefactor     .10000E-03    23.856        .15025E-04** at limit **
  21  norm          .10000E-03    8.1766       -.26120E-05** at limit **
  22  Normalizat    .88508        .30708       -.12694E-04    .16616E-04
  23  Prefactor     1.0471        .15447        .80592E-05    .49047E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 20.4719
  Prefactor  = 1.92657
  Prefactor  = 5.45491
  norm       = 0.0001
  norm       = 9.77868
  norm       = 9.43124
  Prefactor  = 1.7569
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.92862
  Prefactor  = 4.4201
  Prefactor  = 0.0867853
  Prefactor  = 50.6202
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.44526
  norm       = 29.6643
  Prefactor  = 3.4171
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.885085
  Prefactor  = 1.0471
 **********
 **   18 **HESSE 
 **********

 FCN=   5668.284     FROM HESSE     STATUS=OK           428 CALLS     2549 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.8780        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.472        17.527        .22130E-02   -1.4803    
   3  Prefactor     1.9266        16.262        .74652E-02   -1.5430    
   4  Prefactor     5.4549        220.00        .43633E-02   -1.5241    
   5  norm          .10000E-03    .77933        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.7787        18.046        .31978E-02   -1.5082    
   7  norm          9.4312        15.211        .32631E-02   -1.5094    
   8  Prefactor     1.7569        20.105        .79215E-02   -1.5443    
   9  norm          .10000E-03    30.466        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.128        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9286        5.9070        .59322E-02   -1.5366    
  12  Prefactor     4.4201        6.3037        .47857E-02   -1.5287    
  13  Prefactor     .86785E-01    31.372        .13203       -1.5649    
  14  Prefactor     50.620        62.799        .14092E-02   -1.4284    
  15  norm          .10000E-03    4.0538        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.3341        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.4453        14.989        .36742E-02   -1.5162    
  18  norm          29.664        10.488        .18390E-02   -1.4618    
  19  Prefactor     3.4171        40.718        .54570E-02   -1.5338    
  20  Prefactor     .10000E-03    23.768        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    8.1677        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88508        .28138        .86991E-01   -.96986    
  23  Prefactor     1.0471        .13548        .40079E-01   -.91176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28359e-07
Minuit parameter uncertainties:
  1  2.07398e-05
  2  17.5318
  3  11.1985
  4  69.5599
  5  3.09367e-07
  6  18.0564
  7  15.217
  8  11.8913
  9  0.000128427
  10  2.50389e-05
  11  5.90815
  12  6.30463
  13  3.29991
  14  62.8807
  15  7.62286e-07
  16  3.39558e-07
  17  14.9969
  18  10.4887
  19  23.6112
  20  7.53532e-05
  21  2.79387e-05
  22  0.281848
  23  0.135529
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  7.623e-07  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.047e+00  1.355e-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:  8.851e-01  2.818e-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.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55545/likelihoodResults_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.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) = 5668.28490087
delta logL = -0.00117076132938

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5668.28373011
delta logL = 2.17369233724e-10

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 'alpha     '    2.2761       1.0000          .0000       5.0000    
     3 'Normalizat'    .88507       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0471       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5668.284     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      228 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    387.51        .14807E-02** at limit **
   2  alpha         2.4695        3.7621        .50000        .19418E-07
   3  Normalizat    .88508        .72692E-01    .38523E-03   -.56426E-04
   4  Prefactor     1.0471        .37362E-01    .18218E-03   -.12300E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.46951
  Normalizat = 0.885085
  Prefactor  = 1.0471
 **********
 **   18 **HESSE 
 **********

 FCN=   5668.284     FROM HESSE     STATUS=OK            27 CALLS      255 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.5593        .29614E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4695        3.5416        .20000       -.12195E-01
   3  Normalizat    .88508        .29677        .15409E-04   -.96986    
   4  Prefactor     1.0471        .15274        .36436E-04   -.91176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38117e-11
Minuit parameter uncertainties:
  1  4.25185e-05
  2  280.284
  3  0.297314
  4  0.152799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55545': 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) = 5668.28372985
delta logL = 2.60718479694e-07

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  4.252e-05  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.470e+00  2.803e+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.047e+00  1.528e-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:  8.851e-01  2.973e-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/55545/cmap_HighResolution_520300801_520560001_4FGL_J1354.8-1041_daily_bin1084.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-05', job_status='DONE', photon_flux_upper_limit='8.92e-08', time_completed='2021-09-08 17:41:22.542835', job_id='55545', GAL2='1.05', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1631148082.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1084' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:41:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 55545: <4FGL_J1354.8-1041_daily_bin1084> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1084> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:31:12 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:31:14 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:31:14 2021
Terminated at Wed Sep  8 17:41:23 2021
Results reported at Wed Sep  8 17:41:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1084 208.718 -10.6932 520300801 520560001 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 :                                   570.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            611 sec.

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

