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


Performing analysis on: 4FGL_J2151.8-3027_daily_bin248
RA = 327.966, Dec = -30.46
tmin = 303609601, tmax = 303868801
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='9155', job_status='RUN', time_executed='2021-09-27 19:41:56.975098', time_epoch_executed='1632796916.98' WHERE source_name='4FGL J2151.8-3027' and cadence='daily' and bin_id='248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9155

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9155/ft1_4FGL_J2151.8-3027_daily_bin248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9155/ft1_4FGL_J2151.8-3027_daily_bin248.fits outfile=/scratch/kocevski/9155/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin248.fits ra=327.966 dec=-30.46 rad=12.0 tmin=303609601.0 tmax=303868801.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.46
user 3.22
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.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/9155/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin248.fits evtable="EVENTS" outfile="/scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits" evtable="EVENTS" scfile=/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits sctable="SC_DATA" outfile=/scratch/kocevski/9155/ltcube_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.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/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits
.....................!
real 11.58
user 11.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits sctable="SC_DATA" expcube=/scratch/kocevski/9155/ltcube_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.fits outfile=/scratch/kocevski/9155/expmap_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.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/9155/ltcube_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.fits
.....................!
real 190.56
user 185.59
sys 4.64

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2151.8-3027 @ 327.966 -30.46

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits scfile=/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits outfile=/scratch/kocevski/9155/cmap_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.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=327.966 yref=-30.46 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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits scfile=/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits outfile=/scratch/kocevski/9155/cmap_HighResolution_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.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=327.966 yref=-30.46 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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9155/Model_4FGL_J2151.8-3027_daily_bin248.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/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits....................!
real 50.17
user 48.26
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits', '/scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits', expMap='/scratch/kocevski/9155/expmap_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.fits', expCube='/scratch/kocevski/9155/ltcube_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9155/Model_4FGL_J2151.8-3027_daily_bin248.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2151.8-3027'

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  7.814e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
277        alpha:  2.749e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
278         beta:  1.851e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  3.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/9155/ft1_filtered_4FGL_J2151.8-3027_daily_bin248.fits
Spacecraft file(s): /scratch/kocevski/9155/ft2_4FGL_J2151.8-3027_daily_bin248.fits
Exposure map: /scratch/kocevski/9155/expmap_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.fits
Exposure cube: /scratch/kocevski/9155/ltcube_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9155/Model_4FGL_J2151.8-3027_daily_bin248.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) = 5621.87183188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5263       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.8758       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.748       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.4896       1.0000         .10000E-03   10000.    
    13 'norm      '    .90520       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.089       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9824       1.0000         .10000E-03   10000.    
    17 'norm      '    34.152       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9391       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .62509       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2648       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5621.870     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     2005 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.911       -.95344E-07** at limit **
   2  Prefactor     5.5265        45.256        .58478E-05   -.53563E-04
   3  Prefactor     .10000E-03    2.8478        .70272E-08** at limit **
   4  norm          6.8770        7.7178        .10420E-05   -.20217E-03
   5  Prefactor     .10000E-03    2.4041        .66729E-08** at limit **
   6  Prefactor     .10000E-03    13.904        .10191E-06** at limit **
   7  Prefactor     37.746        20.141       -.65101E-07   -.41281E-04
   8  Prefactor     .10000E-03    5.0094        .17299E-07** at limit **
   9  norm          .10000E-03    4.2356       -.13484E-09** at limit **
  10  Prefactor     .10000E-03    14.162        .78228E-07** at limit **
  11  Prefactor     .10000E-03    56.657        .58318E-06** at limit **
  12  norm          4.4893        6.0494        .33396E-06   -.71594E-04
  13  norm          .90522        .43860       -.96136E-08   -.34377E-04
  14  Prefactor     15.090        10.393        .59857E-07    .28952E-06
  15  Prefactor     .10000E-03    13.357       -.65565E-07** at limit **
  16  Prefactor     5.9779        9.8616        .24249E-06   -.68198E-05
  17  norm          34.167        24.348        .14397E-05    .27780E-03
  18  Prefactor     1.9082        47.162       -.18149E-05   -.69865E-04
  19  Normalizat    .62526        .22397       -.14739E-06   -.18101E-04
  20  Prefactor     1.2646        .15560       -.42220E-06    .10572E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.52654
  Prefactor  = 0.0001
  norm       = 6.87697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.7464
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.48927
  norm       = 0.905223
  Prefactor  = 15.0896
  Prefactor  = 0.0001
  Prefactor  = 5.97794
  norm       = 34.1674
  Prefactor  = 1.90819
  Normalizat = 0.625265
  Prefactor  = 1.26465
 **********
 **   18 **HESSE 
 **********

 FCN=   5621.870     FROM HESSE     STATUS=OK           291 CALLS     2296 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.5265        47.123        .85455E-03   -1.5238    
   3  Prefactor     .10000E-03    2.8591        .12357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.8770        7.8097        .76503E-03   -1.5183    
   5  Prefactor     .10000E-03    2.4101        .11354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.326        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.746        20.141        .65233E-04   -1.4478    
   8  Prefactor     .10000E-03    5.0617        .16387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.2576        .15067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    56.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.4893        6.0682        .18648E-03   -1.5284    
  13  norm          .90522        .43774        .31281E-04   -1.5518    
  14  Prefactor     15.090        10.394        .10311E-03   -1.4931    
  15  Prefactor     .10000E-03    13.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9779        9.8884        .16417E-03   -1.5219    
  17  norm          34.167        25.560        .34285E-03   -1.4538    
  18  Prefactor     1.9082        50.313        .29816E-03   -1.5432    
  19  Normalizat    .62526        .24900        .35758E-03   -1.0692    
  20  Prefactor     1.2646        .17415        .18858E-03   -.84364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46966e-10
