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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1525
RA = 323.641, Dec = -21.5029
tmin = 634608001, tmax = 634867201
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='601199', job_status='RUN', time_executed='2021-09-26 19:41:43.459856', time_epoch_executed='1632710503.46' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601199

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601199/ft1_4FGL_J2134.5-2130_daily_bin1525.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601199/ft2_4FGL_J2134.5-2130_daily_bin1525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601199/ft1_4FGL_J2134.5-2130_daily_bin1525.fits outfile=/scratch/kocevski/601199/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1525.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=634608001.0 tmax=634867201.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.11
user 2.85
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601199/ft1_filtered_4FGL_J2134.5-2130_daily_bin1525.fits" evtable="EVENTS" scfile=/scratch/kocevski/601199/ft2_4FGL_J2134.5-2130_daily_bin1525.fits sctable="SC_DATA" outfile=/scratch/kocevski/601199/ltcube_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.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/601199/ft2_4FGL_J2134.5-2130_daily_bin1525.fits
.....................!
real 14.41
user 13.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601199/ft1_filtered_4FGL_J2134.5-2130_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/601199/ft2_4FGL_J2134.5-2130_daily_bin1525.fits sctable="SC_DATA" expcube=/scratch/kocevski/601199/ltcube_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.fits outfile=/scratch/kocevski/601199/expmap_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.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/601199/ltcube_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.fits
.....................!
real 191.18
user 185.59
sys 4.40

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/601199/ft1_filtered_4FGL_J2134.5-2130_daily_bin1525.fits scfile=/scratch/kocevski/601199/ft2_4FGL_J2134.5-2130_daily_bin1525.fits outfile=/scratch/kocevski/601199/cmap_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601199/ft1_filtered_4FGL_J2134.5-2130_daily_bin1525.fits scfile=/scratch/kocevski/601199/ft2_4FGL_J2134.5-2130_daily_bin1525.fits outfile=/scratch/kocevski/601199/cmap_HighResolution_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601199/ft1_filtered_4FGL_J2134.5-2130_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/601199/ft2_4FGL_J2134.5-2130_daily_bin1525.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601199/Model_4FGL_J2134.5-2130_daily_bin1525.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/601199/ft1_filtered_4FGL_J2134.5-2130_daily_bin1525.fits....................!
real 15.65
user 14.41
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11128E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10215E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11153E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    59.354       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10820E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .99506E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     9 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11562E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9999.7       1.0000         .10000E-03   10000.    
    14 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2491       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12018E-03   1.0000         .10000E-03   10000.    
    17 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    18 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .96868E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0298       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=   262.1723     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2433 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    419.82        .41751E-04** at limit **
   2  norm          .10000E-03    53.967       -.43597E-05** at limit **
   3  Prefactor     .10000E-03    115.38       -.30179E-04** at limit **
   4  Prefactor     .10000E-03    50.224        .25493E-05** at limit **
   5  Prefactor     59.402        92.727        .39585E-04   -.15957E-05
   6  Prefactor     .10000E-03    108.05       -.16353E-04** at limit **
   7  norm          .10000E-03    642.77       -.28733E-04** at limit **
   8  Prefactor    10000.0        9554.5        .70184E-03** at limit **
   9  Prefactor     10000.        9283.4        .35261E-02** at limit **
  10  Prefactor     .10000E-03    773.33       -.53097E-03** at limit **
  11  norm          .10000E-03    121.43       -.30578E-04** at limit **
  12  Prefactor    10000.0        5213.3        .17781E-02** at limit **
  13  Prefactor    10000.0        9525.8        .10877E-01** at limit **
  14  norm         10000.0        8644.1        .65563E-03** at limit **
  15  Prefactor     8.3133        145.30        .86051E-04   -.18824E-05
  16  Prefactor     .10000E-03    317.93        .20921E-03** at limit **
  17  norm         10000.0        2104.6        .65298E-03** at limit **
  18  Prefactor     10000.        9884.4        .80796E-03** at limit **
  19  Prefactor     .10000E-03    96.632        .46726E-04** at limit **
  20  Prefactor     .10000E-03    2132.1       -.35765E-03** at limit **
  21  Normalizat    .10000E-01    .47800       -.11859E-04** at limit **
  22  Prefactor     1.0296        .31597       -.13371E-04    .15233E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 59.4021
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 8.31326
  Prefactor  = 0.0001
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.02962
 **********
 **   18 **HESSE 
 **********

 FCN=   262.1723     FROM HESSE     STATUS=OK           326 CALLS     2759 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    420.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    53.974        .11637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    115.64        .17031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    50.239        .11226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     59.402        92.935        .26038E-03   -1.4165    
   6  Prefactor     .10000E-03    108.08        .16482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    642.77        .20766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        9554.5        .20471E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10000.        9283.3        .18369E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    773.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    121.43        .17476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor    10000.0        5213.3        .18445E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        9525.6        .20835E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm         10000.0        8644.1        .20518E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.3133        144.55        .13959E-03   -1.5131    
  16  Prefactor     .10000E-03    317.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm         10000.0        2104.6        .19908E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10000.        9884.4        .20273E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    96.584        .15580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2132.1        .20783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .48693        .67945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0296        .31121        .15447E-03   -.91749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.84529e-10
