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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin820
RA = 208.718, Dec = -10.6932
tmin = 451872001, tmax = 452131201
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='55101', job_status='RUN', time_executed='2021-09-08 17:34:03.130199', time_epoch_executed='1631147643.13' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='820'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55101

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55101/ft1_4FGL_J1354.8-1041_daily_bin820.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55101/ft2_4FGL_J1354.8-1041_daily_bin820.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55101/ft1_4FGL_J1354.8-1041_daily_bin820.fits outfile=/scratch/kocevski/55101/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin820.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=451872001.0 tmax=452131201.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.35
user 3.13
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55101/ft1_filtered_4FGL_J1354.8-1041_daily_bin820.fits" evtable="EVENTS" scfile=/scratch/kocevski/55101/ft2_4FGL_J1354.8-1041_daily_bin820.fits sctable="SC_DATA" outfile=/scratch/kocevski/55101/ltcube_451872001_452131201_4FGL_J1354.8-1041_daily_bin820.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/55101/ft2_4FGL_J1354.8-1041_daily_bin820.fits
.....................!
real 11.89
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55101/ft1_filtered_4FGL_J1354.8-1041_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/55101/ft2_4FGL_J1354.8-1041_daily_bin820.fits sctable="SC_DATA" expcube=/scratch/kocevski/55101/ltcube_451872001_452131201_4FGL_J1354.8-1041_daily_bin820.fits outfile=/scratch/kocevski/55101/expmap_451872001_452131201_4FGL_J1354.8-1041_daily_bin820.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/55101/ltcube_451872001_452131201_4FGL_J1354.8-1041_daily_bin820.fits
.....................!
real 190.36
user 185.41
sys 4.56

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/55101/ft1_filtered_4FGL_J1354.8-1041_daily_bin820.fits scfile=/scratch/kocevski/55101/ft2_4FGL_J1354.8-1041_daily_bin820.fits outfile=/scratch/kocevski/55101/cmap_451872001_452131201_4FGL_J1354.8-1041_daily_bin820.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.54
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.930       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.2029       1.0000         .10000E-03   10000.    
     6 'norm      '    11.477       1.0000         .10000E-03   10000.    
     7 'norm      '    12.718       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2466       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.754       1.0000         .10000E-03   10000.    
    15 'norm      '    .68668       1.0000         .10000E-03   10000.    
    16 'norm      '    5.2675       1.0000         .10000E-03   10000.    
    17 'norm      '    20.203       1.0000         .10000E-03   10000.    
    18 'norm      '    17.240       1.0000         .10000E-03   10000.    
    19 'Prefactor '    75.616       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.678       1.0000         .10000E-03   10000.    
    21 'norm      '    4.8689       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98383       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98058       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6029.209     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2530 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2898         .0000    ** at limit **
   2  Prefactor     .10000E-03    9.4620         .0000    ** at limit **
   3  Prefactor     15.930        10.424         .0000       -.39265E-03
   4  Prefactor     .10010E-03    28.792         .0000    ** at limit **
   5  norm          2.2028        1.6292         .0000        .75437E-03
   6  norm          11.479        5.5969         .0000       -.10709E-01
   7  norm          12.718        10.321         .0000       -.34746E-02
   8  Prefactor     .10030E-03    20.013         .0000    ** at limit **
   9  norm          .10011E-03    15.469         .0000    ** at limit **
  10  Prefactor     5.2478        13.245         .0000       -.77850E-04
  11  norm          .10000E-03    1.7134         .0000    ** at limit **
  12  Prefactor     .10000E-03    3.0831         .0000    ** at limit **
  13  Prefactor     .10000E-03    17.249         .0000    ** at limit **
  14  Prefactor     32.754        44.151         .0000        .21702E-03
  15  norm          .68648        7.5913         .0000        .33421E-01
  16  norm          5.2675        3.1434         .0000        .16828E-02
  17  norm          20.203        14.038         .0000        .15406E-03
  18  norm          17.240        10.723         .0000        .32010E-03
  19  Prefactor     75.615        35.854         .0000        .15968E-02
  20  Prefactor     22.680        34.382         .0000       -.25818E-02
  21  norm          4.8633        28.137         .0000        .20137E-02
  22  Normalizat    .98387        .24662         .0000        .26899E-05
  23  Prefactor     .98058        .12854         .0000       -.65091E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 15.93
  Prefactor  = 0.0001001
  norm       = 2.20277
  norm       = 11.4795
  norm       = 12.7183
  Prefactor  = 0.000100297
  norm       = 0.00010011
  Prefactor  = 5.24781
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 32.7535
  norm       = 0.686484
  norm       = 5.26754
  norm       = 20.2029
  norm       = 17.2404
  Prefactor  = 75.6149
  Prefactor  = 22.6799
  norm       = 4.86331
  Normalizat = 0.983869
  Prefactor  = 0.98058
 **********
 **   18 **HESSE 
 **********

 FCN=   6029.209     FROM HESSE     STATUS=OK           358 CALLS     2888 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2945        .15707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.6007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.930        10.449        .10035E-03   -1.4910    
   4  Prefactor     .10010E-03    29.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2028        1.6241        .80783E-04   -1.5411    
   6  norm          11.479        5.5924        .11048E-03   -1.5030    
   7  norm          12.718        10.330        .11232E-03   -1.4995    
   8  Prefactor     .10030E-03    20.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10011E-03    15.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2478        13.210        .17548E-03   -1.5250    
  11  norm          .10000E-03    1.7175        .99244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.0979        .13296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.754        44.197        .70015E-04   -1.4563    
  15  norm          .68648        7.6373        .20582E-02   -1.5542    
  16  norm          5.2675        3.1435        .10076E-03   -1.5249    
  17  norm          20.203        14.040        .89110E-04   -1.4809    
  18  norm          17.240        10.716        .96460E-04   -1.4877    
  19  Prefactor     75.615        35.857        .46176E-04   -1.3967    
  20  Prefactor     22.680        34.211        .84112E-04   -1.4755    
  21  norm          4.8633        27.738        .18230E-03   -1.5267    
  22  Normalizat    .98387        .28011        .36314E-03   -.93573    
  23  Prefactor     .98058        .14746        .19446E-03   -.93380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69107e-07
