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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin805
RA = 28.4972, Dec = 8.3931
tmin = 447984001, tmax = 448243201
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='907563', job_status='RUN', time_executed='2021-08-14 20:10:05.026088', time_epoch_executed='1628997005.03' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='805'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907563

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907563/ft1_4FGL_J0153.9+0823_daily_bin805.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907563/ft2_4FGL_J0153.9+0823_daily_bin805.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907563/ft1_4FGL_J0153.9+0823_daily_bin805.fits outfile=/scratch/kocevski/907563/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin805.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=447984001.0 tmax=448243201.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 5.16
user 3.90
sys 1.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/907563/ft2_4FGL_J0153.9+0823_daily_bin805.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/907563/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin805.fits evtable="EVENTS" outfile="/scratch/kocevski/907563/ft1_filtered_4FGL_J0153.9+0823_daily_bin805.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.46
user 0.34
sys 1.07

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907563/ft1_filtered_4FGL_J0153.9+0823_daily_bin805.fits" evtable="EVENTS" scfile=/scratch/kocevski/907563/ft2_4FGL_J0153.9+0823_daily_bin805.fits sctable="SC_DATA" outfile=/scratch/kocevski/907563/ltcube_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.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/907563/ft2_4FGL_J0153.9+0823_daily_bin805.fits
.....................!
real 14.53
user 13.10
sys 1.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907563/ft1_filtered_4FGL_J0153.9+0823_daily_bin805.fits evtable="EVENTS" scfile=/scratch/kocevski/907563/ft2_4FGL_J0153.9+0823_daily_bin805.fits sctable="SC_DATA" expcube=/scratch/kocevski/907563/ltcube_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.fits outfile=/scratch/kocevski/907563/expmap_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.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/907563/ltcube_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.fits
.....................!
real 194.23
user 187.26
sys 6.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 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/907563/ft1_filtered_4FGL_J0153.9+0823_daily_bin805.fits scfile=/scratch/kocevski/907563/ft2_4FGL_J0153.9+0823_daily_bin805.fits outfile=/scratch/kocevski/907563/cmap_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.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.47
user 0.39
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907563/ft1_filtered_4FGL_J0153.9+0823_daily_bin805.fits scfile=/scratch/kocevski/907563/ft2_4FGL_J0153.9+0823_daily_bin805.fits outfile=/scratch/kocevski/907563/cmap_HighResolution_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.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.50
user 0.40
sys 1.05

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.965       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2598       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10171E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    19.047       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1453       1.0000         .10000E-03   10000.    
     9 'norm      '    .42400       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.248       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12552E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.557       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .84428       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .68962       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2361       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.

 FCN=   6122.427     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1438 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.965        17.206        .16706E-02   -.12921E-02
   2  Prefactor     .10000E-03    34.333        .90712E-02** at limit **
   3  Prefactor     2.2600        5.7126        .68318E-02    .65397E-03
   4  norm          .10000E-03    11.462        .90712E-02** at limit **
   5  Prefactor     .10000E-03    8.5913        .90712E-02** at limit **
   6  Prefactor     .10005E-03    1.2373        .56690E-01** at limit **
   7  norm          19.044        7.0588        .22943E-02   -.15281E-03
   8  Prefactor     2.1444        2.3586        .70341E-02    .32444E-03
   9  norm          .42403        .56282        .10956E-01    .22974E-03
  10  Prefactor     15.243        22.114        .25642E-02   -.51901E-03
  11  Prefactor     .10000E-03    14.233        .90712E-02** at limit **
  12  Prefactor     .10000E-03    193.65        .90712E-02** at limit **
  13  Prefactor     11.530        11.298        .29460E-02    .74964E-03
  14  Prefactor     .10000E-03    6.4376        .90712E-02** at limit **
  15  Prefactor     .74948        9.5726        .79764E-01    .58655E-03
  16  Normalizat    .68952        .20103        .79619E-01    .34576E-04
  17  Prefactor     1.2362        .14151        .33827E-01    .44463E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.9647
  Prefactor  = 0.0001
  Prefactor  = 2.25997
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100055
  norm       = 19.0442
  Prefactor  = 2.14438
  norm       = 0.424031
  Prefactor  = 15.2435
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 11.5301
  Prefactor  = 0.0001
  Prefactor  = 0.749482
  Normalizat = 0.689516
  Prefactor  = 1.23623
 **********
 **   18 **HESSE 
 **********

 FCN=   6122.427     FROM HESSE     STATUS=OK           229 CALLS     1667 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.965        17.199        .66826E-04   -1.4508    
   2  Prefactor     .10000E-03    34.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2600        5.6845        .27327E-03   -1.5407    
   4  norm          .10000E-03    11.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.8935        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10005E-03    23.047        .16671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.044        7.0484        .91773E-04   -1.4835    
   8  Prefactor     2.1444        2.3411        .11975E-03   -1.5415    
   9  norm          .42403        .52504        .65408E-03   -1.5578    
  10  Prefactor     15.243        22.057        .10257E-03   -1.4927    
  11  Prefactor     .10000E-03    14.487        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    194.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.530        11.218        .11784E-03   -1.5029    
  14  Prefactor     .10000E-03    6.4423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .74948        39.341        .45932E-02   -1.5535    
  16  Normalizat    .68952        .21916        .35255E-03   -1.0431    
  17  Prefactor     1.2362        .15662        .19176E-03   -.85224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06522e-09
