/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 193 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin210
RA = 208.718, Dec = -10.6932
tmin = 293760001, tmax = 294019201
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='52461', job_status='RUN', time_executed='2021-09-08 17:24:34.105721', time_epoch_executed='1631147074.11' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52461

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52461/ft1_4FGL_J1354.8-1041_daily_bin210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52461/ft2_4FGL_J1354.8-1041_daily_bin210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52461/ft1_4FGL_J1354.8-1041_daily_bin210.fits outfile=/scratch/kocevski/52461/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin210.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=293760001.0 tmax=294019201.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.63
user 3.35
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52461/ft1_filtered_4FGL_J1354.8-1041_daily_bin210.fits" evtable="EVENTS" scfile=/scratch/kocevski/52461/ft2_4FGL_J1354.8-1041_daily_bin210.fits sctable="SC_DATA" outfile=/scratch/kocevski/52461/ltcube_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.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/52461/ft2_4FGL_J1354.8-1041_daily_bin210.fits
.....................!
real 15.08
user 14.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52461/ft1_filtered_4FGL_J1354.8-1041_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/52461/ft2_4FGL_J1354.8-1041_daily_bin210.fits sctable="SC_DATA" expcube=/scratch/kocevski/52461/ltcube_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.fits outfile=/scratch/kocevski/52461/expmap_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.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/52461/ltcube_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.fits
.....................!
real 191.19
user 185.32
sys 5.48

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/52461/ft1_filtered_4FGL_J1354.8-1041_daily_bin210.fits scfile=/scratch/kocevski/52461/ft2_4FGL_J1354.8-1041_daily_bin210.fits outfile=/scratch/kocevski/52461/cmap_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52461/ft1_filtered_4FGL_J1354.8-1041_daily_bin210.fits scfile=/scratch/kocevski/52461/ft2_4FGL_J1354.8-1041_daily_bin210.fits outfile=/scratch/kocevski/52461/cmap_HighResolution_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52461/ft1_filtered_4FGL_J1354.8-1041_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/52461/ft2_4FGL_J1354.8-1041_daily_bin210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52461/Model_4FGL_J1354.8-1041_daily_bin210.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/52461/ft1_filtered_4FGL_J1354.8-1041_daily_bin210.fits.....................!
real 62.20
user 60.82
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.723       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.653       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.523       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10411E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2522       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10513E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4744       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8280       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0782       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8180       1.0000         .10000E-03   10000.    
    16 'norm      '    9.1707       1.0000         .10000E-03   10000.    
    17 'norm      '    21.240       1.0000         .10000E-03   10000.    
    18 'norm      '    .92623       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .50722       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3002       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=   7998.937     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2161 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.723        9.0050        .51082E-07    .79228E-05
   2  Prefactor     16.656        10.027        .11407E-06    .26550E-04
   3  Prefactor     36.526        11.593        .12397E-06    .20155E-04
   4  Prefactor     .10000E-03    21.276       -.27353E-06** at limit **
   5  norm          4.2521        1.6782        .73444E-07    .67556E-05
   6  norm          .10000E-03    .95745       -.92986E-08** at limit **
   7  norm          .10000E-03    3.0052       -.51988E-07** at limit **
   8  Prefactor     .10000E-03    4.1748       -.51715E-07** at limit **
   9  norm          .10000E-03    39.585        .22757E-05** at limit **
  10  Prefactor     9.4749        8.2632        .11866E-05   -.65077E-04
  11  norm          2.8289        4.9835        .61719E-06   -.37601E-04
  12  Prefactor     4.0753        6.2354        .72494E-07   -.17475E-03
  13  Prefactor     .10000E-03    49.324       -.12935E-05** at limit **
  14  Prefactor     .10000E-03    11.832       -.14277E-06** at limit **
  15  norm          1.8207        5.7240        .11546E-05   -.69553E-04
  16  norm          9.1715        3.6274        .50560E-06   -.28386E-03
  17  norm          21.240        11.932        .27462E-07    .31363E-05
  18  norm          .92554        6.2268        .37002E-06   -.15727E-03
  19  Prefactor     .10000E-03    12.184        .28164E-07** at limit **
  20  Prefactor     .10000E-03    12.802        .19665E-06** at limit **
  21  norm          .10000E-03    5.3480        .25328E-07** at limit **
  22  Normalizat    .50720        .24988       -.30361E-05   -.47634E-04
  23  Prefactor     1.3002        .13117        .15079E-06   -.54278E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.7226
  Prefactor  = 16.6557
  Prefactor  = 36.5261
  Prefactor  = 0.0001
  norm       = 4.2521
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 9.47488
  norm       = 2.82893
  Prefactor  = 4.07529
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 1.82073
  norm       = 9.17151
  norm       = 21.2402
  norm       = 0.925536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.507198
  Prefactor  = 1.30016
 **********
 **   18 **HESSE 
 **********

 FCN=   7998.937     FROM HESSE     STATUS=OK           374 CALLS     2535 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.723        9.0052        .12235E-03   -1.5053    
   2  Prefactor     16.656        10.017        .98146E-04   -1.4892    
   3  Prefactor     36.526        11.557        .66315E-04   -1.4498    
   4  Prefactor     .10000E-03    21.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2521        1.6723        .68876E-04   -1.5296    
   6  norm          .10000E-03    .96215        .85411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.0347        .15128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.1891        .17844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    40.699        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.4749        8.2531        .65098E-03   -1.5092    
  11  norm          2.8289        4.9843        .24183E-03   -1.5372    
  12  Prefactor     4.0753        6.0716        .19965E-03   -1.5304    
  13  Prefactor     .10000E-03    49.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8207        5.6115        .30974E-03   -1.5438    
  16  norm          9.1715        3.5926        .49074E-03   -1.5102    
  17  norm          21.240        11.931        .86909E-04   -1.4786    
  18  norm          .92554        13.646        .40438E-02   -1.5516    
  19  Prefactor     .10000E-03    12.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    5.3556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .50720        .25337        .48882E-03   -1.1208    
  23  Prefactor     1.3002        .13585        .17722E-03   -.83302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6769e-08
