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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin334
RA = 28.4972, Dec = 8.3931
tmin = 325900801, tmax = 326160001
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='904680', job_status='RUN', time_executed='2021-08-14 20:01:55.032443', time_epoch_executed='1628996515.03' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904680

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904680/ft1_4FGL_J0153.9+0823_daily_bin334.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904680/ft2_4FGL_J0153.9+0823_daily_bin334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904680/ft1_4FGL_J0153.9+0823_daily_bin334.fits outfile=/scratch/kocevski/904680/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin334.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=325900801.0 tmax=326160001.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 4.14
user 3.24
sys 0.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904680/ft1_filtered_4FGL_J0153.9+0823_daily_bin334.fits" evtable="EVENTS" scfile=/scratch/kocevski/904680/ft2_4FGL_J0153.9+0823_daily_bin334.fits sctable="SC_DATA" outfile=/scratch/kocevski/904680/ltcube_325900801_326160001_4FGL_J0153.9+0823_daily_bin334.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/904680/ft2_4FGL_J0153.9+0823_daily_bin334.fits
.....................!
real 13.80
user 12.60
sys 1.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904680/ft1_filtered_4FGL_J0153.9+0823_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/904680/ft2_4FGL_J0153.9+0823_daily_bin334.fits sctable="SC_DATA" expcube=/scratch/kocevski/904680/ltcube_325900801_326160001_4FGL_J0153.9+0823_daily_bin334.fits outfile=/scratch/kocevski/904680/expmap_325900801_326160001_4FGL_J0153.9+0823_daily_bin334.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/904680/ltcube_325900801_326160001_4FGL_J0153.9+0823_daily_bin334.fits
.....................!
real 193.16
user 186.33
sys 6.23

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/904680/ft1_filtered_4FGL_J0153.9+0823_daily_bin334.fits scfile=/scratch/kocevski/904680/ft2_4FGL_J0153.9+0823_daily_bin334.fits outfile=/scratch/kocevski/904680/cmap_325900801_326160001_4FGL_J0153.9+0823_daily_bin334.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.20
user 0.37
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904680/ft1_filtered_4FGL_J0153.9+0823_daily_bin334.fits scfile=/scratch/kocevski/904680/ft2_4FGL_J0153.9+0823_daily_bin334.fits outfile=/scratch/kocevski/904680/cmap_HighResolution_325900801_326160001_4FGL_J0153.9+0823_daily_bin334.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.21
user 0.39
sys 0.81

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.416       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2041       1.0000         .10000E-03   10000.    
     4 'norm      '    10.627       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2334       1.0000         .10000E-03   10000.    
     7 'norm      '    6.9006       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.621       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.422       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2185       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2456       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=   7177.658     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1369 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.416        16.018        .18789E-02    .46218E-03
   2  Prefactor     .10000E-03    14.784        .90712E-02** at limit **
   3  Prefactor     2.2039        3.7013        .69278E-02   -.18760E-02
   4  norm          10.627        10.593        .30727E-02    .30765E-04
   5  Prefactor     .10000E-03    2.2962        .90712E-02** at limit **
   6  Prefactor     3.2335        2.5430        .56317E-02    .29893E-03
   7  norm          6.9011        4.9026        .38182E-02    .26486E-02
   8  Prefactor     .10000E-03    .99735        .90712E-02** at limit **
   9  norm          .10000E-03    .36947        .20172E-01** at limit **
  10  Prefactor     .10001E-03    30.581        .90712E-02** at limit **
  11  Prefactor     .10000E-03    3.4850        .90712E-02** at limit **
  12  Prefactor     15.620        50.336        .25335E-02    .55321E-03
  13  Prefactor     13.421        10.852        .27333E-02    .10477E-02
  14  Prefactor     .10000E-03    6.9725        .90712E-02** at limit **
  15  Prefactor     .10000E-03    5.4260        .90712E-02** at limit **
  16  Normalizat    1.2186        .20625        .71226E-01    .12712E-03
  17  Prefactor     1.2455        .14498        .49082E-01   -.19661E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.4161
  Prefactor  = 0.000100004
  Prefactor  = 2.20387
  norm       = 10.627
  Prefactor  = 0.000100001
  Prefactor  = 3.23348
  norm       = 6.90111
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 15.6199
  Prefactor  = 13.4213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2186
  Prefactor  = 1.24546
 **********
 **   18 **HESSE 
 **********

 FCN=   7177.658     FROM HESSE     STATUS=OK           221 CALLS     1590 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.416        16.032        .75155E-04   -1.4641    
   2  Prefactor     .10000E-03    14.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2039        3.6799        .20492E-03   -1.5411    
   4  norm          10.627        10.596        .12291E-03   -1.5056    
   5  Prefactor     .10000E-03    2.3018        .12537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2335        2.5384        .11530E-03   -1.5348    
   7  norm          6.9011        4.9051        .76291E-03   -1.5183    
   8  Prefactor     .10000E-03    1.0219        .16516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .73288        .10001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    30.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4934        .15439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.620        50.390        .10134E-03   -1.4917    
  13  Prefactor     13.421        10.871        .54666E-03   -1.4975    
  14  Prefactor     .10000E-03    6.9987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2186        .23874        .31516E-03   -.86030    
  17  Prefactor     1.2455        .16891        .21698E-03   -.84943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.60543e-09
