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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin548
RA = 28.4972, Dec = 8.3931
tmin = 381369601, tmax = 381628801
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='906051', job_status='RUN', time_executed='2021-08-14 20:04:08.467537', time_epoch_executed='1628996648.47' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906051

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906051/ft1_4FGL_J0153.9+0823_daily_bin548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906051/ft1_4FGL_J0153.9+0823_daily_bin548.fits outfile=/scratch/kocevski/906051/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin548.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=381369601.0 tmax=381628801.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 7.29
user 3.38
sys 3.72

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.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/906051/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin548.fits evtable="EVENTS" outfile="/scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.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 4.09
user 0.33
sys 3.65

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits" evtable="EVENTS" scfile=/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits sctable="SC_DATA" outfile=/scratch/kocevski/906051/ltcube_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.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/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits
.....................!
real 18.35
user 13.70
sys 4.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/906051/ltcube_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.fits outfile=/scratch/kocevski/906051/expmap_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.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/906051/ltcube_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.fits
.....................!
real 198.03
user 185.65
sys 9.68

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J0153.9+0823 @ 28.4972 8.3931

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits scfile=/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits outfile=/scratch/kocevski/906051/cmap_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.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=28.4972 yref=8.3931 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 4.04
user 0.37
sys 3.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits scfile=/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits outfile=/scratch/kocevski/906051/cmap_HighResolution_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.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=28.4972 yref=8.3931 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 4.06
user 0.39
sys 3.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/906051/Model_4FGL_J0153.9+0823_daily_bin548.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/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits.....................!
real 77.57
user 70.75
sys 5.75

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits', '/scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits', expMap='/scratch/kocevski/906051/expmap_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.fits', expCube='/scratch/kocevski/906051/ltcube_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906051/Model_4FGL_J0153.9+0823_daily_bin548.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0153.9+0823'

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.272e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/906051/ft1_filtered_4FGL_J0153.9+0823_daily_bin548.fits
Spacecraft file(s): /scratch/kocevski/906051/ft2_4FGL_J0153.9+0823_daily_bin548.fits
Exposure map: /scratch/kocevski/906051/expmap_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.fits
Exposure cube: /scratch/kocevski/906051/ltcube_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906051/Model_4FGL_J0153.9+0823_daily_bin548.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) = 6091.37635159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.123       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.6414       1.0000         .10000E-03   10000.    
     4 'norm      '    48.832       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.126       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.6268       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.228       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10834E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.200       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10951E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5269       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .78489       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6091.362     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1579 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.123        11.593       -.10460E-06   -.32510E-04
   2  Prefactor     .10000E-03    13.266        .99568E-06** at limit **
   3  Prefactor     8.6412        6.5298        .21533E-05   -.11778E-03
   4  norm          48.831        24.023       -.96133E-06   -.20872E-06
   5  Prefactor     16.125        8.9916       -.33678E-07   -.66727E-05
   6  Prefactor     .10000E-03    1.3435       -.12264E-06** at limit **
   7  norm          7.6264        5.4884        .50809E-07   -.49645E-04
   8  Prefactor     .10000E-03    .84537        .28825E-07** at limit **
   9  norm          .10000E-03    .18268       -.72215E-07** at limit **
  10  Prefactor     20.210        23.970       -.87578E-05   -.19400E-05
  11  Prefactor     .10000E-03    6.0241       -.93541E-06** at limit **
  12  Prefactor     .10000E-03    69.159        .15641E-05** at limit **
  13  Prefactor     10.195        11.191       -.28482E-06   -.22065E-04
  14  Prefactor     .10000E-03    17.390       -.12652E-05** at limit **
  15  Prefactor     8.5265        9.0056        .11967E-06   -.27969E-04
  16  Normalizat    .78487        .18933        .20784E-05    .56346E-05
  17  Prefactor     1.0239        .13257       -.51682E-06    .14187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1231
  Prefactor  = 0.0001
  Prefactor  = 8.64118
  norm       = 48.8306
  Prefactor  = 16.1254
  Prefactor  = 0.000100001
  norm       = 7.62635
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.2103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.195
  Prefactor  = 0.0001
  Prefactor  = 8.52645
  Normalizat = 0.784873
  Prefactor  = 1.02393
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.362     FROM HESSE     STATUS=OK           225 CALLS     1804 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.123        11.589        .12594E-03   -1.5072    
   2  Prefactor     .10000E-03    13.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.6412        6.5000        .13636E-03   -1.5120    
   4  norm          48.831        24.044        .57384E-04   -1.4309    
   5  Prefactor     16.125        8.9874        .99739E-04   -1.4905    
   6  Prefactor     .10000E-03    23.706        .17119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.6264        5.4826        .14521E-03   -1.5156    
   8  Prefactor     .10000E-03    .85239        .70029E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .18422        .32561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.210        24.071        .89055E-04   -1.4809    
  11  Prefactor     .10000E-03    6.0458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    69.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.195        11.178        .12546E-03   -1.5069    
  14  Prefactor     .10000E-03    17.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.5265        9.0121        .13728E-03   -1.5124    
  16  Normalizat    .78487        .21330        .31500E-03   -1.0063    
  17  Prefactor     1.0239        .15111        .19401E-03   -.91936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15034e-10
