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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin833
RA = 28.4972, Dec = 8.3931
tmin = 455241601, tmax = 455500801
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='907610', job_status='RUN', time_executed='2021-08-14 20:10:05.287486', time_epoch_executed='1628997005.29' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='833'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907610

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907610/ft1_4FGL_J0153.9+0823_daily_bin833.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907610/ft2_4FGL_J0153.9+0823_daily_bin833.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907610/ft1_4FGL_J0153.9+0823_daily_bin833.fits outfile=/scratch/kocevski/907610/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin833.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=455241601.0 tmax=455500801.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.25
user 3.24
sys 0.92

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/907610/ft2_4FGL_J0153.9+0823_daily_bin833.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/907610/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin833.fits evtable="EVENTS" outfile="/scratch/kocevski/907610/ft1_filtered_4FGL_J0153.9+0823_daily_bin833.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.26
user 0.34
sys 0.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907610/ft1_filtered_4FGL_J0153.9+0823_daily_bin833.fits" evtable="EVENTS" scfile=/scratch/kocevski/907610/ft2_4FGL_J0153.9+0823_daily_bin833.fits sctable="SC_DATA" outfile=/scratch/kocevski/907610/ltcube_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.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/907610/ft2_4FGL_J0153.9+0823_daily_bin833.fits
.....................!
real 14.10
user 12.85
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907610/ft1_filtered_4FGL_J0153.9+0823_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/907610/ft2_4FGL_J0153.9+0823_daily_bin833.fits sctable="SC_DATA" expcube=/scratch/kocevski/907610/ltcube_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.fits outfile=/scratch/kocevski/907610/expmap_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.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/907610/ltcube_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.fits
.....................!
real 191.36
user 184.91
sys 5.64

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/907610/ft1_filtered_4FGL_J0153.9+0823_daily_bin833.fits scfile=/scratch/kocevski/907610/ft2_4FGL_J0153.9+0823_daily_bin833.fits outfile=/scratch/kocevski/907610/cmap_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.32
user 0.39
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907610/ft1_filtered_4FGL_J0153.9+0823_daily_bin833.fits scfile=/scratch/kocevski/907610/ft2_4FGL_J0153.9+0823_daily_bin833.fits outfile=/scratch/kocevski/907610/cmap_HighResolution_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.27
user 0.38
sys 0.87

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    19.566       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0916       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.4742       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .63765       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1526       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1368       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.930       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0704       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96244       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=   7338.336     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1617 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9504        .99422E-08** at limit **
   2  Prefactor     19.563        43.045       -.45608E-05   -.47294E-05
   3  Prefactor     1.0917        3.7547        .31544E-06   -.14022E-03
   4  norm          .10000E-03    8.5323        .62708E-06** at limit **
   5  Prefactor     .10000E-03    7.3167       -.51237E-06** at limit **
   6  Prefactor     .10000E-03    .82744        .15089E-08** at limit **
   7  norm          1.4752        3.7975        .13030E-05   -.46289E-04
   8  Prefactor     .63709        1.5416       -.95175E-07   -.34832E-03
   9  norm          1.1525        .75690       -.83440E-08   -.65637E-04
  10  Prefactor     .10000E-03    7.2256        .52121E-06** at limit **
  11  Prefactor     4.1341        2.7643       -.19472E-06   -.61556E-03
  12  Prefactor     .10000E-03    17.728       -.11224E-06** at limit **
  13  Prefactor     .10000E-03    7.6565       -.77440E-06** at limit **
  14  Prefactor     .10000E-03    5.6829        .35341E-07** at limit **
  15  Prefactor     19.928        12.263       -.33115E-06    .30382E-05
  16  Normalizat    1.0704        .17226        .17350E-06   -.12951E-04
  17  Prefactor     .96249        .11871       -.76909E-07    .10146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.5632
  Prefactor  = 1.09169
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.47518
  Prefactor  = 0.637091
  norm       = 1.15253
  Prefactor  = 0.0001
  Prefactor  = 4.13405
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9281
  Normalizat = 1.07035
  Prefactor  = 0.962494
 **********
 **   18 **HESSE 
 **********

 FCN=   7338.336     FROM HESSE     STATUS=OK           225 CALLS     1842 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9527        .14370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.563        42.927        .90549E-04   -1.4823    
   3  Prefactor     1.0917        3.8715        .30553E-03   -1.5499    
   4  norm          .10000E-03    8.5568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.5418        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .83475        .76062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4752        3.8051        .25825E-03   -1.5465    
   8  Prefactor     .63709        1.3600        .15837E-02   -1.5548    
   9  norm          1.1525        .74429        .58121E-04   -1.5493    
  10  Prefactor     .10000E-03    7.2315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1341        7.0506        .99092E-03   -1.5301    
  12  Prefactor     .10000E-03    17.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.7023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.6888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.928        12.261        .89718E-04   -1.4815    
  16  Normalizat    1.0704        .19973        .28009E-03   -.90709    
  17  Prefactor     .96249        .14011        .20133E-03   -.93990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84728e-09
Minuit parameter uncertainties:
  1  7.09331e-08
  2  42.9952
  3  3.87239
  4  8.99323e-07
  5  1.59761e-05
  6  5.52057e-07
  7  3.80569
  8  1.36005
  9  0.744292
  10  1.28964e-06
  11  7.05203
  12  8.04838e-08
  13  3.52413e-06
  14  1.09226e-06
  15  12.2625
  16  0.199871
  17  0.140158
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  8.993e-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.625e-01  1.402e-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.070e+00  1.999e-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.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/907610/likelihoodResults_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.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) = 7338.33642461
delta logL = -0.00055692953174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7338.3358676
delta logL = 8.11251084087e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8024       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96249       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=   7338.336     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      252 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    162.62        .18142E-01** at limit **
   2  alpha         1.3090        3.1065        .50000        .14222E-06
   3  Normalizat    1.0704        .18266E-01    .28009E-03    .54065E-04
   4  Prefactor     .96249        .12595E-01    .20133E-03    .79055E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.30903
  Normalizat = 1.07035
  Prefactor  = 0.962494
 **********
 **   18 **HESSE 
 **********

 FCN=   7338.336     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      283 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    514.44        .54713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3090        3.1308        .50000       -.49654    
   3  Normalizat    1.0704        .33141E-01    .11204E-04   -.90709    
   4  Prefactor     .96249        .22851E-01    .80532E-05   -.93990    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09286e-09
Minuit parameter uncertainties:
  1  0.0012334
  2  1355.41
  3  0.033142
  4  0.0228517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907610': 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): 102
logL (Free Index) = 7338.33586629
delta logL = 1.39738858707e-06

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.233e-03  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.309e+00  1.355e+03  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.625e-01  2.285e-02  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.070e+00  3.314e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/907610/cmap_HighResolution_455241601_455500801_4FGL_J0153.9+0823_daily_bin833.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-05', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2021-08-14 20:20:27.302978', job_id='907610', GAL2='0.96', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1628997627.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.40e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='833' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:20:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 907610: <4FGL_J0153.9+0823_daily_bin833> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin833> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 20:05:35 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:06:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:06:26 2021
Terminated at Sat Aug 14 20:20:27 2021
Results reported at Sat Aug 14 20:20:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin833 28.4972 8.3931 455241601 455500801 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 :                                   632.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            892 sec.

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

