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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin175
RA = 28.4972, Dec = 8.3931
tmin = 284688001, tmax = 284947201
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='904428', job_status='RUN', time_executed='2021-08-14 20:00:16.454932', time_epoch_executed='1628996416.45' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904428

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904428/ft1_4FGL_J0153.9+0823_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904428/ft2_4FGL_J0153.9+0823_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904428/ft1_4FGL_J0153.9+0823_daily_bin175.fits outfile=/scratch/kocevski/904428/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin175.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=284688001.0 tmax=284947201.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.81
user 3.46
sys 2.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904428/ft1_filtered_4FGL_J0153.9+0823_daily_bin175.fits" evtable="EVENTS" scfile=/scratch/kocevski/904428/ft2_4FGL_J0153.9+0823_daily_bin175.fits sctable="SC_DATA" outfile=/scratch/kocevski/904428/ltcube_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.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/904428/ft2_4FGL_J0153.9+0823_daily_bin175.fits
.....................!
real 15.13
user 12.18
sys 2.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904428/ft1_filtered_4FGL_J0153.9+0823_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/904428/ft2_4FGL_J0153.9+0823_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/904428/ltcube_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.fits outfile=/scratch/kocevski/904428/expmap_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.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/904428/ltcube_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.fits
.....................!
real 194.63
user 185.97
sys 7.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/904428/ft1_filtered_4FGL_J0153.9+0823_daily_bin175.fits scfile=/scratch/kocevski/904428/ft2_4FGL_J0153.9+0823_daily_bin175.fits outfile=/scratch/kocevski/904428/cmap_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.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.78
user 0.37
sys 2.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904428/ft1_filtered_4FGL_J0153.9+0823_daily_bin175.fits scfile=/scratch/kocevski/904428/ft2_4FGL_J0153.9+0823_daily_bin175.fits outfile=/scratch/kocevski/904428/cmap_HighResolution_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.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.60
user 0.38
sys 2.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.174       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3111       1.0000         .10000E-03   10000.    
     4 'norm      '    13.299       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .57683E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4094       1.0000         .10000E-03   10000.    
     7 'norm      '    8.8843       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.033       1.0000         .10000E-03   10000.    
     9 'norm      '    5.4824       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.493       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .67041       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2356       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=   7559.776     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1352 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8982        .14482E-07** at limit **
   2  Prefactor     18.175        21.826       -.78562E-08   -.24647E-06
   3  Prefactor     3.3110        3.5501        .24496E-07   -.42476E-05
   4  norm          13.276        18.882        .22855E-05   -.73577E-05
   5  Prefactor     .10000E-03    3.9907        .34441E-06** at limit **
   6  Prefactor     3.4096        3.0197        .88926E-06    .67456E-04
   7  norm          8.8857        5.8468        .37833E-06    .14648E-04
   8  Prefactor     10.034        3.2770       -.42262E-07   -.43717E-04
   9  norm          5.4824        1.2278        .11918E-07   -.58901E-04
  10  Prefactor     .10000E-03    13.461        .19693E-06** at limit **
  11  Prefactor     .10000E-03    2.6306        .11954E-07** at limit **
  12  Prefactor     .10000E-03    31.298       -.25089E-05** at limit **
  13  Prefactor     11.494        9.0959        .62925E-07   -.64802E-05
  14  Prefactor     .10000E-03    34.138        .22757E-05** at limit **
  15  Prefactor     .10000E-03    2.9093       -.33731E-08** at limit **
  16  Normalizat    .67059        .18230       -.58194E-06   -.35563E-04
  17  Prefactor     1.2355        .13077       -.25056E-06   -.12203E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.1749
  Prefactor  = 3.31101
  norm       = 13.2759
  Prefactor  = 0.000100001
  Prefactor  = 3.40958
  norm       = 8.88574
  Prefactor  = 10.0338
  norm       = 5.48241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.670586
  Prefactor  = 1.2355
 **********
 **   18 **HESSE 
 **********

 FCN=   7559.776     FROM HESSE     STATUS=OK           227 CALLS     1579 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.175        21.826        .93949E-04   -1.4855    
   3  Prefactor     3.3110        3.5481        .16443E-03   -1.5344    
   4  norm          13.276        18.899        .10984E-03   -1.4979    
   5  Prefactor     .10000E-03    10.845        .32883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4096        3.0302        .67419E-03   -1.5339    
   7  norm          8.8857        5.8263        .67236E-03   -1.5112    
   8  Prefactor     10.034        3.2749        .85251E-04   -1.5074    
   9  norm          5.4824        1.2283        .43857E-04   -1.5240    
  10  Prefactor     .10000E-03    13.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6370        .13767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.494        9.0977        .11817E-03   -1.5030    
  14  Prefactor     .10000E-03    34.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.9127        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67059        .19806        .36383E-03   -1.0507    
  17  Prefactor     1.2355        .14323        .19662E-03   -.85246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30403e-10
