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


Performing analysis on: 4FGL_J2132.0-5418_daily_bin1518
RA = 323.023, Dec = -54.3125
tmin = 632793601, tmax = 633052801
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='560936', job_status='RUN', time_executed='2021-09-26 17:28:19.481271', time_epoch_executed='1632702499.48' WHERE source_name='4FGL J2132.0-5418' and cadence='daily' and bin_id='1518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/560936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/560936/ft1_4FGL_J2132.0-5418_daily_bin1518.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/560936/ft1_4FGL_J2132.0-5418_daily_bin1518.fits outfile=/scratch/kocevski/560936/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1518.fits ra=323.023 dec=-54.3125 rad=12.0 tmin=632793601.0 tmax=633052801.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.99
user 2.77
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.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/560936/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1518.fits evtable="EVENTS" outfile="/scratch/kocevski/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.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.58
user 0.27
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits" evtable="EVENTS" scfile=/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits sctable="SC_DATA" outfile=/scratch/kocevski/560936/ltcube_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.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/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits
.....................!
real 11.27
user 10.92
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits sctable="SC_DATA" expcube=/scratch/kocevski/560936/ltcube_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.fits outfile=/scratch/kocevski/560936/expmap_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.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/560936/ltcube_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.fits
.....................!
real 161.08
user 155.47
sys 5.15

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/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits scfile=/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits outfile=/scratch/kocevski/560936/cmap_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.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.47
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits scfile=/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits outfile=/scratch/kocevski/560936/cmap_HighResolution_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.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.48
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/560936/Model_4FGL_J2132.0-5418_daily_bin1518.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/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits....................!
real 44.03
user 42.74
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits', '/scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits', expMap='/scratch/kocevski/560936/expmap_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.fits', expCube='/scratch/kocevski/560936/ltcube_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/560936/Model_4FGL_J2132.0-5418_daily_bin1518.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/560936/ft1_filtered_4FGL_J2132.0-5418_daily_bin1518.fits
Spacecraft file(s): /scratch/kocevski/560936/ft2_4FGL_J2132.0-5418_daily_bin1518.fits
Exposure map: /scratch/kocevski/560936/expmap_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.fits
Exposure cube: /scratch/kocevski/560936/ltcube_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/560936/Model_4FGL_J2132.0-5418_daily_bin1518.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) = 6324.25112664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.315       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4824       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7888       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    93.506       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8878       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9222       1.0000         .10000E-03   10000.    
    11 'norm      '    12.631       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2362       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9962       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9236       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1423       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6768       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78459       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.

 FCN=   6324.248     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2485 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.316        4.2939        .13989E-06   -.53862E-04
   2  Prefactor     .10000E-03    9.6782       -.12589E-06** at limit **
   3  norm          2.4825        2.0077        .65772E-07   -.11290E-03
   4  norm          1.7887        1.7052        .17834E-07   -.83704E-04
   5  Prefactor     .10000E-03    19.734       -.38168E-06** at limit **
   6  Prefactor     93.500        89.149        .65566E-06   -.16083E-04
   7  Prefactor     6.8851        12.810       -.18621E-05   -.36507E-03
   8  Prefactor     .10000E-03    27.188        .93422E-06** at limit **
   9  Prefactor     .10000E-03    6.3187       -.49076E-07** at limit **
  10  Prefactor     1.9221        5.9995        .65192E-05   -.30420E-03
  11  norm          12.631        7.4380       -.22129E-06   -.60341E-03
  12  norm          1.2361        .81977        .23250E-07   -.34825E-03
  13  Prefactor     .10000E-03    14.391        .10915E-06** at limit **
  14  Prefactor     .10000E-03    4.6012       -.24566E-06** at limit **
  15  Prefactor     1.9939        5.3567        .45776E-06    .67900E-04
  16  Prefactor     .10000E-03    78.764        .30766E-06** at limit **
  17  norm          .10000E-03    3.1283       -.10947E-06** at limit **
  18  Prefactor     3.9216        6.5250        .56310E-07    .22542E-04
  19  Prefactor     .10000E-03    38.911       -.49835E-06** at limit **
  20  Prefactor     2.1388        20.741        .20105E-05    .13899E-03
  21  Prefactor     .10000E-03    40.989       -.70336E-06** at limit **
  22  Normalizat    1.6770        .23500       -.81535E-07   -.11809E-03
  23  Prefactor     .78448        .13706       -.15530E-05   -.53207E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3155
  Prefactor  = 0.0001
  norm       = 2.48248
  norm       = 1.78871
  Prefactor  = 0.0001
  Prefactor  = 93.4998
  Prefactor  = 6.88509
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.92209
  norm       = 12.6309
  norm       = 1.23609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.99394
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.92162
  Prefactor  = 0.0001
  Prefactor  = 2.13877
  Prefactor  = 0.0001
  Normalizat = 1.67697
  Prefactor  = 0.784482
 **********
 **   18 **HESSE 
 **********

 FCN=   6324.248     FROM HESSE     STATUS=OK           364 CALLS     2849 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.316        4.2966        .10063E-03   -1.5066    
   2  Prefactor     .10000E-03    9.6954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4825        2.0032        .97429E-04   -1.5393    
   4  norm          1.7887        1.7155        .98494E-04   -1.5440    
   5  Prefactor     .10000E-03    19.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     93.500        89.140        .41561E-04   -1.3771    
   7  Prefactor     6.8851        12.923        .15287E-03   -1.5183    
   8  Prefactor     .10000E-03    27.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9221        6.0554        .14985E-02   -1.5431    
  11  norm          12.631        7.4551        .11271E-03   -1.4997    
  12  norm          1.2361        .80787        .56467E-04   -1.5486    
  13  Prefactor     .10000E-03    14.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.6270        .16664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9939        5.3806        .27921E-03   -1.5426    
  16  Prefactor     .10000E-03    78.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.1306        .13739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.9216        6.5295        .20367E-03   -1.5312    
  19  Prefactor     .10000E-03    39.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.1388        20.967        .28159E-03   -1.5415    
  21  Prefactor     .10000E-03    40.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.6770        .27841        .27107E-03   -.72920    
  23  Prefactor     .78448        .16128        .23668E-03   -1.0030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30091e-09
