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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin813
RA = 28.4972, Dec = 8.3931
tmin = 450057601, tmax = 450316801
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='907577', job_status='RUN', time_executed='2021-08-14 20:06:49.992406', time_epoch_executed='1628996809.99' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='813'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907577

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907577/ft1_4FGL_J0153.9+0823_daily_bin813.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907577/ft2_4FGL_J0153.9+0823_daily_bin813.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907577/ft1_4FGL_J0153.9+0823_daily_bin813.fits outfile=/scratch/kocevski/907577/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin813.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=450057601.0 tmax=450316801.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 5.06
user 3.29
sys 1.72

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/907577/ft2_4FGL_J0153.9+0823_daily_bin813.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/907577/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin813.fits evtable="EVENTS" outfile="/scratch/kocevski/907577/ft1_filtered_4FGL_J0153.9+0823_daily_bin813.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 2.05
user 0.32
sys 1.65

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907577/ft1_filtered_4FGL_J0153.9+0823_daily_bin813.fits" evtable="EVENTS" scfile=/scratch/kocevski/907577/ft2_4FGL_J0153.9+0823_daily_bin813.fits sctable="SC_DATA" outfile=/scratch/kocevski/907577/ltcube_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.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/907577/ft2_4FGL_J0153.9+0823_daily_bin813.fits
.....................!
real 13.97
user 11.79
sys 2.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907577/ft1_filtered_4FGL_J0153.9+0823_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/907577/ft2_4FGL_J0153.9+0823_daily_bin813.fits sctable="SC_DATA" expcube=/scratch/kocevski/907577/ltcube_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.fits outfile=/scratch/kocevski/907577/expmap_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.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/907577/ltcube_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.fits
.....................!
real 192.38
user 184.83
sys 6.98

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/907577/ft1_filtered_4FGL_J0153.9+0823_daily_bin813.fits scfile=/scratch/kocevski/907577/ft2_4FGL_J0153.9+0823_daily_bin813.fits outfile=/scratch/kocevski/907577/cmap_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.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 2.04
user 0.36
sys 1.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907577/ft1_filtered_4FGL_J0153.9+0823_daily_bin813.fits scfile=/scratch/kocevski/907577/ft2_4FGL_J0153.9+0823_daily_bin813.fits outfile=/scratch/kocevski/907577/cmap_HighResolution_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.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 2.04
user 0.39
sys 1.61

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1321       1.0000         .10000E-03   10000.    
     2 'Prefactor '    85.674       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .59920       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13588E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .44180       1.0000         .10000E-03   10000.    
     7 'norm      '    9.3442       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15579E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .68204E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12338E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .66968E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5455       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.224       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3243       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96246       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=   6303.970     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     2121 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1418        12.272        .63218E-05   -.49921E-04
   2  Prefactor     85.659        65.037       -.94769E-05    .22426E-05
   3  Prefactor     .10000E-03    4.4457       -.14266E-06** at limit **
   4  norm          .61908        10.455       -.29338E-05    .35343E-03
   5  Prefactor     .10000E-03    4.3922        .20056E-06** at limit **
   6  Prefactor     .44110        2.2951       -.86521E-06   -.47040E-03
   7  norm          9.3437        5.6120       -.31553E-05   -.36135E-04
   8  Prefactor     .10000E-03    1.2853        .29530E-06** at limit **
   9  norm          .10000E-03    .51652       -.12398E-07** at limit **
  10  Prefactor     .10000E-03    14.621        .21953E-05** at limit **
  11  Prefactor     .10000E-03    3.8116        .48317E-07** at limit **
  12  Prefactor     .10000E-03    332.37       -.89386E-05** at limit **
  13  Prefactor     6.5504        9.1820        .32190E-05   -.11529E-03
  14  Prefactor     .10000E-03    9.1409       -.63678E-06** at limit **
  15  Prefactor     20.241        13.721       -.11409E-05   -.19218E-04
  16  Normalizat    1.3243        .20812        .71180E-06    .17476E-03
  17  Prefactor     .96244        .14201        .60300E-06    .23814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.14183
  Prefactor  = 85.6588
  Prefactor  = 0.0001
  norm       = 0.619081
  Prefactor  = 0.0001
  Prefactor  = 0.441105
  norm       = 9.34367
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.55042
  Prefactor  = 0.0001
  Prefactor  = 20.2413
  Normalizat = 1.32425
  Prefactor  = 0.962443
 **********
 **   18 **HESSE 
 **********

 FCN=   6303.970     FROM HESSE     STATUS=OK           229 CALLS     2350 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1418        12.180        .14059E-03   -1.5137    
   2  Prefactor     85.659        65.254        .21701E-03   -1.3854    
   3  Prefactor     .10000E-03    14.128        .32219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .61908        65.589        .49050E-02   -1.5551    
   5  Prefactor     .10000E-03    4.4240        .16247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44110        4.6065        .22375E-02   -1.5575    
   7  norm          9.3437        5.6205        .13110E-03   -1.5097    
   8  Prefactor     .10000E-03    7.5665        .17246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .98447        .11019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.654        .20994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.8540        .15124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    335.44        .18770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.5504        9.1365        .15686E-03   -1.5196    
  14  Prefactor     .10000E-03    9.1524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.241        13.733        .89063E-04   -1.4808    
  16  Normalizat    1.3243        .23817        .28303E-03   -.82845    
  17  Prefactor     .96244        .16509        .21973E-03   -.93992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32166e-09
