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


Performing analysis on: 4FGL_J2151.8-3027_daily_bin192
RA = 327.966, Dec = -30.46
tmin = 289094401, tmax = 289353601
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='9073', job_status='RUN', time_executed='2021-09-27 19:43:19.212212', time_epoch_executed='1632796999.21' WHERE source_name='4FGL J2151.8-3027' and cadence='daily' and bin_id='192'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9073

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9073/ft1_4FGL_J2151.8-3027_daily_bin192.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9073/ft2_4FGL_J2151.8-3027_daily_bin192.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9073/ft1_4FGL_J2151.8-3027_daily_bin192.fits outfile=/scratch/kocevski/9073/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin192.fits ra=327.966 dec=-30.46 rad=12.0 tmin=289094401.0 tmax=289353601.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.55
user 3.35
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9073/ft1_filtered_4FGL_J2151.8-3027_daily_bin192.fits" evtable="EVENTS" scfile=/scratch/kocevski/9073/ft2_4FGL_J2151.8-3027_daily_bin192.fits sctable="SC_DATA" outfile=/scratch/kocevski/9073/ltcube_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.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/9073/ft2_4FGL_J2151.8-3027_daily_bin192.fits
.....................!
real 13.04
user 12.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9073/ft1_filtered_4FGL_J2151.8-3027_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/9073/ft2_4FGL_J2151.8-3027_daily_bin192.fits sctable="SC_DATA" expcube=/scratch/kocevski/9073/ltcube_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.fits outfile=/scratch/kocevski/9073/expmap_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.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/9073/ltcube_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.fits
.....................!
real 190.37
user 185.36
sys 4.36

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/9073/ft1_filtered_4FGL_J2151.8-3027_daily_bin192.fits scfile=/scratch/kocevski/9073/ft2_4FGL_J2151.8-3027_daily_bin192.fits outfile=/scratch/kocevski/9073/cmap_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.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/9073/ft1_filtered_4FGL_J2151.8-3027_daily_bin192.fits scfile=/scratch/kocevski/9073/ft2_4FGL_J2151.8-3027_daily_bin192.fits outfile=/scratch/kocevski/9073/cmap_HighResolution_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9073/ft1_filtered_4FGL_J2151.8-3027_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/9073/ft2_4FGL_J2151.8-3027_daily_bin192.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9073/Model_4FGL_J2151.8-3027_daily_bin192.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/9073/ft1_filtered_4FGL_J2151.8-3027_daily_bin192.fits.....................!
real 43.49
user 42.24
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.966       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7749       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9908       1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.781       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    25.961       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    115.96       1.0000         .10000E-03   10000.    
    12 'norm      '    .12483E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .84283       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2807       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0435       1.0000         .10000E-03   10000.    
    17 'norm      '    18.335       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8767       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94152       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0193       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=   4763.638     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     2412 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.968        22.782        .73191E-04   -.61355E-04
   2  Prefactor     .10000E-03    29.419        .18142E-02** at limit **
   3  Prefactor     1.7735        15.457        .31424E-03   -.78506E-05
   4  norm          .10000E-03    3.1084        .11882E-02** at limit **
   5  Prefactor     5.9916        8.2452        .16405E-03    .29106E-05
   6  Prefactor     27.787        14.304        .76008E-04    .18547E-04
   7  Prefactor     .10000E-03    4.4198        .14169E-02** at limit **
   8  Prefactor     .10000E-03    6.3047        .16896E-02** at limit **
   9  norm          25.962        12.166        .78623E-04   -.53183E-04
  10  Prefactor     .10000E-03    243.10        .70607E-02** at limit **
  11  Prefactor     116.10        82.023        .18682E-03    .22760E-04
  12  norm          .10000E-03    5.1642        .15184E-02** at limit **
  13  norm          .84280        .42237        .30214E-04    .15036E-02
  14  Prefactor     .10000E-03    6.8328        .17545E-02** at limit **
  15  Prefactor     6.2873        21.125        .16017E-03    .99724E-04
  16  Prefactor     4.0468        10.323        .20053E-03    .53519E-04
  17  norm          18.347        29.277        .93536E-04    .35369E-04
  18  Prefactor     5.8803        20.166        .16566E-03    .24088E-04
  19  Normalizat    .94118        .28083        .31853E-03   -.17853E-03
  20  Prefactor     1.0194        .18231        .20964E-03   -.11009E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.9678
  Prefactor  = 0.0001
  Prefactor  = 1.77346
  norm       = 0.0001
  Prefactor  = 5.99159
  Prefactor  = 27.7868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.9616
  Prefactor  = 0.000100003
  Prefactor  = 116.102
  norm       = 0.0001
  norm       = 0.842804
  Prefactor  = 0.0001
  Prefactor  = 6.28735
  Prefactor  = 4.04683
  norm       = 18.3471
  Prefactor  = 5.88028
  Normalizat = 0.941176
  Prefactor  = 1.01945
 **********
 **   18 **HESSE 
 **********

 FCN=   4763.638     FROM HESSE     STATUS=OK           271 CALLS     2683 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.968        22.782        .14638E-04   -1.4613    
   2  Prefactor     .10000E-03    29.422        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7735        15.446        .12570E-04   -1.5442    
   4  norm          .10000E-03    3.1084        .23764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9916        8.2451        .65620E-05   -1.5218    
   6  Prefactor     27.787        14.304        .30403E-05   -1.4653    
   7  Prefactor     .10000E-03    4.4198        .28339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.3052        .33793E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          25.962        12.166        .15725E-04   -1.4688    
  10  Prefactor     .10000E-03    244.82        .28243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     116.10        80.837        .74727E-05   -1.3549    
  12  norm          .10000E-03    5.1660        .30369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .84280        .42235        .12085E-05   -1.5524    
  14  Prefactor     .10000E-03    6.8350        .35090E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.2873        21.120        .64069E-05   -1.5206    
  16  Prefactor     4.0468        10.321        .80211E-05   -1.5306    
  17  norm          18.347        29.271        .37414E-05   -1.4851    
  18  Prefactor     5.8803        20.165        .66263E-05   -1.5223    
  19  Normalizat    .94118        .28100        .12741E-04   -.95028    
  20  Prefactor     1.0194        .18244        .83856E-05   -.92084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14103e-10
