aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 196 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 = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin1684
RA = 28.4972, Dec = 8.3931
tmin = 675820801, tmax = 676080001
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='181002', job_status='RUN', time_executed='2022-06-05 00:10:26.773136', time_epoch_executed='1654413026.77' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181002

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181002/ft1_4FGL_J0153.9+0823_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181002/ft2_4FGL_J0153.9+0823_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181002/ft1_4FGL_J0153.9+0823_daily_bin1684.fits outfile=/scratch/kocevski/181002/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin1684.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=675820801.0 tmax=676080001.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.48
user 4.19
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/181002/ft2_4FGL_J0153.9+0823_daily_bin1684.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/181002/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/181002/ft1_filtered_4FGL_J0153.9+0823_daily_bin1684.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 0.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 695

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181002/ft1_filtered_4FGL_J0153.9+0823_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/181002/ft2_4FGL_J0153.9+0823_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/181002/ltcube_675820801_676080001_4FGL_J0153.9+0823_daily_bin1684.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/181002/ft2_4FGL_J0153.9+0823_daily_bin1684.fits
.....................!
real 16.30
user 15.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181002/ft1_filtered_4FGL_J0153.9+0823_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181002/ft2_4FGL_J0153.9+0823_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/181002/ltcube_675820801_676080001_4FGL_J0153.9+0823_daily_bin1684.fits outfile=/scratch/kocevski/181002/expmap_675820801_676080001_4FGL_J0153.9+0823_daily_bin1684.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/181002/ltcube_675820801_676080001_4FGL_J0153.9+0823_daily_bin1684.fits
.....................!
real 191.30
user 186.48
sys 4.31

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/181002/ft1_filtered_4FGL_J0153.9+0823_daily_bin1684.fits scfile=/scratch/kocevski/181002/ft2_4FGL_J0153.9+0823_daily_bin1684.fits outfile=/scratch/kocevski/181002/cmap_675820801_676080001_4FGL_J0153.9+0823_daily_bin1684.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 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181002/ft1_filtered_4FGL_J0153.9+0823_daily_bin1684.fits scfile=/scratch/kocevski/181002/ft2_4FGL_J0153.9+0823_daily_bin1684.fits outfile=/scratch/kocevski/181002/cmap_HighResolution_675820801_676080001_4FGL_J0153.9+0823_daily_bin1684.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 0.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.388       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.476       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8270       1.0000         .10000E-03   10000.    
     4 'norm      '    10.483       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2441       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3469       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38291E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.0555       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10452E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4791       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2984       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86600       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=   7660.637     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1405 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.372        12.180       -.62224E-05    .80267E-05
   2  Prefactor     21.457        34.717       -.35066E-04    .42896E-05
   3  Prefactor     2.8265        2.8928        .63394E-06   -.41527E-04
   4  norm          10.484        9.8194       -.38328E-06    .20972E-04
   5  Prefactor     .10000E-03    4.6990        .23333E-05** at limit **
   6  Prefactor     4.2442        2.8546        .33908E-07   -.16257E-03
   7  norm          5.3473        3.6577       -.39210E-06    .75387E-04
   8  Prefactor     .10007E-03    1.0313        .30225E-07** at limit **
   9  norm          3.0553        1.0019       -.12151E-07    .10650E-03
  10  Prefactor     .10000E-03    10.037        .15936E-05** at limit **
  11  Prefactor     .10000E-03    3.4412        .97462E-06** at limit **
  12  Prefactor     .10000E-03    17.901        .13231E-06** at limit **
  13  Prefactor     1.4594        21.109       -.12386E-04   -.32381E-03
  14  Prefactor     .10000E-03    9.5869       -.38581E-05** at limit **
  15  Prefactor     .10000E-03    4.5543       -.12248E-05** at limit **
  16  Normalizat    1.2987        .17813        .32247E-05    .48918E-04
  17  Prefactor     .86591        .11986        .12005E-05    .27986E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3716
  Prefactor  = 21.4569
  Prefactor  = 2.82651
  norm       = 10.4836
  Prefactor  = 0.0001
  Prefactor  = 4.24422
  norm       = 5.34727
  Prefactor  = 0.000100068
  norm       = 3.05534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.45938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.29866
  Prefactor  = 0.865909
 **********
 **   18 **HESSE 
 **********

 FCN=   7660.637     FROM HESSE     STATUS=OK           227 CALLS     1632 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.372        12.182        .96049E-04   -1.4874    
   2  Prefactor     21.457        34.551        .86430E-04   -1.4781    
   3  Prefactor     2.8265        2.8925        .14631E-03   -1.5372    
   4  norm          10.484        9.8218        .12375E-03   -1.5060    
   5  Prefactor     .10000E-03    4.7967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2442        2.8524        .11573E-03   -1.5296    
   7  norm          5.3473        3.6406        .13357E-03   -1.5245    
   8  Prefactor     .10007E-03    17.954        .16925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0553        1.0028        .23209E-04   -1.5358    
  10  Prefactor     .10000E-03    10.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4571        .15845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4594        21.965        .35298E-03   -1.5466    
  14  Prefactor     .10000E-03    9.6075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2987        .20138        .27802E-03   -.83606    
  17  Prefactor     .86591        .13574        .22246E-03   -.97343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85019e-09
