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


Performing analysis on: 4FGL_J2151.8-3027_daily_bin175
RA = 327.966, Dec = -30.46
tmin = 284688001, tmax = 284947201
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='9049', job_status='RUN', time_executed='2021-09-27 19:41:20.475505', time_epoch_executed='1632796880.48' WHERE source_name='4FGL J2151.8-3027' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9049

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9049/ft1_4FGL_J2151.8-3027_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9049/ft1_4FGL_J2151.8-3027_daily_bin175.fits outfile=/scratch/kocevski/9049/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin175.fits ra=327.966 dec=-30.46 rad=12.0 tmin=284688001.0 tmax=284947201.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.69
user 3.41
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits" evtable="EVENTS" scfile=/scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits sctable="SC_DATA" outfile=/scratch/kocevski/9049/ltcube_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.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/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits
.....................!
real 15.92
user 15.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/9049/ltcube_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.fits outfile=/scratch/kocevski/9049/expmap_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.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/9049/ltcube_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.fits
.....................!
real 191.73
user 186.80
sys 3.97

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/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits scfile=/scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits outfile=/scratch/kocevski/9049/cmap_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits scfile=/scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits outfile=/scratch/kocevski/9049/cmap_HighResolution_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9049/Model_4FGL_J2151.8-3027_daily_bin175.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/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits.....................!
real 44.48
user 43.12
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits', '/scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits', expMap='/scratch/kocevski/9049/expmap_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.fits', expCube='/scratch/kocevski/9049/ltcube_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9049/Model_4FGL_J2151.8-3027_daily_bin175.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/9049/ft1_filtered_4FGL_J2151.8-3027_daily_bin175.fits
Spacecraft file(s): /scratch/kocevski/9049/ft2_4FGL_J2151.8-3027_daily_bin175.fits
Exposure map: /scratch/kocevski/9049/expmap_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.fits
Exposure cube: /scratch/kocevski/9049/ltcube_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9049/Model_4FGL_J2151.8-3027_daily_bin175.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) = 4709.30174221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.279       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12188E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3328       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.793       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0097       1.0000         .10000E-03   10000.    
     9 'norm      '    .32638E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.8641       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2715       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2672       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.347       1.0000         .10000E-03   10000.    
    17 'norm      '    18.694       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .73787       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1259       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=   4709.299     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     2044 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.267        32.599       -.66951E-05    .14592E-04
   2  Prefactor     .10000E-03    186.07       -.18743E-04** at limit **
   3  Prefactor     .10000E-03    13.313        .12181E-05** at limit **
   4  norm          .10000E-03    3.9295        .14003E-06** at limit **
   5  Prefactor     .10000E-03    15.726       -.14357E-05** at limit **
   6  Prefactor     7.3328        12.135       -.19038E-05   -.22625E-04
   7  Prefactor     11.794        15.726       -.15185E-05   -.33325E-05
   8  Prefactor     3.0089        15.926       -.15809E-05   -.10834E-03
   9  norm          .10033E-03    7.4538       -.42210E-06** at limit **
  10  Prefactor     .10000E-03    7.2170       -.27715E-06** at limit **
  11  Prefactor     .10000E-03    33.081       -.19537E-06** at limit **
  12  norm          4.8642        5.8256        .31057E-05   -.16533E-03
  13  norm          1.2715        .48427       -.17250E-06    .54722E-03
  14  Prefactor     4.2680        10.484        .20506E-06   -.11086E-03
  15  Prefactor     .10000E-03    9.0356       -.39272E-05** at limit **
  16  Prefactor     16.348        12.050       -.13269E-06   -.35028E-04
  17  norm          18.694        19.027       -.88660E-06    .11547E-05
  18  Prefactor     .10000E-03    8.8744        .26246E-05** at limit **
  19  Normalizat    .73767        .25051       -.14412E-05    .14856E-03
  20  Prefactor     1.1260        .16673        .25368E-05    .62798E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2673
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.33278
  Prefactor  = 11.7944
  Prefactor  = 3.00886
  norm       = 0.000100328
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.86423
  norm       = 1.27151
  Prefactor  = 4.26798
  Prefactor  = 0.0001
  Prefactor  = 16.3481
  norm       = 18.6939
  Prefactor  = 0.0001
  Normalizat = 0.737672
  Prefactor  = 1.12604
 **********
 **   18 **HESSE 
 **********

 FCN=   4709.299     FROM HESSE     STATUS=OK           301 CALLS     2345 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.267        32.813        .88943E-04   -1.4807    
   2  Prefactor     .10000E-03    189.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.763        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.9390        .13285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.226        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.3328        11.932        .14812E-03   -1.5166    
   7  Prefactor     11.794        15.738        .11665E-03   -1.5021    
   8  Prefactor     3.0089        15.591        .23395E-03   -1.5361    
   9  norm          .10033E-03    14.067        .58468E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.2216        .18008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    33.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8642        5.7256        .16128E-03   -1.5267    
  13  norm          1.2715        .48464        .27425E-04   -1.5482    
  14  Prefactor     4.2680        10.478        .19504E-03   -1.5295    
  15  Prefactor     .10000E-03    9.0700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.348        12.184        .99062E-04   -1.4899    
  17  norm          18.694        19.043        .92635E-04   -1.4843    
  18  Prefactor     .10000E-03    8.8746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .73767        .28815        .33380E-03   -1.0242    
  20  Prefactor     1.1260        .19263        .19205E-03   -.88638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4165e-10
