/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 117 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 = 7432
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2135.3-5006_daily_bin383
RA = 323.836, Dec = -50.1015
tmin = 338601601, tmax = 338860801
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='602904', job_status='RUN', time_executed='2021-09-26 19:48:09.296602', time_epoch_executed='1632710889.3' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/602904

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/602904/ft1_4FGL_J2135.3-5006_daily_bin383.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/602904/ft1_4FGL_J2135.3-5006_daily_bin383.fits outfile=/scratch/kocevski/602904/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin383.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=338601601.0 tmax=338860801.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 5.23
user 4.94
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.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/602904/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin383.fits evtable="EVENTS" outfile="/scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits" evtable="EVENTS" scfile=/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits sctable="SC_DATA" outfile=/scratch/kocevski/602904/ltcube_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.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/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits
.....................!
real 14.52
user 14.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits sctable="SC_DATA" expcube=/scratch/kocevski/602904/ltcube_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.fits outfile=/scratch/kocevski/602904/expmap_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.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/602904/ltcube_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.fits
.....................!
real 193.28
user 187.04
sys 5.43

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

Setting source of interest to:
4FGL J2135.3-5006 @ 323.836 -50.1015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits scfile=/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits outfile=/scratch/kocevski/602904/cmap_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.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.836 yref=-50.1015 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits scfile=/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits outfile=/scratch/kocevski/602904/cmap_HighResolution_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.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.836 yref=-50.1015 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/602904/Model_4FGL_J2135.3-5006_daily_bin383.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/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits.....................!
real 57.38
user 55.98
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits', '/scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits', expMap='/scratch/kocevski/602904/expmap_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.fits', expCube='/scratch/kocevski/602904/ltcube_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/602904/Model_4FGL_J2135.3-5006_daily_bin383.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2135.3-5006'

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.639e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/602904/ft1_filtered_4FGL_J2135.3-5006_daily_bin383.fits
Spacecraft file(s): /scratch/kocevski/602904/ft2_4FGL_J2135.3-5006_daily_bin383.fits
Exposure map: /scratch/kocevski/602904/expmap_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.fits
Exposure cube: /scratch/kocevski/602904/ltcube_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/602904/Model_4FGL_J2135.3-5006_daily_bin383.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) = 7408.2144112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    107.22       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.050       1.0000         .10000E-03   10000.    
     4 'norm      '    15.340       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.127       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8619       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    78.805       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4881       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.942       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0164       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.5164       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0731       1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.389       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    120.25       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95324       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94443       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7408.210     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2691 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     107.22        67.797       -.92556E-06   -.10476E-03
   2  Prefactor     .10000E-03    1.0188       -.39949E-07** at limit **
   3  Prefactor     16.052        14.366        .48364E-07   -.46443E-04
   4  norm          15.340        2.7723        .61938E-07   -.43919E-04
   5  Prefactor     16.124        37.482       -.98363E-06   -.47748E-04
   6  Prefactor     .10000E-03    81.769        .19649E-06** at limit **
   7  Prefactor     4.8625        5.4595        .23793E-06    .77953E-05
   8  Prefactor     .10000E-03    24.214        .21874E-06** at limit **
   9  Prefactor     78.811        31.815        .85976E-06    .17436E-03
  10  Prefactor     6.4885        4.5912        .32676E-06    .19559E-03
  11  norm          .10000E-03    1.1095       -.22296E-07** at limit **
  12  Prefactor     .10000E-03    8.9006        .41275E-07** at limit **
  13  Prefactor     12.950        35.853        .32254E-05    .96875E-04
  14  Prefactor     .10000E-03    3.5271        .90000E-07** at limit **
  15  Prefactor     1.0183        3.4600        .12042E-05   -.32887E-03
  16  Prefactor     .10000E-03    24.333       -.20877E-06** at limit **
  17  norm          1.5174        7.2856        .95420E-06   -.18641E-03
  18  Prefactor     .10000E-03    1.3908       -.16312E-08** at limit **
  19  Prefactor     1.0806        6.0323        .25185E-05   -.35704E-03
  20  Prefactor     25.394        27.569       -.31118E-06    .19141E-04
  21  Prefactor     .10000E-03    6.9108        .10048E-06** at limit **
  22  Prefactor     120.26        80.032        .29865E-05    .19965E-03
  23  Normalizat    .95281        .19864       -.25694E-05   -.64818E-04
  24  Prefactor     .94469        .12236        .60877E-06   -.27178E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 107.216
  Prefactor  = 0.0001
  Prefactor  = 16.0518
  norm       = 15.3402
  Prefactor  = 16.1244
  Prefactor  = 0.0001
  Prefactor  = 4.86247
  Prefactor  = 0.0001
  Prefactor  = 78.8108
  Prefactor  = 6.48846
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9498
  Prefactor  = 0.0001
  Prefactor  = 1.01832
  Prefactor  = 0.0001
  norm       = 1.51743
  Prefactor  = 0.0001
  Prefactor  = 1.08058
  Prefactor  = 25.3935
  Prefactor  = 0.0001
  Prefactor  = 120.264
  Normalizat = 0.952807
  Prefactor  = 0.944686
 **********
 **   18 **HESSE 
 **********

 FCN=   7408.210     FROM HESSE     STATUS=OK           395 CALLS     3086 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     107.22        68.261        .38839E-04   -1.3633    
   2  Prefactor     .10000E-03    1.0500        .16950E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.052        14.368        .99972E-04   -1.4906    
   4  norm          15.340        2.7729        .57866E-04   -1.4924    
   5  Prefactor     16.124        37.631        .99734E-04   -1.4905    
   6  Prefactor     .10000E-03    81.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8625        5.4546        .18243E-03   -1.5267    
   8  Prefactor     .10000E-03    24.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.811        32.079        .45239E-04   -1.3930    
  10  Prefactor     6.4885        4.5920        .14758E-03   -1.5198    
  11  norm          .10000E-03    1.1118        .88530E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.0407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.950        36.465        .11134E-03   -1.4988    
  14  Prefactor     .10000E-03    3.5426        .15769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0183        3.5023        .28074E-03   -1.5506    
  16  Prefactor     .10000E-03    24.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5174        7.3781        .34712E-03   -1.5462    
  18  Prefactor     .10000E-03    1.4008        .99110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0806        6.7445        .41112E-03   -1.5500    
  20  Prefactor     25.394        27.875        .79501E-04   -1.4700    
  21  Prefactor     .10000E-03    6.9483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     120.26        83.298        .18349E-03   -1.3510    
  23  Normalizat    .95281        .22562        .30072E-03   -.94629    
  24  Prefactor     .94469        .14195        .20227E-03   -.94597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1051e-09
