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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin831
RA = 28.4972, Dec = 8.3931
tmin = 454723201, tmax = 454982401
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='907606', job_status='RUN', time_executed='2021-08-14 20:06:49.610048', time_epoch_executed='1628996809.61' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='831'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907606

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907606/ft1_4FGL_J0153.9+0823_daily_bin831.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907606/ft1_4FGL_J0153.9+0823_daily_bin831.fits outfile=/scratch/kocevski/907606/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin831.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=454723201.0 tmax=454982401.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.47
user 2.67
sys 0.73

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.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/907606/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin831.fits evtable="EVENTS" outfile="/scratch/kocevski/907606/ft1_filtered_4FGL_J0153.9+0823_daily_bin831.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 1.00
user 0.30
sys 0.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907606/ft1_filtered_4FGL_J0153.9+0823_daily_bin831.fits" evtable="EVENTS" scfile=/scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits sctable="SC_DATA" outfile=/scratch/kocevski/907606/ltcube_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.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/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits
.....................!
real 13.94
user 12.95
sys 0.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907606/ft1_filtered_4FGL_J0153.9+0823_daily_bin831.fits evtable="EVENTS" scfile=/scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits sctable="SC_DATA" expcube=/scratch/kocevski/907606/ltcube_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.fits outfile=/scratch/kocevski/907606/expmap_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.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/907606/ltcube_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.fits
.....................!
real 157.51
user 152.44
sys 4.40

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/907606/ft1_filtered_4FGL_J0153.9+0823_daily_bin831.fits scfile=/scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits outfile=/scratch/kocevski/907606/cmap_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.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 1.08
user 0.32
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907606/ft1_filtered_4FGL_J0153.9+0823_daily_bin831.fits scfile=/scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits outfile=/scratch/kocevski/907606/cmap_HighResolution_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.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 1.02
user 0.35
sys 0.65

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/907606/ft1_filtered_4FGL_J0153.9+0823_daily_bin831.fits', '/scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits', expMap='/scratch/kocevski/907606/expmap_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.fits', expCube='/scratch/kocevski/907606/ltcube_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/907606/Model_4FGL_J0153.9+0823_daily_bin831.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/907606/ft1_filtered_4FGL_J0153.9+0823_daily_bin831.fits
Spacecraft file(s): /scratch/kocevski/907606/ft2_4FGL_J0153.9+0823_daily_bin831.fits
Exposure map: /scratch/kocevski/907606/expmap_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.fits
Exposure cube: /scratch/kocevski/907606/ltcube_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/907606/Model_4FGL_J0153.9+0823_daily_bin831.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) = 6465.24399483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1913       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7517       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11738E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.3873       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .84839       1.0000         .10000E-03   10000.    
     9 'norm      '    .29970       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.762       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34782E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11620E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.099       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4888       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.722       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0407       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96797       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=   6465.196     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1434 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8205        .62848E-07** at limit **
   2  Prefactor     .10000E-03    14.995       -.34854E-07** at limit **
   3  Prefactor     4.1912        4.3341       -.26631E-06    .16729E-02
   4  norm          .10000E-03    5.4572        .43806E-07** at limit **
   5  Prefactor     4.7515        4.7175       -.14415E-07   -.96538E-04
   6  Prefactor     .10000E-03    1.3075       -.33091E-06** at limit **
   7  norm          9.3918        6.8195       -.36921E-07    .28313E-04
   8  Prefactor     .84472        2.7721       -.26119E-06    .49105E-03
   9  norm          .29965        .77682       -.20016E-07    .83248E-03
  10  Prefactor     14.766        17.727        .58798E-06    .19371E-03
  11  Prefactor     .10009E-03    54.124        .88533E-05** at limit **
  12  Prefactor     .10000E-03    132.56        .87301E-06** at limit **
  13  Prefactor     13.130        12.440        .20738E-05    .52125E-03
  14  Prefactor     5.4781        18.424       -.20537E-05   -.22654E-03
  15  Prefactor     17.721        14.256       -.69714E-06   -.38260E-03
  16  Normalizat    1.0406        .18468       -.56398E-06    .52584E-03
  17  Prefactor     .96806        .12815        .13867E-05    .76851E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.19122
  norm       = 0.0001
  Prefactor  = 4.75147
  Prefactor  = 0.000100001
  norm       = 9.39183
  Prefactor  = 0.844722
  norm       = 0.299651
  Prefactor  = 14.7661
  Prefactor  = 0.00010009
  Prefactor  = 0.000100002
  Prefactor  = 13.1301
  Prefactor  = 5.47809
  Prefactor  = 17.7207
  Normalizat = 1.04061
  Prefactor  = 0.968058
 **********
 **   18 **HESSE 
 **********

 FCN=   6465.196     FROM HESSE     STATUS=OK           227 CALLS     1661 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8245        .15348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.1912        4.5665        .86443E-03   -1.5298    
   4  norm          .10000E-03    5.4614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7515        4.7196        .84132E-03   -1.5272    
   6  Prefactor     .10000E-03    7.6216        .17518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.3918        6.7318        .13080E-03   -1.5095    
   8  Prefactor     .84472        2.7483        .21803E-03   -1.5524    
   9  norm          .29965        .78985        .10833E-03   -1.5599    
  10  Prefactor     14.766        17.684        .10424E-03   -1.4939    
  11  Prefactor     .10009E-03    58.899        .38881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    133.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.130        12.580        .11067E-03   -1.4983    
  14  Prefactor     5.4781        18.624        .17150E-03   -1.5240    
  15  Prefactor     17.721        14.342        .95139E-04   -1.4866    
  16  Normalizat    1.0406        .20939        .28677E-03   -.91682    
  17  Prefactor     .96806        .14551        .20339E-03   -.93802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42467e-09
