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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin1305
RA = 28.4972, Dec = 8.3931
tmin = 577584001, tmax = 577843201
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='909326', job_status='RUN', time_executed='2021-08-14 20:14:15.285896', time_epoch_executed='1628997255.29' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='1305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/909326

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/909326/ft1_4FGL_J0153.9+0823_daily_bin1305.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/909326/ft2_4FGL_J0153.9+0823_daily_bin1305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/909326/ft1_4FGL_J0153.9+0823_daily_bin1305.fits outfile=/scratch/kocevski/909326/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin1305.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=577584001.0 tmax=577843201.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 6.82
user 2.59
sys 4.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/909326/ft1_filtered_4FGL_J0153.9+0823_daily_bin1305.fits" evtable="EVENTS" scfile=/scratch/kocevski/909326/ft2_4FGL_J0153.9+0823_daily_bin1305.fits sctable="SC_DATA" outfile=/scratch/kocevski/909326/ltcube_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.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/909326/ft2_4FGL_J0153.9+0823_daily_bin1305.fits
.....................!
real 17.74
user 12.84
sys 4.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/909326/ft1_filtered_4FGL_J0153.9+0823_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/909326/ft2_4FGL_J0153.9+0823_daily_bin1305.fits sctable="SC_DATA" expcube=/scratch/kocevski/909326/ltcube_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.fits outfile=/scratch/kocevski/909326/expmap_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.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/909326/ltcube_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.fits
.....................!
real 196.36
user 186.60
sys 9.25

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/909326/ft1_filtered_4FGL_J0153.9+0823_daily_bin1305.fits scfile=/scratch/kocevski/909326/ft2_4FGL_J0153.9+0823_daily_bin1305.fits outfile=/scratch/kocevski/909326/cmap_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.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 4.07
user 0.36
sys 3.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/909326/ft1_filtered_4FGL_J0153.9+0823_daily_bin1305.fits scfile=/scratch/kocevski/909326/ft2_4FGL_J0153.9+0823_daily_bin1305.fits outfile=/scratch/kocevski/909326/cmap_HighResolution_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.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 4.42
user 0.38
sys 4.00

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10966E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3071       1.0000         .10000E-03   10000.    
     4 'norm      '    5.6210       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0317       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.424       1.0000         .10000E-03   10000.    
     9 'norm      '    5.8921       1.0000         .10000E-03   10000.    
    10 'Prefactor '    84.152       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.182       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    67.358       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0010       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72452       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=   1036.251     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     2832 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    2232.7        .14268E-03** at limit **
   2  Prefactor     .10000E-03    125.84        .72615E-06** at limit **
   3  Prefactor     1.3098        70.173        .14899E-04   -.19130E-04
   4  norm          5.6295        1149.7       -.29573E-05    .13081E-06
   5  Prefactor     6.0347        259.98        .10094E-05    .24672E-05
   6  Prefactor     .10000E-03    12.951       -.25475E-08** at limit **
   7  norm          .10000E-03    19.205        .77876E-08** at limit **
   8  Prefactor     21.424        21.832       -.13812E-06    .19676E-04
   9  norm          5.8921        3.0093        .97037E-07    .61949E-04
  10  Prefactor     84.147        190.40        .12056E-05    .44746E-05
  11  Prefactor     28.176        46.485        .54059E-06    .11857E-04
  12  Prefactor     .10000E-03    237.90       -.43560E-05** at limit **
  13  Prefactor     .10000E-03    27.405       -.14873E-06** at limit **
  14  Prefactor     67.357        73.443        .28446E-06    .83018E-05
  15  Prefactor     .10000E-03    36.432       -.66016E-06** at limit **
  16  Normalizat    1.0009        .59140       -.31106E-05    .22391E-04
  17  Prefactor     .72454        .41264        .11122E-05    .13335E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 1.30978
  norm       = 5.62947
  Prefactor  = 6.0347
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.4243
  norm       = 5.8921
  Prefactor  = 84.1474
  Prefactor  = 28.1756
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 67.357
  Prefactor  = 0.0001
  Normalizat = 1.00094
  Prefactor  = 0.724543
 **********
 **   18 **HESSE 
 **********

 FCN=   1036.251     FROM HESSE     STATUS=OK           221 CALLS     3053 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    2229.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    125.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3098        71.281        .19297E-02   -1.5479    
   4  norm          5.6295        1111.8        .16944E-03   -1.5233    
   5  Prefactor     6.0347        246.66        .16349E-03   -1.5217    
   6  Prefactor     .10000E-03    12.951        .11318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    19.208        .13777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.424        21.886        .86536E-04   -1.4782    
   9  norm          5.8921        3.0205        .35841E-04   -1.5222    
  10  Prefactor     84.147        191.06        .43790E-04   -1.3871    
  11  Prefactor     28.176        47.337        .75466E-04   -1.4646    
  12  Prefactor     .10000E-03    238.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.433        .16457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     67.357        73.755        .48904E-04   -1.4065    
  15  Prefactor     .10000E-03    36.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0009        .65998        .35403E-03   -.92999    
  17  Prefactor     .72454        .46570        .26713E-03   -1.0257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82883e-11