Minuit parameter uncertainties:
  1  32.8424
  2  0.000189461
  3  3.28765e-05
  4  3.46055e-06
  5  4.25101e-05
  6  11.9356
  7  15.7437
  8  13.7036
  9  0.00429993
  10  1.60249e-05
  11  8.20998e-05
  12  5.72623
  13  0.48464
  14  10.4827
  15  8.35955e-06
  16  12.1854
  17  19.049
  18  2.34392e-06
  19  0.288749
  20  0.19275
Done.

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

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  4.864e+00  5.726e+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.126e+00  1.928e-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:  7.377e-01  2.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 327.966 -30.460
Photon Index (Fixed Index): 2.75 +/- 0.00
Photon Flux (Fixed Index): 5.42e-08 +/- 6.37e-08
Energy Flux (Fixed Index): 1.17e-05 +/- 1.38e-05

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

Saving results to:
/scratch/kocevski/9049/likelihoodResults_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.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) = 4709.22019571
delta logL = 0.0791526329976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4709.21570909
delta logL = 0.0836392573765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6827       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3778       1.0000          .0000       5.0000    
     3 'Normalizat'    .71120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1383       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=   4709.216     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      240 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6824        5.6076        .13941E-03    .78579E-03
   2  alpha         3.3773        1.5489        .36510E-01    .31377E-04
   3  Normalizat    .71125        .27516        .33943E-03   -.28804E-04
   4  Prefactor     1.1384        .18759        .19113E-03   -.71614E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.68243
  alpha      = 3.37732
  Normalizat = 0.711251
  Prefactor  = 1.13836
 **********
 **   18 **HESSE 
 **********

 FCN=   4709.216     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6824        5.3445        .55765E-05   -1.5275    
   2  alpha         3.3773        1.4864        .14604E-02    .35856    
   3  Normalizat    .71125        .27557        .13577E-04   -1.0345    
   4  Prefactor     1.1384        .18769        .38227E-04   -.88250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33373e-10
Minuit parameter uncertainties:
  1  5.34507
  2  1.61047
  3  0.276106
  4  0.187804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9049': 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) = 4709.21570817
delta logL = 0.0836401714423

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  4.682e+00  5.345e+00  1.000e-04  1.000e+04 ( 1.000e-11)
277        alpha:  3.377e+00  1.610e+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.138e+00  1.878e-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:  7.113e-01  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 327.966 -30.460
Photon Index (Free Index): 3.38 +/- 1.61
Photon Flux (Free Index): 7.69e-08 +/- 8.87e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.36e-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/9049/cmap_HighResolution_284688001_284947201_4FGL_J2151.8-3027_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-05', comment='SUCCESS', photon_flux='5.42e-08', energy_flux2='1.34e-05', photon_flux_error='6.37e-08', dlogl='8.36e-02', energy_flux='1.17e-05', photon_flux2='7.69e-08', job_status='DONE', time_completed='2021-09-27 19:50:00.418631', photon_index_error2='1.61', photon_index2='3.38', ts='1.19', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.93e-07', energy_flux_error2='1.36e-05', EG='0.74', time_epoch_completed='1632797400.42', return_code='0', job_id='9049', GAL2='1.14', EG2='0.71', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='8.87e-08', ts2='1.41', photon_index='2.75' WHERE bin_id='175' AND source_name='4FGL J2151.8-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:50:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 9049: <4FGL_J2151.8-3027_daily_bin175> in cluster <slac> Done

Job <4FGL_J2151.8-3027_daily_bin175> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 19:35:21 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:40:49 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:40:49 2021
Terminated at Mon Sep 27 19:50:01 2021
Results reported at Mon Sep 27 19:50:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.8-3027_daily_bin175 327.966 -30.46 284688001 284947201 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 :                                   514.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            880 sec.

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

