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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1587
RA = 323.641, Dec = -21.5029
tmin = 650678401, tmax = 650937601
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='601290', job_status='RUN', time_executed='2021-09-26 19:43:14.156026', time_epoch_executed='1632710594.16' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1587'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601290

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601290/ft1_4FGL_J2134.5-2130_daily_bin1587.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601290/ft1_4FGL_J2134.5-2130_daily_bin1587.fits outfile=/scratch/kocevski/601290/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1587.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=650678401.0 tmax=650937601.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.78
user 3.52
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.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/601290/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1587.fits evtable="EVENTS" outfile="/scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.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.51
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits" evtable="EVENTS" scfile=/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits sctable="SC_DATA" outfile=/scratch/kocevski/601290/ltcube_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.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/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits
.....................!
real 13.37
user 12.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits evtable="EVENTS" scfile=/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits sctable="SC_DATA" expcube=/scratch/kocevski/601290/ltcube_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.fits outfile=/scratch/kocevski/601290/expmap_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.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/601290/ltcube_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.fits
.....................!
real 192.47
user 186.39
sys 5.53

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 J2134.5-2130 @ 323.641 -21.5029

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits scfile=/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits outfile=/scratch/kocevski/601290/cmap_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.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=323.641 yref=-21.5029 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits scfile=/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits outfile=/scratch/kocevski/601290/cmap_HighResolution_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.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=323.641 yref=-21.5029 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits evtable="EVENTS" scfile=/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601290/Model_4FGL_J2134.5-2130_daily_bin1587.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/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits.....................!
real 48.19
user 46.80
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits', '/scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits', expMap='/scratch/kocevski/601290/expmap_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.fits', expCube='/scratch/kocevski/601290/ltcube_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/601290/Model_4FGL_J2134.5-2130_daily_bin1587.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2134.5-2130'

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.845e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/601290/ft1_filtered_4FGL_J2134.5-2130_daily_bin1587.fits
Spacecraft file(s): /scratch/kocevski/601290/ft2_4FGL_J2134.5-2130_daily_bin1587.fits
Exposure map: /scratch/kocevski/601290/expmap_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.fits
Exposure cube: /scratch/kocevski/601290/ltcube_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/601290/Model_4FGL_J2134.5-2130_daily_bin1587.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) = 5084.38659355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13623E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .24970E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2788       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10373E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10312E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    8.4019       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.564       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.3265       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.5308       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.6002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .62964       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .74224       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.108       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1364       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96638       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   5084.318     FROM MIGRAD    STATUS=CONVERGED    853 CALLS     2417 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.327        .18142E-02** at limit **
   2  norm          .10000E-03    19.786        .18142E-02** at limit **
   3  Prefactor     .10095E-03    257.82        .63689E-02** at limit **
   4  Prefactor     1.2751        6.0377        .33755E-03   -.29810E-03
   5  Prefactor     .10000E-03    20.649        .18142E-02** at limit **
   6  Prefactor     .10103E-03    23.433        .76005E-01** at limit **
   7  norm          8.4031        8.7222        .13830E-03    .82202E-07
   8  Prefactor     .10000E-03    3.9298        .13787E-02** at limit **
   9  Prefactor     31.565        20.329        .71319E-04   -.41924E-04
  10  Prefactor     .10000E-03    8.7666        .18142E-02** at limit **
  11  norm          6.3225        6.8661        .15958E-03   -.17667E-04
  12  Prefactor     .10000E-03    7.8974        .18142E-02** at limit **
  13  Prefactor     .10000E-03    34.818        .18142E-02** at limit **
  14  norm          4.5336        6.0712        .18028E-03   -.14025E-03
  15  Prefactor     9.6057        11.488        .12934E-03   -.30826E-03
  16  Prefactor     .10000E-03    9.5436        .18142E-02** at limit **
  17  norm          .62958        .44790        .37169E-04    .13978E-03
  18  Prefactor     .10000E-03    6.0976        .17164E-02** at limit **
  19  Prefactor     .74770        130.19        .54118E-02   -.24614E-03
  20  Prefactor     22.128        24.251        .85187E-04   -.62190E-04
  21  Normalizat    1.1364        .30833        .30842E-03   -.36255E-03
  22  Prefactor     .96622        .17506        .19521E-03   -.89561E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100947
  Prefactor  = 1.27513
  Prefactor  = 0.000100001
  Prefactor  = 0.000101034
  norm       = 8.40311
  Prefactor  = 0.0001
  Prefactor  = 31.5647
  Prefactor  = 0.0001
  norm       = 6.32247
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.53364
  Prefactor  = 9.60572
  Prefactor  = 0.0001
  norm       = 0.62958
  Prefactor  = 0.0001
  Prefactor  = 0.747704
  Prefactor  = 22.1282
  Normalizat = 1.13635
  Prefactor  = 0.96622
 **********
 **   18 **HESSE 
 **********

 FCN=   5084.318     FROM HESSE     STATUS=OK           332 CALLS     2749 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.329        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    19.789        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10095E-03    269.26        .25476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2751        6.0342        .13502E-04   -1.5482    
   5  Prefactor     .10000E-03    20.651        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10103E-03    19.669        .84824E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.4031        8.7220        .55321E-05   -1.5128    
   8  Prefactor     .10000E-03    3.9300        .27574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.565        20.324        .28528E-05   -1.4584    
  10  Prefactor     .10000E-03    8.7670        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.3225        6.8659        .63834E-05   -1.5205    
  12  Prefactor     .10000E-03    7.8975        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.819        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5336        6.0700        .72112E-05   -1.5282    
  15  Prefactor     9.6057        11.452        .51735E-05   -1.5088    
  16  Prefactor     .10000E-03    9.5439        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .62958        .44786        .14868E-05   -1.5549    
  18  Prefactor     .10000E-03    6.0984        .34328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .74770        130.46        .21647E-03   -1.5535    
  20  Prefactor     22.128        24.247        .34075E-05   -1.4767    
  21  Normalizat    1.1364        .30817        .61683E-04   -.88593    
  22  Prefactor     .96622        .17514        .39042E-04   -.93864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17365e-09
