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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1053
RA = 323.641, Dec = -21.5029
tmin = 512265601, tmax = 512524801
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='598099', job_status='RUN', time_executed='2021-09-26 19:31:15.482144', time_epoch_executed='1632709875.48' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1053'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598099

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598099/ft1_4FGL_J2134.5-2130_daily_bin1053.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598099/ft1_4FGL_J2134.5-2130_daily_bin1053.fits outfile=/scratch/kocevski/598099/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1053.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=512265601.0 tmax=512524801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.57
user 3.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.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/598099/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1053.fits evtable="EVENTS" outfile="/scratch/kocevski/598099/ft1_filtered_4FGL_J2134.5-2130_daily_bin1053.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.55
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598099/ft1_filtered_4FGL_J2134.5-2130_daily_bin1053.fits" evtable="EVENTS" scfile=/scratch/kocevski/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.fits sctable="SC_DATA" outfile=/scratch/kocevski/598099/ltcube_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.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/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.fits
.....................!
real 14.27
user 13.65
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598099/ft1_filtered_4FGL_J2134.5-2130_daily_bin1053.fits evtable="EVENTS" scfile=/scratch/kocevski/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.fits sctable="SC_DATA" expcube=/scratch/kocevski/598099/ltcube_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.fits outfile=/scratch/kocevski/598099/expmap_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.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/598099/ltcube_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.fits
.....................!
real 191.08
user 185.89
sys 4.64

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/598099/ft1_filtered_4FGL_J2134.5-2130_daily_bin1053.fits scfile=/scratch/kocevski/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.fits outfile=/scratch/kocevski/598099/cmap_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.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.54
user 0.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598099/ft1_filtered_4FGL_J2134.5-2130_daily_bin1053.fits scfile=/scratch/kocevski/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.fits outfile=/scratch/kocevski/598099/cmap_HighResolution_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598099/ft1_filtered_4FGL_J2134.5-2130_daily_bin1053.fits evtable="EVENTS" scfile=/scratch/kocevski/598099/ft2_4FGL_J2134.5-2130_daily_bin1053.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598099/Model_4FGL_J2134.5-2130_daily_bin1053.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/598099/ft1_filtered_4FGL_J2134.5-2130_daily_bin1053.fits.....................!
real 66.68
user 65.21
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    6.0514       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7592       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .37997       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5832       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .98076       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9876       1.0000         .10000E-03   10000.    
    11 'norm      '    6.6401       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.572       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21664E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.848       1.0000         .10000E-03   10000.    
    17 'norm      '    2.3172       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.474       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.463       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.390       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78251       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0089       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8077.177     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2042 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    11.616         .0000    ** at limit **
   2  norm          6.0506        11.462         .0000       -.10650E-03
   3  Prefactor     .10004E-03    13.319         .0000    ** at limit **
   4  Prefactor     1.7594        4.7916         .0000        .28345E-01
   5  Prefactor     .37897        8.4244         .0000        .32675E-03
   6  Prefactor     .10000E-03    4.1226         .0000    ** at limit **
   7  norm          3.5833        3.8104         .0000        .67456E-03
   8  Prefactor     .98096        5.0592         .0000        .16106E-02
   9  Prefactor     .10005E-03    10.404         .0000    ** at limit **
  10  Prefactor     5.9833        12.436         .0000       -.88376E-03
  11  norm          6.6398        5.0738         .0000        .22834E-03
  12  Prefactor     .10000E-03    7.3012         .0000    ** at limit **
  13  Prefactor     .10000E-03    55.503         .0000    ** at limit **
  14  norm          11.573        5.0480         .0000       -.32873E-03
  15  Prefactor     .10003E-03    3.0214         .0000    ** at limit **
  16  Prefactor     37.846        17.279         .0000       -.33086E-03
  17  norm          2.3171        .49331         .0000       -.27384E-03
  18  Prefactor     14.476        10.555         .0000        .86058E-03
  19  Prefactor     12.461        12.575         .0000       -.70702E-03
  20  Prefactor     14.392        15.936         .0000        .37574E-03
  21  Normalizat    .78229        .18471         .0000       -.17868E-04
  22  Prefactor     1.0091        .10838         .0000       -.36353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010011
  norm       = 6.05063
  Prefactor  = 0.000100036
  Prefactor  = 1.75939
  Prefactor  = 0.378974
  Prefactor  = 0.0001
  norm       = 3.58327
  Prefactor  = 0.980964
  Prefactor  = 0.000100048
  Prefactor  = 5.98328
  norm       = 6.63983
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 11.5735
  Prefactor  = 0.000100028
  Prefactor  = 37.8456
  norm       = 2.31715
  Prefactor  = 14.4757
  Prefactor  = 12.4612
  Prefactor  = 14.3924
  Normalizat = 0.782291
  Prefactor  = 1.00906
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.177     FROM HESSE     STATUS=OK           346 CALLS     2388 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    11.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.0506        11.464        .16322E-03   -1.5216    
   3  Prefactor     .10004E-03    13.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7594        4.7756        .15252E-02   -1.5443    
   5  Prefactor     .37897        90.276        .50033E-02   -1.5585    
   6  Prefactor     .10000E-03    4.1335        .17816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5833        3.8147        .17660E-03   -1.5329    
   8  Prefactor     .98096        5.1018        .38818E-03   -1.5510    
   9  Prefactor     .10005E-03    10.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.9833        12.414        .16410E-03   -1.5219    
  11  norm          6.6398        5.0750        .15573E-03   -1.5193    
  12  Prefactor     .10000E-03    7.3129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    55.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.573        5.0758        .11776E-03   -1.5027    
  15  Prefactor     .10003E-03    14.782        .30212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.846        17.261        .65148E-04   -1.4477    
  17  norm          2.3171        .49547        .27284E-04   -1.5404    
  18  Prefactor     14.476        10.597        .10528E-03   -1.4947    
  19  Prefactor     12.461        12.571        .11347E-03   -1.5002    
  20  Prefactor     14.392        15.955        .10559E-03   -1.4949    
  21  Normalizat    .78229        .21847        .32325E-03   -1.0073    
  22  Prefactor     1.0091        .12957        .17877E-03   -.92428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50104e-08
