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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1530
RA = 323.641, Dec = -21.5029
tmin = 635904001, tmax = 636163201
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='601206', job_status='RUN', time_executed='2021-09-26 19:43:42.029289', time_epoch_executed='1632710622.03' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601206

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601206/ft1_4FGL_J2134.5-2130_daily_bin1530.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601206/ft2_4FGL_J2134.5-2130_daily_bin1530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601206/ft1_4FGL_J2134.5-2130_daily_bin1530.fits outfile=/scratch/kocevski/601206/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1530.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=635904001.0 tmax=636163201.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 4.20
user 3.94
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601206/ft1_filtered_4FGL_J2134.5-2130_daily_bin1530.fits" evtable="EVENTS" scfile=/scratch/kocevski/601206/ft2_4FGL_J2134.5-2130_daily_bin1530.fits sctable="SC_DATA" outfile=/scratch/kocevski/601206/ltcube_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.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/601206/ft2_4FGL_J2134.5-2130_daily_bin1530.fits
.....................!
real 13.95
user 13.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601206/ft1_filtered_4FGL_J2134.5-2130_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/601206/ft2_4FGL_J2134.5-2130_daily_bin1530.fits sctable="SC_DATA" expcube=/scratch/kocevski/601206/ltcube_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.fits outfile=/scratch/kocevski/601206/expmap_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.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/601206/ltcube_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.fits
.....................!
real 191.96
user 186.35
sys 5.24

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/601206/ft1_filtered_4FGL_J2134.5-2130_daily_bin1530.fits scfile=/scratch/kocevski/601206/ft2_4FGL_J2134.5-2130_daily_bin1530.fits outfile=/scratch/kocevski/601206/cmap_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601206/ft1_filtered_4FGL_J2134.5-2130_daily_bin1530.fits scfile=/scratch/kocevski/601206/ft2_4FGL_J2134.5-2130_daily_bin1530.fits outfile=/scratch/kocevski/601206/cmap_HighResolution_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601206/ft1_filtered_4FGL_J2134.5-2130_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/601206/ft2_4FGL_J2134.5-2130_daily_bin1530.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601206/Model_4FGL_J2134.5-2130_daily_bin1530.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/601206/ft1_filtered_4FGL_J2134.5-2130_daily_bin1530.fits.....................!
real 64.70
user 63.21
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.668       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7550       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13310E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.0014       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9009       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1926       1.0000         .10000E-03   10000.    
    11 'norm      '    9.6159       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.6089       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .84443       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.852       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91737       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0453       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=   7481.896     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     1977 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.195       -.77892E-05** at limit **
   2  norm          .10000E-03    4.8190       -.83906E-07** at limit **
   3  Prefactor     21.655        17.364       -.48526E-05    .52007E-05
   4  Prefactor     1.7535        4.4203       -.21916E-05   -.57410E-04
   5  Prefactor     .10000E-03    38.666       -.10412E-04** at limit **
   6  Prefactor     .10000E-03    9.1133       -.10567E-05** at limit **
   7  norm          3.0007        5.5132        .74975E-07   -.58919E-03
   8  Prefactor     1.9001        2.8306        .19830E-06   -.13758E-02
   9  Prefactor     .10000E-03    5.1048       -.10494E-05** at limit **
  10  Prefactor     8.1947        16.847        .24210E-06    .96067E-05
  11  norm          9.6153        7.5135       -.48774E-07   -.42564E-04
  12  Prefactor     .10000E-03    7.2948       -.53550E-06** at limit **
  13  Prefactor     .10000E-03    37.482        .18133E-04** at limit **
  14  norm          4.6094        4.3314        .18791E-06   -.10445E-02
  15  Prefactor     .10000E-03    2.2501       -.92665E-08** at limit **
  16  Prefactor     .10000E-03    10.590       -.75149E-07** at limit **
  17  norm          .84441        .36897       -.31547E-07   -.29204E-03
  18  Prefactor     .10000E-03    7.8223        .14909E-05** at limit **
  19  Prefactor     38.852        21.098       -.49771E-06    .36370E-05
  20  Prefactor     .10000E-03    5.0154        .10366E-05** at limit **
  21  Normalizat    .91717        .19377        .44973E-06    .67138E-04
  22  Prefactor     1.0454        .11670        .60034E-06    .86153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.6551
  Prefactor  = 1.75351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.00074
  Prefactor  = 1.90015
  Prefactor  = 0.0001
  Prefactor  = 8.19466
  norm       = 9.61526
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.60945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.844414
  Prefactor  = 0.0001
  Prefactor  = 38.852
  Prefactor  = 0.0001
  Normalizat = 0.917165
  Prefactor  = 1.04541
 **********
 **   18 **HESSE 
 **********

 FCN=   7481.896     FROM HESSE     STATUS=OK           340 CALLS     2317 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.8201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.655        17.389        .86048E-04   -1.4777    
   4  Prefactor     1.7535        4.4108        .27583E-03   -1.5443    
   5  Prefactor     .10000E-03    39.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.1703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0007        5.7915        .11715E-02   -1.5361    
   8  Prefactor     1.9001        5.5352        .15083E-02   -1.5432    
   9  Prefactor     .10000E-03    5.1295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1947        16.942        .14007E-03   -1.5135    
  11  norm          9.6153        7.5170        .64615E-03   -1.5088    
  12  Prefactor     .10000E-03    7.3089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.6094        4.5977        .81328E-03   -1.5279    
  15  Prefactor     .10000E-03    2.2612        .12668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .84441        .37081        .31573E-04   -1.5524    
  18  Prefactor     .10000E-03    7.9903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     38.852        21.146        .64303E-04   -1.4461    
  20  Prefactor     .10000E-03    5.0187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .91717        .23227        .31017E-03   -.95860    
  22  Prefactor     1.0454        .13923        .18200E-03   -.91231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94516e-09