Minuit parameter uncertainties:
  1  17.2014
  2  2.63291e-05
  3  5.6859
  4  3.53542e-05
  5  5.00409e-06
  6  0.00224704
  7  7.0487
  8  2.34124
  9  0.52505
  10  22.0685
  11  0.000113124
  12  0.000912119
  13  11.22
  14  1.21689e-06
  15  10.8669
  16  0.219441
  17  0.156676
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  3.535e-05  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.236e+00  1.567e-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:  6.895e-01  2.194e-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: 5.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/907563/likelihoodResults_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.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) = 6122.42748022
delta logL = -0.000414272901253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6122.4270659
delta logL = 4.72564352094e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8428       1.0000          .0000       5.0000    
     3 'Normalizat'    .68951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2362       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6122.427     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      266 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.102        .91555E-01** at limit **
   2  alpha         2.7656        3.3331        .50000       -.99218E-05
   3  Normalizat    .68951        .13845E-01    .35255E-03   -.92548E-05
   4  Prefactor     1.2362        .98782E-02    .19176E-03    .72327E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.76564
  Normalizat = 0.689515
  Prefactor  = 1.23623
 **********
 **   18 **HESSE 
 **********

 FCN=   6122.427     FROM HESSE     STATUS=OK            31 CALLS      297 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    50.678        .27105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7656        3.8497        .50000        .10646    
   3  Normalizat    .68951        .21316        .14102E-04   -1.0431    
   4  Prefactor     1.2362        .15232        .76706E-05   -.85224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64409e-10
Minuit parameter uncertainties:
  1  0.000113844
  2  3.59582
  3  0.21342
  4  0.15237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907563': 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) = 6122.42706363
delta logL = 2.32374259213e-06

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.138e-04  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.766e+00  3.596e+00  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.236e+00  1.524e-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:  6.895e-01  2.134e-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/907563/cmap_HighResolution_447984001_448243201_4FGL_J0153.9+0823_daily_bin805.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-05', job_status='DONE', photon_flux_upper_limit='5.15e-08', time_completed='2021-08-14 20:19:42.626997', job_id='907563', GAL2='1.24', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1628997582.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='2.32e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='805' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:19:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 907563: <4FGL_J0153.9+0823_daily_bin805> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin805 28.4972 8.3931 447984001 448243201 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 :                                   591.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            851 sec.

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

