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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1119
RA = 323.641, Dec = -21.5029
tmin = 529372801, tmax = 529632001
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='598203', job_status='RUN', time_executed='2021-09-26 19:32:05.724776', time_epoch_executed='1632709925.72' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598203

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598203/ft1_4FGL_J2134.5-2130_daily_bin1119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598203/ft2_4FGL_J2134.5-2130_daily_bin1119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598203/ft1_4FGL_J2134.5-2130_daily_bin1119.fits outfile=/scratch/kocevski/598203/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1119.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=529372801.0 tmax=529632001.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.55
user 3.29
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598203/ft1_filtered_4FGL_J2134.5-2130_daily_bin1119.fits" evtable="EVENTS" scfile=/scratch/kocevski/598203/ft2_4FGL_J2134.5-2130_daily_bin1119.fits sctable="SC_DATA" outfile=/scratch/kocevski/598203/ltcube_529372801_529632001_4FGL_J2134.5-2130_daily_bin1119.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/598203/ft2_4FGL_J2134.5-2130_daily_bin1119.fits
.....................!
real 13.89
user 13.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598203/ft1_filtered_4FGL_J2134.5-2130_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/598203/ft2_4FGL_J2134.5-2130_daily_bin1119.fits sctable="SC_DATA" expcube=/scratch/kocevski/598203/ltcube_529372801_529632001_4FGL_J2134.5-2130_daily_bin1119.fits outfile=/scratch/kocevski/598203/expmap_529372801_529632001_4FGL_J2134.5-2130_daily_bin1119.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/598203/ltcube_529372801_529632001_4FGL_J2134.5-2130_daily_bin1119.fits
.....................!
real 193.78
user 187.99
sys 5.31

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/598203/ft1_filtered_4FGL_J2134.5-2130_daily_bin1119.fits scfile=/scratch/kocevski/598203/ft2_4FGL_J2134.5-2130_daily_bin1119.fits outfile=/scratch/kocevski/598203/cmap_529372801_529632001_4FGL_J2134.5-2130_daily_bin1119.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.55
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598203/ft1_filtered_4FGL_J2134.5-2130_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/598203/ft2_4FGL_J2134.5-2130_daily_bin1119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598203/Model_4FGL_J2134.5-2130_daily_bin1119.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/598203/ft1_filtered_4FGL_J2134.5-2130_daily_bin1119.fits.....................!
real 66.22
user 64.74
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11905E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.704       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.368       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.507       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7437       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.7277       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1016       1.0000         .10000E-03   10000.    
    17 'norm      '    2.1545       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6667       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.192       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87516       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96753       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=   7852.374     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2018 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.816        .90712E-02** at limit **
   2  norm          .10000E-03    6.2215        .90712E-02** at limit **
   3  Prefactor     16.112        14.558        .24943E-02   -.26633E-03
   4  Prefactor     .10000E-03    2.2835        .90712E-02** at limit **
   5  Prefactor     .10000E-03    7.5672        .10322    ** at limit **
   6  Prefactor     .10000E-03    4.0695        .90712E-02** at limit **
   7  norm          .10000E-03    2.4267        .90712E-02** at limit **
   8  Prefactor     .10000E-03    3.8715        .90712E-02** at limit **
   9  Prefactor     .10000E-03    5.3499        .90712E-02** at limit **
  10  Prefactor     24.705        14.937        .20148E-02    .16372E-03
  11  norm          .10000E-03    1.7843        .90712E-02** at limit **
  12  Prefactor     25.366        24.147        .19884E-02   -.34254E-03
  13  Prefactor     11.505        54.297        .29524E-02    .25114E-03
  14  norm          1.7436        3.7858        .79412E-02    .65736E-03
  15  Prefactor     4.7277        4.6673        .46265E-02    .38152E-03
  16  Prefactor     5.1015        7.8940        .44502E-02    .47936E-03
  17  norm          2.1545        .45560        .57100E-02   -.51799E-04
  18  Prefactor     1.6665        4.4870        .81659E-02    .85591E-03
  19  Prefactor     11.191        14.863        .29938E-02    .88283E-03
  20  Prefactor     .10000E-03    3.1880        .90712E-02** at limit **
  21  Normalizat    .87520        .17702        .68184E-01    .98123E-05
  22  Prefactor     .96752        .10765        .45860E-01   -.21539E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.1123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.7046
  norm       = 0.0001
  Prefactor  = 25.3655
  Prefactor  = 11.5054
  norm       = 1.7436
  Prefactor  = 4.72767
  Prefactor  = 5.10152
  norm       = 2.15454
  Prefactor  = 1.66651
  Prefactor  = 11.1912
  Prefactor  = 0.0001
  Normalizat = 0.875201
  Prefactor  = 0.967524
 **********
 **   18 **HESSE 
 **********

 FCN=   7852.374     FROM HESSE     STATUS=OK           342 CALLS     2360 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    66.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.2240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.112        14.558        .99774E-04   -1.4905    
   4  Prefactor     .10000E-03    2.3057        .13072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    35.843        .47311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.0869        .17455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.4342        .13481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9373        .17022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.3641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.705        14.972        .80593E-04   -1.4713    
  11  norm          .10000E-03    1.7862        .11560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.366        24.041        .79534E-04   -1.4700    
  13  Prefactor     11.505        53.945        .11810E-03   -1.5029    
  14  norm          1.7436        3.7529        .22606E-03   -1.5444    
  15  Prefactor     4.7277        4.6591        .18336E-03   -1.5273    
  16  Prefactor     5.1015        7.8809        .17801E-03   -1.5256    
  17  norm          2.1545        .45601        .25213E-04   -1.5414    
  18  Prefactor     1.6665        4.4447        .29833E-03   -1.5450    
  19  Prefactor     11.191        14.904        .59876E-03   -1.5039    
  20  Prefactor     .10000E-03    3.1898        .15452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .87520        .21189        .30166E-03   -.97337    
  22  Prefactor     .96752        .12925        .18220E-03   -.93820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87411e-09