Minuit parameter uncertainties:
  1  8.73768e-06
  2  3.18583e-06
  3  17.3932
  4  4.41166
  5  4.68085e-05
  6  1.86e-06
  7  5.79262
  8  5.53669
  9  5.6885e-06
  10  16.9518
  11  7.51776
  12  1.10822e-05
  13  6.8052e-06
  14  4.59807
  15  1.57994e-06
  16  8.20244e-06
  17  0.370806
  18  2.57495e-05
  19  21.1503
  20  2.19465e-06
  21  0.232525
  22  0.139275
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.900e+00  5.537e+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.045e+00  1.393e-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:  9.172e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/601206/likelihoodResults_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.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) = 7481.89480625
delta logL = 0.000786939772297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7481.89440648
delta logL = 0.00118670648135

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0391       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8675       1.0000          .0000       10.000    
     3 'Normalizat'    .91908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0448       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=   7481.894     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      264 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0384        6.2017        .28961E-03   -.23946E-05
   2  Index         1.8679        2.1524        .39986E-02   -.17608E-04
   3  Normalizat    .91906        .21988        .30988E-03   -.45953E-03
   4  Prefactor     1.0448        .13681        .18205E-03   -.73837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.03836
  Index      = 1.86788
  Normalizat = 0.919055
  Prefactor  = 1.04478
 **********
 **   18 **HESSE 
 **********

 FCN=   7481.894     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0384        6.1457        .11584E-04   -1.5422    
   2  Index         1.8679        2.1338        .15994E-03   -.67696    
   3  Normalizat    .91906        .21994        .61975E-04   -.95794    
   4  Prefactor     1.0448        .13689        .36409E-04   -.91251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49955e-10
Minuit parameter uncertainties:
  1  6.14757
  2  2.258
  3  0.22016
  4  0.136932
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601206': 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) = 7481.89440646
delta logL = 0.00118673009547

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  2.038e+00  6.148e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.868e+00  2.258e+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.045e+00  1.369e-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:  9.191e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/601206/cmap_HighResolution_635904001_636163201_4FGL_J2134.5-2130_daily_bin1530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='7.04e-08', time_completed='2021-09-26 19:55:05.962409', job_id='601206', GAL2='1.04', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632711305.96', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.19e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1530' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:55:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 601206: <4FGL_J2134.5-2130_daily_bin1530> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1530 323.641 -21.5029 635904001 636163201 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 :                                   668.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            878 sec.

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

