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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin789
RA = 28.4972, Dec = 8.3931
tmin = 443836801, tmax = 444096001
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='907538', job_status='RUN', time_executed='2021-08-14 20:06:38.127234', time_epoch_executed='1628996798.13' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907538

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907538/ft1_4FGL_J0153.9+0823_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907538/ft2_4FGL_J0153.9+0823_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907538/ft1_4FGL_J0153.9+0823_daily_bin789.fits outfile=/scratch/kocevski/907538/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin789.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=443836801.0 tmax=444096001.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.87
user 3.29
sys 1.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907538/ft1_filtered_4FGL_J0153.9+0823_daily_bin789.fits" evtable="EVENTS" scfile=/scratch/kocevski/907538/ft2_4FGL_J0153.9+0823_daily_bin789.fits sctable="SC_DATA" outfile=/scratch/kocevski/907538/ltcube_443836801_444096001_4FGL_J0153.9+0823_daily_bin789.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/907538/ft2_4FGL_J0153.9+0823_daily_bin789.fits
.....................!
real 15.12
user 13.18
sys 1.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907538/ft1_filtered_4FGL_J0153.9+0823_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/907538/ft2_4FGL_J0153.9+0823_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/907538/ltcube_443836801_444096001_4FGL_J0153.9+0823_daily_bin789.fits outfile=/scratch/kocevski/907538/expmap_443836801_444096001_4FGL_J0153.9+0823_daily_bin789.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/907538/ltcube_443836801_444096001_4FGL_J0153.9+0823_daily_bin789.fits
.....................!
real 193.85
user 185.70
sys 7.08

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/907538/ft1_filtered_4FGL_J0153.9+0823_daily_bin789.fits scfile=/scratch/kocevski/907538/ft2_4FGL_J0153.9+0823_daily_bin789.fits outfile=/scratch/kocevski/907538/cmap_443836801_444096001_4FGL_J0153.9+0823_daily_bin789.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.83
user 0.37
sys 1.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907538/ft1_filtered_4FGL_J0153.9+0823_daily_bin789.fits scfile=/scratch/kocevski/907538/ft2_4FGL_J0153.9+0823_daily_bin789.fits outfile=/scratch/kocevski/907538/cmap_HighResolution_443836801_444096001_4FGL_J0153.9+0823_daily_bin789.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.87
user 0.39
sys 1.42

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1908       1.0000         .10000E-03   10000.    
     4 'norm      '    25.835       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.953       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1913       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.163       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.047       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.391       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.737       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2955       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0387       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=   6684.237     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1599 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1275       -.11790E-06** at limit **
   2  Prefactor     .10000E-03    21.322        .28496E-05** at limit **
   3  Prefactor     3.1908        4.9752       -.35276E-05    .31479E-03
   4  norm          25.835        18.496        .15058E-06   -.10101E-04
   5  Prefactor     .10000E-03    8.5488        .76586E-06** at limit **
   6  Prefactor     .10000E-03    1.0155       -.48934E-07** at limit **
   7  norm          16.955        7.8892       -.12945E-06   -.60654E-03
   8  Prefactor     1.1889        2.8831       -.25420E-05   -.13495E-02
   9  norm          .10000E-03    .38965        .69215E-07** at limit **
  10  Prefactor     16.174        27.497        .14261E-04   -.37771E-03
  11  Prefactor     26.048        13.134        .78790E-07    .12272E-04
  12  Prefactor     .10000E-03    33.616        .90218E-06** at limit **
  13  Prefactor     29.391        13.655       -.74380E-08    .82389E-05
  14  Prefactor     14.737        15.525       -.10489E-05   -.19795E-03
  15  Prefactor     .10000E-03    14.462        .24574E-07** at limit **
  16  Normalizat    1.2956        .21333       -.64395E-07    .58929E-04
  17  Prefactor     1.0387        .14717        .22321E-06    .21669E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.19078
  norm       = 25.8348
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.9549
  Prefactor  = 1.18892
  norm       = 0.0001
  Prefactor  = 16.174
  Prefactor  = 26.048
  Prefactor  = 0.0001
  Prefactor  = 29.391
  Prefactor  = 14.7366
  Prefactor  = 0.0001
  Normalizat = 1.29561
  Prefactor  = 1.0387
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.237     FROM HESSE     STATUS=OK           225 CALLS     1824 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1908        5.0077        .22148E-03   -1.5351    
   4  norm          25.835        18.497        .78814E-04   -1.4691    
   5  Prefactor     .10000E-03    8.7126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.0259        .80420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.955        7.8452        .48637E-03   -1.4884    
   8  Prefactor     1.1889        2.9414        .20307E-03   -1.5490    
   9  norm          .10000E-03    .65553        .99154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.174        27.433        .99623E-04   -1.4903    
  11  Prefactor     26.048        13.138        .78492E-04   -1.4687    
  12  Prefactor     .10000E-03    33.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.391        13.649        .73902E-04   -1.4623    
  14  Prefactor     14.737        15.575        .52168E-03   -1.4940    
  15  Prefactor     .10000E-03    14.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2956        .24343        .30289E-03   -.83697    
  17  Prefactor     1.0387        .16858        .22829E-03   -.91450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74259e-09