Minuit parameter uncertainties:
  1  1.54848e-06
  2  0.000290529
  3  10.4502
  4  0.00340226
  5  1.62417
  6  5.59264
  7  10.331
  8  0.00488766
  9  0.00260549
  10  13.2176
  11  4.12161e-06
  12  2.31887e-05
  13  0.000250086
  14  44.2417
  15  4.57989
  16  3.14356
  17  14.0424
  18  10.7176
  19  35.8672
  20  34.2404
  21  23.2453
  22  0.280525
  23  0.147522
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  6.865e-01  4.580e+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:  9.806e-01  1.475e-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.839e-01  2.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/55101/likelihoodResults_451872001_452131201_4FGL_J1354.8-1041_daily_bin820.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) = 6028.7284475
delta logL = 0.480999703951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6028.69717436
delta logL = 0.512272845022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28313       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9995       1.0000          .0000       5.0000    
     3 'Normalizat'    .89225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0079       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=   6028.697     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      279 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28307        10.528        .92976E-02    .31228E-03
   2  alpha         5.0000        4.5116        .46280    ** at limit **
   3  Normalizat    .89228        .97910E-01    .85634E-01   -.28677E-04
   4  Prefactor     1.0079        .50606E-01    .43649E-01   -.30667E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.283066
  alpha      = 5
  Normalizat = 0.892276
  Prefactor  = 1.00788
 **********
 **   18 **HESSE 
 **********

 FCN=   6028.697     FROM HESSE     STATUS=OK            35 CALLS      314 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28307        .41012        .42543E-03   -1.5602    
   2  alpha         5.0000        3.9786        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .89228        .28427        .37919E-03   -.96732    
   4  Prefactor     1.0079        .14650        .19203E-03   -.92467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.11803e-11
Minuit parameter uncertainties:
  1  0.410123
  2  0.000110429
  3  0.284749
  4  0.146559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55101': 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) = 6028.69717052
delta logL = 0.512276682751

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.831e-01  4.101e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  1.104e-04  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.008e+00  1.466e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  8.923e-01  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.15
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.98e-08 +/- 1.30e-07
Energy Flux (Free Index): 1.25e-05 +/- 1.81e-05

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/55101/cmap_HighResolution_451872001_452131201_4FGL_J1354.8-1041_daily_bin820.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', comment='SUCCESS', energy_flux2='1.25e-05', dlogl='5.12e-01', photon_flux2='8.98e-08', job_status='DONE', time_completed='2021-09-08 17:44:06.289305', photon_index_error2='0.00', photon_index2='5.00', ts='0.03', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='8.44e-08', energy_flux_error2='1.81e-05', EG='0.98', time_epoch_completed='1631148246.29', return_code='0', job_id='55101', GAL2='1.01', EG2='0.89', return_code2='0', photon_flux_error2='1.30e-07', ts2='1.15', photon_index='2.27' WHERE bin_id='820' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:44:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 55101: <4FGL_J1354.8-1041_daily_bin820> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin820> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:30:35 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:30:36 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:30:36 2021
Terminated at Wed Sep  8 17:44:07 2021
Results reported at Wed Sep  8 17:44:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin820 208.718 -10.6932 451872001 452131201 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 :                                   601.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