Minuit parameter uncertainties:
  1  4.29673
  2  3.06822e-05
  3  2.00327
  4  1.71559
  5  3.33225e-05
  6  89.2684
  7  12.9283
  8  5.3038e-05
  9  9.97724e-06
  10  6.05732
  11  7.45564
  12  0.807878
  13  1.57774e-06
  14  4.25601e-05
  15  5.38188
  16  0.000388333
  17  1.49504e-05
  18  6.53072
  19  3.90881e-05
  20  13.3988
  21  3.68674e-05
  22  0.278669
  23  0.161382
Done.

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

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  9.977e-06  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:  7.845e-01  1.614e-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.677e+00  2.787e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 323.023 -54.312
Photon Flux Upper Limit: 5.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/560936/likelihoodResults_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.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) = 6324.24878929
delta logL = -0.000730286004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6324.24805897
delta logL = 2.68137227977e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3988       1.0000          .0000       10.000    
     3 'Normalizat'    1.6770       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78449       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=   6324.248     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      253 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.744        .18142E-01** at limit **
   2  Index         1.8205        5.7293        .50000        .27551E-06
   3  Normalizat    1.6770        .11890E-01    .27107E-03   -.81414E-04
   4  Prefactor     .78449        .74945E-02    .23668E-03   -.96883E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.82047
  Normalizat = 1.67697
  Prefactor  = 0.784485
 **********
 **   18 **HESSE 
 **********

 FCN=   6324.248     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    283.73        .22131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8205        9.0872        .50000       -.68918    
   3  Normalizat    1.6770        .35831E-01    .54214E-04   -.72920    
   4  Prefactor     .78449        .22585E-01    .94673E-05   -1.0030    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.16216e-09
Minuit parameter uncertainties:
  1  0.000501248
  2  1082.51
  3  0.035832
  4  0.0225849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/560936': 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) = 6324.24805725
delta logL = 1.75313925865e-06

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  5.012e-04  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  1.820e+00  1.083e+03  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:  7.845e-01  2.258e-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.677e+00  3.583e-02  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/560936/cmap_HighResolution_632793601_633052801_4FGL_J2132.0-5418_daily_bin1518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2021-09-26 17:40:06.063203', job_id='560936', GAL2='0.78', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1632703206.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.75e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1518' AND source_name='4FGL J2132.0-5418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 17:40:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 560936: <4FGL_J2132.0-5418_daily_bin1518> in cluster <slac> Done

Job <4FGL_J2132.0-5418_daily_bin1518> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 17:25:25 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 17:27:20 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:20 2021
Terminated at Sun Sep 26 17:40:06 2021
Results reported at Sun Sep 26 17:40:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2132.0-5418_daily_bin1518 323.023 -54.3125 632793601 633052801 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 :                                   549.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            881 sec.

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

