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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1290
RA = 208.718, Dec = -10.6932
tmin = 573696001, tmax = 573955201
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='57676', job_status='RUN', time_executed='2021-09-08 17:38:56.681163', time_epoch_executed='1631147936.68' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1290'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57676

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57676/ft1_4FGL_J1354.8-1041_daily_bin1290.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57676/ft2_4FGL_J1354.8-1041_daily_bin1290.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57676/ft1_4FGL_J1354.8-1041_daily_bin1290.fits outfile=/scratch/kocevski/57676/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1290.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=573696001.0 tmax=573955201.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.21
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/57676/ft1_filtered_4FGL_J1354.8-1041_daily_bin1290.fits" evtable="EVENTS" scfile=/scratch/kocevski/57676/ft2_4FGL_J1354.8-1041_daily_bin1290.fits sctable="SC_DATA" outfile=/scratch/kocevski/57676/ltcube_573696001_573955201_4FGL_J1354.8-1041_daily_bin1290.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/57676/ft2_4FGL_J1354.8-1041_daily_bin1290.fits
.....................!
real 11.53
user 11.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57676/ft1_filtered_4FGL_J1354.8-1041_daily_bin1290.fits evtable="EVENTS" scfile=/scratch/kocevski/57676/ft2_4FGL_J1354.8-1041_daily_bin1290.fits sctable="SC_DATA" expcube=/scratch/kocevski/57676/ltcube_573696001_573955201_4FGL_J1354.8-1041_daily_bin1290.fits outfile=/scratch/kocevski/57676/expmap_573696001_573955201_4FGL_J1354.8-1041_daily_bin1290.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/57676/ltcube_573696001_573955201_4FGL_J1354.8-1041_daily_bin1290.fits
.....................!
real 189.41
user 185.04
sys 4.04

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/57676/ft1_filtered_4FGL_J1354.8-1041_daily_bin1290.fits scfile=/scratch/kocevski/57676/ft2_4FGL_J1354.8-1041_daily_bin1290.fits outfile=/scratch/kocevski/57676/cmap_573696001_573955201_4FGL_J1354.8-1041_daily_bin1290.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.37
sys 0.14

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

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/57676/ft1_filtered_4FGL_J1354.8-1041_daily_bin1290.fits evtable="EVENTS" scfile=/scratch/kocevski/57676/ft2_4FGL_J1354.8-1041_daily_bin1290.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/57676/Model_4FGL_J1354.8-1041_daily_bin1290.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/57676/ft1_filtered_4FGL_J1354.8-1041_daily_bin1290.fits.....................!
real 61.32
user 59.32
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.9852       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1970       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .16416       1.0000         .10000E-03   10000.    
     6 'norm      '    13.329       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5412       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.822       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.4655       1.0000         .10000E-03   10000.    
    11 'norm      '    15.862       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3506       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.793       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.3274       1.0000         .10000E-03   10000.    
    17 'norm      '    17.515       1.0000         .10000E-03   10000.    
    18 'norm      '    4.5910       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0300       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97666       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=   7816.813     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2558 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.4027       -.16097E-06** at limit **
   2  Prefactor     4.9852        8.6250       -.18445E-07   -.91739E-04
   3  Prefactor     4.1989        8.6173       -.20235E-06   -.11324E-03
   4  Prefactor     .10000E-03    13.378        .56820E-06** at limit **
   5  norm          .16411        1.0528        .43195E-06   -.11358E-02
   6  norm          13.330        4.9883       -.24960E-06   -.19366E-03
   7  norm          7.5409        8.0408        .38639E-06    .33559E-04
   8  Prefactor     .10000E-03    5.8037        .23711E-05** at limit **
   9  norm          11.818        23.610       -.93705E-06   -.37081E-04
  10  Prefactor     8.4631        10.912        .32916E-07   -.12563E-03
  11  norm          15.861        6.4279        .50044E-07   -.32025E-04
  12  Prefactor     4.3528        6.3882        .21738E-05    .56464E-03
  13  Prefactor     14.792        26.348       -.33857E-06   -.28455E-04
  14  Prefactor     .10000E-03    67.814       -.29416E-05** at limit **
  15  norm          .10006E-03    3.7668       -.52020E-06** at limit **
  16  norm          6.3278        2.9438       -.77381E-07    .94975E-04
  17  norm          17.514        11.197       -.73172E-08   -.45215E-05
  18  norm          4.5904        4.8567        .12563E-05   -.18112E-02
  19  Prefactor     .10000E-03    25.701       -.45630E-05** at limit **
  20  Prefactor     .10000E-03    35.239        .47708E-05** at limit **
  21  norm          .10000E-03    5.8202       -.23820E-05** at limit **
  22  Normalizat    1.0298        .22669       -.11624E-05    .70363E-04
  23  Prefactor     .97677        .11291       -.10038E-06    .78204E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.98522
  Prefactor  = 4.1989
  Prefactor  = 0.0001
  norm       = 0.164112
  norm       = 13.3305
  norm       = 7.54091
  Prefactor  = 0.0001
  norm       = 11.8183
  Prefactor  = 8.46308
  norm       = 15.8609
  Prefactor  = 4.35281
  Prefactor  = 14.7919
  Prefactor  = 0.000100001
  norm       = 0.000100055
  norm       = 6.32783
  norm       = 17.5143
  norm       = 4.5904
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 1.02978
  Prefactor  = 0.976772
 **********
 **   18 **HESSE 
 **********

 FCN=   7816.813     FROM HESSE     STATUS=OK           376 CALLS     2934 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.5527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9852        8.6202        .18011E-03   -1.5261    
   3  Prefactor     4.1989        8.6351        .19671E-03   -1.5298    
   4  Prefactor     .10000E-03    13.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16411        1.1783        .18200E-03   -1.5627    
   6  norm          13.330        4.9848        .10300E-03   -1.4978    
   7  norm          7.5409        8.0073        .14604E-03   -1.5159    
   8  Prefactor     .10000E-03    5.8226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.818        23.620        .11651E-03   -1.5020    
  10  Prefactor     8.4631        10.929        .13778E-03   -1.5126    
  11  norm          15.861        6.4316        .10056E-03   -1.4911    
  12  Prefactor     4.3528        6.2191        .19311E-03   -1.5291    
  13  Prefactor     14.792        26.530        .10414E-03   -1.4939    
  14  Prefactor     .10000E-03    68.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10006E-03    23.389        .30991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.3278        2.9497        .97709E-04   -1.5205    
  17  norm          17.514        11.198        .95702E-04   -1.4871    
  18  norm          4.5904        6.5051        .93930E-03   -1.5279    
  19  Prefactor     .10000E-03    25.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    35.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    5.8308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0298        .26452        .34993E-03   -.92039    
  23  Prefactor     .97677        .13281        .19137E-03   -.93508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68157e-09
