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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1529
RA = 323.641, Dec = -21.5029
tmin = 635644801, tmax = 635904001
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='601205', job_status='RUN', time_executed='2021-09-26 19:42:41.739154', time_epoch_executed='1632710561.74' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601205

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601205/ft1_4FGL_J2134.5-2130_daily_bin1529.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601205/ft2_4FGL_J2134.5-2130_daily_bin1529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601205/ft1_4FGL_J2134.5-2130_daily_bin1529.fits outfile=/scratch/kocevski/601205/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1529.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=635644801.0 tmax=635904001.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.38
user 4.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601205/ft1_filtered_4FGL_J2134.5-2130_daily_bin1529.fits" evtable="EVENTS" scfile=/scratch/kocevski/601205/ft2_4FGL_J2134.5-2130_daily_bin1529.fits sctable="SC_DATA" outfile=/scratch/kocevski/601205/ltcube_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.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/601205/ft2_4FGL_J2134.5-2130_daily_bin1529.fits
.....................!
real 15.70
user 15.26
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601205/ft1_filtered_4FGL_J2134.5-2130_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/601205/ft2_4FGL_J2134.5-2130_daily_bin1529.fits sctable="SC_DATA" expcube=/scratch/kocevski/601205/ltcube_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.fits outfile=/scratch/kocevski/601205/expmap_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.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/601205/ltcube_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.fits
.....................!
real 191.36
user 186.77
sys 4.10

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/601205/ft1_filtered_4FGL_J2134.5-2130_daily_bin1529.fits scfile=/scratch/kocevski/601205/ft2_4FGL_J2134.5-2130_daily_bin1529.fits outfile=/scratch/kocevski/601205/cmap_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601205/ft1_filtered_4FGL_J2134.5-2130_daily_bin1529.fits scfile=/scratch/kocevski/601205/ft2_4FGL_J2134.5-2130_daily_bin1529.fits outfile=/scratch/kocevski/601205/cmap_HighResolution_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601205/ft1_filtered_4FGL_J2134.5-2130_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/601205/ft2_4FGL_J2134.5-2130_daily_bin1529.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601205/Model_4FGL_J2134.5-2130_daily_bin1529.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/601205/ft1_filtered_4FGL_J2134.5-2130_daily_bin1529.fits.....................!
real 50.24
user 48.91
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.526       1.0000         .10000E-03   10000.    
     2 'norm      '    .24497E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.907       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11982E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.597       1.0000         .10000E-03   10000.    
     7 'norm      '    .12388E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.625       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4309       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.777       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.2820       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1064       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5107       1.0000         .10000E-03   10000.    
    17 'norm      '    .88344       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    65.377       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2252       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78198       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=   5211.787     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2439 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.183        82.089        .16326E-06   -.12082E-04
   2  norm          .10000E-03    27.128       -.10029E-06** at limit **
   3  Prefactor     12.914        19.787        .39632E-06    .53583E-04
   4  Prefactor     .10000E-03    9.1880        .31453E-06** at limit **
   5  Prefactor     .10000E-03    18.282       -.12630E-06** at limit **
   6  Prefactor     10.592        17.950        .82403E-07   -.19102E-04
   7  norm          .10000E-03    4.4095        .11460E-06** at limit **
   8  Prefactor     .10000E-03    3.0743        .22273E-07** at limit **
   9  Prefactor     19.625        14.488        .78167E-07    .26625E-04
  10  Prefactor     6.4138        21.307        .54806E-05   -.29648E-04
  11  norm          .10000E-03    2.5037       -.44058E-07** at limit **
  12  Prefactor     16.779        16.474        .18314E-06    .99032E-04
  13  Prefactor     .10000E-03    33.230        .93390E-06** at limit **
  14  norm          4.2811        4.4562        .19387E-06   -.24695E-04
  15  Prefactor     4.1064        7.2663       -.58038E-07   -.88494E-04
  16  Prefactor     9.5131        21.656       -.12805E-05   -.11933E-03
  17  norm          .88343        .38241       -.40705E-08   -.21254E-04
  18  Prefactor     .10000E-03    3.6599        .32095E-07** at limit **
  19  Prefactor     65.376        27.773       -.16104E-06   -.75884E-04
  20  Prefactor     .10000E-03    12.332        .65477E-07** at limit **
  21  Normalizat    1.2254        .22738       -.79288E-06   -.45291E-05
  22  Prefactor     .78200        .12989       -.24508E-07   -.59972E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.1832
  norm       = 0.0001
  Prefactor  = 12.9136
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5923
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.6252
  Prefactor  = 6.41379
  norm       = 0.0001
  Prefactor  = 16.7788
  Prefactor  = 0.0001
  norm       = 4.28109
  Prefactor  = 4.10645
  Prefactor  = 9.51306
  norm       = 0.88343
  Prefactor  = 0.0001
  Prefactor  = 65.3761
  Prefactor  = 0.0001
  Normalizat = 1.22537
  Prefactor  = 0.782003
 **********
 **   18 **HESSE 
 **********

 FCN=   5211.787     FROM HESSE     STATUS=OK           344 CALLS     2783 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.183        82.153        .52442E-04   -1.4181    
   2  norm          .10000E-03    27.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.914        19.821        .11150E-03   -1.4989    
   4  Prefactor     .10000E-03    9.5104        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.592        17.959        .12308E-03   -1.5057    
   7  norm          .10000E-03    10.087        .29558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.0849        .12361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.625        14.490        .90411E-04   -1.4822    
  10  Prefactor     6.4138        21.399        .79133E-03   -1.5201    
  11  norm          .10000E-03    2.5043        .11157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.779        16.515        .48891E-03   -1.4888    
  13  Prefactor     .10000E-03    33.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.2811        4.4582        .14477E-03   -1.5294    
  15  Prefactor     4.1064        7.2545        .19894E-03   -1.5303    
  16  Prefactor     9.5131        21.900        .12995E-03   -1.5091    
  17  norm          .88343        .38535        .27970E-04   -1.5520    
  18  Prefactor     .10000E-03    3.6682        .13488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     65.376        27.812        .24817E-03   -1.4089    
  20  Prefactor     .10000E-03    12.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2254        .26949        .27186E-03   -.85823    
  22  Prefactor     .78200        .15410        .19870E-03   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1567e-10
