/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 90 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 = 7485
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin178
RA = 28.4972, Dec = 8.3931
tmin = 285465601, tmax = 285724801
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='904432', job_status='RUN', time_executed='2021-08-14 19:57:38.051845', time_epoch_executed='1628996258.05' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='178'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904432

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904432/ft1_4FGL_J0153.9+0823_daily_bin178.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904432/ft2_4FGL_J0153.9+0823_daily_bin178.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904432/ft1_4FGL_J0153.9+0823_daily_bin178.fits outfile=/scratch/kocevski/904432/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin178.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=285465601.0 tmax=285724801.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 3.81
user 3.26
sys 0.52

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904432/ft1_filtered_4FGL_J0153.9+0823_daily_bin178.fits" evtable="EVENTS" scfile=/scratch/kocevski/904432/ft2_4FGL_J0153.9+0823_daily_bin178.fits sctable="SC_DATA" outfile=/scratch/kocevski/904432/ltcube_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.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/904432/ft2_4FGL_J0153.9+0823_daily_bin178.fits
.....................!
real 13.63
user 12.94
sys 0.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904432/ft1_filtered_4FGL_J0153.9+0823_daily_bin178.fits evtable="EVENTS" scfile=/scratch/kocevski/904432/ft2_4FGL_J0153.9+0823_daily_bin178.fits sctable="SC_DATA" expcube=/scratch/kocevski/904432/ltcube_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.fits outfile=/scratch/kocevski/904432/expmap_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.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/904432/ltcube_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.fits
.....................!
real 191.25
user 185.99
sys 4.75

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/904432/ft1_filtered_4FGL_J0153.9+0823_daily_bin178.fits scfile=/scratch/kocevski/904432/ft2_4FGL_J0153.9+0823_daily_bin178.fits outfile=/scratch/kocevski/904432/cmap_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.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 0.83
user 0.39
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904432/ft1_filtered_4FGL_J0153.9+0823_daily_bin178.fits scfile=/scratch/kocevski/904432/ft2_4FGL_J0153.9+0823_daily_bin178.fits outfile=/scratch/kocevski/904432/cmap_HighResolution_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.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 0.85
user 0.39
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.820       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.052       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5154       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0322       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .96240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9820       1.0000         .10000E-03   10000.    
     7 'norm      '    8.3002       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1240       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4577       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .44460E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11510E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22445E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9441       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12453E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .53902       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3277       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=   7874.325     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1619 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.831        7.8493       -.19998E-05    .41608E-04
   2  Prefactor     33.465        50.261        .50519E-05    .62689E-06
   3  Prefactor     2.5146        3.5353       -.16643E-06   -.63194E-03
   4  norm          8.0258        18.047        .34805E-04    .30984E-03
   5  Prefactor     .96558        4.0520       -.64560E-05    .10873E-02
   6  Prefactor     1.9838        2.9534        .81032E-07   -.36046E-03
   7  norm          8.2940        6.1481        .25686E-05    .97616E-03
   8  Prefactor     4.1241        2.8236       -.30736E-06    .16866E-03
   9  norm          1.4578        .74309        .70995E-07   -.25205E-03
  10  Prefactor     .10000E-03    18.450       -.16573E-05** at limit **
  11  Prefactor     .10000E-03    10.007        .60312E-05** at limit **
  12  Prefactor     .10000E-03    46.534       -.16544E-05** at limit **
  13  Prefactor     5.9412        8.7216        .41632E-05   -.30842E-03
  14  Prefactor     .10000E-03    4.5057        .55679E-07** at limit **
  15  Prefactor     .10000E-03    9.8001       -.69271E-05** at limit **
  16  Normalizat    .53882        .17611       -.74468E-06    .42705E-03
  17  Prefactor     1.3277        .13002       -.21237E-05    .13146E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.831
  Prefactor  = 33.465
  Prefactor  = 2.5146
  norm       = 8.02582
  Prefactor  = 0.965576
  Prefactor  = 1.98379
  norm       = 8.29396
  Prefactor  = 4.12413
  norm       = 1.45776
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.94125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.538819
  Prefactor  = 1.3277
 **********
 **   18 **HESSE 
 **********

 FCN=   7874.325     FROM HESSE     STATUS=OK           229 CALLS     1848 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.831        7.8494        .12180E-03   -1.5050    
   2  Prefactor     33.465        50.201        .69699E-04   -1.4550    
   3  Prefactor     2.5146        3.5208        .19094E-03   -1.5391    
   4  norm          8.0258        18.086        .14147E-03   -1.5141    
   5  Prefactor     .96558        14.227        .31782E-02   -1.5511    
   6  Prefactor     1.9838        2.9315        .17383E-03   -1.5426    
   7  norm          8.2940        6.1231        .13915E-03   -1.5132    
   8  Prefactor     4.1241        2.8135        .11466E-03   -1.5302    
   9  norm          1.4578        .73369        .52353E-04   -1.5466    
  10  Prefactor     .10000E-03    18.564        .21214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.151        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    46.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.9412        8.6434        .16470E-03   -1.5220    
  14  Prefactor     .10000E-03    4.5087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.044        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .53882        .18631        .37927E-03   -1.1065    
  17  Prefactor     1.3277        .14039        .18482E-03   -.82487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94508e-09
