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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1129
RA = 323.836, Dec = -50.1015
tmin = 531964801, tmax = 532224001
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='606105', job_status='RUN', time_executed='2021-09-26 20:00:23.419746', time_epoch_executed='1632711623.42' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606105/ft1_4FGL_J2135.3-5006_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606105/ft1_4FGL_J2135.3-5006_daily_bin1129.fits outfile=/scratch/kocevski/606105/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1129.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=531964801.0 tmax=532224001.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.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.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/606105/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/606105/ltcube_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.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/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits
.....................!
real 15.00
user 14.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/606105/ltcube_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.fits outfile=/scratch/kocevski/606105/expmap_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.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/606105/ltcube_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.fits
.....................!
real 194.52
user 188.52
sys 5.35

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/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits scfile=/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits outfile=/scratch/kocevski/606105/cmap_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits scfile=/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits outfile=/scratch/kocevski/606105/cmap_HighResolution_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606105/Model_4FGL_J2135.3-5006_daily_bin1129.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/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits.....................!
real 47.07
user 45.71
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits', '/scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits', expMap='/scratch/kocevski/606105/expmap_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.fits', expCube='/scratch/kocevski/606105/ltcube_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/606105/Model_4FGL_J2135.3-5006_daily_bin1129.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/606105/ft1_filtered_4FGL_J2135.3-5006_daily_bin1129.fits
Spacecraft file(s): /scratch/kocevski/606105/ft2_4FGL_J2135.3-5006_daily_bin1129.fits
Exposure map: /scratch/kocevski/606105/expmap_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.fits
Exposure cube: /scratch/kocevski/606105/ltcube_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/606105/Model_4FGL_J2135.3-5006_daily_bin1129.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) = 5631.63403566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.879       1.0000         .10000E-03   10000.    
     4 'norm      '    4.6242       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4063       1.0000         .10000E-03   10000.    
     6 'Prefactor '    80.320       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13229E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.159       1.0000         .10000E-03   10000.    
    11 'norm      '    43.113       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.562       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6641       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.0273       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.5210       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .89511       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.460       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10655E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    123.85       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92248       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95670       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=   5631.623     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2727 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.521        .63031E-06** at limit **
   2  Prefactor     .10000E-03    1.6859        .32877E-07** at limit **
   3  Prefactor     18.867        27.665       -.20215E-06   -.57055E-04
   4  norm          4.6246        2.4631        .40552E-07   -.75888E-04
   5  Prefactor     4.3994        94.955       -.15675E-05   -.32083E-04
   6  Prefactor     80.313        103.43       -.72883E-06   -.32040E-04
   7  Prefactor     .10000E-03    7.3970        .37596E-07** at limit **
   8  Prefactor     .10001E-03    46.907        .48068E-05** at limit **
   9  Prefactor     .10000E-03    7.6719       -.24038E-07** at limit **
  10  Prefactor     12.163        6.6469       -.31721E-06   -.50986E-03
  11  norm          43.115        10.077        .10001E-06   -.23359E-03
  12  Prefactor     .10005E-03    6.1745        .12516E-05** at limit **
  13  Prefactor     .10001E-03    35.074       -.47322E-05** at limit **
  14  Prefactor     10.552        9.2820       -.96242E-06   -.37227E-03
  15  Prefactor     5.6631        4.5973        .19013E-05   -.10585E-02
  16  Prefactor     .10000E-03    118.97       -.28818E-05** at limit **
  17  norm          4.0253        8.7258       -.42273E-06   -.14282E-03
  18  Prefactor     6.5199        4.8345        .11178E-06   -.10438E-03
  19  Prefactor     .89567        3.0815        .52156E-06   -.16328E-03
  20  Prefactor     20.449        27.988       -.82119E-06   -.67987E-04
  21  Prefactor     .10000E-03    10.353       -.85464E-07** at limit **
  22  Prefactor     123.85        108.22       -.16641E-06   -.15156E-04
  23  Normalizat    .92234        .22960        .64209E-07   -.88481E-04
  24  Prefactor     .95680        .14124       -.34985E-06   -.10015E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.8673
  norm       = 4.62458
  Prefactor  = 4.39942
  Prefactor  = 80.3131
  Prefactor  = 0.000100001
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 12.1626
  norm       = 43.1152
  Prefactor  = 0.000100055
  Prefactor  = 0.000100013
  Prefactor  = 10.5515
  Prefactor  = 5.66312
  Prefactor  = 0.000100003
  norm       = 4.02527
  Prefactor  = 6.51994
  Prefactor  = 0.895668
  Prefactor  = 20.449
  Prefactor  = 0.0001
  Prefactor  = 123.845
  Normalizat = 0.922343
  Prefactor  = 0.956796
 **********
 **   18 **HESSE 
 **********

 FCN=   5631.623     FROM HESSE     STATUS=OK           401 CALLS     3128 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7111        .95036E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.867        27.713        .92179E-04   -1.4839    
   4  norm          4.6246        2.4598        .81367E-04   -1.5278    
   5  Prefactor     4.3994        95.624        .19186E-03   -1.5288    
   6  Prefactor     80.313        103.67        .44813E-04   -1.3913    
   7  Prefactor     .10000E-03    27.385        .38717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    49.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.163        6.6834        .11488E-03   -1.5010    
  11  norm          43.115        10.023        .61055E-04   -1.4394    
  12  Prefactor     .10005E-03    27.910        .35289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    37.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.552        9.3284        .12328E-03   -1.5058    
  15  Prefactor     5.6631        4.7977        .70928E-03   -1.5232    
  16  Prefactor     .10000E-03    119.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0253        8.7349        .20094E-03   -1.5307    
  18  Prefactor     6.5199        4.8403        .68715E-03   -1.5197    
  19  Prefactor     .89567        3.2032        .23568E-02   -1.5519    
  20  Prefactor     20.449        28.000        .88548E-04   -1.4803    
  21  Prefactor     .10000E-03    10.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     123.85        108.21        .36168E-04   -1.3478    
  23  Normalizat    .92234        .26840        .31505E-03   -.95679    
  24  Prefactor     .95680        .16531        .20306E-03   -.94184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53316e-08
