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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1471
RA = 208.718, Dec = -10.6932
tmin = 620611201, tmax = 620870401
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='59541', job_status='RUN', time_executed='2021-09-08 17:42:38.062664', time_epoch_executed='1631148158.06' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1471'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59541

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59541/ft1_4FGL_J1354.8-1041_daily_bin1471.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59541/ft2_4FGL_J1354.8-1041_daily_bin1471.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59541/ft1_4FGL_J1354.8-1041_daily_bin1471.fits outfile=/scratch/kocevski/59541/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1471.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=620611201.0 tmax=620870401.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.69
user 3.47
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59541/ft1_filtered_4FGL_J1354.8-1041_daily_bin1471.fits" evtable="EVENTS" scfile=/scratch/kocevski/59541/ft2_4FGL_J1354.8-1041_daily_bin1471.fits sctable="SC_DATA" outfile=/scratch/kocevski/59541/ltcube_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.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/59541/ft2_4FGL_J1354.8-1041_daily_bin1471.fits
.....................!
real 12.52
user 12.15
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59541/ft1_filtered_4FGL_J1354.8-1041_daily_bin1471.fits evtable="EVENTS" scfile=/scratch/kocevski/59541/ft2_4FGL_J1354.8-1041_daily_bin1471.fits sctable="SC_DATA" expcube=/scratch/kocevski/59541/ltcube_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.fits outfile=/scratch/kocevski/59541/expmap_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.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/59541/ltcube_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.fits
.....................!
real 190.99
user 185.13
sys 5.47

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/59541/ft1_filtered_4FGL_J1354.8-1041_daily_bin1471.fits scfile=/scratch/kocevski/59541/ft2_4FGL_J1354.8-1041_daily_bin1471.fits outfile=/scratch/kocevski/59541/cmap_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59541/ft1_filtered_4FGL_J1354.8-1041_daily_bin1471.fits scfile=/scratch/kocevski/59541/ft2_4FGL_J1354.8-1041_daily_bin1471.fits outfile=/scratch/kocevski/59541/cmap_HighResolution_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59541/ft1_filtered_4FGL_J1354.8-1041_daily_bin1471.fits evtable="EVENTS" scfile=/scratch/kocevski/59541/ft2_4FGL_J1354.8-1041_daily_bin1471.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59541/Model_4FGL_J1354.8-1041_daily_bin1471.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/59541/ft1_filtered_4FGL_J1354.8-1041_daily_bin1471.fits.....................!
real 61.68
user 60.31
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .94653E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.039       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13180E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.962       1.0000         .10000E-03   10000.    
    11 'norm      '    .13080E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    71.253       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.6935       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93177       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2410       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=   7631.671     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2521 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6674       -.80330E-07** at limit **
   2  Prefactor     .10000E-03    5.1488        .14385E-06** at limit **
   3  Prefactor     .10000E-03    3.9944        .18707E-07** at limit **
   4  Prefactor     .10000E-03    15.416        .13585E-05** at limit **
   5  norm          .10000E-03    .44115        .32273E-07** at limit **
   6  norm          .10000E-03    3.5105        .60333E-07** at limit **
   7  norm          19.035        9.1298        .24940E-07   -.39419E-04
   8  Prefactor     .10000E-03    25.010       -.45317E-05** at limit **
   9  norm          .10000E-03    15.639        .15530E-05** at limit **
  10  Prefactor     25.979        16.889       -.89326E-07    .11853E-03
  11  norm          .10003E-03    5.1233       -.12803E-06** at limit **
  12  Prefactor     .10000E-03    2.2767       -.11835E-07** at limit **
  13  Prefactor     .10000E-03    62.215       -.47727E-05** at limit **
  14  Prefactor     .10000E-03    59.106        .37672E-05** at limit **
  15  norm          .10000E-03    2.6394       -.44425E-07** at limit **
  16  norm          71.252        7.6338       -.86215E-07    .36757E-04
  17  norm          .10000E-03    4.5859        .67837E-07** at limit **
  18  norm          5.6924        7.9844        .20920E-05   -.89442E-03
  19  Prefactor     .10000E-03    13.695       -.22999E-05** at limit **
  20  Prefactor     .10000E-03    10.338        .15735E-06** at limit **
  21  norm          .10000E-03    31.315        .44439E-05** at limit **
  22  Normalizat    .93175        .27114        .14815E-06    .31569E-04
  23  Prefactor     1.2410        .14133       -.18412E-06    .71631E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 19.0347
  Prefactor  = 0.000100004
  norm       = 0.000100001
  Prefactor  = 25.9786
  norm       = 0.00010003
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 71.2524
  norm       = 0.0001
  norm       = 5.69235
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Normalizat = 0.931751
  Prefactor  = 1.24101
 **********
 **   18 **HESSE 
 **********

 FCN=   7631.671     FROM HESSE     STATUS=OK           368 CALLS     2889 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.639        .38318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.0089        .17048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .44573        .56633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.6232        .31812E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.035        9.0864        .91793E-04   -1.4835    
   8  Prefactor     .10000E-03    26.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    15.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.979        16.838        .78621E-04   -1.4688    
  11  norm          .10003E-03    5.8094        .56593E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2903        .12869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    64.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    60.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.6443        .13860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          71.252        7.6708        .47558E-04   -1.4018    
  17  norm          .10000E-03    4.5891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.6924        9.9109        .84171E-03   -1.5231    
  19  Prefactor     .10000E-03    14.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    32.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .93175        .29946        .44206E-03   -.95353    
  23  Prefactor     1.2410        .15780        .20618E-03   -.85078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9774e-09