Minuit parameter uncertainties:
  1  0.000895737
  2  5.69846e-05
  3  0.000501753
  4  0.000102309
  5  93.1628
  6  0.000172383
  7  0.000130262
  8  0.000846609
  9  0.000342407
  10  9.5688e-06
  11  2.13891e-07
  12  0.0171467
  13  0.0293681
  14  0.000372072
  15  69.5281
  16  2.37937e-06
  17  0.000220118
  18  8.56903e-05
  19  0.000650841
  20  3.80798e-06
  21  2.63649e-05
  22  0.311756
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e+04  8.466e-04  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.030e+00  3.118e-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.000e-02  2.636e-05  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 2.96804785194e-07

TS (Fixed Index): 0.73
Ra Dec: 323.641 -21.503
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.50e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/601199/likelihoodResults_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.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) = 252.880600771
delta logL = 9.29165886163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 252.85389438
delta logL = 9.31836525288

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '   10.0000       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=   252.8539     FROM MIGRAD    STATUS=CONVERGED     16 CALLS       53 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index      10.0000        .26121        .32193E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   252.8539     FROM HESSE     STATUS=OK             5 CALLS       58 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index      10.0000        .26118        .25233E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67144e-09
Minuit parameter uncertainties:
  1  2.15449e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601199': 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) = 252.853891374
delta logL = 9.31836825859

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
276        Index:  1.000e+01  2.154e-05  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.029e+00  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 19.37
Ra Dec: 323.641 -21.503
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.59e+05 +/- 9.67e+00
Energy Flux (Free Index): 1.78e+07 +/- 1.08e+03

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/601199/cmap_HighResolution_634608001_634867201_4FGL_J2134.5-2130_daily_bin1525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.50e+04', comment='SUCCESS', energy_flux2='1.78e+07', dlogl='9.32e+00', photon_flux2='1.59e+05', job_status='DONE', time_completed='2021-09-26 19:47:25.120183', photon_index_error2='0.00', photon_index2='10.00', ts='0.73', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='1.08e+03', EG='0.01', time_epoch_completed='1632710845.12', return_code='0', job_id='601199', GAL2='1.03', EG2='0.01', return_code2='0', photon_flux_error2='9.67e+00', ts2='19.37', photon_index='2.00' WHERE bin_id='1525' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:47:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 601199: <4FGL_J2134.5-2130_daily_bin1525> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1525> 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) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:41:05 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:05 2021
Terminated at Sun Sep 26 19:47:25 2021
Results reported at Sun Sep 26 19:47:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1525 323.641 -21.5029 634608001 634867201 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 :                                   328.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   380 sec.
    Turnaround time :                            418 sec.

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