Minuit parameter uncertainties:
  1  22.7883
  2  0.000242453
  3  10.471
  4  7.21723e-06
  5  8.24666
  6  14.3057
  7  5.82389e-06
  8  5.8177e-05
  9  12.1671
  10  0.00164555
  11  80.9136
  12  5.93345e-05
  13  0.422356
  14  5.72138e-05
  15  21.1453
  16  10.326
  17  29.2934
  18  20.1885
  19  0.281439
  20  0.182551
Done.

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

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.000e-04  5.933e-05  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.019e+00  1.826e-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.412e-01  2.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/9073/likelihoodResults_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.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) = 4763.63929422
delta logL = -0.000923356129533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4763.63837283
delta logL = -1.97162444238e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10166E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7687       1.0000          .0000       5.0000    
     3 'Normalizat'    .94069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0198       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=   4763.638     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      246 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2287        .57711E-01** at limit **
   2  alpha         4.2361        2.8635        .16582        .91183E-08
   3  Normalizat    .94118        .56243E-02    .31854E-03    .46365E-03
   4  Prefactor     1.0194        .38617E-02    .20964E-03    .61919E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 4.2361
  Normalizat = 0.941181
  Prefactor  = 1.01945
 **********
 **   18 **HESSE 
 **********

 FCN=   4763.638     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.428        .16279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.2361        2.6121        .66330E-02    .76764    
   3  Normalizat    .94118        .26026        .63708E-04   -.95028    
   4  Prefactor     1.0194        .17878        .41927E-04   -.92084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84369e-10
Minuit parameter uncertainties:
  1  4.97151e-05
  2  404.247
  3  0.260606
  4  0.178884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9073': 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) = 4763.63836522
delta logL = 5.64182482776e-06

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.000e-04  4.972e-05  1.000e-04  1.000e+04 ( 1.000e-11)
277        alpha:  4.236e+00  4.042e+02  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.019e+00  1.789e-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.412e-01  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/9073/cmap_HighResolution_289094401_289353601_4FGL_J2151.8-3027_daily_bin192.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-05', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-09-27 19:52:01.015805', job_id='9073', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632797521.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='192' AND source_name='4FGL J2151.8-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:52:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 9073: <4FGL_J2151.8-3027_daily_bin192> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.8-3027_daily_bin192 327.966 -30.46 289094401 289353601 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 :                                   519.19 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             329.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            998 sec.

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