Minuit parameter uncertainties:
  1  5.29921e-06
  2  0.000570938
  3  1.2791e-07
  4  0.000149769
  5  4.36837e-07
  6  6.44879e-07
  7  9.08703
  8  0.000638344
  9  0.000180312
  10  16.8413
  11  0.000830573
  12  1.04081e-06
  13  0.00106438
  14  0.000844672
  15  2.42596e-06
  16  7.67094
  17  4.08164e-06
  18  9.91376
  19  0.000251785
  20  1.25572e-05
  21  0.00069248
  22  0.300003
  23  0.157861
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.426e-06  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.241e+00  1.579e-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.318e-01  3.000e-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: 6.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59541/likelihoodResults_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.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) = 7631.672366
delta logL = -0.00177702698602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7631.67058897
delta logL = -4.3582986109e-09

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 'alpha     '    2.2709       1.0000          .0000       5.0000    
     3 'Normalizat'    .93176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2410       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=   7631.671     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      191 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    114.94        .90712E-02** at limit **
   2  alpha         2.2710        3.4407        .41372       -.18293E-06
   3  Normalizat    .93175        .46482E-01    .99762E-01    .36804E-04
   4  Prefactor     1.2410        .24722E-01    .33726E-01    .12045E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.27102
  Normalizat = 0.931751
  Prefactor  = 1.24101
 **********
 **   18 **HESSE 
 **********

 FCN=   7631.671     FROM HESSE     STATUS=OK            31 CALLS      222 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.0465        .13860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2710        3.8305        .16549       -.91720E-01
   3  Normalizat    .93175        .29285        .44206E-03   -.95353    
   4  Prefactor     1.2410        .15646        .20618E-03   -.85078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.38634e-10
Minuit parameter uncertainties:
  1  2.15709e-06
  2  401.969
  3  0.293357
  4  0.156519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59541': 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) = 7631.67058897
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.157e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.271e+00  4.020e+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.241e+00  1.565e-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.318e-01  2.934e-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/59541/cmap_HighResolution_620611201_620870401_4FGL_J1354.8-1041_daily_bin1471.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2021-09-08 17:56:17.253375', job_id='59541', GAL2='1.24', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631148977.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.46e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1471' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:56:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 59541: <4FGL_J1354.8-1041_daily_bin1471> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1471> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:40:37 2021
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:40:41 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:40:41 2021
Terminated at Wed Sep  8 17:56:18 2021
Results reported at Wed Sep  8 17:56:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1471 208.718 -10.6932 620611201 620870401 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 :                                   690.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            941 sec.

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