Minuit parameter uncertainties:
  1  9.00632
  2  10.0182
  3  11.558
  4  7.07028e-05
  5  1.67227
  6  1.13566e-06
  7  3.53703e-06
  8  5.4278e-06
  9  0.000786501
  10  8.25412
  11  4.98507
  12  6.07255
  13  0.000735106
  14  4.08681e-05
  15  5.61316
  16  3.5927
  17  11.9327
  18  7.10932
  19  1.59681e-05
  20  5.54886e-05
  21  1.88181e-06
  22  0.253948
  23  0.135886
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.821e+00  5.613e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.300e+00  1.359e-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:  5.072e-01  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 8.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/52461/likelihoodResults_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.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) = 7998.00741712
delta logL = 0.929171802971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7997.85700616
delta logL = 1.079582763

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67876       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.6283       1.0000          .0000       5.0000    
     3 'Normalizat'    .38869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3366       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=   7997.857     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      251 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67577        9.4900        .11144E-01    .15243E-02
   2  alpha         4.6315        3.0873        .50000        .14224E-04
   3  Normalizat    .38899        .72888E-01    .12512        .73865E-04
   4  Prefactor     1.3364        .39617E-01    .32000E-01   -.93286E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.675773
  alpha      = 4.63151
  Normalizat = 0.388994
  Prefactor  = 1.33636
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.857     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      286 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67577        15.629        .50611E-03   -1.5544    
   2  alpha         4.6315        3.1450        .37508E-01    1.0210    
   3  Normalizat    .38899        .19269        .55432E-03   -1.1787    
   4  Prefactor     1.3364        .10715        .17496E-03   -.82232    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.85939e-11
Minuit parameter uncertainties:
  1  6.50109
  2  5.88635
  3  0.193021
  4  0.107166
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52461': 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): 102
logL (Free Index) = 7997.85700072
delta logL = 1.0795882055

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  6.758e-01  6.501e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  4.632e+00  5.886e+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.336e+00  1.072e-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:  3.890e-01  1.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.56
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 4.63 +/- 5.89
Photon Flux (Free Index): 1.15e-07 +/- 8.60e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.40e-05

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/52461/cmap_HighResolution_293760001_294019201_4FGL_J1354.8-1041_daily_bin210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.13e-05', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.08e+00', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-08 17:35:42.903556', photon_index_error2='5.89', photon_index2='4.63', ts='0.14', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', photon_flux_upper_limit='8.36e-08', energy_flux_error2='1.40e-05', EG='0.51', time_epoch_completed='1631147742.9', return_code='0', job_id='52461', GAL2='1.34', EG2='0.39', return_code2='102', photon_flux_error2='8.60e-08', ts2='2.56', photon_index='2.27' WHERE bin_id='210' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:35:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 52461: <4FGL_J1354.8-1041_daily_bin210> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin210> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:21:09 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:21:11 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:21:11 2021
Terminated at Wed Sep  8 17:35:43 2021
Results reported at Wed Sep  8 17:35:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin210 208.718 -10.6932 293760001 294019201 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 :                                   666.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