Minuit parameter uncertainties:
  1  12.1837
  2  34.5832
  3  2.89265
  4  9.82332
  5  3.76897e-05
  6  2.85246
  7  3.64077
  8  0.00220664
  9  1.00282
  10  1.7584e-05
  11  3.36067e-05
  12  9.25987e-07
  13  11.3281
  14  1.67474e-05
  15  1.2769e-06
  16  0.201498
  17  0.135791
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.048e+01  9.823e+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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  8.659e-01  1.358e-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.299e+00  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.57
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.33e-08 +/- 1.24e-08
Energy Flux (Fixed Index): 1.33e-05 +/- 1.25e-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) = 7658.79705726
delta logL = 1.83957598816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7658.01118003
delta logL = 2.62545321765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71533       1.0000         .10000E-03   10000.    
     2 'alpha     '    .12388E-01   1.0000          .0000       5.0000    
     3 'Normalizat'    1.3018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86939       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=   7658.011     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      307 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70489        1.2083        .65292E-03   -.16992E-03
   2  alpha         .71777E-02    3.0234        .50000        .61111E-04
   3  Normalizat    1.3012        .19710        .27773E-03   -.36964E-04
   4  Prefactor     .86991        .13256        .22198E-03    .58897E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.704891
  alpha      = 0.00717772
  Normalizat = 1.30123
  Prefactor  = 0.869912
 **********
 **   18 **HESSE 
 **********

 FCN=   7658.011     FROM HESSE     STATUS=OK            31 CALLS      338 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70489        1.1683        .26117E-04   -1.5540    
   2  alpha         .71777E-02    1.1366        .50000       -1.4950    
   3  Normalizat    1.3012        .19724        .11109E-04   -.83530    
   4  Prefactor     .86991        .13265        .88792E-05   -.97201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60647e-09
Minuit parameter uncertainties:
  1  1.1683
  2  0.188463
  3  0.197352
  4  0.1327
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181002': 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) = 7658.01115897
delta logL = 2.62547428151

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.049e-01  1.168e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  7.178e-03  1.885e-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:  8.699e-01  1.327e-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  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.81
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.01 +/- 0.19
Photon Flux (Free Index): 3.04e-09 +/- 3.88e-09
Energy Flux (Free Index): 1.17e-04 +/- 1.39e-04

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/181002/cmap_HighResolution_675820801_676080001_4FGL_J0153.9+0823_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-08', energy_flux2='1.17e-04', photon_flux_error='1.24e-08', dlogl='2.63e+00', energy_flux='1.33e-05', photon_flux2='3.04e-09', job_status='DONE', time_completed='2022-06-05 00:19:58.705784', photon_index_error2='0.19', photon_index2='0.01', ts='12.57', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.39e-04', EG='1.30', time_epoch_completed='1654413598.71', return_code='0', job_id='181002', GAL2='0.87', EG2='1.30', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='3.88e-09', ts2='17.81', photon_index='1.82' WHERE bin_id='1684' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:19:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 181002: <4FGL_J0153.9+0823_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:49 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:06:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:06:48 2022
Terminated at Sun Jun  5 00:19:59 2022
Results reported at Sun Jun  5 00:19:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin1684 28.4972 8.3931 675820801 676080001 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 :                                   572.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             264.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            910 sec.

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

