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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin731
RA = 28.4972, Dec = 8.3931
tmin = 428803201, tmax = 429062401
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='906342', job_status='RUN', time_executed='2021-08-14 20:07:50.774485', time_epoch_executed='1628996870.77' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906342

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906342/ft1_4FGL_J0153.9+0823_daily_bin731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906342/ft2_4FGL_J0153.9+0823_daily_bin731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906342/ft1_4FGL_J0153.9+0823_daily_bin731.fits outfile=/scratch/kocevski/906342/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin731.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=428803201.0 tmax=429062401.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 8.43
user 6.24
sys 2.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906342/ft2_4FGL_J0153.9+0823_daily_bin731.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/906342/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin731.fits evtable="EVENTS" outfile="/scratch/kocevski/906342/ft1_filtered_4FGL_J0153.9+0823_daily_bin731.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.40
user 0.34
sys 2.03

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906342/ft1_filtered_4FGL_J0153.9+0823_daily_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/906342/ft2_4FGL_J0153.9+0823_daily_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/906342/ltcube_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.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/906342/ft2_4FGL_J0153.9+0823_daily_bin731.fits
.....................!
real 15.05
user 12.48
sys 2.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906342/ft1_filtered_4FGL_J0153.9+0823_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/906342/ft2_4FGL_J0153.9+0823_daily_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/906342/ltcube_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.fits outfile=/scratch/kocevski/906342/expmap_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.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/906342/ltcube_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.fits
.....................!
real 196.38
user 187.84
sys 7.99

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/906342/ft1_filtered_4FGL_J0153.9+0823_daily_bin731.fits scfile=/scratch/kocevski/906342/ft2_4FGL_J0153.9+0823_daily_bin731.fits outfile=/scratch/kocevski/906342/cmap_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.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.43
user 0.37
sys 1.98

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906342/ft1_filtered_4FGL_J0153.9+0823_daily_bin731.fits scfile=/scratch/kocevski/906342/ft2_4FGL_J0153.9+0823_daily_bin731.fits outfile=/scratch/kocevski/906342/cmap_HighResolution_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.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.48
user 0.38
sys 1.95

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11469E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10554E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.1870       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12279E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1381       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.814       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.762       1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.418       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4765       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2473       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85989       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=   5467.827     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1682 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    10.452        .83977E-07** at limit **
   2  Prefactor     .10000E-03    26.368       -.52370E-06** at limit **
   3  Prefactor     .10000E-03    1.8316        .91280E-07** at limit **
   4  norm          8.1891        19.243       -.22111E-05   -.27053E-04
   5  Prefactor     .10000E-03    5.4755        .37677E-06** at limit **
   6  Prefactor     .10000E-03    1.4306       -.12833E-06** at limit **
   7  norm          1.1380        3.6120        .46393E-07   -.92525E-04
   8  Prefactor     .10000E-03    .79144        .20420E-07** at limit **
   9  norm          .10000E-03    .41773        .23235E-07** at limit **
  10  Prefactor     18.814        21.779        .69941E-06   -.61656E-05
  11  Prefactor     .10000E-03    2.2144       -.76386E-07** at limit **
  12  Prefactor     .10000E-03    20.847       -.10582E-06** at limit **
  13  Prefactor     21.762        11.177        .28533E-07   -.45656E-04
  14  Prefactor     30.411        20.602        .20257E-05    .78173E-05
  15  Prefactor     3.4775        2.9976        .10733E-06   -.43808E-03
  16  Normalizat    1.2474        .20334       -.12448E-05   -.28216E-04
  17  Prefactor     .85971        .13883        .26441E-06   -.12309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.18913
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.13801
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.8135
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.7619
  Prefactor  = 30.4107
  Prefactor  = 3.47755
  Normalizat = 1.24744
  Prefactor  = 0.859714
 **********
 **   18 **HESSE 
 **********

 FCN=   5467.827     FROM HESSE     STATUS=OK           235 CALLS     1917 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    12.077        .80180E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.8460        .97748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.1891        19.227        .14012E-03   -1.5136    
   5  Prefactor     .10000E-03    15.444        .33106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.4525        .86239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1380        3.6014        .24217E-03   -1.5495    
   8  Prefactor     .10000E-03    .79617        .64198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7805        .92106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.814        21.766        .92338E-04   -1.4840    
  11  Prefactor     .10000E-03    2.2163        .10744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.762        11.183        .42931E-03   -1.4775    
  14  Prefactor     30.411        20.665        .72647E-04   -1.4604    
  15  Prefactor     3.4775        8.9100        .10844E-02   -1.5335    
  16  Normalizat    1.2474        .23185        .26690E-03   -.85149    
  17  Prefactor     .85971        .16139        .21337E-03   -.97563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57324e-10
Minuit parameter uncertainties:
  1  0.00062739
  2  5.23534e-06
  3  1.52375e-06
  4  19.2415
  5  0.000125625
  6  2.33737e-06
  7  3.60213
  8  5.18064e-07
  9  1.51072e-05
  10  21.7755
  11  1.2499e-07
  12  5.06621e-06
  13  11.1837
  14  20.6697
  15  8.91341
  16  0.232037
  17  0.161478
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  8.189e+00  1.924e+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:  8.597e-01  1.615e-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.247e+00  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/906342/likelihoodResults_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.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) = 5467.66207363
delta logL = 0.165201799378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5467.66047082
delta logL = 0.166804602705

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5858       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3737       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85831       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=   5467.660     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      269 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5851        15.939        .14561E-03    .26781E-04
   2  alpha         2.3740        1.0180        .14191E-01    .77225E-05
   3  Normalizat    1.2403        .22982        .26752E-03   -.29951E-03
   4  Prefactor     .85848        .15677        .21344E-03   -.29496E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.58509
  alpha      = 2.37395
  Normalizat = 1.24026
  Prefactor  = 0.858476
 **********
 **   18 **HESSE 
 **********

 FCN=   5467.660     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5851        14.735        .58242E-05   -1.5157    
   2  alpha         2.3740        .94497        .56766E-03   -.50441E-01
   3  Normalizat    1.2403        .22980        .53504E-04   -.85368    
   4  Prefactor     .85848        .15673        .42688E-04   -.97608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34846e-10
Minuit parameter uncertainties:
  1  14.7424
  2  0.969119
  3  0.229993
  4  0.15681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906342': 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) = 5467.66047018
delta logL = 0.166805244296

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.585e+00  1.474e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.374e+00  9.691e-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:  8.585e-01  1.568e-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.240e+00  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/906342/cmap_HighResolution_428803201_429062401_4FGL_J0153.9+0823_daily_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.17e-05', job_status='DONE', photon_flux_upper_limit='7.16e-08', time_completed='2021-08-14 20:17:35.876063', job_id='906342', GAL2='0.86', fit_tolerance='1e-08', EG2='1.24', EG='1.25', time_epoch_completed='1628997455.88', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.67e-01', ts2='0.54', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='731' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:17:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 906342: <4FGL_J0153.9+0823_daily_bin731> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin731 28.4972 8.3931 428803201 429062401 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 :                                   612.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            998 sec.

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