Minuit parameter uncertainties:
  1  0.00225993
  2  11.4684
  3  0.00140138
  4  4.77663
  5  11.7146
  6  1.42128e-06
  7  3.81493
  8  4.47461
  9  0.00141881
  10  12.4193
  11  5.07528
  12  5.21306e-05
  13  0.000659283
  14  5.07597
  15  0.00128015
  16  17.2637
  17  0.495471
  18  10.5987
  19  12.5741
  20  15.9594
  21  0.218715
  22  0.129613
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  9.810e-01  4.475e+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.009e+00  1.296e-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.823e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/598099/likelihoodResults_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.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) = 8077.17367482
delta logL = 0.00323738385214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8077.17343606
delta logL = 0.00347614670045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89455       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1173       1.0000          .0000       10.000    
     3 'Normalizat'    .78156       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0092       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=   8077.173     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      259 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89530        5.3717        .34877E-03    .64724E-04
   2  Index         2.1173        1.4986        .48720E-02    .19366E-04
   3  Normalizat    .78156        .20307        .32340E-03    .61871E-05
   4  Prefactor     1.0092        .12714        .17876E-03    .12681E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.895296
  Index      = 2.1173
  Normalizat = 0.781563
  Prefactor  = 1.00922
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.173     FROM HESSE     STATUS=OK            27 CALLS      286 TOTAL
                     EDM=   .99E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89530        5.0578        .69753E-04   -1.5519    
   2  Index         2.1173        1.4563        .97441E-03   -.61449    
   3  Normalizat    .78156        .20322        .12936E-04   -1.0076    
   4  Prefactor     1.0092        .12722        .35752E-04   -.92423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86966e-14
Minuit parameter uncertainties:
  1  4.25625
  2  1.4891
  3  0.203417
  4  0.127256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598099': 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) = 8077.17343603
delta logL = 0.00347617510488

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  8.953e-01  4.256e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.117e+00  1.489e+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.009e+00  1.273e-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.816e-01  2.034e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/598099/cmap_HighResolution_512265601_512524801_4FGL_J2134.5-2130_daily_bin1053.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2021-09-26 19:42:42.217120', job_id='598099', GAL2='1.01', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1632710562.22', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.48e-03', ts2='0.06', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1053' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:42:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 598099: <4FGL_J2134.5-2130_daily_bin1053> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1053> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:30:17 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:31:06 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:31:06 2021
Terminated at Sun Sep 26 19:42:43 2021
Results reported at Sun Sep 26 19:42:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1053 323.641 -21.5029 512265601 512524801 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 :                                   683.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             344.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            746 sec.

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