Minuit parameter uncertainties:
  1  1.46946e-06
  2  8.62239
  3  8.63765
  4  5.05431e-05
  5  0.879254
  6  4.985
  7  8.00848
  8  8.6699e-05
  9  23.6391
  10  10.9311
  11  6.43184
  12  6.22
  13  26.5512
  14  0.000433907
  15  0.00227919
  16  2.94981
  17  11.1993
  18  6.5061
  19  0.000299039
  20  0.000373012
  21  8.29091e-05
  22  0.264855
  23  0.132858
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.001e-04  2.279e-03  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.768e-01  1.329e-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.030e+00  2.649e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/57676/likelihoodResults_573696001_573955201_4FGL_J1354.8-1041_daily_bin1290.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): 0
logL (Free Index) = 7816.81363974
delta logL = -0.000202859530873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7816.81343465
delta logL = 2.22960261453e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96229E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4017       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97663       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=   7816.390     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      279 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79717        19.478        .10394E-01    .19508E-02
   2  alpha         4.1874        4.0718        .41192        .55504E-04
   3  Normalizat    .95556        .54855E-01    .81667E-01   -.35041E-03
   4  Prefactor     .99803        .29513E-01    .45974E-01   -.39737E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.797175
  alpha      = 4.18742
  Normalizat = 0.955561
  Prefactor  = 0.998026
 **********
 **   18 **HESSE 
 **********

 FCN=   7816.390     FROM HESSE     STATUS=OK            29 CALLS      308 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79717        2.4406        .84892E-04   -1.5529    
   2  alpha         4.1874        1.5491        .31357E-02    .74092    
   3  Normalizat    .95556        .25530        .36156E-03   -.94534    
   4  Prefactor     .99803        .13282        .18945E-03   -.92795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.552e-10
Minuit parameter uncertainties:
  1  2.44093
  2  1.8389
  3  0.255624
  4  0.132868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57676': 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) = 7816.39010063
delta logL = 0.423336251776

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  7.972e-01  2.441e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  4.187e+00  1.839e+00  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.980e-01  1.329e-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.556e-01  2.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/57676/cmap_HighResolution_573696001_573955201_4FGL_J1354.8-1041_daily_bin1290.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='8.55e-08', time_completed='2021-09-08 17:50:15.832726', job_id='57676', GAL2='1.00', fit_tolerance='1e-08', EG2='0.96', EG='1.03', time_epoch_completed='1631148615.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.23e-01', ts2='0.92', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1290' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:50:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 57676: <4FGL_J1354.8-1041_daily_bin1290> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1290> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 17:35:38 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:35:40 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:35:40 2021
Terminated at Wed Sep  8 17:50:16 2021
Results reported at Wed Sep  8 17:50:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1290 208.718 -10.6932 573696001 573955201 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 :                                   674.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            878 sec.

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