Minuit parameter uncertainties:
  1  7.85017
  2  50.2642
  3  3.52107
  4  18.0983
  5  7.41439
  6  2.93166
  7  6.12356
  8  2.81359
  9  0.733691
  10  6.5484e-05
  11  0.000223751
  12  2.13742e-05
  13  8.64522
  14  5.37113e-06
  15  8.00051e-05
  16  0.186531
  17  0.140433
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  8.026e+00  1.810e+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.328e+00  1.404e-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:  5.388e-01  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904432/likelihoodResults_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.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) = 7873.13029013
delta logL = 1.1942590281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7873.08856279
delta logL = 1.23598636702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8431       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4013       1.0000          .0000       5.0000    
     3 'Normalizat'    .47382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3468       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.

 FCN=   7873.089     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      252 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8431        32.825        .60287E-02    .12587E-02
   2  alpha         3.4014        3.8199        .26544        .93226E-04
   3  Normalizat    .47373        .53735E-01    .90929E-01    .52338E-04
   4  Prefactor     1.3469        .37796E-01    .31839E-01   -.36948E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84307
  alpha      = 3.40138
  Normalizat = 0.473732
  Prefactor  = 1.34693
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.089     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8431        64.963        .98834E-04   -1.5371    
   2  alpha         3.4014        4.2006        .97917E-02    .36886    
   3  Normalizat    .47373        .20806        .40293E-03   -1.1365    
   4  Prefactor     1.3469        .14948        .18351E-03   -.81922    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.01526e-07
Minuit parameter uncertainties:
  1  27.2133
  2  4.54259
  3  0.208398
  4  0.149523
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904432': 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): 102
logL (Free Index) = 7873.08856258
delta logL = 1.2359865813

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.843e+00  2.721e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  3.401e+00  4.543e+00  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.347e+00  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:  4.737e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.81
Ra Dec: 28.497 8.393
Photon Index (Free Index): 3.40 +/- 4.54
Photon Flux (Free Index): 7.56e-08 +/- 6.79e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.74e-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/904432/cmap_HighResolution_285465601_285724801_4FGL_J0153.9+0823_daily_bin178.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-05', comment='SUCCESS', energy_flux2='1.40e-05', dlogl='1.24e+00', photon_flux2='7.56e-08', job_status='DONE', time_completed='2021-08-14 20:08:11.741627', photon_index_error2='4.54', photon_index2='3.40', ts='0.24', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', photon_flux_upper_limit='6.50e-08', energy_flux_error2='1.74e-05', EG='0.54', time_epoch_completed='1628996891.74', return_code='0', job_id='904432', GAL2='1.35', EG2='0.47', return_code2='102', photon_flux_error2='6.79e-08', ts2='2.81', photon_index='1.82' WHERE bin_id='178' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:08:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 904432: <4FGL_J0153.9+0823_daily_bin178> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin178 28.4972 8.3931 285465601 285724801 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 :                                   636.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            768 sec.

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