Minuit parameter uncertainties:
  1  0.000162145
  2  1.7074e-06
  3  27.732
  4  2.4599
  5  41.0957
  6  103.906
  7  0.000273204
  8  0.00159272
  9  2.62858e-06
  10  6.68378
  11  10.0237
  12  0.00247636
  13  0.00139095
  14  9.32968
  15  4.79802
  16  0.00123918
  17  8.73762
  18  4.84059
  19  3.20385
  20  28.0177
  21  1.66841e-05
  22  108.384
  23  0.268787
  24  0.165392
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.216e+01  6.684e+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.568e-01  1.654e-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.223e-01  2.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.21
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 5.83e-08
Energy Flux (Fixed Index): 3.35e-05 +/- 1.84e-05

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) = 5628.8181013
delta logL = 2.80498343511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5628.80703312
delta logL = 2.81605161404

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5429       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2232       1.0000          .0000       10.000    
     3 'Normalizat'    .78750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0195       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=   5628.807     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      256 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5400        7.9844        .77193E-02    .31182E-03
   2  Index         4.2243        2.4748        .75293E-01    .13625E-03
   3  Normalizat    .78756        .87834E-01    .76120E-01    .25390E-04
   4  Prefactor     1.0195        .57241E-01    .42187E-01    .35396E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.54001
  Index      = 4.2243
  Normalizat = 0.787563
  Prefactor  = 1.0195
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.807     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      289 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5400        11.349        .34403E-04   -1.5460    
   2  Index         4.2243        3.0275        .31910E-02   -.15577    
   3  Normalizat    .78756        .25026        .33694E-03   -1.0053    
   4  Prefactor     1.0195        .16509        .19721E-03   -.92082    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31464e-07
Minuit parameter uncertainties:
  1  8.36331
  2  3.25881
  3  0.250629
  4  0.165172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606105': 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) = 5628.8070325
delta logL = 2.81605223535

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.540e+00  8.363e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  4.224e+00  3.259e+00  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:  1.019e+00  1.652e-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:  7.876e-01  2.506e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.48
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 4.22 +/- 3.26
Photon Flux (Free Index): 2.11e-07 +/- 8.29e-08
Energy Flux (Free Index): 3.05e-05 +/- 1.73e-05

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/606105/cmap_HighResolution_531964801_532224001_4FGL_J2135.3-5006_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='3.05e-05', photon_flux_error='5.83e-08', dlogl='2.82e+00', energy_flux='3.35e-05', photon_flux2='2.11e-07', job_status='DONE', time_completed='2021-09-26 20:10:13.968234', photon_index_error2='3.26', photon_index2='4.22', ts='5.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.73e-05', EG='0.92', time_epoch_completed='1632712213.97', return_code='0', job_id='606105', GAL2='1.02', EG2='0.79', return_code2='102', energy_flux_error='1.84e-05', photon_flux_error2='8.29e-08', ts2='11.48', photon_index='2.43' WHERE bin_id='1129' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:10:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 606105: <4FGL_J2135.3-5006_daily_bin1129> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1129 323.836 -50.1015 531964801 532224001 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 :                                   588.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            880 sec.

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

