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


Performing analysis on: 4FGL_J2132.0-5418_daily_bin1528
RA = 323.023, Dec = -54.3125
tmin = 635385601, tmax = 635644801
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='560951', job_status='RUN', time_executed='2021-09-26 17:27:41.042171', time_epoch_executed='1632702461.04' WHERE source_name='4FGL J2132.0-5418' and cadence='daily' and bin_id='1528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/560951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/560951/ft1_4FGL_J2132.0-5418_daily_bin1528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/560951/ft1_4FGL_J2132.0-5418_daily_bin1528.fits outfile=/scratch/kocevski/560951/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1528.fits ra=323.023 dec=-54.3125 rad=12.0 tmin=635385601.0 tmax=635644801.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 2.83
user 2.63
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.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/560951/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1528.fits evtable="EVENTS" outfile="/scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits" evtable="EVENTS" scfile=/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits sctable="SC_DATA" outfile=/scratch/kocevski/560951/ltcube_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.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/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits
.....................!
real 15.61
user 15.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits sctable="SC_DATA" expcube=/scratch/kocevski/560951/ltcube_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.fits outfile=/scratch/kocevski/560951/expmap_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.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/560951/ltcube_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.fits
.....................!
real 191.28
user 186.63
sys 3.94

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J2132.0-5418 @ 323.023 -54.3125

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits scfile=/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits outfile=/scratch/kocevski/560951/cmap_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.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.023 yref=-54.3125 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits scfile=/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits outfile=/scratch/kocevski/560951/cmap_HighResolution_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.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.023 yref=-54.3125 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.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/560951/Model_4FGL_J2132.0-5418_daily_bin1528.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/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits.......................!
real 22.74
user 21.33
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits', '/scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits', expMap='/scratch/kocevski/560951/expmap_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.fits', expCube='/scratch/kocevski/560951/ltcube_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/560951/Model_4FGL_J2132.0-5418_daily_bin1528.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2132.0-5418'

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  6.328e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/560951/ft1_filtered_4FGL_J2132.0-5418_daily_bin1528.fits
Spacecraft file(s): /scratch/kocevski/560951/ft2_4FGL_J2132.0-5418_daily_bin1528.fits
Exposure map: /scratch/kocevski/560951/expmap_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.fits
Exposure cube: /scratch/kocevski/560951/ltcube_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/560951/Model_4FGL_J2132.0-5418_daily_bin1528.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) = 1457.37696109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    768.22       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4080       1.0000         .10000E-03   10000.    
     3 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2943       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27634       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.567       1.0000         .10000E-03   10000.    
     7 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '    73.207       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .40338E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1097.4       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3038       1.0000         .10000E-03   10000.    
    13 'Prefactor '    63.459       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .47580       1.0000         .10000E-03   10000.    
    17 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.8462       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.818       1.0000         .10000E-03   10000.    
    21 'Prefactor '    433.20       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0762       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1454.579     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     2097 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     754.03        231.78        .23133E-05   -.59091E-04
   2  Prefactor     .10000E-03    128.05        .20775E-05** at limit **
   3  norm          .10000E-03    5.3000       -.92990E-06** at limit **
   4  norm          2.3050        3.5235        .87220E-06   -.39940E-04
   5  Prefactor     .10000E-03    881.10       -.30284E-04** at limit **
   6  Prefactor     34.953        143.70        .55297E-05    .21629E-04
   7  Prefactor    10000.0        318.46        .38333E-04** at limit **
   8  Prefactor    10000.0        6219.2        .18854E-03** at limit **
   9  Prefactor     .10000E-03    44.655       -.87948E-06** at limit **
  10  Prefactor     .10000E-03    16.562        .88519E-06** at limit **
  11  norm          .10009E-03    939.32       -.66827E-04** at limit **
  12  norm          1.3053        1.0722       -.23314E-06   -.92724E-04
  13  Prefactor     61.943        93.498        .24906E-05   -.45688E-04
  14  Prefactor     .10000E-03    10.286       -.14111E-06** at limit **
  15  Prefactor     .10000E-03    4.2844        .29825E-07** at limit **
  16  Prefactor     .10000E-03    103.49        .55428E-06** at limit **
  17  norm          .10000E-03    5.6963       -.14503E-05** at limit **
  18  Prefactor     7.6429        13.221       -.38231E-05   -.29808E-03
  19  Prefactor     .10000E-03    24.928       -.88961E-05** at limit **
  20  Prefactor     40.204        35.557        .55979E-05   -.19800E-03
  21  Prefactor     453.92        349.61       -.39443E-05   -.41264E-04
  22  Normalizat    .10000E-01    .33969        .29788E-04** at limit **
  23  Prefactor     1.0733        .16569        .21155E-05   -.67442E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 754.028
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.30504
  Prefactor  = 0.000100004
  Prefactor  = 34.9531
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100091
  norm       = 1.30535
  Prefactor  = 61.9434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.64291
  Prefactor  = 0.0001
  Prefactor  = 40.2039
  Prefactor  = 453.921
  Normalizat = 0.01
  Prefactor  = 1.07333
 **********
 **   18 **HESSE 
 **********

 FCN=   1454.579     FROM HESSE     STATUS=OK           410 CALLS     2507 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     754.03        230.64        .37550E-03   -1.0145    
   2  Prefactor     .10000E-03    127.00        .91311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.2460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3050        3.5318        .67743E-02   -1.5404    
   5  Prefactor     .10000E-03    865.44        .10321E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.953        141.49        .17554E-02   -1.4525    
   7  Prefactor    10000.0        319.93        .91955E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        6159.9        .11731E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    44.364        .10630E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.443        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10009E-03    914.22        .31993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3053        1.0741        .76830E-02   -1.5479    
  13  Prefactor     61.943        92.690        .12594E-02   -1.4132    
  14  Prefactor     .10000E-03    10.153        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2122        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    102.47        .11172E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.6983        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.6429        13.226        .35787E-02   -1.5155    
  19  Prefactor     .10000E-03    24.872        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     40.204        35.686        .15880E-02   -1.4439    
  21  Prefactor     453.92        345.85        .49122E-03   -1.1414    
  22  Normalizat    .10000E-01    .29003        .19354       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.0733        .18394        .38570E-01   -.90323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67283e-09
