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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1136
RA = 208.718, Dec = -10.6932
tmin = 533779201, tmax = 534038401
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='57450', job_status='RUN', time_executed='2021-09-08 17:39:09.270322', time_epoch_executed='1631147949.27' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1136'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57450

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57450/ft1_4FGL_J1354.8-1041_daily_bin1136.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57450/ft2_4FGL_J1354.8-1041_daily_bin1136.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57450/ft1_4FGL_J1354.8-1041_daily_bin1136.fits outfile=/scratch/kocevski/57450/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1136.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=533779201.0 tmax=534038401.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.48
user 3.27
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/57450/ft1_filtered_4FGL_J1354.8-1041_daily_bin1136.fits" evtable="EVENTS" scfile=/scratch/kocevski/57450/ft2_4FGL_J1354.8-1041_daily_bin1136.fits sctable="SC_DATA" outfile=/scratch/kocevski/57450/ltcube_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.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/57450/ft2_4FGL_J1354.8-1041_daily_bin1136.fits
.....................!
real 12.34
user 11.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57450/ft1_filtered_4FGL_J1354.8-1041_daily_bin1136.fits evtable="EVENTS" scfile=/scratch/kocevski/57450/ft2_4FGL_J1354.8-1041_daily_bin1136.fits sctable="SC_DATA" expcube=/scratch/kocevski/57450/ltcube_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.fits outfile=/scratch/kocevski/57450/expmap_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.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/57450/ltcube_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.fits
.....................!
real 191.85
user 186.45
sys 4.99

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/57450/ft1_filtered_4FGL_J1354.8-1041_daily_bin1136.fits scfile=/scratch/kocevski/57450/ft2_4FGL_J1354.8-1041_daily_bin1136.fits outfile=/scratch/kocevski/57450/cmap_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=208.718 yref=-10.6932 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/57450/ft1_filtered_4FGL_J1354.8-1041_daily_bin1136.fits scfile=/scratch/kocevski/57450/ft2_4FGL_J1354.8-1041_daily_bin1136.fits outfile=/scratch/kocevski/57450/cmap_HighResolution_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/57450/ft1_filtered_4FGL_J1354.8-1041_daily_bin1136.fits evtable="EVENTS" scfile=/scratch/kocevski/57450/ft2_4FGL_J1354.8-1041_daily_bin1136.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/57450/Model_4FGL_J1354.8-1041_daily_bin1136.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/57450/ft1_filtered_4FGL_J1354.8-1041_daily_bin1136.fits.....................!
real 50.90
user 49.56
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8376       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .78776E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0736       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4237       1.0000         .10000E-03   10000.    
     7 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .84638E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    31.415       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5949       1.0000         .10000E-03   10000.    
    11 'norm      '    .40637       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4733       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.7631       1.0000         .10000E-03   10000.    
    17 'norm      '    8.6858       1.0000         .10000E-03   10000.    
    18 'norm      '    .68543       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13445E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14799E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2683       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92658       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=   6313.115     FROM MIGRAD    STATUS=CONVERGED    963 CALLS     2731 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.7495        .16902E-02** at limit **
   2  Prefactor     8.8604        11.604        .13483E-03    .50785E-03
   3  Prefactor     .10013E-03    12.373        .57406E-01** at limit **
   4  Prefactor     .10000E-03    6.9886        .18142E-02** at limit **
   5  norm          1.0744        1.1328        .84880E-04    .18158E-02
   6  norm          3.4212        3.0089        .12445E-03    .14536E-02
   7  norm          .10000E-03    4.2446        .31493E-03** at limit **
   8  Prefactor     .10001E-03    71.792        .48505E-02** at limit **
   9  norm          31.402        26.548        .71487E-04    .12500E-04
  10  Prefactor     2.5802        23.008        .25329E-03    .24237E-04
  11  norm          .40803        16.802        .26124E-02    .19324E-03
  12  Prefactor     .10000E-03    3.6126        .14591E-02** at limit **
  13  Prefactor     9.5070        22.349        .13020E-03   -.28464E-04
  14  Prefactor     .10003E-03    380.09        .36285E-03** at limit **
  15  norm          .10000E-03    3.4994        .14460E-02** at limit **
  16  norm          3.7648        2.9891        .11454E-03   -.56386E-03
  17  norm          8.6854        8.5886        .13601E-03   -.22426E-03
  18  norm          .68279        19.807        .39165E-02   -.33953E-03
  19  Prefactor     .10028E-03    223.64        .67104E-02** at limit **
  20  Prefactor     .10001E-03    83.832        .36285E-03** at limit **
  21  norm          .10000E-03    5.0996        .17520E-02** at limit **
  22  Normalizat    1.2682        .27449        .31280E-03    .21499E-03
  23  Prefactor     .92672        .14169        .19140E-03   -.75554E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.86035
  Prefactor  = 0.000100126
  Prefactor  = 0.000100001
  norm       = 1.07437
  norm       = 3.42117
  norm       = 0.0001
  Prefactor  = 0.000100006
  norm       = 31.4016
  Prefactor  = 2.58021
  norm       = 0.408033
  Prefactor  = 0.000100001
  Prefactor  = 9.50703
  Prefactor  = 0.000100029
  norm       = 0.0001
  norm       = 3.76476
  norm       = 8.68544
  norm       = 0.682795
  Prefactor  = 0.000100277
  Prefactor  = 0.000100009
  norm       = 0.0001
  Normalizat = 1.26824
  Prefactor  = 0.926724
 **********
 **   18 **HESSE 
 **********

 FCN=   6313.115     FROM HESSE     STATUS=OK           360 CALLS     3091 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7497        .33804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.8604        11.602        .53932E-05   -1.5113    
   3  Prefactor     .10013E-03    9.6842        .67231E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0744        1.1326        .33952E-05   -1.5501    
   6  norm          3.4212        3.0086        .49781E-05   -1.5338    
   7  norm          .10000E-03    4.2448        .62987E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    72.512        .97010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          31.402        26.548        .14297E-04   -1.4587    
  10  Prefactor     2.5802        22.736        .10132E-04   -1.5387    
  11  norm          .40803        16.679        .10450E-03   -1.5580    
  12  Prefactor     .10000E-03    3.6145        .29183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.5070        22.347        .52082E-05   -1.5091    
  14  Prefactor     .10003E-03    380.10        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.5000        .28920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.7648        2.9816        .45816E-05   -1.5320    
  17  norm          8.6854        8.5886        .54404E-05   -1.5118    
  18  norm          .68279        19.659        .15666E-03   -1.5543    
  19  Prefactor     .10028E-03    233.23        .26842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    83.836        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    5.0997        .35040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2682        .27432        .62560E-04   -.84519    
  23  Prefactor     .92672        .14138        .76559E-05   -.95213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19879e-09