Minuit parameter uncertainties:
  1  16.0343
  2  0.000459293
  3  3.68024
  4  10.5976
  5  7.71491e-05
  6  2.53847
  7  4.90541
  8  5.55566e-06
  9  2.22014e-05
  10  0.00114408
  11  4.03105e-05
  12  50.5277
  13  10.8722
  14  3.85554e-05
  15  4.50838e-05
  16  0.238952
  17  0.168988
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.063e+01  1.060e+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.245e+00  1.690e-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.219e+00  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.35e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.34e-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) = 7176.89104141
delta logL = 0.76692687506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7176.78275879
delta logL = 0.87520949497

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1002       1.0000         .10000E-03   10000.    
     2 'alpha     '    .87588       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2461       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=   7176.783     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      209 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1002        6.2553        .40638E-02   -.31971E-02
   2  alpha         .87571        .48209        .46709       -.34387E-04
   3  Normalizat    1.2237        .20376        .71090E-01    .14431E-04
   4  Prefactor     1.2461        .14224        .49067E-01    .12788E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.10021
  alpha      = 0.875712
  Normalizat = 1.22367
  Prefactor  = 1.24611
 **********
 **   18 **HESSE 
 **********

 FCN=   7176.783     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1002        8.8849        .16255E-03   -1.5214    
   2  alpha         .87571        .67582        .20681E-02   -.70721    
   3  Normalizat    1.2237        .23626        .31456E-03   -.85874    
   4  Prefactor     1.2461        .16515        .21691E-03   -.84924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22717e-08
Minuit parameter uncertainties:
  1  8.88684
  2  0.690941
  3  0.236471
  4  0.165215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904680': 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) = 7176.78275871
delta logL = 0.875209571351

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.100e+00  8.887e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  8.757e-01  6.909e-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.246e+00  1.652e-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.224e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.48
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.88 +/- 0.69
Photon Flux (Free Index): 4.97e-09 +/- 5.63e-09
Energy Flux (Free Index): 5.70e-05 +/- 8.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/904680/cmap_HighResolution_325900801_326160001_4FGL_J0153.9+0823_daily_bin334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-08', energy_flux2='5.70e-05', photon_flux_error='1.34e-08', dlogl='8.75e-01', energy_flux='1.35e-05', photon_flux2='4.97e-09', job_status='DONE', time_completed='2021-08-14 20:11:06.651962', photon_index_error2='0.69', photon_index2='0.88', ts='5.73', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', energy_flux_error2='8.01e-05', EG='1.22', time_epoch_completed='1628997066.65', return_code='0', job_id='904680', GAL2='1.25', EG2='1.22', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='5.63e-09', ts2='7.48', photon_index='1.82' WHERE bin_id='334' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 904680: <4FGL_J0153.9+0823_daily_bin334> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin334> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:43 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:57:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 19:57:47 2021
Terminated at Sat Aug 14 20:11:07 2021
Results reported at Sat Aug 14 20:11:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin334 28.4972 8.3931 325900801 326160001 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 :                                   559.60 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            924 sec.

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

