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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1522
RA = 323.641, Dec = -21.5029
tmin = 633830401, tmax = 634089601
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='601195', job_status='RUN', time_executed='2021-09-26 19:44:02.009981', time_epoch_executed='1632710642.01' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601195

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601195/ft1_4FGL_J2134.5-2130_daily_bin1522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601195/ft1_4FGL_J2134.5-2130_daily_bin1522.fits outfile=/scratch/kocevski/601195/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1522.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=633830401.0 tmax=634089601.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.68
user 3.46
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.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/601195/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1522.fits evtable="EVENTS" outfile="/scratch/kocevski/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.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.50
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits" evtable="EVENTS" scfile=/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits sctable="SC_DATA" outfile=/scratch/kocevski/601195/ltcube_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.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/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits
.....................!
real 14.59
user 13.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits sctable="SC_DATA" expcube=/scratch/kocevski/601195/ltcube_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.fits outfile=/scratch/kocevski/601195/expmap_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.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/601195/ltcube_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.fits
.....................!
real 193.24
user 187.45
sys 5.39

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/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits scfile=/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits outfile=/scratch/kocevski/601195/cmap_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.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.53
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits scfile=/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits outfile=/scratch/kocevski/601195/cmap_HighResolution_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601195/Model_4FGL_J2134.5-2130_daily_bin1522.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/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits.....................!
real 66.03
user 64.72
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits', '/scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits', expMap='/scratch/kocevski/601195/expmap_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.fits', expCube='/scratch/kocevski/601195/ltcube_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/601195/Model_4FGL_J2134.5-2130_daily_bin1522.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/601195/ft1_filtered_4FGL_J2134.5-2130_daily_bin1522.fits
Spacecraft file(s): /scratch/kocevski/601195/ft2_4FGL_J2134.5-2130_daily_bin1522.fits
Exposure map: /scratch/kocevski/601195/expmap_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.fits
Exposure cube: /scratch/kocevski/601195/ltcube_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/601195/Model_4FGL_J2134.5-2130_daily_bin1522.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) = 7594.88813085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7864       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4432       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.4645       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.080       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8580       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11781E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.1923       1.0000         .10000E-03   10000.    
    14 'norm      '    7.0909       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3594       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0260       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74611       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5869       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.

 FCN=   7594.827     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     1987 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.529        .63445E-05** at limit **
   2  norm          .10000E-03    6.7658        .12674E-05** at limit **
   3  Prefactor     .10000E-03    14.983       -.60868E-05** at limit **
   4  Prefactor     1.7864        4.0311       -.12019E-05   -.13985E-03
   5  Prefactor     4.4436        11.090       -.16303E-06   -.14627E-04
   6  Prefactor     .10000E-03    6.8795       -.78129E-06** at limit **
   7  norm          1.4640        1.6809        .64507E-06   -.28289E-02
   8  Prefactor     13.079        9.8503       -.14741E-06   -.14573E-03
   9  Prefactor     5.8577        8.0285        .76062E-06   -.42000E-04
  10  Prefactor     .10000E-03    9.5012        .32896E-05** at limit **
  11  norm          .10000E-03    4.1258       -.10336E-06** at limit **
  12  Prefactor     .10001E-03    20.727        .90277E-05** at limit **
  13  Prefactor     8.1715        96.586       -.55156E-04   -.67226E-04
  14  norm          7.0905        5.4732        .16468E-05    .59784E-04
  15  Prefactor     .10000E-03    3.1328       -.96494E-08** at limit **
  16  Prefactor     .10000E-03    7.7058       -.23951E-05** at limit **
  17  norm          1.3594        .44891        .38972E-07    .58675E-03
  18  Prefactor     .10000E-03    2.7641        .15871E-06** at limit **
  19  Prefactor     8.0253        12.213       -.31300E-06   -.36914E-05
  20  Prefactor     .10000E-03    27.574       -.91860E-05** at limit **
  21  Normalizat    .74626        .24062        .50455E-05    .14595E-04
  22  Prefactor     1.5869        .14870       -.10204E-05    .24132E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.78645
  Prefactor  = 4.44364
  Prefactor  = 0.0001
  norm       = 1.46405
  Prefactor  = 13.0795
  Prefactor  = 5.85765
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 8.17154
  norm       = 7.09055
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.35941
  Prefactor  = 0.0001
  Prefactor  = 8.02535
  Prefactor  = 0.0001
  Normalizat = 0.746264
  Prefactor  = 1.58685
 **********
 **   18 **HESSE 
 **********

 FCN=   7594.827     FROM HESSE     STATUS=OK           340 CALLS     2327 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.7652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7864        3.9952        .25511E-03   -1.5441    
   5  Prefactor     4.4436        11.080        .19104E-03   -1.5286    
   6  Prefactor     .10000E-03    6.9061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4640        4.8281        .17132E-02   -1.5466    
   8  Prefactor     13.079        9.8561        .55377E-03   -1.4984    
   9  Prefactor     5.8577        8.0230        .82963E-03   -1.5224    
  10  Prefactor     .10000E-03    9.5151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.1937        .17288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    21.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.1715        98.007        .14007E-03   -1.5136    
  14  norm          7.0905        5.4696        .15064E-03   -1.5175    
  15  Prefactor     .10000E-03    3.1535        .15061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.7203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3594        .45029        .31498E-04   -1.5475    
  18  Prefactor     .10000E-03    2.7675        .14150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0253        12.211        .14153E-03   -1.5141    
  20  Prefactor     .10000E-03    27.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .74626        .27121        .42325E-03   -1.0209    
  22  Prefactor     1.5869        .16910        .19357E-03   -.75136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3244e-08
