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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin933
RA = 28.4972, Dec = 8.3931
tmin = 481161601, tmax = 481420801
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='907773', job_status='RUN', time_executed='2021-08-14 20:09:59.217254', time_epoch_executed='1628996999.22' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='933'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907773

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907773/ft1_4FGL_J0153.9+0823_daily_bin933.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907773/ft2_4FGL_J0153.9+0823_daily_bin933.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907773/ft1_4FGL_J0153.9+0823_daily_bin933.fits outfile=/scratch/kocevski/907773/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin933.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=481161601.0 tmax=481420801.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 12.14
user 3.42
sys 8.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907773/ft1_filtered_4FGL_J0153.9+0823_daily_bin933.fits" evtable="EVENTS" scfile=/scratch/kocevski/907773/ft2_4FGL_J0153.9+0823_daily_bin933.fits sctable="SC_DATA" outfile=/scratch/kocevski/907773/ltcube_481161601_481420801_4FGL_J0153.9+0823_daily_bin933.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/907773/ft2_4FGL_J0153.9+0823_daily_bin933.fits
.....................!
real 22.85
user 13.03
sys 9.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907773/ft1_filtered_4FGL_J0153.9+0823_daily_bin933.fits evtable="EVENTS" scfile=/scratch/kocevski/907773/ft2_4FGL_J0153.9+0823_daily_bin933.fits sctable="SC_DATA" expcube=/scratch/kocevski/907773/ltcube_481161601_481420801_4FGL_J0153.9+0823_daily_bin933.fits outfile=/scratch/kocevski/907773/expmap_481161601_481420801_4FGL_J0153.9+0823_daily_bin933.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/907773/ltcube_481161601_481420801_4FGL_J0153.9+0823_daily_bin933.fits
.....................!
real 201.96
user 185.58
sys 15.22

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/907773/ft1_filtered_4FGL_J0153.9+0823_daily_bin933.fits scfile=/scratch/kocevski/907773/ft2_4FGL_J0153.9+0823_daily_bin933.fits outfile=/scratch/kocevski/907773/cmap_481161601_481420801_4FGL_J0153.9+0823_daily_bin933.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 9.13
user 0.39
sys 8.69

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907773/ft1_filtered_4FGL_J0153.9+0823_daily_bin933.fits scfile=/scratch/kocevski/907773/ft2_4FGL_J0153.9+0823_daily_bin933.fits outfile=/scratch/kocevski/907773/cmap_HighResolution_481161601_481420801_4FGL_J0153.9+0823_daily_bin933.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 9.23
user 0.38
sys 8.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    16.664       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3892       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2013       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5981       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6131       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.143       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.640       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.6815       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2120       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0847       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6306.458     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1720 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3833         .0000    ** at limit **
   2  Prefactor     16.664        61.047         .0000       -.20666E-03
   3  Prefactor     .10000E-03    2.4370         .0000    ** at limit **
   4  norm          1.3935        42.997         .0000        .36257E-02
   5  Prefactor     8.2013        6.1947         .0000        .37140E-03
   6  Prefactor     .10000E-03    .67268         .0000    ** at limit **
   7  norm          2.5980        3.8032         .0000        .44737E-03
   8  Prefactor     .10000E-03    1.4343         .0000    ** at limit **
   9  norm          1.6131        .98458         .0000       -.13433E-03
  10  Prefactor     .10000E-03    25.153         .0000    ** at limit **
  11  Prefactor     .10000E-03    3.5569         .0000    ** at limit **
  12  Prefactor     17.142        56.870         .0000        .58635E-04
  13  Prefactor     31.639        11.707         .0000       -.15189E-03
  14  Prefactor     9.6823        13.202         .0000       -.27972E-03
  15  Prefactor     .10000E-03    17.716         .0000    ** at limit **
  16  Normalizat    1.2120        .20400         .0000       -.18930E-03
  17  Prefactor     1.0847        .14392         .0000       -.58315E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.6637
  Prefactor  = 0.0001
  norm       = 1.39348
  Prefactor  = 8.2013
  Prefactor  = 0.0001
  norm       = 2.59802
  Prefactor  = 0.0001
  norm       = 1.61308
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 17.1423
  Prefactor  = 31.6394
  Prefactor  = 9.68232
  Prefactor  = 0.000100001
  Normalizat = 1.21199
  Prefactor  = 1.08472
 **********
 **   18 **HESSE 
 **********

 FCN=   6306.458     FROM HESSE     STATUS=OK           219 CALLS     1939 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.664        61.123        .98115E-04   -1.4891    
   3  Prefactor     .10000E-03    2.4521        .12106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3935        43.612        .18439E-02   -1.5472    
   5  Prefactor     8.2013        6.1889        .13999E-03   -1.5135    
   6  Prefactor     .10000E-03    .67786        .63593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5980        3.7916        .18066E-03   -1.5386    
   8  Prefactor     .10000E-03    1.4730        .18546E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6131        .97936        .59267E-04   -1.5454    
  10  Prefactor     .10000E-03    25.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.5955        .14617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.142        56.826        .96734E-04   -1.4880    
  13  Prefactor     31.639        11.710        .71233E-04   -1.4582    
  14  Prefactor     9.6823        13.198        .12879E-03   -1.5086    
  15  Prefactor     .10000E-03    18.425        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2120        .23253        .29241E-03   -.86233    
  17  Prefactor     1.0847        .16417        .21446E-03   -.89956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86246e-09