Minuit parameter uncertainties:
  1  0.0104514
  2  2.2859e-05
  3  19.3484
  4  161.366
  5  77.5067
  6  8.76451e-07
  7  2.67947e-06
  8  21.8938
  9  3.02055
  10  192.484
  11  47.3997
  12  0.000169156
  13  2.31788e-05
  14  73.8553
  15  7.91469e-05
  16  0.665478
  17  0.468243
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  5.629e+00  1.614e+02  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:  7.245e-01  4.682e-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.001e+00  6.655e-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.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/909326/likelihoodResults_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.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) = 1036.24084187
delta logL = 0.00970628523942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1036.2398381
delta logL = 0.010710048665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8367       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6884       1.0000          .0000       5.0000    
     3 'Normalizat'    .99608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72141       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=   1036.240     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      281 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0299        462.52        .13484E-03   -.85280E-04
   2  alpha         2.6802        3.1852        .23636E-01   -.21896E-04
   3  Normalizat    .99734        .59965        .35437E-03   -.17640E-03
   4  Prefactor     .72066        .40200        .26761E-03    .27570E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.0299
  alpha      = 2.68021
  Normalizat = 0.997339
  Prefactor  = 0.720663
 **********
 **   18 **HESSE 
 **********

 FCN=   1036.240     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0299        229.63        .26967E-04   -1.5107    
   2  alpha         2.6802        3.7956        .94542E-03    .72147E-01
   3  Normalizat    .99734        .59765        .70873E-04   -.93120    
   4  Prefactor     .72066        .39754        .53522E-04   -1.0272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31251e-09
Minuit parameter uncertainties:
  1  91.4652
  2  4.76405
  3  0.601724
  4  0.399121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/909326': 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) = 1036.23983371
delta logL = 0.0107144441447

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  9.030e+00  9.147e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.680e+00  4.764e+00  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.207e-01  3.991e-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.973e-01  6.017e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/909326/cmap_HighResolution_577584001_577843201_4FGL_J0153.9+0823_daily_bin1305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-04', job_status='DONE', photon_flux_upper_limit='5.61e-07', time_completed='2021-08-14 20:21:25.930172', job_id='909326', GAL2='0.72', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1628997685.93', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.07e-02', ts2='0.02', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1305' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:21:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 909326: <4FGL_J0153.9+0823_daily_bin1305> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin1305> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 20:10:41 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:12:45 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:12:45 2021
Terminated at Sat Aug 14 20:21:30 2021
Results reported at Sat Aug 14 20:21:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin1305 28.4972 8.3931 577584001 577843201 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 :                                   488.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             269.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   521 sec.
    Turnaround time :                            649 sec.

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

