aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 177 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 = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2151.7-2749_daily_bin1700
RA = 327.925, Dec = -27.8234
tmin = 679968001, tmax = 680227201
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='83340', job_status='RUN', time_executed='2022-07-23 00:38:47.710562', time_epoch_executed='1658561927.71' WHERE source_name='4FGL J2151.7-2749' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83340

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83340/ft1_4FGL_J2151.7-2749_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83340/ft1_4FGL_J2151.7-2749_daily_bin1700.fits outfile=/scratch/kocevski/83340/ft1_filteredMKT_4FGL_J2151.7-2749_daily_bin1700.fits ra=327.925 dec=-27.8234 rad=12.0 tmin=679968001.0 tmax=680227201.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 4.54
user 4.27
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.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/83340/ft1_filteredMKT_4FGL_J2151.7-2749_daily_bin1700.fits evtable="EVENTS" outfile="/scratch/kocevski/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.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.32
sys 0.16

Number of photons that the gtmktime cut: 504

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83340/ltcube_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.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/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits
.....................!
real 11.74
user 11.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83340/ltcube_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.fits outfile=/scratch/kocevski/83340/expmap_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.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/83340/ltcube_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.fits
.....................!
real 190.33
user 185.15
sys 4.85

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/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits scfile=/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits outfile=/scratch/kocevski/83340/cmap_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.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 2.87
user 0.37
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits scfile=/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits outfile=/scratch/kocevski/83340/cmap_HighResolution_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.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.74
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83340/Model_4FGL_J2151.7-2749_daily_bin1700.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/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits.....................!
real 48.03
user 46.21
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits', '/scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits', expMap='/scratch/kocevski/83340/expmap_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.fits', expCube='/scratch/kocevski/83340/ltcube_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83340/Model_4FGL_J2151.7-2749_daily_bin1700.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/83340/ft1_filtered_4FGL_J2151.7-2749_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83340/ft2_4FGL_J2151.7-2749_daily_bin1700.fits
Exposure map: /scratch/kocevski/83340/expmap_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83340/ltcube_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83340/Model_4FGL_J2151.7-2749_daily_bin1700.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) = 5484.26775147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6804       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7326       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.179       1.0000         .10000E-03   10000.    
     8 'norm      '    8.0239       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .99988       1.0000         .10000E-03   10000.    
    12 'norm      '    .35978       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.264       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    23.297       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .74775       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.991       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65673       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1043       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=   5484.225     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     1919 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    70.254        .10024E-05** at limit **
   2  Prefactor     6.6807        6.8579        .72368E-07   -.10962E-02
   3  norm          .10000E-03    2.2118       -.18771E-06** at limit **
   4  Prefactor     3.7321        4.7603       -.92278E-07   -.15505E-02
   5  Prefactor     4.4169        8.8759        .31682E-06   -.10120E-03
   6  Prefactor     .10000E-03    9.3434        .38638E-06** at limit **
   7  Prefactor     10.179        12.189       -.11665E-06    .25014E-04
   8  norm          8.0234        9.1923        .10969E-06   -.11830E-03
   9  Prefactor     .10000E-03    7.7439       -.19450E-06** at limit **
  10  Prefactor     .10000E-03    23.668        .10397E-05** at limit **
  11  norm          .99990        3.7960        .69280E-06   -.40214E-03
  12  norm          .35976        .24901       -.14013E-07   -.60041E-03
  13  Prefactor     .10000E-03    6.5795       -.28314E-06** at limit **
  14  Prefactor     14.264        13.473       -.98337E-07    .56693E-04
  15  Prefactor     .10000E-03    4.0756        .80247E-08** at limit **
  16  norm          23.289        18.037       -.67181E-06    .49285E-04
  17  Prefactor     .10000E-03    3.3924        .30462E-06** at limit **
  18  norm          .74847        6.3999        .68009E-05    .35564E-03
  19  Prefactor     10.964        118.13       -.18562E-04    .86831E-04
  20  Normalizat    .65672        .18560        .30576E-07    .20028E-05
  21  Prefactor     1.1043        .13487       -.94249E-06    .36939E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.6807
  norm       = 0.0001
  Prefactor  = 3.73214
  Prefactor  = 4.41686
  Prefactor  = 0.0001
  Prefactor  = 10.179
  norm       = 8.02339
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.999899
  norm       = 0.359758
  Prefactor  = 0.0001
  Prefactor  = 14.2638
  Prefactor  = 0.0001
  norm       = 23.2886
  Prefactor  = 0.0001
  norm       = 0.748474
  Prefactor  = 10.9642
  Normalizat = 0.656724
  Prefactor  = 1.10428
 **********
 **   18 **HESSE 
 **********

 FCN=   5484.225     FROM HESSE     STATUS=OK           321 CALLS     2240 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    72.203        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.6807        7.5323        .77626E-03   -1.5191    
   3  norm          .10000E-03    2.2103        .10752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7321        7.6893        .10450E-02   -1.5322    
   5  Prefactor     4.4169        8.8326        .19162E-03   -1.5288    
   6  Prefactor     .10000E-03    9.3906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.179        12.131        .12559E-03   -1.5070    
   8  norm          8.0234        9.1496        .14154E-03   -1.5141    
   9  Prefactor     .10000E-03    7.7527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .99990        3.8081        .25317E-03   -1.5508    
  12  norm          .35976        .24342        .29036E-04   -1.5588    
  13  Prefactor     .10000E-03    6.6633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.264        13.495        .10605E-03   -1.4952    
  15  Prefactor     .10000E-03    4.1045        .14594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          23.289        18.043        .82989E-04   -1.4742    
  17  Prefactor     .10000E-03    3.3918        .13310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .74847        5.7901        .15753E-02   -1.5535    
  19  Prefactor     10.964        107.00        .12085E-03   -1.5046    
  20  Normalizat    .65672        .21074        .30180E-03   -1.0563    
  21  Prefactor     1.1043        .15355        .17798E-03   -.89330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99738e-09
