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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin740
RA = 28.4972, Dec = 8.3931
tmin = 431136001, tmax = 431395201
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='906351', job_status='RUN', time_executed='2021-08-14 20:06:02.626672', time_epoch_executed='1628996762.63' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906351

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906351/ft1_4FGL_J0153.9+0823_daily_bin740.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906351/ft2_4FGL_J0153.9+0823_daily_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906351/ft1_4FGL_J0153.9+0823_daily_bin740.fits outfile=/scratch/kocevski/906351/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin740.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=431136001.0 tmax=431395201.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 13.52
user 5.27
sys 8.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906351/ft1_filtered_4FGL_J0153.9+0823_daily_bin740.fits" evtable="EVENTS" scfile=/scratch/kocevski/906351/ft2_4FGL_J0153.9+0823_daily_bin740.fits sctable="SC_DATA" outfile=/scratch/kocevski/906351/ltcube_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.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/906351/ft2_4FGL_J0153.9+0823_daily_bin740.fits
.....................!
real 25.55
user 16.14
sys 9.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906351/ft1_filtered_4FGL_J0153.9+0823_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/906351/ft2_4FGL_J0153.9+0823_daily_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/906351/ltcube_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.fits outfile=/scratch/kocevski/906351/expmap_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.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/906351/ltcube_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.fits
.....................!
real 201.77
user 186.26
sys 15.00

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/906351/ft1_filtered_4FGL_J0153.9+0823_daily_bin740.fits scfile=/scratch/kocevski/906351/ft2_4FGL_J0153.9+0823_daily_bin740.fits outfile=/scratch/kocevski/906351/cmap_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.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 7.57
user 0.37
sys 7.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906351/ft1_filtered_4FGL_J0153.9+0823_daily_bin740.fits scfile=/scratch/kocevski/906351/ft2_4FGL_J0153.9+0823_daily_bin740.fits outfile=/scratch/kocevski/906351/cmap_HighResolution_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.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 8.01
user 0.38
sys 7.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.435       1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.224       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9646       1.0000         .10000E-03   10000.    
     4 'norm      '    27.816       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.695       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.729       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .50610       1.0000         .10000E-03   10000.    
     9 'norm      '    .55052       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    67.609       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .24964       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0449       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=   3022.876     FROM MIGRAD    STATUS=CONVERGED    322 CALLS     1591 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.434        19.544        .19479E-02    .44158E-03
   2  Prefactor     43.224        49.819        .15244E-02    .24727E-03
   3  Prefactor     6.9639        8.7571        .38004E-02    .69259E-03
   4  norm          27.816        27.028        .18990E-02    .76781E-04
   5  Prefactor     11.695        9.7846        .29286E-02    .80836E-03
   6  Prefactor     .10000E-03    2.3459        .90712E-02** at limit **
   7  norm          20.725        9.8277        .21993E-02    .25816E-02
   8  Prefactor     .50886        3.4084        .34439E-01    .55692E-03
   9  norm          .55029        1.1581        .11475E-01    .80418E-03
  10  Prefactor     .10000E-03    25.563        .90712E-02** at limit **
  11  Prefactor     .10000E-03    2.2250        .90712E-02** at limit **
  12  Prefactor     .10000E-03    42.820        .90712E-02** at limit **
  13  Prefactor     .10000E-03    2.0813        .90712E-02** at limit **
  14  Prefactor     67.610        32.236        .12203E-02   -.16680E-02
  15  Prefactor     .10000E-03    11.033        .90712E-02** at limit **
  16  Normalizat    .24980        .26698        .10067        .40244E-04
  17  Prefactor     1.0448        .18401        .40218E-01    .14224E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.4344
  Prefactor  = 43.2243
  Prefactor  = 6.96392
  norm       = 27.816
  Prefactor  = 11.6949
  Prefactor  = 0.0001
  norm       = 20.7249
  Prefactor  = 0.508859
  norm       = 0.550295
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 67.6096
  Prefactor  = 0.0001
  Normalizat = 0.2498
  Prefactor  = 1.04478
 **********
 **   18 **HESSE 
 **********

 FCN=   3022.876     FROM HESSE     STATUS=OK           215 CALLS     1806 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.434        19.443        .77915E-04   -1.4679    
   2  Prefactor     43.224        49.777        .60977E-04   -1.4392    
   3  Prefactor     6.9639        8.6742        .15202E-03   -1.5180    
   4  norm          27.816        27.042        .75961E-04   -1.4653    
   5  Prefactor     11.695        9.7882        .11714E-03   -1.5024    
   6  Prefactor     .10000E-03    2.4056        .16402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.725        9.5399        .87972E-04   -1.4797    
   8  Prefactor     .50886        4.8823        .17720E-02   -1.5565    
   9  norm          .55029        1.1230        .79588E-04   -1.5560    
  10  Prefactor     .10000E-03    25.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.2268        .80093E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    42.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.0827        .77466E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     67.610        32.039        .48814E-04   -1.4062    
  15  Prefactor     .10000E-03    11.212        .17830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .24980        .25248        .44562E-03   -1.2597    
  17  Prefactor     1.0448        .18234        .16244E-03   -.91251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64891e-08