Minuit parameter uncertainties:
  1  0.000150334
  2  0.000106413
  3  0.0320813
  4  5.54847
  5  0.000207912
  6  0.00902373
  7  8.7233
  8  1.43174e-05
  9  20.3289
  10  2.83758e-05
  11  6.86678
  12  1.43336e-05
  13  2.54671e-05
  14  6.07084
  15  11.4551
  16  2.47432e-05
  17  0.447867
  18  3.46357e-05
  19  19.796
  20  24.2579
  21  0.308657
  22  0.175247
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  1.432e-05  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.662e-01  1.752e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.136e+00  3.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 323.641 -21.503
Photon Flux Upper Limit: 7.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/601290/likelihoodResults_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.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) = 5084.3190077
delta logL = -0.00120881325347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5084.3177989
delta logL = -7.65976437833e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5084.318     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    71.250        .90712E-02** at limit **
   2  Index         1.9993        8.9491        .50000       -.31770E-05
   3  Normalizat    1.1363        .27200E-01    .69704E-01    .45679E-05
   4  Prefactor     .96622        .16107E-01    .45844E-01   -.21455E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.99926
  Normalizat = 1.13635
  Prefactor  = 0.966224
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5905        .13788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9993        5.9114        .50000       -.64369    
   3  Normalizat    1.1363        .28853        .30842E-03   -.88593    
   4  Prefactor     .96622        .17118        .19521E-03   -.93864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26184e-11
Minuit parameter uncertainties:
  1  3.98896e-06
  2  4.77369
  3  0.288935
  4  0.171272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601290': 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) = 5084.31779889
delta logL = 2.7184796636e-09

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  3.989e-06  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.999e+00  4.774e+00  0.000e+00  1.000e+01 (-1.000e+00)
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.662e-01  1.713e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.136e+00  2.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 323.641 -21.503

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/601290/cmap_HighResolution_650678401_650937601_4FGL_J2134.5-2130_daily_bin1587.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.65e-08', time_completed='2021-09-26 19:52:44.752076', job_id='601290', GAL2='0.97', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632711164.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.72e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1587' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:52:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 601290: <4FGL_J2134.5-2130_daily_bin1587> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1587> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 19:40:35 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:41:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 19:41:31 2021
Terminated at Sun Sep 26 19:52:45 2021
Results reported at Sun Sep 26 19:52:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1587 323.641 -21.5029 650678401 650937601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2134.5-2130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            730 sec.

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