Minuit parameter uncertainties:
  1  4.46713e-05
  2  4.57959e-06
  3  3.97091e-05
  4  3.99583
  5  11.0853
  6  1.02548e-05
  7  4.82939
  8  9.85729
  9  8.02445
  10  9.59767e-06
  11  2.27177e-06
  12  0.000903952
  13  56.7151
  14  5.46995
  15  7.78399e-06
  16  2.22146e-05
  17  0.450292
  18  5.45303e-06
  19  12.2148
  20  3.88305e-05
  21  0.271704
  22  0.169159
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.308e+01  9.857e+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

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.587e+00  1.692e-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:  7.463e-01  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.92
Ra Dec: 323.641 -21.503
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.51e-08 +/- 4.15e-08
Energy Flux (Fixed Index): 3.85e-05 +/- 2.90e-05

TS (Fixed Index): 2.92
Ra Dec: 323.641 -21.503
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/601195/likelihoodResults_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.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) = 7592.96022156
delta logL = 1.8672077119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7592.92414026
delta logL = 1.90328900642

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0420       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2523       1.0000          .0000       10.000    
     3 'Normalizat'    .60903       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6360       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=   7592.924     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      267 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0338        12.675        .72345E-02    .66016E-03
   2  Index         3.2541        1.7816        .75840E-01    .26834E-03
   3  Normalizat    .60885        .85831E-01    .10480        .33700E-04
   4  Prefactor     1.6362        .50583E-01    .43200E-01   -.41483E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.03377
  Index      = 3.2541
  Normalizat = 0.608851
  Prefactor  = 1.63617
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.924     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0338        20.433        .54967E-04   -1.5423    
   2  Index         3.2541        2.5156        .30006E-02   -.35670    
   3  Normalizat    .60885        .30394        .46459E-03   -1.0761    
   4  Prefactor     1.6362        .18330        .19093E-03   -.73794    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.08514e-10
Minuit parameter uncertainties:
  1  12.8983
  2  2.65553
  3  0.304781
  4  0.183372
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601195': 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) = 7592.92413713
delta logL = 1.90329213784

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  2.034e+00  1.290e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  3.254e+00  2.656e+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:  1.636e+00  1.834e-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:  6.089e-01  3.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.06
Ra Dec: 323.641 -21.503
Photon Index (Free Index): 3.25 +/- 2.66
Photon Flux (Free Index): 1.71e-07 +/- 1.22e-07
Energy Flux (Free Index): 3.07e-05 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/601195/cmap_HighResolution_633830401_634089601_4FGL_J2134.5-2130_daily_bin1522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='5.51e-08', energy_flux2='3.07e-05', photon_flux_error='4.15e-08', dlogl='1.90e+00', energy_flux='3.85e-05', photon_flux2='1.71e-07', job_status='DONE', time_completed='2021-09-26 19:55:08.310368', photon_index_error2='2.66', photon_index2='3.25', ts='2.92', fit_tolerance='1e-08', GAL='1.59', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.90e-05', EG='0.75', time_epoch_completed='1632711308.31', return_code='0', job_id='601195', GAL2='1.64', EG2='0.61', return_code2='102', energy_flux_error='2.90e-05', photon_flux_error2='1.22e-07', ts2='7.06', photon_index='2.00' WHERE bin_id='1522' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:55:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 601195: <4FGL_J2134.5-2130_daily_bin1522> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1522> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 19:40:27 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:41:03 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:03 2021
Terminated at Sun Sep 26 19:55:09 2021
Results reported at Sun Sep 26 19:55:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1522 323.641 -21.5029 633830401 634089601 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 :                                   654.49 sec.
    Max Memory :                                 1009 MB
    Average Memory :                             295.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            882 sec.

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