Minuit parameter uncertainties:
  1  0.000180803
  2  7.53335
  3  1.47435e-05
  4  7.69136
  5  8.83516
  6  3.36079e-05
  7  12.1335
  8  9.15119
  9  1.97107e-05
  10  0.000251501
  11  3.80899
  12  0.243422
  13  6.55115e-05
  14  13.498
  15  9.77981e-06
  16  18.0471
  17  3.07506e-05
  18  4.16381
  19  68.6626
  20  0.210997
  21  0.153615
Done.

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

Extracting fit parameters...

4FGL J2151.7-2749
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.515e-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.104e+00  1.536e-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:  6.567e-01  2.110e-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: 7.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83340/likelihoodResults_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.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) = 5484.22547446
delta logL = -0.000201577479856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5484.22527304
delta logL = -1.59362571139e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6379       1.0000          .0000       10.000    
     3 'Normalizat'    .65678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1043       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=   5484.225     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.479        .90712E-02** at limit **
   2  Index         2.6398        6.2747        .50000       -.75966E-06
   3  Normalizat    .65673        .17540        .68196E-01    .24494E-04
   4  Prefactor     1.1043        .13203        .37427E-01   -.12929E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.63984
  Normalizat = 0.656727
  Prefactor  = 1.10428
 **********
 **   18 **HESSE 
 **********

 FCN=   5484.225     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .58E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6398        6.3142        .50000       -.49159    
   3  Normalizat    .65673        .19912        .30180E-03   -1.0563    
   4  Prefactor     1.1043        .15020        .17798E-03   -.89330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77458e-13
Minuit parameter uncertainties:
  1  6.1512e-06
  2  4.45887
  3  0.199342
  4  0.150257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83340': 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) = 5484.2252729
delta logL = -1.21217453852e-08

Extracting fit parameters...

4FGL J2151.7-2749
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  6.151e-06  1.000e-04  1.000e+04 ( 1.000e-13)
267        Index:  2.640e+00  4.459e+00  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.104e+00  1.503e-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:  6.567e-01  1.993e-01  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/83340/cmap_HighResolution_679968001_680227201_4FGL_J2151.7-2749_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='7.74e-08', time_completed='2022-07-23 00:47:43.990864', job_id='83340', GAL2='1.10', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1658562463.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-1.21e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1700' AND source_name='4FGL J2151.7-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:47:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 83340: <4FGL_J2151.7-2749_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2151.7-2749_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:40 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:40 2022
Terminated at Sat Jul 23 00:47:44 2022
Results reported at Sat Jul 23 00:47:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.7-2749_daily_bin1700 327.925 -27.8234 679968001 680227201 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 :                                   534.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             261.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            724 sec.

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