Minuit parameter uncertainties:
  1  19.448
  2  49.8246
  3  8.67573
  4  27.0534
  5  9.78957
  6  3.25827e-06
  7  9.54059
  8  3.15243
  9  1.12307
  10  0.000355599
  11  1.44254e-05
  12  6.25258e-06
  13  1.29903e-05
  14  32.0477
  15  3.15014e-05
  16  0.253641
  17  0.182446
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.782e+01  2.705e+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:  1.045e+00  1.824e-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:  2.498e-01  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.31
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.52e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 3.53e-05 +/- 3.43e-05

TS (Fixed Index): 2.31
Ra Dec: 28.497 8.393
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906351/likelihoodResults_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.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) = 3022.75016138
delta logL = 0.126020393337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3022.74918511
delta logL = 0.126996665759

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.287       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1284       1.0000          .0000       5.0000    
     3 'Normalizat'    .24074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0464       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=   3022.749     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      257 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.321        714.08        .20751E-02   -.72336E-04
   2  alpha         2.1295        3.1629        .24679        .49228E-05
   3  Normalizat    .24108        .12775        .10244        .88120E-03
   4  Prefactor     1.0460        .75696E-01    .40127E-01   -.98501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 23.3211
  alpha      = 2.12946
  Normalizat = 0.24108
  Prefactor  = 1.04599
 **********
 **   18 **HESSE 
 **********

 FCN=   3022.749     FROM HESSE     STATUS=OK            31 CALLS      288 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.321        26.133        .83006E-04   -1.4742    
   2  alpha         2.1295        .63260        .94486E-02   -.14876    
   3  Normalizat    .24108        .24426        .22667E-02   -1.2654    
   4  Prefactor     1.0460        .17914        .16229E-03   -.91212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99221e-11
Minuit parameter uncertainties:
  1  26.1456
  2  0.639716
  3  0.245355
  4  0.179239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906351': 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) = 3022.74917776
delta logL = 0.127004019721

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.332e+01  2.615e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.129e+00  6.397e-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:  1.046e+00  1.792e-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:  2.411e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.55
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.13 +/- 0.64
Photon Flux (Free Index): 4.75e-08 +/- 4.69e-08
Energy Flux (Free Index): 2.56e-05 +/- 2.88e-05

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/906351/cmap_HighResolution_431136001_431395201_4FGL_J0153.9+0823_daily_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-04', comment='SUCCESS', photon_flux='3.52e-08', energy_flux2='2.56e-05', photon_flux_error='3.43e-08', dlogl='1.27e-01', energy_flux='3.53e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2021-08-14 20:15:28.564877', photon_index_error2='0.64', photon_index2='2.13', ts='2.31', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='2.88e-05', EG='0.25', time_epoch_completed='1628997328.56', return_code='0', job_id='906351', GAL2='1.05', EG2='0.24', return_code2='0', energy_flux_error='3.43e-05', photon_flux_error2='4.69e-08', ts2='2.55', photon_index='1.82' WHERE bin_id='740' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:15:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 906351: <4FGL_J0153.9+0823_daily_bin740> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin740> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:59 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:03:29 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:03:29 2021
Terminated at Sat Aug 14 20:15:30 2021
Results reported at Sat Aug 14 20:15:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin740 28.4972 8.3931 431136001 431395201 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 :                                   685.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            871 sec.

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