Minuit parameter uncertainties:
  1  5.0273e-05
  2  61.3543
  3  2.19156e-05
  4  15.6032
  5  6.18934
  6  3.53066e-06
  7  3.79197
  8  1.141e-05
  9  0.97937
  10  0.000466839
  11  2.60733e-05
  12  57.006
  13  11.7111
  14  13.2024
  15  0.000209787
  16  0.23273
  17  0.164247
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.393e+00  1.560e+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.085e+00  1.642e-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.212e+00  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/907773/likelihoodResults_481161601_481420801_4FGL_J0153.9+0823_daily_bin933.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6306.01352657
delta logL = 0.444560127781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6305.98599265
delta logL = 0.472094052369

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6882       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4352       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6305.986     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      280 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6762        106.30        .56857E-03   -.74335E-03
   2  alpha         3.4386        3.1150        .14716E-01   -.35873E-04
   3  Normalizat    1.1665        .23022        .29716E-03   -.11343E-03
   4  Prefactor     1.0961        .14773        .21336E-03   -.11345E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67619
  alpha      = 3.43865
  Normalizat = 1.16647
  Prefactor  = 1.09606
 **********
 **   18 **HESSE 
 **********

 FCN=   6305.986     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6762        7.4116        .22743E-04   -1.5449    
   2  alpha         3.4386        1.8180        .58866E-03    .38489    
   3  Normalizat    1.1665        .23981        .11887E-04   -.87645    
   4  Prefactor     1.0961        .16380        .42673E-04   -.89593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30596e-10
Minuit parameter uncertainties:
  1  7.05059
  2  2.09007
  3  0.240038
  4  0.163876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907773': 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) = 6305.98599084
delta logL = 0.472095855015

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.676e+00  7.051e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  3.439e+00  2.090e+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.096e+00  1.639e-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.166e+00  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 28.497 8.393

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-05', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2021-08-14 20:21:53.154051', job_id='907773', GAL2='1.10', fit_tolerance='1e-08', EG2='1.17', EG='1.21', time_epoch_completed='1628997713.15', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.72e-01', ts2='0.98', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='933' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:21:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 907773: <4FGL_J0153.9+0823_daily_bin933> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin933 28.4972 8.3931 481161601 481420801 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 :                                   830.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             284.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            967 sec.

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

