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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1205
RA = 208.718, Dec = -10.6932
tmin = 551664001, tmax = 551923201
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='57554', job_status='RUN', time_executed='2021-09-08 17:36:44.926951', time_epoch_executed='1631147804.93' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1205'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57554

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57554/ft1_4FGL_J1354.8-1041_daily_bin1205.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57554/ft2_4FGL_J1354.8-1041_daily_bin1205.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57554/ft1_4FGL_J1354.8-1041_daily_bin1205.fits outfile=/scratch/kocevski/57554/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1205.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=551664001.0 tmax=551923201.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.82
user 3.56
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/57554/ft2_4FGL_J1354.8-1041_daily_bin1205.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/57554/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1205.fits evtable="EVENTS" outfile="/scratch/kocevski/57554/ft1_filtered_4FGL_J1354.8-1041_daily_bin1205.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/57554/ft1_filtered_4FGL_J1354.8-1041_daily_bin1205.fits" evtable="EVENTS" scfile=/scratch/kocevski/57554/ft2_4FGL_J1354.8-1041_daily_bin1205.fits sctable="SC_DATA" outfile=/scratch/kocevski/57554/ltcube_551664001_551923201_4FGL_J1354.8-1041_daily_bin1205.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/57554/ft2_4FGL_J1354.8-1041_daily_bin1205.fits
.....................!
real 11.94
user 11.61
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57554/ft1_filtered_4FGL_J1354.8-1041_daily_bin1205.fits evtable="EVENTS" scfile=/scratch/kocevski/57554/ft2_4FGL_J1354.8-1041_daily_bin1205.fits sctable="SC_DATA" expcube=/scratch/kocevski/57554/ltcube_551664001_551923201_4FGL_J1354.8-1041_daily_bin1205.fits outfile=/scratch/kocevski/57554/expmap_551664001_551923201_4FGL_J1354.8-1041_daily_bin1205.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/57554/ltcube_551664001_551923201_4FGL_J1354.8-1041_daily_bin1205.fits
.....................!
real 189.57
user 185.10
sys 3.68

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/57554/ft1_filtered_4FGL_J1354.8-1041_daily_bin1205.fits scfile=/scratch/kocevski/57554/ft2_4FGL_J1354.8-1041_daily_bin1205.fits outfile=/scratch/kocevski/57554/cmap_551664001_551923201_4FGL_J1354.8-1041_daily_bin1205.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.57
user 0.38
sys 0.15

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

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10055E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .35201E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .70159E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.914       1.0000         .10000E-03   10000.    
     7 'norm      '    21.345       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.0434       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.8154       1.0000         .10000E-03   10000.    
    11 'norm      '    9.2727       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.6978       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.158       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87705       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0388       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=   3228.254     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2501 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    50.641       -.96043E-06** at limit **
   2  Prefactor     .10000E-03    7.6888        .21078E-07** at limit **
   3  Prefactor     .10000E-03    11.857        .95026E-06** at limit **
   4  Prefactor     .10001E-03    256.37       -.97145E-05** at limit **
   5  norm          .10000E-03    1.9934       -.10298E-07** at limit **
   6  norm          13.900        9.3903       -.92366E-06    .26298E-03
   7  norm          21.341        17.355       -.41338E-06    .11348E-03
   8  Prefactor     9.0635        20.272       -.30622E-06   -.15058E-05
   9  norm          .10000E-03    40.380       -.15536E-05** at limit **
  10  Prefactor     7.8140        15.758        .94864E-07   -.20223E-04
  11  norm          9.2716        8.6048        .15141E-05   -.11247E-03
  12  Prefactor     .10000E-03    5.2425       -.16220E-06** at limit **
  13  Prefactor     .10000E-03    36.248        .10227E-05** at limit **
  14  Prefactor     .10000E-03    63.793        .19844E-05** at limit **
  15  norm          9.6921        14.429        .22095E-05   -.66948E-04
  16  norm          .10000E-03    1.6127       -.63756E-08** at limit **
  17  norm          .10000E-03    13.846        .53202E-06** at limit **
  18  norm          .10000E-03    6.3542       -.30035E-07** at limit **
  19  Prefactor     .10000E-03    13.603       -.60726E-06** at limit **
  20  Prefactor     23.171        36.010        .14930E-05    .78283E-04
  21  norm          .10000E-03    12.073        .15648E-06** at limit **
  22  Normalizat    .87669        .39414       -.22662E-05   -.11048E-04
  23  Prefactor     1.0390        .18495       -.39814E-06   -.24949E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 13.9003
  norm       = 21.3407
  Prefactor  = 9.06353
  norm       = 0.000100001
  Prefactor  = 7.81398
  norm       = 9.27164
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  norm       = 9.6921
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1713
  norm       = 0.0001
  Normalizat = 0.876693
  Prefactor  = 1.03896
 **********
 **   18 **HESSE 
 **********

 FCN=   3228.254     FROM HESSE     STATUS=OK           364 CALLS     2865 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    51.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.7161        .15387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    103.46        .37248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    260.20        .41957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.0312        .78301E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.900        9.3123        .10738E-03   -1.4962    
   7  norm          21.341        17.362        .86696E-04   -1.4784    
   8  Prefactor     9.0635        20.098        .13328E-03   -1.5106    
   9  norm          .10000E-03    40.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.8140        15.619        .14343E-03   -1.5149    
  11  norm          9.2716        8.6922        .65806E-03   -1.5099    
  12  Prefactor     .10000E-03    5.2641        .12691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    64.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.6921        14.540        .64341E-03   -1.5085    
  16  norm          .10000E-03    1.6155        .70463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.3661        .13988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.171        36.356        .83237E-04   -1.4745    
  21  norm          .10000E-03    12.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87669        .45115        .40978E-03   -.97284    
  23  Prefactor     1.0390        .21619        .18330E-03   -.91442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5291e-10
