/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 8 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 = 7414
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin182
RA = 28.4972, Dec = 8.3931
tmin = 286502401, tmax = 286761601
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='904438', job_status='RUN', time_executed='2021-08-14 19:57:30.001764', time_epoch_executed='1628996250.0' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904438

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904438/ft1_4FGL_J0153.9+0823_daily_bin182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904438/ft2_4FGL_J0153.9+0823_daily_bin182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904438/ft1_4FGL_J0153.9+0823_daily_bin182.fits outfile=/scratch/kocevski/904438/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin182.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=286502401.0 tmax=286761601.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.64
user 4.28
sys 5.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904438/ft1_filtered_4FGL_J0153.9+0823_daily_bin182.fits" evtable="EVENTS" scfile=/scratch/kocevski/904438/ft2_4FGL_J0153.9+0823_daily_bin182.fits sctable="SC_DATA" outfile=/scratch/kocevski/904438/ltcube_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.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/904438/ft2_4FGL_J0153.9+0823_daily_bin182.fits
.....................!
real 17.72
user 11.71
sys 5.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904438/ft1_filtered_4FGL_J0153.9+0823_daily_bin182.fits evtable="EVENTS" scfile=/scratch/kocevski/904438/ft2_4FGL_J0153.9+0823_daily_bin182.fits sctable="SC_DATA" expcube=/scratch/kocevski/904438/ltcube_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.fits outfile=/scratch/kocevski/904438/expmap_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.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/904438/ltcube_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.fits
.....................!
real 197.32
user 185.31
sys 11.54

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/904438/ft1_filtered_4FGL_J0153.9+0823_daily_bin182.fits scfile=/scratch/kocevski/904438/ft2_4FGL_J0153.9+0823_daily_bin182.fits outfile=/scratch/kocevski/904438/cmap_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.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 5.45
user 0.39
sys 5.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904438/ft1_filtered_4FGL_J0153.9+0823_daily_bin182.fits scfile=/scratch/kocevski/904438/ft2_4FGL_J0153.9+0823_daily_bin182.fits outfile=/scratch/kocevski/904438/cmap_HighResolution_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.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 5.00
user 0.38
sys 4.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7456       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0760       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57895       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9781       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19601E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.984       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11698E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3597       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5412       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9872       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2012       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88838       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=   7030.951     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     1406 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7456        7.3267        .28617E-06    .15128E-04
   2  Prefactor     9.0750        40.737        .14564E-06   -.28802E-05
   3  Prefactor     .57896        4.3719        .34287E-05    .12144E-03
   4  norm          1.9581        23.901        .14447E-05    .46304E-05
   5  Prefactor     .10000E-03    2.4220       -.21164E-07** at limit **
   6  Prefactor     .10002E-03    1.2788        .17501E-06** at limit **
   7  norm          15.983        6.0359        .14417E-06    .17603E-03
   8  Prefactor     .10002E-03    1.2040       -.43974E-06** at limit **
   9  norm          3.3597        1.0832        .25225E-07   -.17359E-04
  10  Prefactor     .10000E-03    14.538       -.27021E-06** at limit **
  11  Prefactor     .10000E-03    8.9182       -.64344E-06** at limit **
  12  Prefactor     9.4994        43.581        .11185E-06   -.36439E-04
  13  Prefactor     4.0032        9.5509        .42332E-06    .45499E-04
  14  Prefactor     .10000E-03    8.6719       -.84331E-07** at limit **
  15  Prefactor     .10000E-03    8.0407       -.39350E-06** at limit **
  16  Normalizat    1.2012        .18993       -.15556E-05    .52625E-04
  17  Prefactor     .88841        .12820        .87733E-06   -.26791E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.74556
  Prefactor  = 9.07504
  Prefactor  = 0.57896
  norm       = 1.95808
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  norm       = 15.9833
  Prefactor  = 0.000100015
  norm       = 3.35965
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.49943
  Prefactor  = 4.0032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20116
  Prefactor  = 0.888413
 **********
 **   18 **HESSE 
 **********

 FCN=   7030.951     FROM HESSE     STATUS=OK           231 CALLS     1637 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7456        7.3130        .20862E-03   -1.5321    
   2  Prefactor     9.0750        40.682        .13304E-03   -1.5105    
   3  Prefactor     .57896        4.4293        .33675E-03   -1.5556    
   4  norm          1.9581        24.051        .29473E-03   -1.5428    
   5  Prefactor     .10000E-03    2.4282        .12742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    26.855        .17881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.983        6.0029        .10018E-03   -1.4908    
   8  Prefactor     .10002E-03    7.9284        .16696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3597        1.0855        .47387E-04   -1.5341    
  10  Prefactor     .10000E-03    14.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.0401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.4994        43.005        .12974E-03   -1.5091    
  13  Prefactor     4.0032        9.5189        .20198E-03   -1.5308    
  14  Prefactor     .10000E-03    8.6957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.1240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2012        .21738        .27503E-03   -.86567    
  17  Prefactor     .88841        .14733        .21165E-03   -.96547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57963e-09
Minuit parameter uncertainties:
  1  7.3147
  2  38.4719
  3  3.2028
  4  13.7314
  5  4.08581e-07
  6  0.00134906
  7  6.00311
  8  0.000697038
  9  1.08552
  10  1.00428e-06
  11  3.21107e-05
  12  40.4721
  13  9.52245
  14  5.31625e-06
  15  3.81105e-06
  16  0.217543
  17  0.147398
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.958e+00  1.373e+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:  8.884e-01  1.474e-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.201e+00  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904438/likelihoodResults_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.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) = 7030.76432428
delta logL = 0.186759906046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7030.76289394
delta logL = 0.188190249835

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4321       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0843       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89470       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=   7030.763     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      227 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4377        81.777        .65598E-02    .85031E-03
   2  alpha         3.0834        3.8787        .42671        .45359E-04
   3  Normalizat    1.1730        .38075E-01    .62827E-01    .16748E-04
   4  Prefactor     .89472        .25488E-01    .44937E-01    .28521E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43767
  alpha      = 3.08337
  Normalizat = 1.17296
  Prefactor  = 0.894724
 **********
 **   18 **HESSE 
 **********

 FCN=   7030.763     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      260 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4377        303.89        .20388E-03   -1.5396    
   2  alpha         3.0834        3.3411        .14515E-01    .23552    
   3  Normalizat    1.1730        .25517        .27790E-03   -.87443    
   4  Prefactor     .89472        .17537        .21094E-03   -.96326    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.71938e-07
Minuit parameter uncertainties:
  1  54.7196
  2  10.9669
  3  0.255443
  4  0.175476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904438': 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) = 7030.76289374
delta logL = 0.188190448939

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.438e+00  5.472e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  3.083e+00  1.097e+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.947e-01  1.755e-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.173e+00  2.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/904438/cmap_HighResolution_286502401_286761601_4FGL_J0153.9+0823_daily_bin182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-05', job_status='DONE', photon_flux_upper_limit='5.38e-08', time_completed='2021-08-14 20:08:30.266628', job_id='904438', GAL2='0.89', fit_tolerance='1e-08', EG2='1.17', EG='1.20', time_epoch_completed='1628996910.27', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.88e-01', ts2='0.41', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='182' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:08:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 904438: <4FGL_J0153.9+0823_daily_bin182> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin182> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:24 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:55:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 19:55:51 2021
Terminated at Sat Aug 14 20:08:31 2021
Results reported at Sat Aug 14 20:08:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin182 28.4972 8.3931 286502401 286761601 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 :                                   733.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            787 sec.

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

