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


Performing analysis on: 4FGL_J2151.8-3027_daily_bin1060
RA = 327.966, Dec = -30.46
tmin = 514080001, tmax = 514339201
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='14696', job_status='RUN', time_executed='2021-09-27 19:57:59.001341', time_epoch_executed='1632797879.0' WHERE source_name='4FGL J2151.8-3027' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14696

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14696/ft1_4FGL_J2151.8-3027_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14696/ft1_4FGL_J2151.8-3027_daily_bin1060.fits outfile=/scratch/kocevski/14696/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin1060.fits ra=327.966 dec=-30.46 rad=12.0 tmin=514080001.0 tmax=514339201.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.63
user 3.38
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.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/14696/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin1060.fits evtable="EVENTS" outfile="/scratch/kocevski/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/14696/ltcube_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.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/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits
.....................!
real 13.27
user 12.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/14696/ltcube_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.fits outfile=/scratch/kocevski/14696/expmap_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.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/14696/ltcube_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.fits
.....................!
real 191.51
user 186.16
sys 4.80

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/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits scfile=/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits outfile=/scratch/kocevski/14696/cmap_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits scfile=/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits outfile=/scratch/kocevski/14696/cmap_HighResolution_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/14696/Model_4FGL_J2151.8-3027_daily_bin1060.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/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits.....................!
real 50.03
user 48.47
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits', '/scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits', expMap='/scratch/kocevski/14696/expmap_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.fits', expCube='/scratch/kocevski/14696/ltcube_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/14696/Model_4FGL_J2151.8-3027_daily_bin1060.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/14696/ft1_filtered_4FGL_J2151.8-3027_daily_bin1060.fits
Spacecraft file(s): /scratch/kocevski/14696/ft2_4FGL_J2151.8-3027_daily_bin1060.fits
Exposure map: /scratch/kocevski/14696/expmap_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.fits
Exposure cube: /scratch/kocevski/14696/ltcube_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/14696/Model_4FGL_J2151.8-3027_daily_bin1060.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5867.89624311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    15.694       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1993       1.0000         .10000E-03   10000.    
     4 'norm      '    4.6982       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.284       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3832       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4043       1.0000         .10000E-03   10000.    
     9 'norm      '    4.6788       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19912E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8160       1.0000         .10000E-03   10000.    
    12 'norm      '    12.835       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7611       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6796       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0046       1.0000         .10000E-03   10000.    
    17 'norm      '    6.2663       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .85845       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1629       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=   5867.830     FROM MIGRAD    STATUS=CONVERGED    391 CALLS     1758 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.667       -.16044E-05** at limit **
   2  Prefactor     15.691        21.022        .91737E-06   -.60505E-05
   3  Prefactor     2.1981        8.1668        .76245E-05   -.60721E-04
   4  norm          4.6983        5.4077        .10851E-06   -.19030E-04
   5  Prefactor     12.284        8.5170        .21626E-06   -.14949E-04
   6  Prefactor     6.3850        9.8696       -.28742E-06    .15459E-05
   7  Prefactor     .10000E-03    4.6008       -.70517E-06** at limit **
   8  Prefactor     1.3960        18.131        .17191E-04   -.94329E-04
   9  norm          4.6775        7.2790        .47814E-06   -.10795E-04
  10  Prefactor     .10006E-03    30.780       -.13918E-04** at limit **
  11  Prefactor     9.6580        117.72        .47947E-04   -.59178E-04
  12  norm          12.841        7.3110       -.10059E-05   -.24157E-03
  13  norm          3.7614        .73921       -.74677E-07   -.62564E-03
  14  Prefactor     4.6822        10.052       -.32560E-06   -.78946E-04
  15  Prefactor     .10000E-03    14.615        .12928E-05** at limit **
  16  Prefactor     2.0006        10.888        .98755E-05   -.62551E-04
  17  norm          6.2529        53.160        .68874E-05   -.13299E-04
  18  Prefactor     .10000E-03    10.025        .65222E-07** at limit **
  19  Normalizat    .85869        .22850       -.51647E-05   -.48244E-05
  20  Prefactor     1.1629        .15263       -.88168E-06   -.11910E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.6908
  Prefactor  = 2.19814
  norm       = 4.69834
  Prefactor  = 12.2836
  Prefactor  = 6.385
  Prefactor  = 0.0001
  Prefactor  = 1.39597
  norm       = 4.67749
  Prefactor  = 0.000100059
  Prefactor  = 9.65803
  norm       = 12.8412
  norm       = 3.76136
  Prefactor  = 4.68221
  Prefactor  = 0.0001
  Prefactor  = 2.00058
  norm       = 6.2529
  Prefactor  = 0.0001
  Normalizat = 0.858693
  Prefactor  = 1.16285
 **********
 **   18 **HESSE 
 **********

 FCN=   5867.830     FROM HESSE     STATUS=OK           297 CALLS     2055 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.691        21.039        .10110E-03   -1.4916    
   3  Prefactor     2.1981        8.1758        .13873E-02   -1.5411    
   4  norm          4.6983        5.4080        .18565E-03   -1.5274    
   5  Prefactor     12.284        8.5198        .11429E-03   -1.5007    
   6  Prefactor     6.3850        9.8248        .15886E-03   -1.5203    
   7  Prefactor     .10000E-03    4.6074        .16051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.3960        18.241        .18297E-02   -1.5472    
   9  norm          4.6775        7.2648        .18605E-03   -1.5275    
  10  Prefactor     .10006E-03    32.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.6580        118.20        .12790E-03   -1.5086    
  12  norm          12.841        7.3342        .11181E-03   -1.4991    
  13  norm          3.7614        .74188        .27002E-04   -1.5320    
  14  Prefactor     4.6822        10.044        .18603E-03   -1.5275    
  15  Prefactor     .10000E-03    14.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0006        11.077        .14623E-02   -1.5425    
  17  norm          6.2529        53.250        .16036E-03   -1.5208    
  18  Prefactor     .10000E-03    10.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .85869        .25623        .34093E-03   -.97927    
  20  Prefactor     1.1629        .17219        .20968E-03   -.87482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14335e-09
