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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin608
RA = 208.718, Dec = -10.6932
tmin = 396921601, tmax = 397180801
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='54142', job_status='RUN', time_executed='2021-09-08 17:30:04.191232', time_epoch_executed='1631147404.19' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54142

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54142/ft1_4FGL_J1354.8-1041_daily_bin608.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54142/ft2_4FGL_J1354.8-1041_daily_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54142/ft1_4FGL_J1354.8-1041_daily_bin608.fits outfile=/scratch/kocevski/54142/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin608.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=396921601.0 tmax=397180801.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.51
user 4.27
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54142/ft1_filtered_4FGL_J1354.8-1041_daily_bin608.fits" evtable="EVENTS" scfile=/scratch/kocevski/54142/ft2_4FGL_J1354.8-1041_daily_bin608.fits sctable="SC_DATA" outfile=/scratch/kocevski/54142/ltcube_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.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/54142/ft2_4FGL_J1354.8-1041_daily_bin608.fits
.....................!
real 12.17
user 11.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54142/ft1_filtered_4FGL_J1354.8-1041_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/54142/ft2_4FGL_J1354.8-1041_daily_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/54142/ltcube_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.fits outfile=/scratch/kocevski/54142/expmap_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.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/54142/ltcube_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.fits
.....................!
real 191.91
user 186.29
sys 5.26

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/54142/ft1_filtered_4FGL_J1354.8-1041_daily_bin608.fits scfile=/scratch/kocevski/54142/ft2_4FGL_J1354.8-1041_daily_bin608.fits outfile=/scratch/kocevski/54142/cmap_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54142/ft1_filtered_4FGL_J1354.8-1041_daily_bin608.fits scfile=/scratch/kocevski/54142/ft2_4FGL_J1354.8-1041_daily_bin608.fits outfile=/scratch/kocevski/54142/cmap_HighResolution_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10759E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3019       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11370E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.6938       1.0000         .10000E-03   10000.    
     6 'norm      '    .10295E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    25.502       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.878       1.0000         .10000E-03   10000.    
     9 'norm      '    17.769       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0739       1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10787E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.5263       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .65480       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.051       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3339       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.964       1.0000         .10000E-03   10000.    
    21 'norm      '    31.768       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2197       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93294       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=   5607.053     FROM MIGRAD    STATUS=CONVERGED    922 CALLS     2984 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6207        .15716E-02** at limit **
   2  Prefactor     .10001E-03    62.169        .36290E-02** at limit **
   3  Prefactor     6.3021        11.324        .15990E-03    .43869E-04
   4  Prefactor     .10000E-03    21.445        .18142E-02** at limit **
   5  norm          5.6933        2.1300        .63539E-04    .22187E-04
   6  norm          .10000E-03    2.5917        .11669E-02** at limit **
   7  norm          25.506        10.762        .79325E-04    .20065E-05
   8  Prefactor     15.884        24.764        .10051E-03    .47504E-05
   9  norm          17.752        26.667        .95013E-04    .15794E-04
  10  Prefactor     4.0705        18.243        .19975E-03    .37563E-05
  11  norm          .10000E-03    2.8912        .12406E-02** at limit **
  12  Prefactor     .10000E-03    8.8492        .36285E-03** at limit **
  13  Prefactor     4.5843        57.533        .18923E-03   -.11235E-04
  14  Prefactor     .49447        53.504        .15027        .92106E-04
  15  norm          .10000E-03    5.4010        .16871E-02** at limit **
  16  norm          .10000E-03    3.3463        .18526E-02** at limit **
  17  norm          .10000E-03    4.5365        .15567E-02** at limit **
  18  norm          11.050        7.4408        .12051E-03    .56695E-04
  19  Prefactor     1.3276        49.440        .37999E-03    .16874E-04
  20  Prefactor     17.015        34.534        .97242E-04   -.25253E-04
  21  norm          31.760        32.240        .71091E-04   -.39020E-04
  22  Normalizat    1.2199        .30821        .33516E-03    .18995E-05
  23  Prefactor     .93302        .15742        .19830E-03    .15352E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 6.30211
  Prefactor  = 0.0001
  norm       = 5.69331
  norm       = 0.0001
  norm       = 25.506
  Prefactor  = 15.8841
  norm       = 17.7524
  Prefactor  = 4.07046
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.58426
  Prefactor  = 0.494467
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.0498
  Prefactor  = 1.3276
  Prefactor  = 17.0152
  norm       = 31.76
  Normalizat = 1.2199
  Prefactor  = 0.933019
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.053     FROM HESSE     STATUS=OK           356 CALLS     3340 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6208        .31431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    63.757        .14516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.3021        11.322        .63959E-05   -1.5206    
   4  Prefactor     .10000E-03    21.449        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.6933        2.1300        .25416E-05   -1.5231    
   6  norm          .10000E-03    2.5923        .23337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          25.506        10.761        .31730E-05   -1.4697    
   8  Prefactor     15.884        24.750        .40206E-05   -1.4911    
   9  norm          17.752        26.668        .38005E-05   -1.4865    
  10  Prefactor     4.0705        18.219        .79901E-05   -1.5304    
  11  norm          .10000E-03    2.8914        .24812E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.8497        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.5843        57.508        .75692E-05   -1.5280    
  14  Prefactor     .49447        52.113        .15310       -1.5567    
  15  norm          .10000E-03    5.4037        .33743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3601        .37053E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.5366        .31135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.050        7.4406        .48206E-05   -1.5043    
  19  Prefactor     1.3276        49.419        .15200E-04   -1.5478    
  20  Prefactor     17.015        34.531        .38897E-05   -1.4883    
  21  norm          31.760        32.236        .28436E-05   -1.4580    
  22  Normalizat    1.2199        .30840        .13406E-04   -.85990    
  23  Prefactor     .93302        .15751        .39660E-04   -.94997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90326e-10