Minuit parameter uncertainties:
  1  1.40325e-05
  2  11.6046
  3  0.00220558
  4  0.000154649
  5  1.13267
  6  3.00872
  7  4.85323e-05
  8  0.00131804
  9  26.5578
  10  15.3259
  11  5.2184
  12  0.000104703
  13  22.3664
  14  0.00666034
  15  4.79038e-05
  16  2.98174
  17  8.58983
  18  7.32957
  19  0.0161257
  20  0.00178165
  21  1.9965e-05
  22  0.27463
  23  0.141441
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  4.790e-05  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.267e-01  1.414e-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.268e+00  2.746e-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/57450/likelihoodResults_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.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) = 6313.11661691
delta logL = -0.00136055628172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6313.11525638
delta logL = -3.12475094688e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2719       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2682       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92674       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=   6312.932     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      304 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13284        10.475        .10598E-01    .13393E-02
   2  alpha         5.0000        4.9810        .50000    ** at limit **
   3  Normalizat    1.2163        .98573E-01    .31280E-03   -.95514E-04
   4  Prefactor     .94283        .43422E-01    .19140E-03   -.15956E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.132844
  alpha      = 5
  Normalizat = 1.21629
  Prefactor  = 0.942826
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.932     FROM HESSE     STATUS=OK            29 CALLS      333 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13284        .23798        .46521E-04   -1.5635    
   2  alpha         5.0000        4.0192        .11215        14.137    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2163        .27077        .12512E-04   -.86101    
   4  Prefactor     .94283        .14061        .38280E-04   -.94660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2143e-10
Minuit parameter uncertainties:
  1  0.237977
  2  2.88553e-05
  3  0.271084
  4  0.140662
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57450': 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) = 6312.93217231
delta logL = 0.183084047574

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.328e-01  2.380e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  2.886e-05  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.428e-01  1.407e-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.216e+00  2.711e-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/57450/cmap_HighResolution_533779201_534038401_4FGL_J1354.8-1041_daily_bin1136.png

Cleaning up...

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

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:50:36.596101', job_id='57450', GAL2='0.94', fit_tolerance='1e-08', EG2='1.22', EG='1.27', time_epoch_completed='1631148636.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.83e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1136' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:50:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 57450: <4FGL_J1354.8-1041_daily_bin1136> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1136 208.718 -10.6932 533779201 534038401 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 :                                   624.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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