Minuit parameter uncertainties:
  1  6.14911e-05
  2  21.0489
  3  8.1799
  4  5.40856
  5  8.52065
  6  9.82725
  7  5.19001e-05
  8  10.0957
  9  7.26621
  10  0.00275349
  11  67.7424
  12  7.33469
  13  0.741879
  14  10.0474
  15  6.93847e-05
  16  9.41747
  17  36.5386
  18  7.35752e-06
  19  0.256588
  20  0.172276
Done.

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

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.284e+01  7.335e+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.163e+00  1.723e-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:  8.587e-01  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 327.966 -30.460
Photon Index (Fixed Index): 2.75 +/- 0.00
Photon Flux (Fixed Index): 1.43e-07 +/- 8.16e-08
Energy Flux (Fixed Index): 3.09e-05 +/- 1.76e-05

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) = 5867.31317506
delta logL = 0.516383847931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5867.28764672
delta logL = 0.541912186523

Fit tolerance = 1e-08

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

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

 FCN=   5867.288     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.994        6.3304        .30203E-02    .15250E-03
   2  alpha         1.9395        .46172        .36531       -.53880E-04
   3  Normalizat    .91054        .21225        .75204E-01    .16499E-04
   4  Prefactor     1.1406        .14870        .36215E-01    .53331E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 10.9943
  alpha      = 1.93945
  Normalizat = 0.910542
  Prefactor  = 1.14056
 **********
 **   18 **HESSE 
 **********

 FCN=   5867.288     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.994        8.5536        .12081E-03   -1.5045    
   2  alpha         1.9395        .70815        .14127E-01   -.22614    
   3  Normalizat    .91054        .24196        .33282E-03   -.96091    
   4  Prefactor     1.1406        .16760        .21147E-03   -.88180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32377e-11
Minuit parameter uncertainties:
  1  8.5546
  2  0.718517
  3  0.24225
  4  0.167682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14696': 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) = 5867.28764663
delta logL = 0.541912277674

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.099e+01  8.555e+00  1.000e-04  1.000e+04 ( 1.000e-11)
277        alpha:  1.939e+00  7.185e-01  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.141e+00  1.677e-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:  9.105e-01  2.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.95
Ra Dec: 327.966 -30.460
Photon Index (Free Index): 1.94 +/- 0.72
Photon Flux (Free Index): 8.88e-08 +/- 7.88e-08
Energy Flux (Free Index): 3.35e-05 +/- 1.92e-05

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/14696/cmap_HighResolution_514080001_514339201_4FGL_J2151.8-3027_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.43e-07', energy_flux2='3.35e-05', photon_flux_error='8.16e-08', dlogl='5.42e-01', energy_flux='3.09e-05', photon_flux2='8.88e-08', job_status='DONE', time_completed='2021-09-27 20:06:29.958500', photon_index_error2='0.72', photon_index2='1.94', ts='5.63', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.92e-05', EG='0.86', time_epoch_completed='1632798389.96', return_code='0', job_id='14696', GAL2='1.14', EG2='0.91', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='7.88e-08', ts2='6.95', photon_index='2.75' WHERE bin_id='1060' AND source_name='4FGL J2151.8-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:06:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 14696: <4FGL_J2151.8-3027_daily_bin1060> in cluster <slac> Done

Job <4FGL_J2151.8-3027_daily_bin1060> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep 27 19:50:22 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:57:44 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:57:44 2021
Terminated at Mon Sep 27 20:06:30 2021
Results reported at Mon Sep 27 20:06:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.8-3027_daily_bin1060 327.966 -30.46 514080001 514339201 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 :                                   498.20 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   526 sec.
    Turnaround time :                            968 sec.

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