Minuit parameter uncertainties:
  1  82.3137
  2  5.8386e-07
  3  19.8312
  4  8.33222e-06
  5  2.58319e-06
  6  17.9681
  7  2.91749e-05
  8  1.28397e-08
  9  14.493
  10  21.4245
  11  1.17427e-06
  12  16.5194
  13  8.75855e-06
  14  4.45856
  15  7.25607
  16  21.9186
  17  0.385348
  18  8.15376e-07
  19  27.8174
  20  4.9799e-06
  21  0.269793
  22  0.154185
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  1.284e-08  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:  7.820e-01  1.542e-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.225e+00  2.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/601205/likelihoodResults_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5211.78827158
delta logL = -0.00153651765777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5211.78673504
delta logL = 1.89647835214e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9827       1.0000          .0000       10.000    
     3 'Normalizat'    1.2253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78203       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=   5211.787     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      242 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10233E-03    1.2621        .12452E-01** at limit **
   2  Index         1.8079        5.7796        .50000        .18221E-04
   3  Normalizat    1.2254        .34573E-02    .27186E-03   -.18818E-04
   4  Prefactor     .78200        .20784E-02    .19870E-03   -.20026E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102331
  Index      = 1.80788
  Normalizat = 1.22537
  Prefactor  = 0.782004
 **********
 **   18 **HESSE 
 **********

 FCN=   5211.787     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10233E-03    151.35        .12882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8079        7.7003        .50000       -.69245    
   3  Normalizat    1.2254        .39937E-01    .10875E-04   -.85823    
   4  Prefactor     .78200        .23977E-01    .79479E-05   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.0376e-07
Minuit parameter uncertainties:
  1  0.0376629
  2  1083.69
  3  0.0399376
  4  0.0239775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601205': 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) = 5211.78673413
delta logL = 9.3170638138e-07

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.023e-04  3.766e-02  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.808e+00  1.084e+03  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:  7.820e-01  2.398e-02  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.225e+00  3.994e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/601205/cmap_HighResolution_635644801_635904001_4FGL_J2134.5-2130_daily_bin1529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-03', job_status='DONE', photon_flux_upper_limit='6.03e-08', time_completed='2021-09-26 19:52:37.278381', job_id='601205', GAL2='0.78', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632711157.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='9.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1529' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:52:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 601205: <4FGL_J2134.5-2130_daily_bin1529> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1529> 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) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:41: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:41:06 2021
Terminated at Sun Sep 26 19:52:37 2021
Results reported at Sun Sep 26 19:52:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1529 323.641 -21.5029 635644801 635904001 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 :                                   584.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            729 sec.

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

