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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin624
RA = 28.4972, Dec = 8.3931
tmin = 401068801, tmax = 401328001
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='906174', job_status='RUN', time_executed='2021-08-14 20:05:54.697093', time_epoch_executed='1628996754.7' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906174

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906174/ft1_4FGL_J0153.9+0823_daily_bin624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906174/ft2_4FGL_J0153.9+0823_daily_bin624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906174/ft1_4FGL_J0153.9+0823_daily_bin624.fits outfile=/scratch/kocevski/906174/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin624.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=401068801.0 tmax=401328001.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 9.02
user 3.15
sys 5.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906174/ft1_filtered_4FGL_J0153.9+0823_daily_bin624.fits" evtable="EVENTS" scfile=/scratch/kocevski/906174/ft2_4FGL_J0153.9+0823_daily_bin624.fits sctable="SC_DATA" outfile=/scratch/kocevski/906174/ltcube_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.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/906174/ft2_4FGL_J0153.9+0823_daily_bin624.fits
.....................!
real 20.14
user 13.45
sys 6.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906174/ft1_filtered_4FGL_J0153.9+0823_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/906174/ft2_4FGL_J0153.9+0823_daily_bin624.fits sctable="SC_DATA" expcube=/scratch/kocevski/906174/ltcube_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.fits outfile=/scratch/kocevski/906174/expmap_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.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/906174/ltcube_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.fits
.....................!
real 199.03
user 186.04
sys 12.51

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/906174/ft1_filtered_4FGL_J0153.9+0823_daily_bin624.fits scfile=/scratch/kocevski/906174/ft2_4FGL_J0153.9+0823_daily_bin624.fits outfile=/scratch/kocevski/906174/cmap_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.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 6.15
user 0.39
sys 5.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906174/ft1_filtered_4FGL_J0153.9+0823_daily_bin624.fits scfile=/scratch/kocevski/906174/ft2_4FGL_J0153.9+0823_daily_bin624.fits outfile=/scratch/kocevski/906174/cmap_HighResolution_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.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 6.13
user 0.38
sys 5.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.389       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9851       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0934       1.0000         .10000E-03   10000.    
     9 'norm      '    .24996       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.303       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.907       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.908       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .97401       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93312       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7101.176     FROM MIGRAD    STATUS=CONVERGED    319 CALLS     1582 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.389        12.422        .28452E-02    .14911E-03
   2  Prefactor     .10000E-03    28.517        .90712E-02** at limit **
   3  Prefactor     .10000E-03    1.5447        .90712E-02** at limit **
   4  norm          .10000E-03    4.8428        .90712E-02** at limit **
   5  Prefactor     6.9849        5.7430        .37948E-02    .39582E-02
   6  Prefactor     .10000E-03    .48828        .90712E-02** at limit **
   7  norm          .10000E-03    3.5482        .90712E-02** at limit **
   8  Prefactor     2.0924        2.0494        .71324E-02    .34132E-03
   9  norm          .24982        .53041        .19120E-01    .22169E-02
  10  Prefactor     12.302        26.971        .28551E-02    .57068E-03
  11  Prefactor     .10000E-03    1.4755        .90712E-02** at limit **
  12  Prefactor     32.907        37.605        .17463E-02   -.27074E-03
  13  Prefactor     .10000E-03    2.1309        .90712E-02** at limit **
  14  Prefactor     11.906        24.224        .29022E-02    .87312E-03
  15  Prefactor     .10000E-03    8.6099        .90712E-02** at limit **
  16  Normalizat    .97400        .16564        .45840E-01    .17532E-04
  17  Prefactor     .93313        .11322        .45426E-01    .51711E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3887
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.98491
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.09239
  norm       = 0.249824
  Prefactor  = 12.3022
  Prefactor  = 0.0001
  Prefactor  = 32.907
  Prefactor  = 0.0001
  Prefactor  = 11.9063
  Prefactor  = 0.0001
  Normalizat = 0.973995
  Prefactor  = 0.933125
 **********
 **   18 **HESSE 
 **********

 FCN=   7101.176     FROM HESSE     STATUS=OK           219 CALLS     1801 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.389        12.421        .11381E-03   -1.5004    
   2  Prefactor     .10000E-03    28.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.5542        .10226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.8477        .18111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.9849        5.7404        .75896E-03   -1.5179    
   6  Prefactor     .10000E-03    .48980        .57497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.6579        .30966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.0924        2.0329        .11192E-03   -1.5419    
   9  norm          .24982        .48972        .85287E-03   -1.5608    
  10  Prefactor     12.302        26.746        .11420E-03   -1.5006    
  11  Prefactor     .10000E-03    1.4773        .99961E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     32.907        37.587        .69853E-04   -1.4560    
  13  Prefactor     .10000E-03    2.1384        .12013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.906        24.101        .11609E-03   -1.5018    
  15  Prefactor     .10000E-03    8.9150        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .97400        .18569        .27676E-03   -.93907    
  17  Prefactor     .93313        .12805        .19505E-03   -.94993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06038e-09
Minuit parameter uncertainties:
  1  12.4234
  2  1.61914e-05
  3  5.15048e-08
  4  5.12537e-07
  5  5.74086
  6  7.60726e-08
  7  5.55321e-07
  8  2.03293
  9  0.489731
  10  26.7717
  11  1.04193e-07
  12  37.614
  13  1.78204e-07
  14  24.1209
  15  1.09538e-06
  16  0.185813
  17  0.128093
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  5.125e-07  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:  9.331e-01  1.281e-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:  9.740e-01  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/906174/likelihoodResults_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.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) = 7101.1764904
delta logL = -0.000980726248599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7101.17550973
delta logL = -5.50535332877e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8164       1.0000          .0000       5.0000    
     3 'Normalizat'    .97393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93316       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=   7101.176     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      236 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    874.09        .18130E-02** at limit **
   2  alpha         1.6596        3.0354        .17315       -.17334E-07
   3  Normalizat    .97400        .85786E-01    .27676E-03    .12529E-04
   4  Prefactor     .93313        .59635E-01    .19505E-03    .17777E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.65958
  Normalizat = 0.973995
  Prefactor  = 0.933125
 **********
 **   18 **HESSE 
 **********

 FCN=   7101.176     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.9286        .36260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6596        2.8433        .69261E-02   -.34285    
   3  Normalizat    .97400        .18300        .11070E-04   -.93907    
   4  Prefactor     .93313        .12724        .78021E-05   -.94993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28875e-12
Minuit parameter uncertainties:
  1  7.6187e-06
  2  286.125
  3  0.183115
  4  0.127282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906174': 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) = 7101.17550951
delta logL = 1.67830876308e-07

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  7.619e-06  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.660e+00  2.861e+02  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:  9.331e-01  1.273e-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:  9.740e-01  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.497 8.393

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/906174/cmap_HighResolution_401068801_401328001_4FGL_J0153.9+0823_daily_bin624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', job_status='DONE', photon_flux_upper_limit='3.16e-08', time_completed='2021-08-14 20:17:09.953930', job_id='906174', GAL2='0.93', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1628997429.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='624' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:17:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 906174: <4FGL_J0153.9+0823_daily_bin624> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin624> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:43 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:02:11 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:02:11 2021
Terminated at Sat Aug 14 20:17:11 2021
Results reported at Sat Aug 14 20:17:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin624 28.4972 8.3931 401068801 401328001 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 :                                   762.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            988 sec.

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