Minuit parameter uncertainties:
  1  230.937
  2  0.000126122
  3  1.50232e-05
  4  3.53208
  5  0.00382731
  6  141.231
  7  0.00415641
  8  0.124593
  9  1.71595e-05
  10  2.96566e-05
  11  0.0185762
  12  1.07408
  13  92.9071
  14  1.66516e-05
  15  1.26639e-05
  16  0.000126036
  17  5.70745e-06
  18  13.2314
  19  3.83723e-06
  20  35.7045
  21  347.457
  22  9.73264e-07
  23  0.18405
Done.

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

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  1.716e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  1.073e+00  1.840e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.000e-02  9.733e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 323.023 -54.312
Photon Flux Upper Limit: 3.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/560951/likelihoodResults_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.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) = 1454.5794189
delta logL = -0.000110859884899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1454.57931034
delta logL = -2.30087471209e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12768E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8160       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0733       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+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=   1454.579     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      283 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10487E-03    28.745        .18142E-01** at limit **
   2  Index         2.7077        7.9697        .50000        .84755E-05
   3  Normalizat    .10000E-01    .61827E-03    .10803E-01** at limit **
   4  Prefactor     1.0733        .62585E-02    .17983E-03    .12375E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104866
  Index      = 2.70769
  Normalizat = 0.01
  Prefactor  = 1.07333
 **********
 **   18 **HESSE 
 **********

 FCN=   1454.579     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      312 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10487E-03    242.83        .21338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7077        7.8360        .50000       -.47626    
   3  Normalizat    .10000E-01    .53348E-02    .21605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0733        .18366E-01    .71932E-05   -.90323    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.26432e-09
Minuit parameter uncertainties:
  1  0.0690338
  2  552.981
  3  4.2659e-08
  4  0.018366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/560951': 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) = 1454.57930851
delta logL = -4.70862005386e-07

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.049e-04  6.903e-02  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.708e+00  5.530e+02  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  1.073e+00  1.837e-02  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.000e-02  4.266e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 323.023 -54.312

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/560951/cmap_HighResolution_635385601_635644801_4FGL_J2132.0-5418_daily_bin1528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-02', job_status='DONE', photon_flux_upper_limit='3.33e-07', time_completed='2021-09-26 17:35:19.693301', job_id='560951', GAL2='1.07', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632702919.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-4.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1528' AND source_name='4FGL J2132.0-5418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 17:35:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 560951: <4FGL_J2132.0-5418_daily_bin1528> in cluster <slac> Done

Job <4FGL_J2132.0-5418_daily_bin1528> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 17:25:26 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 17:27:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 17:27:26 2021
Terminated at Sun Sep 26 17:35:20 2021
Results reported at Sun Sep 26 17:35:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2132.0-5418_daily_bin1528 323.023 -54.3125 635385601 635644801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2132.0-5418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   393.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   475 sec.
    Turnaround time :                            594 sec.

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