Minuit parameter uncertainties:
  1  1.59268e-06
  2  21.8352
  3  3.54834
  4  18.9074
  5  0.000240914
  6  3.03032
  7  5.82669
  8  3.27495
  9  1.2283
  10  6.34439e-08
  11  3.25912e-07
  12  1.63441e-05
  13  9.09884
  14  3.07258e-05
  15  1.84607e-07
  16  0.198276
  17  0.143276
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.328e+01  1.891e+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.235e+00  1.433e-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:  6.706e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904428/likelihoodResults_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.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) = 7558.87774242
delta logL = 0.897896862693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7558.85089113
delta logL = 0.924748152448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.478       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7306       1.0000          .0000       5.0000    
     3 'Normalizat'    .63517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2384       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=   7558.851     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      247 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.474        14.911        .12378E-03   -.37951E-03
   2  alpha         2.7306        .75490        .99770E-02   -.43905E-04
   3  Normalizat    .63536        .19873        .37276E-03    .14045E-03
   4  Prefactor     1.2384        .14092        .19620E-03   -.11107E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.4736
  alpha      = 2.73062
  Normalizat = 0.635358
  Prefactor  = 1.23837
 **********
 **   18 **HESSE 
 **********

 FCN=   7558.851     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.474        12.903        .49511E-05   -1.5061    
   2  alpha         2.7306        .65504        .39908E-03    .92380E-01
   3  Normalizat    .63536        .19819        .14910E-04   -1.0650    
   4  Prefactor     1.2384        .14063        .39240E-04   -.85159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69831e-10
Minuit parameter uncertainties:
  1  12.9067
  2  0.662846
  3  0.198414
  4  0.140672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904428': 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) = 7558.85089008
delta logL = 0.924749203315

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.047e+01  1.291e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.731e+00  6.628e-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.238e+00  1.407e-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:  6.354e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.73 +/- 0.66
Photon Flux (Free Index): 6.62e-08 +/- 5.42e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/904428/cmap_HighResolution_284688001_284947201_4FGL_J0153.9+0823_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-05', comment='SUCCESS', energy_flux2='1.75e-05', dlogl='9.25e-01', photon_flux2='6.62e-08', job_status='DONE', time_completed='2021-08-14 20:10:44.073128', photon_index_error2='0.66', photon_index2='2.73', ts='0.63', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='7.26e-08', energy_flux_error2='1.32e-05', EG='0.67', time_epoch_completed='1628997044.07', return_code='0', job_id='904428', GAL2='1.24', EG2='0.64', return_code2='0', photon_flux_error2='5.42e-08', ts2='2.49', photon_index='1.82' WHERE bin_id='175' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:10:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 904428: <4FGL_J0153.9+0823_daily_bin175> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin175 28.4972 8.3931 284688001 284947201 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 :                                   660.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             229.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            922 sec.

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

