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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin701
RA = 28.4972, Dec = 8.3931
tmin = 421027201, tmax = 421286401
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='906298', job_status='RUN', time_executed='2021-08-14 20:05:48.708875', time_epoch_executed='1628996748.71' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906298

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906298/ft1_4FGL_J0153.9+0823_daily_bin701.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906298/ft2_4FGL_J0153.9+0823_daily_bin701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906298/ft1_4FGL_J0153.9+0823_daily_bin701.fits outfile=/scratch/kocevski/906298/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin701.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=421027201.0 tmax=421286401.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 6.24
user 3.52
sys 2.67

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906298/ft1_filtered_4FGL_J0153.9+0823_daily_bin701.fits" evtable="EVENTS" scfile=/scratch/kocevski/906298/ft2_4FGL_J0153.9+0823_daily_bin701.fits sctable="SC_DATA" outfile=/scratch/kocevski/906298/ltcube_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.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/906298/ft2_4FGL_J0153.9+0823_daily_bin701.fits
.....................!
real 15.09
user 12.05
sys 2.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906298/ft1_filtered_4FGL_J0153.9+0823_daily_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/906298/ft2_4FGL_J0153.9+0823_daily_bin701.fits sctable="SC_DATA" expcube=/scratch/kocevski/906298/ltcube_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.fits outfile=/scratch/kocevski/906298/expmap_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.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/906298/ltcube_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.fits
.....................!
real 194.26
user 185.79
sys 8.05

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/906298/ft1_filtered_4FGL_J0153.9+0823_daily_bin701.fits scfile=/scratch/kocevski/906298/ft2_4FGL_J0153.9+0823_daily_bin701.fits outfile=/scratch/kocevski/906298/cmap_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.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 2.95
user 0.38
sys 2.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906298/ft1_filtered_4FGL_J0153.9+0823_daily_bin701.fits scfile=/scratch/kocevski/906298/ft2_4FGL_J0153.9+0823_daily_bin701.fits outfile=/scratch/kocevski/906298/cmap_HighResolution_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.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 2.91
user 0.39
sys 2.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.471       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3151       1.0000         .10000E-03   10000.    
     4 'norm      '    10.695       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0476       1.0000         .10000E-03   10000.    
     7 'norm      '    14.092       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5856       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6730       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4457       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.059       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.5774       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .63814       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2391       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=   5944.874     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1574 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.470        14.431       -.12693E-05    .24171E-05
   2  Prefactor     .10000E-03    22.092       -.11208E-05** at limit **
   3  Prefactor     1.3142        3.7351       -.16613E-05   -.83521E-03
   4  norm          10.695        13.369       -.62501E-06   -.38294E-05
   5  Prefactor     .10000E-03    3.2331       -.52366E-07** at limit **
   6  Prefactor     4.0475        2.8447        .37705E-06   -.28963E-03
   7  norm          14.092        6.0994        .14837E-05   -.28417E-05
   8  Prefactor     4.5867        2.7880        .14089E-05    .29779E-03
   9  norm          .10000E-03    .29164        .52790E-07** at limit **
  10  Prefactor     9.6440        29.217       -.57150E-04   -.12720E-04
  11  Prefactor     .10000E-03    3.0202       -.94490E-07** at limit **
  12  Prefactor     .10000E-03    31.818        .41409E-05** at limit **
  13  Prefactor     2.4458        7.4940        .27211E-05   -.37118E-03
  14  Prefactor     17.050        28.855       -.82252E-05    .76981E-04
  15  Prefactor     7.5802        9.9503        .23472E-05   -.43947E-05
  16  Normalizat    .63831        .20318        .44431E-05    .31577E-04
  17  Prefactor     1.2390        .14799        .87150E-06    .72118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.4697
  Prefactor  = 0.0001
  Prefactor  = 1.31419
  norm       = 10.6951
  Prefactor  = 0.0001
  Prefactor  = 4.04752
  norm       = 14.0918
  Prefactor  = 4.58672
  norm       = 0.0001
  Prefactor  = 9.64403
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.4458
  Prefactor  = 17.0497
  Prefactor  = 7.58017
  Normalizat = 0.638307
  Prefactor  = 1.23902
 **********
 **   18 **HESSE 
 **********

 FCN=   5944.874     FROM HESSE     STATUS=OK           227 CALLS     1801 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.470        14.435        .86441E-04   -1.4781    
   2  Prefactor     .10000E-03    22.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3142        3.6946        .24369E-03   -1.5479    
   4  norm          10.695        13.369        .12251E-03   -1.5054    
   5  Prefactor     .10000E-03    3.2801        .13537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.0475        2.8393        .10405E-03   -1.5306    
   7  norm          14.092        6.0975        .10670E-03   -1.4957    
   8  Prefactor     4.5867        2.7852        .95141E-04   -1.5280    
   9  norm          .10000E-03    .29794        .40630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6440        29.210        .12885E-03   -1.5087    
  11  Prefactor     .10000E-03    3.0301        .13079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.4458        7.4705        .26159E-03   -1.5395    
  14  Prefactor     17.050        28.708        .96970E-04   -1.4882    
  15  Prefactor     7.5802        9.9435        .14569E-03   -1.5157    
  16  Normalizat    .63831        .22309        .35398E-03   -1.0638    
  17  Prefactor     1.2390        .16434        .18916E-03   -.85139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19439e-09