Minuit parameter uncertainties:
  1  11.5919
  2  3.99951e-06
  3  6.5005
  4  24.0484
  5  8.98815
  6  0.000257984
  7  5.48294
  8  6.95469e-06
  9  5.0485e-09
  10  24.0826
  11  1.13378e-05
  12  0.000173762
  13  11.1804
  14  0.000108742
  15  9.01354
  16  0.213523
  17  0.151177
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.883e+01  2.405e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.024e+00  1.512e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  7.849e-01  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.21
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 6.19e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 6.19e-05 +/- 3.05e-05

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) = 6091.3256305
delta logL = 0.0363600357223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6091.3252948
delta logL = 0.0366957305632

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    47.000       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9122       1.0000          .0000       5.0000    
     3 'Normalizat'    .78122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+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=   6091.325     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          47.001        24.485        .58487E-04   -.41683E-03
   2  alpha         1.9121        .33789        .88943E-02   -.14243E-03
   3  Normalizat    .78128        .20952        .31562E-03    .37172E-04
   4  Prefactor     1.0243        .14706        .19396E-03    .96281E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 47.0012
  alpha      = 1.91212
  Normalizat = 0.781285
  Prefactor  = 1.02425
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.325     FROM HESSE     STATUS=OK            23 CALLS      314 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          47.001        24.240        .11697E-04   -1.4336    
   2  alpha         1.9121        .33446        .35577E-03   -.23737    
   3  Normalizat    .78128        .20962        .12625E-04   -1.0077    
   4  Prefactor     1.0243        .14715        .38791E-04   -.91925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48036e-10
Minuit parameter uncertainties:
  1  24.2447
  2  0.335529
  3  0.209836
  4  0.147209
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906051': 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) = 6091.32529475
delta logL = 0.0366957883343

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.700e+01  2.424e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.912e+00  3.355e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.024e+00  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  7.813e-01  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.28
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.91 +/- 0.34
Photon Flux (Free Index): 6.78e-08 +/- 3.91e-08
Energy Flux (Free Index): 5.55e-05 +/- 3.48e-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/906051/cmap_HighResolution_381369601_381628801_4FGL_J0153.9+0823_daily_bin548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.19e-08', energy_flux2='5.55e-05', photon_flux_error='3.05e-08', dlogl='3.67e-02', energy_flux='6.19e-05', photon_flux2='6.78e-08', job_status='DONE', time_completed='2021-08-14 20:13:52.146373', photon_index_error2='0.34', photon_index2='1.91', ts='9.21', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.48e-05', EG='0.78', time_epoch_completed='1628997232.15', return_code='0', job_id='906051', GAL2='1.02', EG2='0.78', return_code2='0', energy_flux_error='3.05e-05', photon_flux_error2='3.91e-08', ts2='9.28', photon_index='1.82' WHERE bin_id='548' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:13:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 906051: <4FGL_J0153.9+0823_daily_bin548> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin548> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:32 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:01:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:01:19 2021
Terminated at Sat Aug 14 20:13:53 2021
Results reported at Sat Aug 14 20:13:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin548 28.4972 8.3931 381369601 381628801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0153.9+0823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             319.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            801 sec.

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

