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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin265
RA = 28.4972, Dec = 8.3931
tmin = 308016001, tmax = 308275201
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='904569', job_status='RUN', time_executed='2021-08-14 20:01:21.513427', time_epoch_executed='1628996481.51' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904569

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904569/ft1_4FGL_J0153.9+0823_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904569/ft2_4FGL_J0153.9+0823_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904569/ft1_4FGL_J0153.9+0823_daily_bin265.fits outfile=/scratch/kocevski/904569/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin265.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=308016001.0 tmax=308275201.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.63
user 3.18
sys 1.36

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904569/ft1_filtered_4FGL_J0153.9+0823_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/904569/ft2_4FGL_J0153.9+0823_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/904569/ltcube_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.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/904569/ft2_4FGL_J0153.9+0823_daily_bin265.fits
.....................!
real 14.47
user 12.91
sys 1.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904569/ft1_filtered_4FGL_J0153.9+0823_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/904569/ft2_4FGL_J0153.9+0823_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/904569/ltcube_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.fits outfile=/scratch/kocevski/904569/expmap_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.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/904569/ltcube_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.fits
.....................!
real 194.00
user 186.42
sys 6.88

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/904569/ft1_filtered_4FGL_J0153.9+0823_daily_bin265.fits scfile=/scratch/kocevski/904569/ft2_4FGL_J0153.9+0823_daily_bin265.fits outfile=/scratch/kocevski/904569/cmap_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.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 1.72
user 0.40
sys 1.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904569/ft1_filtered_4FGL_J0153.9+0823_daily_bin265.fits scfile=/scratch/kocevski/904569/ft2_4FGL_J0153.9+0823_daily_bin265.fits outfile=/scratch/kocevski/904569/cmap_HighResolution_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.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.78
user 0.41
sys 1.32

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9440       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .85157       1.0000         .10000E-03   10000.    
     7 'norm      '    13.330       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .46933       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10830E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.022       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.266       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .95282       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2824       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94366       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=   6869.946     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1399 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.290        .28524E-06** at limit **
   2  Prefactor     .10000E-03    24.736        .71612E-06** at limit **
   3  Prefactor     2.9441        4.7264        .40626E-06    .53062E-04
   4  norm          .10000E-03    11.271       -.60470E-07** at limit **
   5  Prefactor     .10000E-03    2.5036        .29957E-07** at limit **
   6  Prefactor     .85058        2.2815        .77594E-06   -.45652E-04
   7  norm          13.331        5.8154        .49314E-08    .13066E-03
   8  Prefactor     .10000E-03    1.0622        .46266E-07** at limit **
   9  norm          .46957        .75917        .24989E-06    .36143E-03
  10  Prefactor     .10000E-03    40.647       -.69008E-06** at limit **
  11  Prefactor     .10000E-03    4.1189       -.15381E-06** at limit **
  12  Prefactor     .10000E-03    19.371       -.54556E-06** at limit **
  13  Prefactor     12.023        10.483        .12597E-05   -.16582E-03
  14  Prefactor     27.255        19.383       -.28120E-06   -.11591E-03
  15  Prefactor     .95208        7.0471        .14689E-06   -.65979E-04
  16  Normalizat    1.2824        .19122       -.66502E-06   -.61631E-04
  17  Prefactor     .94363        .12937       -.22842E-06   -.87889E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.94405
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.850576
  norm       = 13.3308
  Prefactor  = 0.0001
  norm       = 0.469573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 12.0227
  Prefactor  = 27.2549
  Prefactor  = 0.952085
  Normalizat = 1.28242
  Prefactor  = 0.94363
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.946     FROM HESSE     STATUS=OK           227 CALLS     1626 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9441        4.7101        .21946E-03   -1.5365    
   4  norm          .10000E-03    11.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5102        .12806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .85058        2.2360        .19754E-03   -1.5524    
   7  norm          13.331        5.8044        .10971E-03   -1.4978    
   8  Prefactor     .10000E-03    1.6587        .16522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .46957        .70328        .90507E-03   -1.5571    
  10  Prefactor     .10000E-03    41.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.1502        .16439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.023        10.356        .57767E-03   -1.5014    
  14  Prefactor     27.255        19.309        .76721E-04   -1.4663    
  15  Prefactor     .95208        17.725        .41770E-02   -1.5513    
  16  Normalizat    1.2824        .21940        .28429E-03   -.84093    
  17  Prefactor     .94363        .14942        .21721E-03   -.94633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03798e-08
Minuit parameter uncertainties:
  1  7.61633e-05
  2  0.000343102
  3  4.71071
  4  2.91141e-05
  5  1.94867e-07
  6  2.23619
  7  5.80463
  8  1.17764e-07
  9  0.703297
  10  0.000147878
  11  1.481e-05
  12  0.000226518
  13  10.3573
  14  19.3137
  15  8.21836
  16  0.219563
  17  0.14949
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.911e-05  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:  9.436e-01  1.495e-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.282e+00  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904569/likelihoodResults_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.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) = 6869.9461735
delta logL = -0.00042073142049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6869.94575274
delta logL = 2.83607732854e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8372       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94365       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=   6869.396     FROM MIGRAD    STATUS=CONVERGED    171 CALLS      316 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68349E-01    2.7324        .47587E-02    .28005E-03
   2  alpha         5.0000        4.9589        .50000    ** at limit **
   3  Normalizat    1.1995        .10756        .28429E-02   -.79221E-03
   4  Prefactor     .97433        .60803E-01    .21721E-03   -.88895E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0683489
  alpha      = 5
  Normalizat = 1.19948
  Prefactor  = 0.974329
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.396     FROM HESSE     STATUS=OK            31 CALLS      347 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68349E-01    .74755E-01    .21625E-03   -1.5656    
   2  alpha         5.0000        3.3841        .63844E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1995        .22996        .11372E-03   -.86619    
   4  Prefactor     .97433        .14823        .43442E-04   -.93590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.59439e-10
Minuit parameter uncertainties:
  1  0.074755
  2  1.57832e-05
  3  0.230157
  4  0.148292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904569': 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) = 6869.39552137
delta logL = 0.550231404824

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.835e-02  7.476e-02  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  5.000e+00  1.578e-05  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:  9.743e-01  1.483e-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.199e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.20
Ra Dec: 28.497 8.393
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.73e-08 +/- 8.41e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/904569/cmap_HighResolution_308016001_308275201_4FGL_J0153.9+0823_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-05', comment='SUCCESS', energy_flux2='1.06e-05', dlogl='5.50e-01', photon_flux2='7.73e-08', job_status='DONE', time_completed='2021-08-14 20:11:21.332578', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='4.74e-08', energy_flux_error2='1.16e-05', EG='1.28', time_epoch_completed='1628997081.33', return_code='0', job_id='904569', GAL2='0.97', EG2='1.20', return_code2='0', photon_flux_error2='8.41e-08', ts2='1.20', photon_index='1.82' WHERE bin_id='265' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0016>
Subject: Job 904569: <4FGL_J0153.9+0823_daily_bin265> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin265 28.4972 8.3931 308016001 308275201 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 :                                   616.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            947 sec.

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

