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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin736
RA = 28.4972, Dec = 8.3931
tmin = 430099201, tmax = 430358401
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='906347', job_status='RUN', time_executed='2021-08-14 20:03:49.924048', time_epoch_executed='1628996629.92' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906347

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906347/ft1_4FGL_J0153.9+0823_daily_bin736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906347/ft2_4FGL_J0153.9+0823_daily_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906347/ft1_4FGL_J0153.9+0823_daily_bin736.fits outfile=/scratch/kocevski/906347/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin736.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=430099201.0 tmax=430358401.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 11.90
user 10.78
sys 1.04

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906347/ft1_filtered_4FGL_J0153.9+0823_daily_bin736.fits" evtable="EVENTS" scfile=/scratch/kocevski/906347/ft2_4FGL_J0153.9+0823_daily_bin736.fits sctable="SC_DATA" outfile=/scratch/kocevski/906347/ltcube_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.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/906347/ft2_4FGL_J0153.9+0823_daily_bin736.fits
.....................!
real 12.93
user 11.56
sys 1.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906347/ft1_filtered_4FGL_J0153.9+0823_daily_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/906347/ft2_4FGL_J0153.9+0823_daily_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/906347/ltcube_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.fits outfile=/scratch/kocevski/906347/expmap_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.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/906347/ltcube_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.fits
.....................!
real 196.15
user 187.64
sys 7.52

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/906347/ft1_filtered_4FGL_J0153.9+0823_daily_bin736.fits scfile=/scratch/kocevski/906347/ft2_4FGL_J0153.9+0823_daily_bin736.fits outfile=/scratch/kocevski/906347/cmap_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.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.27
user 0.37
sys 0.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906347/ft1_filtered_4FGL_J0153.9+0823_daily_bin736.fits scfile=/scratch/kocevski/906347/ft2_4FGL_J0153.9+0823_daily_bin736.fits outfile=/scratch/kocevski/906347/cmap_HighResolution_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.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.31
user 0.39
sys 0.87

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.325       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .62338E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9622       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0730       1.0000         .10000E-03   10000.    
     7 'norm      '    8.7331       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2103       1.0000         .10000E-03   10000.    
     9 'norm      '    .27122       1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.783       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2520       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.5206       1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.841       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.5341       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .99877       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99048       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=   8007.044     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1443 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.324        13.407       -.75266E-07    .61590E-05
   2  Prefactor     .10000E-03    55.917       -.13611E-05** at limit **
   3  Prefactor     .10001E-03    3.6518       -.16556E-06** at limit **
   4  norm          .10000E-03    4.5522        .63741E-08** at limit **
   5  Prefactor     4.9617        5.4840        .37707E-06   -.36837E-03
   6  Prefactor     3.0731        2.3714       -.16374E-06   -.52783E-03
   7  norm          8.7340        4.8909        .42500E-06   -.37603E-03
   8  Prefactor     4.2098        2.7050        .60829E-07   -.36361E-03
   9  norm          .27076        .65442       -.36418E-06   -.24103E-02
  10  Prefactor     33.778        25.735       -.28644E-05    .19477E-03
  11  Prefactor     2.2535        4.3558       -.22165E-05   -.65130E-03
  12  Prefactor     .10000E-03    32.800        .23113E-05** at limit **
  13  Prefactor     5.5194        7.9902        .41629E-05   -.60718E-03
  14  Prefactor     39.842        21.650        .86753E-06   -.23626E-04
  15  Prefactor     7.5357        9.6073       -.87828E-06   -.65340E-04
  16  Normalizat    .99895        .18250        .38724E-06    .16645E-04
  17  Prefactor     .99036        .12033       -.27004E-06    .82570E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3243
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 4.96168
  Prefactor  = 3.07314
  norm       = 8.73401
  Prefactor  = 4.20981
  norm       = 0.270761
  Prefactor  = 33.7776
  Prefactor  = 2.25348
  Prefactor  = 0.0001
  Prefactor  = 5.51943
  Prefactor  = 39.8421
  Prefactor  = 7.53565
  Normalizat = 0.998952
  Prefactor  = 0.990362
 **********
 **   18 **HESSE 
 **********

 FCN=   8007.044     FROM HESSE     STATUS=OK           233 CALLS     1676 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.324        13.409        .84774E-04   -1.4763    
   2  Prefactor     .10000E-03    56.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    26.109        .32858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.5571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.9617        5.4538        .18054E-03   -1.5262    
   6  Prefactor     3.0731        2.3735        .11514E-03   -1.5357    
   7  norm          8.7340        4.8683        .13564E-03   -1.5117    
   8  Prefactor     4.2098        2.6923        .10778E-03   -1.5298    
   9  norm          .27076        .67909        .11226E-03   -1.5604    
  10  Prefactor     33.778        25.332        .68943E-04   -1.4545    
  11  Prefactor     2.2535        4.5162        .24967E-03   -1.5408    
  12  Prefactor     .10000E-03    32.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.5194        7.6168        .17100E-03   -1.5238    
  14  Prefactor     39.842        21.582        .63503E-04   -1.4445    
  15  Prefactor     7.5357        9.6629        .14611E-03   -1.5159    
  16  Normalizat    .99895        .20653        .31004E-03   -.93066    
  17  Prefactor     .99036        .13876        .20596E-03   -.93051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1884e-09
