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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin227
RA = 28.4972, Dec = 8.3931
tmin = 298166401, tmax = 298425601
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='904509', job_status='RUN', time_executed='2021-08-14 19:59:38.752835', time_epoch_executed='1628996378.75' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='227'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904509

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904509/ft1_4FGL_J0153.9+0823_daily_bin227.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904509/ft2_4FGL_J0153.9+0823_daily_bin227.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904509/ft1_4FGL_J0153.9+0823_daily_bin227.fits outfile=/scratch/kocevski/904509/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin227.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=298166401.0 tmax=298425601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.99
user 3.43
sys 1.49

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904509/ft1_filtered_4FGL_J0153.9+0823_daily_bin227.fits" evtable="EVENTS" scfile=/scratch/kocevski/904509/ft2_4FGL_J0153.9+0823_daily_bin227.fits sctable="SC_DATA" outfile=/scratch/kocevski/904509/ltcube_298166401_298425601_4FGL_J0153.9+0823_daily_bin227.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/904509/ft2_4FGL_J0153.9+0823_daily_bin227.fits
.....................!
real 14.90
user 13.05
sys 1.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904509/ft1_filtered_4FGL_J0153.9+0823_daily_bin227.fits evtable="EVENTS" scfile=/scratch/kocevski/904509/ft2_4FGL_J0153.9+0823_daily_bin227.fits sctable="SC_DATA" expcube=/scratch/kocevski/904509/ltcube_298166401_298425601_4FGL_J0153.9+0823_daily_bin227.fits outfile=/scratch/kocevski/904509/expmap_298166401_298425601_4FGL_J0153.9+0823_daily_bin227.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/904509/ltcube_298166401_298425601_4FGL_J0153.9+0823_daily_bin227.fits
.....................!
real 194.68
user 186.89
sys 6.78

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/904509/ft1_filtered_4FGL_J0153.9+0823_daily_bin227.fits scfile=/scratch/kocevski/904509/ft2_4FGL_J0153.9+0823_daily_bin227.fits outfile=/scratch/kocevski/904509/cmap_298166401_298425601_4FGL_J0153.9+0823_daily_bin227.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.29
user 0.38
sys 1.41

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

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

This is gtbin version HEAD
real 1.84
user 0.39
sys 1.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.240       1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.924       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.9326       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .73425       1.0000         .10000E-03   10000.    
     7 'norm      '    .75936E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .46903       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6192       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23533E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13108E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .84490       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.821       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .83465       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1454       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=   5787.128     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     1750 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.244        16.318        .74092E-04   -.57847E-04
   2  Prefactor     32.929        34.664        .69835E-04   -.21814E-05
   3  Prefactor     .10000E-03    15.029        .31700E-02** at limit **
   4  norm          4.9333        9.1554        .18109E-03   -.17766E-04
   5  Prefactor     .10000E-03    4.8558        .16228E-02** at limit **
   6  Prefactor     .73443        2.6483        .21900E-03   -.21102E-03
   7  norm          .94666E-01    29.662        .22814E-02    .19838E-03
   8  Prefactor     .10000E-03    1.1535        .78920E-03** at limit **
   9  norm          .46909        .49516        .53930E-04    .91067E-04
  10  Prefactor     1.6175        61.877        .33263E-03   -.15209E-04
  11  Prefactor     .10004E-03    9.9499        .55349E-01** at limit **
  12  Prefactor     .10000E-03    57.083        .17569    ** at limit **
  13  Prefactor     .84162        15.787        .37204E-02    .28902E-03
  14  Prefactor     .10000E-03    10.449        .18142E-02** at limit **
  15  Prefactor     22.814        14.168        .83849E-04    .10508E-03
  16  Normalizat    .83478        .22570        .31200E-03   -.71455E-04
  17  Prefactor     1.1451        .16207        .18914E-03   -.18651E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.2438
  Prefactor  = 32.9291
  Prefactor  = 0.000100001
  norm       = 4.93333
  Prefactor  = 0.0001
  Prefactor  = 0.734431
  norm       = 0.0946663
  Prefactor  = 0.0001
  norm       = 0.469085
  Prefactor  = 1.6175
  Prefactor  = 0.000100037
  Prefactor  = 0.0001
  Prefactor  = 0.841621
  Prefactor  = 0.0001
  Prefactor  = 22.8137
  Normalizat = 0.834776
  Prefactor  = 1.14515
 **********
 **   18 **HESSE 
 **********

 FCN=   5787.128     FROM HESSE     STATUS=OK           229 CALLS     1979 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.244        16.316        .29637E-05   -1.4626    
   2  Prefactor     32.929        34.664        .13967E-04   -1.4560    
   3  Prefactor     .10000E-03    15.169        .63400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.9333        9.1554        .72437E-05   -1.5264    
   5  Prefactor     .10000E-03    4.8585        .32455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .73443        2.6473        .87602E-05   -1.5537    
   7  norm          .94666E-01    30.221        .91254E-04   -1.5646    
   8  Prefactor     .10000E-03    1.1537        .15784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .46909        .49515        .21572E-05   -1.5571    
  10  Prefactor     1.6175        61.846        .13305E-04   -1.5454    
  11  Prefactor     .10004E-03    9.0102        .58322E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    57.434        .17480       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .84162        15.499        .14882E-03   -1.5524    
  14  Prefactor     .10000E-03    10.450        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.814        14.162        .33539E-05   -1.4752    
  16  Normalizat    .83478        .22578        .12480E-04   -.98791    
  17  Prefactor     1.1451        .16179        .37828E-04   -.88036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88988e-10
