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


Performing analysis on: 4FGL_J2151.7-2749_daily_bin1591
RA = 327.925, Dec = -27.8234
tmin = 651715201, tmax = 651974401
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='7679', job_status='RUN', time_executed='2021-09-27 19:37:05.458151', time_epoch_executed='1632796625.46' WHERE source_name='4FGL J2151.7-2749' and cadence='daily' and bin_id='1591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/7679

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/7679/ft1_4FGL_J2151.7-2749_daily_bin1591.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/7679/ft1_4FGL_J2151.7-2749_daily_bin1591.fits outfile=/scratch/kocevski/7679/ft1_filteredMKT_4FGL_J2151.7-2749_daily_bin1591.fits ra=327.925 dec=-27.8234 rad=12.0 tmin=651715201.0 tmax=651974401.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.57
user 3.36
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.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/7679/ft1_filteredMKT_4FGL_J2151.7-2749_daily_bin1591.fits evtable="EVENTS" outfile="/scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.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.49
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits" evtable="EVENTS" scfile=/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits sctable="SC_DATA" outfile=/scratch/kocevski/7679/ltcube_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.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/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits
.....................!
real 14.71
user 14.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits evtable="EVENTS" scfile=/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits sctable="SC_DATA" expcube=/scratch/kocevski/7679/ltcube_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.fits outfile=/scratch/kocevski/7679/expmap_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.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/7679/ltcube_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.fits
.....................!
real 193.11
user 188.27
sys 4.41

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

Setting source of interest to:
4FGL J2151.7-2749 @ 327.925 -27.8234

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits scfile=/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits outfile=/scratch/kocevski/7679/cmap_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.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.925 yref=-27.8234 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits scfile=/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits outfile=/scratch/kocevski/7679/cmap_HighResolution_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.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.925 yref=-27.8234 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits evtable="EVENTS" scfile=/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/7679/Model_4FGL_J2151.7-2749_daily_bin1591.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/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits.....................!
real 47.24
user 45.97
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits', '/scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits', expMap='/scratch/kocevski/7679/expmap_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.fits', expCube='/scratch/kocevski/7679/ltcube_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/7679/Model_4FGL_J2151.7-2749_daily_bin1591.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2151.7-2749'

4FGL J2151.7-2749
   Spectrum: PowerLaw
266    Prefactor:  7.757e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
267        Index:  2.714e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  6.367e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/7679/ft1_filtered_4FGL_J2151.7-2749_daily_bin1591.fits
Spacecraft file(s): /scratch/kocevski/7679/ft2_4FGL_J2151.7-2749_daily_bin1591.fits
Exposure map: /scratch/kocevski/7679/expmap_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.fits
Exposure cube: /scratch/kocevski/7679/ltcube_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/7679/Model_4FGL_J2151.7-2749_daily_bin1591.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) = 5122.33788736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6865       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .42657E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.8557       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10552E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19769E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .77593       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10442E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    44.632       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0164       1.0000         .10000E-03   10000.    
    16 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.335       1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .87990       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1494       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5122.298     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     1906 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.234       -.96983E-05** at limit **
   2  Prefactor     2.6862        8.5717       -.18282E-05   -.28045E-03
   3  norm          .10000E-03    3.0078        .13336E-07** at limit **
   4  Prefactor     .10000E-03    7.0484       -.48701E-07** at limit **
   5  Prefactor     .10000E-03    6.3747        .25878E-07** at limit **
   6  Prefactor     .10000E-03    5.3165       -.23905E-07** at limit **
   7  Prefactor     .10000E-03    4.5859       -.98669E-08** at limit **
   8  norm          4.8558        5.5837       -.53335E-06   -.30436E-04
   9  Prefactor     .10000E-03    31.420        .72478E-05** at limit **
  10  Prefactor     .10000E-03    257.06       -.66347E-05** at limit **
  11  norm          .10000E-03    1.2738        .71650E-08** at limit **
  12  norm          .77582        .34851       -.52542E-08    .70397E-04
  13  Prefactor     .10000E-03    17.633       -.36945E-06** at limit **
  14  Prefactor     44.616        27.817        .56812E-05   -.20905E-05
  15  Prefactor     7.0161        8.2808       -.21887E-05   -.98516E-04
  16  norm          .10000E-03    26.237       -.13366E-05** at limit **
  17  Prefactor     11.335        12.722       -.23957E-07   -.23291E-04
  18  norm          .10000E-03    1.1664       -.29681E-08** at limit **
  19  Prefactor     .10000E-03    43.852        .42029E-05** at limit **
  20  Normalizat    .87990        .22535       -.65656E-06    .32186E-04
  21  Prefactor     1.1494        .15573        .19042E-06    .39986E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.68623
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.85581
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.775817
  Prefactor  = 0.0001
  Prefactor  = 44.6157
  Prefactor  = 7.01614
  norm       = 0.0001
  Prefactor  = 11.3347
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.879904
  Prefactor  = 1.14936
 **********
 **   18 **HESSE 
 **********

 FCN=   5122.298     FROM HESSE     STATUS=OK           311 CALLS     2217 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6862        8.7076        .24858E-03   -1.5380    
   3  norm          .10000E-03    3.0090        .12123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    37.847        .36564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4560        .17644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3233        .16117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5943        .14969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.8558        5.5837        .17638E-03   -1.5267    
   9  Prefactor     .10000E-03    31.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    261.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2766        .78866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .77582        .35136        .27466E-04   -1.5532    
  13  Prefactor     .10000E-03    17.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     44.616        27.627        .60012E-04   -1.4371    
  15  Prefactor     7.0161        8.3629        .15145E-03   -1.5178    
  16  norm          .10000E-03    26.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.335        12.731        .11899E-03   -1.5034    
  18  norm          .10000E-03    1.1695        .75481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    43.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .87990        .26034        .31375E-03   -.97170    
  21  Prefactor     1.1494        .17973        .19531E-03   -.87904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89165e-10