Minuit parameter uncertainties:
  1  2.03068e-06
  2  0.00137301
  3  11.326
  4  4.27382e-05
  5  2.13005
  6  6.52918e-06
  7  10.7621
  8  24.7662
  9  26.6857
  10  17.232
  11  4.21743e-06
  12  3.93773e-05
  13  32.5119
  14  10.1605
  15  8.9093e-06
  16  3.23642e-05
  17  4.44854e-07
  18  7.44123
  19  16.2136
  20  34.5717
  21  32.2532
  22  0.30886
  23  0.157591
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  8.909e-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:  9.330e-01  1.576e-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.220e+00  3.089e-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.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/54142/likelihoodResults_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5607.05372325
delta logL = -0.000882340072167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5607.03268227
delta logL = 0.0201586383027

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56051E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9219       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93844       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=   5607.033     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      312 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55623E-01    .19484        .11130E-06    .15526E-02
   2  alpha         4.9322        .24304        .13403E-03   -.15221E-05
   3  Normalizat    1.2019        .25932       -.30947E-06   -.16570E-03
   4  Prefactor     .93836        .13148        .71654E-07   -.30034E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0556234
  alpha      = 4.93221
  Normalizat = 1.20188
  Prefactor  = 0.93836
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.033     FROM HESSE     STATUS=OK            33 CALLS      345 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55623E-01    .37131        .56403E-03   -1.5661    
   2  alpha         4.9322        3.0790        .50000        1.3374    
   3  Normalizat    1.2019        .30056        .33739E-03   -.86545    
   4  Prefactor     .93836        .15370        .19780E-03   -.94813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44429e-05
Minuit parameter uncertainties:
  1  0.287171
  2  2.89915
  3  0.300992
  4  0.153772
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54142': 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) = 5607.03267875
delta logL = 0.0201621585229

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  5.562e-02  2.872e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  4.932e+00  2.899e+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.384e-01  1.538e-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.202e+00  3.010e-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/54142/cmap_HighResolution_396921601_397180801_4FGL_J1354.8-1041_daily_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.02e-05', job_status='DONE', photon_flux_upper_limit='8.05e-08', time_completed='2021-09-08 17:40:17.741276', job_id='54142', GAL2='0.94', fit_tolerance='1e-08', EG2='1.20', EG='1.22', time_epoch_completed='1631148017.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.02e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='608' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:40:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 54142: <4FGL_J1354.8-1041_daily_bin608> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin608> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:26:11 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:26:13 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:26:13 2021
Terminated at Wed Sep  8 17:40:18 2021
Results reported at Wed Sep  8 17:40:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin608 208.718 -10.6932 396921601 397180801 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 :                                   612.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