Minuit parameter uncertainties:
  1  13.4109
  2  0.000134383
  3  0.000787652
  4  1.09605e-06
  5  5.45439
  6  2.37358
  7  4.86855
  8  2.69234
  9  0.679111
  10  25.3404
  11  4.51688
  12  0.000169152
  13  7.61812
  14  21.586
  15  9.66486
  16  0.2067
  17  0.138805
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.096e-06  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.904e-01  1.388e-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:  9.990e-01  2.067e-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: 2.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906347/likelihoodResults_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.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): 102
logL (Free Index) = 8007.04539191
delta logL = -0.00104272441968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8007.04434917
delta logL = 1.3506905816e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8278       1.0000          .0000       5.0000    
     3 'Normalizat'    .99895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99036       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8007.044     FROM MIGRAD    STATUS=FAILED       108 CALLS      259 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    814.79        .18142E-01** at limit **
   2  alpha         2.5092        3.0558        .50000       -.23024E-04
   3  Normalizat    .99895        .77830E-01    .31004E-03    .79572E-05
   4  Prefactor     .99036        .49344E-01    .20596E-03   -.45814E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8007.044     FROM SIMPLEX   STATUS=UNCHANGED    247 CALLS      506 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    814.79        .43633E-03** at limit **
   2  alpha         2.5092        3.0558        .26893E-09   -.23024E-04
   3  Normalizat    .99895        .77830E-01    .95607E-11    .79572E-05
   4  Prefactor     .99036        .49344E-01    .11902E-11   -.45814E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8007.044     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      540 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.2091        .20913E-02** at limit **
   2  alpha         2.5092        3.6857        .50000       -.23029E-04
   3  Normalizat    .99895        .20127        .12401E-04   -.13568E-04
   4  Prefactor     .99036        .13412        .82386E-05   -.35326E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 2.50924
  Normalizat = 0.998952
  Prefactor  = 0.990361
 **********
 **   18 **HESSE 
 **********

 FCN=   8007.044     FROM HESSE     STATUS=OK            29 CALLS      569 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.0724        .41826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5092        3.5589        .50000        .36961E-02
   3  Normalizat    .99895        .20133        .24803E-05   -.93066    
   4  Prefactor     .99036        .13416        .16477E-05   -.93052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66302e-10
Minuit parameter uncertainties:
  1  0.000283703
  2  2.51816
  3  0.20148
  4  0.134203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906347': 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) = 8007.04434655
delta logL = 2.63714900939e-06

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.837e-04  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.509e+00  2.518e+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:  9.904e-01  1.342e-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:  9.990e-01  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.497 8.393

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/906347/cmap_HighResolution_430099201_430358401_4FGL_J0153.9+0823_daily_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='2.98e-08', time_completed='2021-08-14 20:15:37.664513', job_id='906347', GAL2='0.99', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1628997337.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='736' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:15:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 906347: <4FGL_J0153.9+0823_daily_bin736> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin736 28.4972 8.3931 430099201 430358401 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 :                                   713.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            879 sec.

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