Minuit parameter uncertainties:
  1  3.55932e-06
  2  2.02185e-05
  3  4.56689
  4  1.95653e-06
  5  4.71992
  6  0.000149354
  7  6.73237
  8  2.74871
  9  0.78988
  10  17.6902
  11  0.00461892
  12  0.00114328
  13  12.5825
  14  18.6434
  15  14.3444
  16  0.209558
  17  0.145567
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.957e-06  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:  9.681e-01  1.456e-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:  1.041e+00  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.497 8.393
Photon Flux Upper Limit: 3.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/907606/likelihoodResults_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.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) = 6465.19700582
delta logL = -0.000870998563187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6465.19613489
delta logL = -6.67641870677e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8211       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96811       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=   6465.196     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      225 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1072.8        .18142E-02** at limit **
   2  alpha         1.8164        3.3260        .17302        .30810E-06
   3  Normalizat    1.0406        .11243        .28677E-03    .36368E-03
   4  Prefactor     .96805        .77670E-01    .20339E-03   -.12915E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  alpha      = 1.81637
  Normalizat = 1.04062
  Prefactor  = 0.968054
 **********
 **   18 **HESSE 
 **********

 FCN=   6465.196     FROM HESSE     STATUS=OK            23 CALLS      248 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    5.4664        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8164        4.0884        .69209E-02   -.27698    
   3  Normalizat    1.0406        .20546        .57355E-04   -.91682    
   4  Prefactor     .96805        .14197        .40678E-04   -.93802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53954e-09
Minuit parameter uncertainties:
  1  0.000386783
  2  297.921
  3  0.205615
  4  0.142026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907606': 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) = 6465.19613482
delta logL = -4.91127138957e-11

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  3.868e-04  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.816e+00  2.979e+02  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:  9.681e-01  1.420e-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:  1.041e+00  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.497 8.393

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/907606/cmap_HighResolution_454723201_454982401_4FGL_J0153.9+0823_daily_bin831.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', job_status='DONE', photon_flux_upper_limit='3.58e-08', time_completed='2021-08-14 20:14:46.626731', job_id='907606', GAL2='0.97', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1628997286.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='831' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:14:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 907606: <4FGL_J0153.9+0823_daily_bin831> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin831> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 20:05:35 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:06:25 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:06:25 2021
Terminated at Sat Aug 14 20:14:47 2021
Results reported at Sat Aug 14 20:14:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin831 28.4972 8.3931 454723201 454982401 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 :                                   482.06 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             369.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            552 sec.

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