Minuit parameter uncertainties:
  1  14.4369
  2  2.8354e-05
  3  3.69523
  4  13.3724
  5  1.71052e-05
  6  2.83936
  7  6.09779
  8  2.7853
  9  3.09756e-06
  10  29.2528
  11  1.54684e-05
  12  0.000148483
  13  7.47339
  14  28.7315
  15  9.94565
  16  0.22341
  17  0.164404
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.070e+01  1.337e+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.239e+00  1.644e-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.383e-01  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.36e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.70e-05

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

Saving results to:
/scratch/kocevski/906298/likelihoodResults_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.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) = 5944.85991135
delta logL = 0.0137217919355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5944.85947723
delta logL = 0.0141559118365

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.041       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0317       1.0000          .0000       5.0000    
     3 'Normalizat'    .63464       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2388       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=   5944.859     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      263 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.041        13.283        .12057E-03    .88634E-05
   2  alpha         2.0316        1.1481        .19883E-01   -.60322E-05
   3  Normalizat    .63456        .22218        .35495E-03    .26776E-04
   4  Prefactor     1.2389        .16073        .18916E-03    .58321E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0414
  alpha      = 2.03163
  Normalizat = 0.634556
  Prefactor  = 1.23889
 **********
 **   18 **HESSE 
 **********

 FCN=   5944.859     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.041        13.222        .48228E-05   -1.5043    
   2  alpha         2.0316        1.1427        .79533E-03   -.18846    
   3  Normalizat    .63456        .22213        .14198E-04   -1.0654    
   4  Prefactor     1.2389        .16080        .37833E-04   -.85143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2055e-11
Minuit parameter uncertainties:
  1  13.226
  2  1.18852
  3  0.222443
  4  0.160863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906298': 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) = 5944.85947715
delta logL = 0.014155994334

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.104e+01  1.323e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.032e+00  1.189e+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.239e+00  1.609e-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.346e-01  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.03 +/- 1.19
Photon Flux (Free Index): 1.92e-08 +/- 4.20e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.56e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/906298/cmap_HighResolution_421027201_421286401_4FGL_J0153.9+0823_daily_bin701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.58e-05', comment='SUCCESS', photon_flux='1.36e-08', energy_flux2='1.23e-05', photon_flux_error='1.69e-08', dlogl='1.42e-02', energy_flux='1.36e-05', photon_flux2='1.92e-08', job_status='DONE', time_completed='2021-08-14 20:15:33.410432', photon_index_error2='1.19', photon_index2='2.03', ts='1.37', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='6.57e-08', energy_flux_error2='1.56e-05', EG='0.64', time_epoch_completed='1628997333.41', return_code='0', job_id='906298', GAL2='1.24', EG2='0.63', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='4.20e-08', ts2='1.40', photon_index='1.82' WHERE bin_id='701' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:15:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 906298: <4FGL_J0153.9+0823_daily_bin701> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin701> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:53 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:03:04 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:03:04 2021
Terminated at Sat Aug 14 20:15:34 2021
Results reported at Sat Aug 14 20:15:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin701 28.4972 8.3931 421027201 421286401 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 :                                   620.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            881 sec.

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