Minuit parameter uncertainties:
  1  1.39499e-05
  2  32.3097
  3  7.85117e-07
  4  7.81088
  5  6.94051e-07
  6  1.69071e-05
  7  20.145
  8  2.04562e-06
  9  2.00048e-07
  10  1.20347e-05
  11  0.000172247
  12  6.06903
  13  0.437743
  14  10.3952
  15  1.56172e-05
  16  9.89106
  17  25.5678
  18  19.6145
  19  0.249449
  20  0.174235
Done.

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

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  4.489e+00  6.069e+00  1.000e-04  1.000e+04 ( 1.000e-11)
277        alpha:  2.749e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
278         beta:  1.851e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  3.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.265e+00  1.742e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  6.253e-01  2.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
Ra Dec: 327.966 -30.460
Photon Flux Upper Limit: 1.79e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/9155/likelihoodResults_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.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) = 5621.81239973
delta logL = 0.0571406371901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5621.80883941
delta logL = 0.0607009642672

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1244       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1806       1.0000          .0000       5.0000    
     3 'Normalizat'    .61471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+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=   5621.809     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      241 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1247        5.6495        .16492E-03   -.88505E-03
   2  alpha         3.1812        1.2897        .33349E-01   -.33904E-04
   3  Normalizat    .61451        .23583        .36047E-03    .45699E-04
   4  Prefactor     1.2699        .16857        .18824E-03    .66191E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.12468
  alpha      = 3.18121
  Normalizat = 0.614512
  Prefactor  = 1.26991
 **********
 **   18 **HESSE 
 **********

 FCN=   5621.809     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1247        5.4098        .65968E-05   -1.5302    
   2  alpha         3.1812        1.2400        .13340E-02    .27598    
   3  Normalizat    .61451        .23615        .14419E-04   -1.0737    
   4  Prefactor     1.2699        .16869        .75298E-05   -.84206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55988e-10
Minuit parameter uncertainties:
  1  5.41044
  2  1.30271
  3  0.236535
  4  0.168766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9155': 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) = 5621.80883891
delta logL = 0.0607014593324

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  4.125e+00  5.410e+00  1.000e-04  1.000e+04 ( 1.000e-11)
277        alpha:  3.181e+00  1.303e+00  0.000e+00  5.000e+00 ( 1.000e+00)
278         beta:  1.851e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  3.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.270e+00  1.688e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  6.145e-01  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.75
Ra Dec: 327.966 -30.460

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/9155/cmap_HighResolution_303609601_303868801_4FGL_J2151.8-3027_daily_bin248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-05', job_status='DONE', photon_flux_upper_limit='1.79e-07', time_completed='2021-09-27 19:50:59.061568', job_id='9155', GAL2='1.27', fit_tolerance='1e-08', EG2='0.61', EG='0.63', time_epoch_completed='1632797459.06', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='6.07e-02', ts2='0.91', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='248' AND source_name='4FGL J2151.8-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:50:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 9155: <4FGL_J2151.8-3027_daily_bin248> in cluster <slac> Done

Job <4FGL_J2151.8-3027_daily_bin248> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 19:35:29 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:41:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 19:41:43 2021
Terminated at Mon Sep 27 19:50:59 2021
Results reported at Mon Sep 27 19:50:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.8-3027_daily_bin248 327.966 -30.46 303609601 303868801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2151.8-3027 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   537.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             383.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            930 sec.

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