Minuit parameter uncertainties:
  1  16.319
  2  34.6851
  3  0.000252479
  4  9.15795
  5  1.32827e-05
  6  2.64774
  7  3.38277
  8  6.44617e-07
  9  0.495155
  10  20.0252
  11  0.00115602
  12  0.000209562
  13  7.22504
  14  2.09791e-05
  15  14.1645
  16  0.226033
  17  0.161857
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.933e+00  9.158e+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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.145e+00  1.619e-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:  8.348e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904509/likelihoodResults_298166401_298425601_4FGL_J0153.9+0823_daily_bin227.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) = 5787.1218404
delta logL = 0.00599697054622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5787.12169783
delta logL = 0.00613953811899

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0847       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6937       1.0000          .0000       5.0000    
     3 'Normalizat'    .83538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1450       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=   5787.122     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      256 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0852        9.4143        .17831E-03   -.38791E-03
   2  alpha         1.6937        1.0996        .29209E-01   -.36067E-04
   3  Normalizat    .83543        .22186        .31189E-03    .11373E-03
   4  Prefactor     1.1450        .15627        .18915E-03    .11362E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.0852
  alpha      = 1.69367
  Normalizat = 0.835432
  Prefactor  = 1.14503
 **********
 **   18 **HESSE 
 **********

 FCN=   5787.122     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0852        9.3755        .71324E-05   -1.5257    
   2  alpha         1.6937        1.0962        .11683E-02   -.32840    
   3  Normalizat    .83543        .22199        .12475E-04   -.98768    
   4  Prefactor     1.1450        .15637        .37830E-04   -.88040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82564e-10
Minuit parameter uncertainties:
  1  9.37817
  2  1.13974
  3  0.222228
  4  0.156433
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904509': 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) = 5787.12169775
delta logL = 0.00613962206717

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  5.085e+00  9.378e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.694e+00  1.140e+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:  1.145e+00  1.564e-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:  8.354e-01  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/904509/cmap_HighResolution_298166401_298425601_4FGL_J0153.9+0823_daily_bin227.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-05', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2021-08-14 20:09:22.008309', job_id='904509', GAL2='1.15', fit_tolerance='1e-08', EG2='0.84', EG='0.83', time_epoch_completed='1628996962.01', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='6.14e-03', ts2='0.47', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='227' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:09:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 904509: <4FGL_J0153.9+0823_daily_bin227> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin227> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:29 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:56:22 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:56:22 2021
Terminated at Sat Aug 14 20:09:22 2021
Results reported at Sat Aug 14 20:09:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin227 28.4972 8.3931 298166401 298425601 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            833 sec.

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