Minuit parameter uncertainties:
  1  0.000238285
  2  1.75958e-05
  3  0.00114267
  4  0.00232339
  5  2.68461e-06
  6  9.31331
  7  17.3658
  8  20.1131
  9  0.000444137
  10  15.6268
  11  8.69338
  12  1.01753e-05
  13  0.000278724
  14  0.000744688
  15  14.5455
  16  4.06539e-07
  17  8.94136e-05
  18  3.03817e-07
  19  9.76708e-05
  20  36.3904
  21  3.02503e-06
  22  0.453106
  23  0.216371
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  9.692e+00  1.455e+01  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.039e+00  2.164e-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.767e-01  4.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 2.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/57554/likelihoodResults_551664001_551923201_4FGL_J1354.8-1041_daily_bin1205.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) = 3228.13759992
delta logL = 0.116828273889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3228.13202111
delta logL = 0.122407083748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6159       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7627       1.0000          .0000       5.0000    
     3 'Normalizat'    .84690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0466       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=   3228.132     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      240 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6140        13.199        .13656E-03    .13583E-02
   2  alpha         2.7639        1.0128        .15651E-01    .16886E-03
   3  Normalizat    .84675        .44363        .41621E-03   -.23881E-03
   4  Prefactor     1.0465        .21359        .18266E-03   -.57741E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.61397
  alpha      = 2.76394
  Normalizat = 0.846753
  Prefactor  = 1.04647
 **********
 **   18 **HESSE 
 **********

 FCN=   3228.132     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6140        12.697        .54625E-05   -1.5121    
   2  alpha         2.7639        .97565        .62605E-03    .10577    
   3  Normalizat    .84675        .44390        .16649E-04   -.98357    
   4  Prefactor     1.0465        .21365        .36532E-04   -.91196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75636e-09
Minuit parameter uncertainties:
  1  12.701
  2  1.00261
  3  0.445831
  4  0.213821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57554': 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) = 3228.13201947
delta logL = 0.122408723081

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  8.614e+00  1.270e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.764e+00  1.003e+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:  1.046e+00  2.138e-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.468e-01  4.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
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/57554/cmap_HighResolution_551664001_551923201_4FGL_J1354.8-1041_daily_bin1205.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.46e-05', job_status='DONE', photon_flux_upper_limit='2.26e-07', time_completed='2021-09-08 17:45:10.549226', job_id='57554', GAL2='1.05', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1631148310.55', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.22e-01', ts2='0.81', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1205' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:45:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 57554: <4FGL_J1354.8-1041_daily_bin1205> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1205> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 17:35:29 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:35:32 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:32 2021
Terminated at Wed Sep  8 17:45:11 2021
Results reported at Wed Sep  8 17:45:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1205 208.718 -10.6932 551664001 551923201 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 :                                   459.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            582 sec.

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