Minuit parameter uncertainties:
  1  5.31233e-05
  2  1.1352e-06
  3  14.561
  4  1.03522e-06
  5  1.91075e-05
  6  6.64692e-06
  7  2.87216e-07
  8  7.12464e-06
  9  6.70131e-06
  10  14.9741
  11  1.69534e-06
  12  24.05
  13  49.8994
  14  3.75336
  15  4.65944
  16  7.8825
  17  0.456015
  18  4.44558
  19  14.909
  20  1.00288e-07
  21  0.212087
  22  0.129293
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  7.125e-06  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:  9.675e-01  1.293e-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:  8.752e-01  2.121e-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: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/598203/likelihoodResults_529372801_529632001_4FGL_J2134.5-2130_daily_bin1119.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) = 7852.37513575
delta logL = -0.00121063360712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7852.37392733
delta logL = -2.21662412514e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0326       1.0000          .0000       10.000    
     3 'Normalizat'    .87499       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96751       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7852.374     FROM MIGRAD    STATUS=FAILED        92 CALLS      245 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    572.48        .36194E-03** at limit **
   2  Index         2.0745        7.7666        .50000       -.91002E-04
   3  Normalizat    .87520        .60690E-01    .30166E-03   -.17902E-04
   4  Prefactor     .96752        .38627E-01    .18220E-03   -.65067E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7852.374     FROM SIMPLEX   STATUS=UNCHANGED    180 CALLS      425 TOTAL
                     EDM=   .80E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    572.48        .29220E-03** at limit **
   2  Index         2.0745        7.7666        .17361E-04   -.91002E-04
   3  Normalizat    .87520        .60690E-01    .17495E-06   -.17902E-04
   4  Prefactor     .96752        .38627E-01    .80424E-07   -.65067E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7852.374     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      459 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    7.8726        .72389E-04** at limit **
   2  Index         2.0752        5.8627        .50000       -.91172E-04
   3  Normalizat    .87520        .19985        .12066E-04   -.27323E-04
   4  Prefactor     .96752        .12729        .36440E-04   -.79930E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100038
  Index      = 2.0752
  Normalizat = 0.875201
  Prefactor  = 0.967524
 **********
 **   18 **HESSE 
 **********

 FCN=   7852.374     FROM HESSE     STATUS=OK            29 CALLS      488 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    4.6577        .14478E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0752        6.0313        .50000       -.62483    
   3  Normalizat    .87520        .19965        .24133E-05   -.97337    
   4  Prefactor     .96752        .12718        .72880E-05   -.93820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41414e-08
Minuit parameter uncertainties:
  1  0.000840965
  2  4.12404
  3  0.199815
  4  0.127222
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598203': 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) = 7852.37392351
delta logL = 1.60537638294e-06

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  8.410e-04  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.075e+00  4.124e+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:  9.675e-01  1.272e-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:  8.752e-01  1.998e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/598203/cmap_HighResolution_529372801_529632001_4FGL_J2134.5-2130_daily_bin1119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-03', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2021-09-26 19:43:41.337117', job_id='598203', GAL2='0.97', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632710621.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.61e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1119' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:43:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 598203: <4FGL_J2134.5-2130_daily_bin1119> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1119 323.641 -21.5029 529372801 529632001 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            798 sec.

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