Minuit parameter uncertainties:
  1  0.000103189
  2  8.7117
  3  2.61444e-07
  4  0.000268243
  5  5.96338e-06
  6  1.226e-06
  7  1.24137e-06
  8  5.58429
  9  6.16103e-05
  10  0.000767489
  11  4.81919e-08
  12  0.351365
  13  0.000171738
  14  27.6348
  15  8.36427
  16  1.85757e-05
  17  12.7343
  18  5.67811e-07
  19  1.56874e-05
  20  0.260711
  21  0.179825
Done.

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

Extracting fit parameters...

4FGL J2151.7-2749
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  7.675e-04  1.000e-04  1.000e+04 ( 1.000e-13)
267        Index:  2.714e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  6.367e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.149e+00  1.798e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  8.799e-01  2.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.925 -27.823
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/7679/likelihoodResults_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5122.29849697
delta logL = -1.80540528163e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5122.29849697
delta logL = -1.80532042577e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96359E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7143       1.0000          .0000       10.000    
     3 'Normalizat'    .87990       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1494       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5122.298     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      204 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10013E-03    295.17        .90713E-02** at limit **
   2  Index         2.6499        6.2217        .50000        .15691E-05
   3  Normalizat    .87991        .56075E-02    .70907E-01    .87228E-04
   4  Prefactor     1.1494        .39527E-02    .35955E-01    .21887E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100126
  Index      = 2.64994
  Normalizat = 0.879905
  Prefactor  = 1.14936
 **********
 **   18 **HESSE 
 **********

 FCN=   5122.298     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      235 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10013E-03    1437.4        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6499        7.9986        .50000       -.48930    
   3  Normalizat    .87991        .12532E-01    .31375E-03   -.97170    
   4  Prefactor     1.1494        .88492E-02    .19531E-03   -.87904    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.24366e-08
Minuit parameter uncertainties:
  1  0.0276362
  2  632.013
  3  0.0125324
  4  0.00884924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/7679': 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) = 5122.29847889
delta logL = 2.73284967989e-08

Extracting fit parameters...

4FGL J2151.7-2749
   Spectrum: PowerLaw
266    Prefactor:  1.001e-04  2.764e-02  1.000e-04  1.000e+04 ( 1.000e-13)
267        Index:  2.650e+00  6.320e+02  0.000e+00  1.000e+01 (-1.000e+00)
268        Scale:  6.367e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.149e+00  8.849e-03  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  8.799e-01  1.253e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.925 -27.823

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/7679/cmap_HighResolution_651715201_651974401_4FGL_J2151.7-2749_daily_bin1591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.59e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-27 19:45:52.406987', job_id='7679', GAL2='1.15', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632797152.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='2.73e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1591' AND source_name='4FGL J2151.7-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:45:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 7679: <4FGL_J2151.7-2749_daily_bin1591> in cluster <slac> Done

Job <4FGL_J2151.7-2749_daily_bin1591> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 19:30:50 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:36:40 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:36:40 2021
Terminated at Mon Sep 27 19:45:53 2021
Results reported at Mon Sep 27 19:45:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.7-2749_daily_bin1591 327.925 -27.8234 651715201 651974401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2151.7-2749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   516.37 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             352.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   552 sec.
    Turnaround time :                            903 sec.

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