Minuit parameter uncertainties:
  1  12.1833
  2  65.3085
  3  1.16682e-06
  4  12.7577
  5  2.53427e-05
  6  2.85087
  7  5.62083
  8  5.19797e-05
  9  8.42506e-06
  10  2.09342e-06
  11  2.59048e-05
  12  0.00031786
  13  9.13845
  14  1.08876e-06
  15  13.735
  16  0.238365
  17  0.16518
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.191e-01  1.276e+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:  9.624e-01  1.652e-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.324e+00  2.384e-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: 5.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/907577/likelihoodResults_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.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) = 6303.36241578
delta logL = 0.607693554711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6303.36221114
delta logL = 0.607898188831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4464       1.0000         .10000E-03   10000.    
     2 'alpha     '    .79049       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3210       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96020       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=   6303.362     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      250 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5446        6.9808        .43045E-02    .14186E-02
   2  alpha         .79539        .52616        .49436       -.46939E-04
   3  Normalizat    1.3210        .20256        .64008E-01    .79714E-05
   4  Prefactor     .96016        .13741        .45768E-01    .64894E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.54457
  alpha      = 0.79539
  Normalizat = 1.32102
  Prefactor  = 0.960159
 **********
 **   18 **HESSE 
 **********

 FCN=   6303.362     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5446        8.9794        .86089E-03   -1.5237    
   2  alpha         .79539        .65134        .22546E-01   -.75028    
   3  Normalizat    1.3210        .23462        .28313E-03   -.82941    
   4  Prefactor     .96016        .15925        .21983E-03   -.94070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.42413e-12
Minuit parameter uncertainties:
  1  8.98162
  2  0.665959
  3  0.234808
  4  0.159332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907577': 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) = 6303.36215657
delta logL = 0.607952758027

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  5.545e+00  8.982e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  7.954e-01  6.660e-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:  9.602e-01  1.593e-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.321e+00  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.80 +/- 0.67
Photon Flux (Free Index): 4.85e-09 +/- 6.32e-09
Energy Flux (Free Index): 6.60e-05 +/- 1.06e-04

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/907577/cmap_HighResolution_450057601_450316801_4FGL_J0153.9+0823_daily_bin813.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e-05', comment='SUCCESS', energy_flux2='6.60e-05', dlogl='6.08e-01', photon_flux2='4.85e-09', job_status='DONE', time_completed='2021-08-14 20:17:16.825523', photon_index_error2='0.67', photon_index2='0.80', ts='0.00', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='5.41e-08', energy_flux_error2='1.06e-04', EG='1.32', time_epoch_completed='1628997436.83', return_code='0', job_id='907577', GAL2='0.96', EG2='1.32', return_code2='0', photon_flux_error2='6.32e-09', ts2='1.22', photon_index='1.82' WHERE bin_id='813' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:17:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 907577: <4FGL_J0153.9+0823_daily_bin813> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin813> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 20:05:33 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:06:10 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:10 2021
Terminated at Sat Aug 14 20:17:17 2021
Results reported at Sat Aug 14 20:17:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin813 28.4972 8.3931 450057601 450316801 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 :                                   647.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            704 sec.

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