Minuit parameter uncertainties:
  1  68.3109
  2  8.86574e-07
  3  14.3708
  4  2.77289
  5  37.6862
  6  0.000104693
  7  5.45518
  8  7.08476e-05
  9  32.0865
  10  4.59226
  11  1.96764e-07
  12  1.82498e-05
  13  36.528
  14  8.4025e-06
  15  3.50305
  16  5.05788e-05
  17  6.6931
  18  1.24142e-06
  19  5.39987
  20  27.8895
  21  1.36691e-05
  22  83.3789
  23  0.225846
  24  0.142006
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  6.488e+00  4.592e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.447e-01  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.528e-01  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.00
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 5.66e-08 +/- 4.00e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.26e-05

TS (Fixed Index): 3.00
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/602904/likelihoodResults_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7408.1495435
delta logL = 0.0607736718712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7408.1466624
delta logL = 0.0636547742997

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6372       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2389       1.0000          .0000       10.000    
     3 'Normalizat'    .96121       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93967       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7408.147     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      262 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6432        136.28        .36278E-02    .22612E-03
   2  Index         2.2397        6.1090        .20430        .46119E-04
   3  Normalizat    .96120        .80911E-01    .67722E-01    .20865E-04
   4  Prefactor     .93962        .57924E-01    .45509E-01    .52893E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.64321
  Index      = 2.23965
  Normalizat = 0.961196
  Prefactor  = 0.939617
 **********
 **   18 **HESSE 
 **********

 FCN=   7408.147     FROM HESSE     STATUS=OK            33 CALLS      295 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6432        5.9902        .14511E-03   -1.5155    
   2  Index         2.2397        .51021        .73275E-02   -.58484    
   3  Normalizat    .96120        .20652        .29957E-03   -.94342    
   4  Prefactor     .93962        .13879        .20273E-03   -.94770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00574e-12
Minuit parameter uncertainties:
  1  5.99071
  2  0.511492
  3  0.206696
  4  0.138847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/602904': 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) = 7408.14665956
delta logL = 0.0636576124825

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  7.643e+00  5.991e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.240e+00  5.115e-01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.396e-01  1.388e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.612e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.24 +/- 0.51
Photon Flux (Free Index): 5.27e-08 +/- 3.90e-08
Energy Flux (Free Index): 2.20e-05 +/- 2.09e-05

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/602904/cmap_HighResolution_338601601_338860801_4FGL_J2135.3-5006_daily_bin383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='5.66e-08', energy_flux2='2.20e-05', photon_flux_error='4.00e-08', dlogl='6.37e-02', energy_flux='1.78e-05', photon_flux2='5.27e-08', job_status='DONE', time_completed='2021-09-26 20:01:09.864867', photon_index_error2='0.51', photon_index2='2.24', ts='3.00', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='2.09e-05', EG='0.95', time_epoch_completed='1632711669.86', return_code='0', job_id='602904', GAL2='0.94', EG2='0.96', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='3.90e-08', ts2='3.11', photon_index='2.43' WHERE bin_id='383' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:01:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 602904: <4FGL_J2135.3-5006_daily_bin383> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin383> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:45:30 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:46:04 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:46:04 2021
Terminated at Sun Sep 26 20:01:10 2021
Results reported at Sun Sep 26 20:01:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin383 323.836 -50.1015 338601601 338860801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2135.3-5006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            940 sec.

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