Minuit parameter uncertainties:
  1  4.24793e-06
  2  0.000205536
  3  5.00833
  4  18.5012
  5  3.42935e-05
  6  8.18347e-07
  7  7.84569
  8  2.94176
  9  9.7754e-06
  10  27.4543
  11  13.1392
  12  0.000123509
  13  13.6509
  14  15.5793
  15  4.67246e-05
  16  0.243643
  17  0.168667
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.583e+01  1.850e+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.039e+00  1.687e-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.296e+00  2.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.70
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 2.34e-08
Energy Flux (Fixed Index): 3.28e-05 +/- 2.35e-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) = 6684.04100348
delta logL = 0.196096538762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6684.0328169
delta logL = 0.204283119537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.021       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4182       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3013       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0417       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=   6684.033     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      246 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.012        21.558        .41742E-03   -.10949E-04
   2  alpha         1.4181        .63877        .16321E-01   -.10912E-03
   3  Normalizat    1.3013        .24093        .30232E-03    .61446E-04
   4  Prefactor     1.0417        .16643        .22810E-03   -.28260E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 23.0123
  alpha      = 1.41811
  Normalizat = 1.30128
  Prefactor  = 1.04169
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.033     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.012        22.042        .16697E-04   -1.4748    
   2  alpha         1.4181        .65281        .32643E-02   -.44755    
   3  Normalizat    1.3013        .24113        .12093E-04   -.83528    
   4  Prefactor     1.0417        .16661        .91239E-05   -.91352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39365e-11
Minuit parameter uncertainties:
  1  22.0496
  2  0.662301
  3  0.241337
  4  0.166692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907538': 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) = 6684.0328168
delta logL = 0.204283220472

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.301e+01  2.205e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.418e+00  6.623e-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.042e+00  1.667e-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.301e+00  2.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.10
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.42 +/- 0.66
Photon Flux (Free Index): 1.89e-08 +/- 2.43e-08
Energy Flux (Free Index): 5.38e-05 +/- 6.05e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/907538/cmap_HighResolution_443836801_444096001_4FGL_J0153.9+0823_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='5.38e-05', photon_flux_error='2.34e-08', dlogl='2.04e-01', energy_flux='3.28e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2021-08-14 20:16:09.256513', photon_index_error2='0.66', photon_index2='1.42', ts='4.70', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.05e-05', EG='1.30', time_epoch_completed='1628997369.26', return_code='0', job_id='907538', GAL2='1.04', EG2='1.30', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='2.43e-08', ts2='5.10', photon_index='1.82' WHERE bin_id='789' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:16:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 907538: <4FGL_J0153.9+0823_daily_bin789> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin789 28.4972 8.3931 443836801 444096001 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 :                                   590.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            640 sec.

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

