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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1267
RA = 323.836, Dec = -50.1015
tmin = 567734401, tmax = 567993601
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='607463', job_status='RUN', time_executed='2021-09-26 20:03:03.509495', time_epoch_executed='1632711783.51' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1267'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607463/ft1_4FGL_J2135.3-5006_daily_bin1267.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607463/ft2_4FGL_J2135.3-5006_daily_bin1267.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607463/ft1_4FGL_J2135.3-5006_daily_bin1267.fits outfile=/scratch/kocevski/607463/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1267.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=567734401.0 tmax=567993601.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.37
user 2.13
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607463/ft1_filtered_4FGL_J2135.3-5006_daily_bin1267.fits" evtable="EVENTS" scfile=/scratch/kocevski/607463/ft2_4FGL_J2135.3-5006_daily_bin1267.fits sctable="SC_DATA" outfile=/scratch/kocevski/607463/ltcube_567734401_567993601_4FGL_J2135.3-5006_daily_bin1267.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/607463/ft2_4FGL_J2135.3-5006_daily_bin1267.fits
.....................!
real 15.60
user 15.18
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607463/ft1_filtered_4FGL_J2135.3-5006_daily_bin1267.fits evtable="EVENTS" scfile=/scratch/kocevski/607463/ft2_4FGL_J2135.3-5006_daily_bin1267.fits sctable="SC_DATA" expcube=/scratch/kocevski/607463/ltcube_567734401_567993601_4FGL_J2135.3-5006_daily_bin1267.fits outfile=/scratch/kocevski/607463/expmap_567734401_567993601_4FGL_J2135.3-5006_daily_bin1267.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/607463/ltcube_567734401_567993601_4FGL_J2135.3-5006_daily_bin1267.fits
.....................!
real 191.45
user 186.28
sys 4.73

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/607463/ft1_filtered_4FGL_J2135.3-5006_daily_bin1267.fits scfile=/scratch/kocevski/607463/ft2_4FGL_J2135.3-5006_daily_bin1267.fits outfile=/scratch/kocevski/607463/cmap_567734401_567993601_4FGL_J2135.3-5006_daily_bin1267.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.64
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607463/ft1_filtered_4FGL_J2135.3-5006_daily_bin1267.fits scfile=/scratch/kocevski/607463/ft2_4FGL_J2135.3-5006_daily_bin1267.fits outfile=/scratch/kocevski/607463/cmap_HighResolution_567734401_567993601_4FGL_J2135.3-5006_daily_bin1267.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/607463/ft1_filtered_4FGL_J2135.3-5006_daily_bin1267.fits evtable="EVENTS" scfile=/scratch/kocevski/607463/ft2_4FGL_J2135.3-5006_daily_bin1267.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607463/Model_4FGL_J2135.3-5006_daily_bin1267.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/607463/ft1_filtered_4FGL_J2135.3-5006_daily_bin1267.fits.....................!
real 46.47
user 45.09
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4986       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.765       1.0000         .10000E-03   10000.    
     4 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    78.279       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.718       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.797       1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.445       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.075       1.0000         .10000E-03   10000.    
    11 'norm      '    16.205       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7598       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.792       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3960       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.037       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0624       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7770       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3465       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4588       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79841       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=   5517.453     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2677 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.784       -.35204E-06** at limit **
   2  Prefactor     1.4983        3.9952        .15831E-06   -.26936E-04
   3  Prefactor     23.749        32.454        .15986E-05   -.62246E-05
   4  norm          .10000E-03    2.0051        .72132E-07** at limit **
   5  Prefactor     .10000E-03    42.103       -.35781E-06** at limit **
   6  Prefactor     78.276        71.717        .32685E-06   -.96306E-06
   7  Prefactor     36.713        16.379       -.23027E-06   -.13051E-04
   8  Prefactor     25.765        50.497        .38013E-05   -.37955E-05
   9  Prefactor     48.424        37.134        .15627E-05   -.76563E-05
  10  Prefactor     15.071        8.3346       -.18036E-06   -.17473E-04
  11  norm          16.204        7.4035       -.37730E-06   -.16568E-04
  12  Prefactor     2.7594        7.7449        .27687E-05    .17984E-04
  13  Prefactor     27.760        48.041        .34558E-05   -.57040E-05
  14  Prefactor     .10000E-03    3.5295       -.21312E-06** at limit **
  15  Prefactor     2.3941        4.3680        .10925E-06   -.15975E-04
  16  Prefactor     34.001        68.636        .43036E-05   -.35879E-05
  17  norm          .10000E-03    3.8151       -.17588E-07** at limit **
  18  Prefactor     5.0606        4.4950        .27451E-06   -.12058E-04
  19  Prefactor     3.7748        6.0095       -.22298E-06   -.15262E-04
  20  Prefactor     .10000E-03    16.142        .80907E-07** at limit **
  21  Prefactor     2.3389        15.958        .42509E-06    .17244E-05
  22  Prefactor     .10000E-03    35.338        .34535E-06** at limit **
  23  Normalizat    1.4595        .26218        .73813E-06   -.91883E-05
  24  Prefactor     .79805        .16056       -.19514E-05   -.28104E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.4983
  Prefactor  = 23.7485
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 78.2756
  Prefactor  = 36.7133
  Prefactor  = 25.7649
  Prefactor  = 48.424
  Prefactor  = 15.0714
  norm       = 16.2043
  Prefactor  = 2.75936
  Prefactor  = 27.7603
  Prefactor  = 0.0001
  Prefactor  = 2.39415
  Prefactor  = 34.0014
  norm       = 0.0001
  Prefactor  = 5.06055
  Prefactor  = 3.77479
  Prefactor  = 0.0001
  Prefactor  = 2.33891
  Prefactor  = 0.0001
  Normalizat = 1.45947
  Prefactor  = 0.798049
 **********
 **   18 **HESSE 
 **********

 FCN=   5517.453     FROM HESSE     STATUS=OK           403 CALLS     3080 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4983        3.9374        .22492E-03   -1.5463    
   3  Prefactor     23.749        32.339        .82169E-04   -1.4733    
   4  norm          .10000E-03    2.0569        .20519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    42.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     78.276        71.718        .22695E-03   -1.3936    
   7  Prefactor     36.713        16.402        .66139E-04   -1.4495    
   8  Prefactor     25.765        50.518        .78872E-04   -1.4692    
   9  Prefactor     48.424        37.180        .57612E-04   -1.4315    
  10  Prefactor     15.071        8.3483        .10316E-03   -1.4931    
  11  norm          16.204        7.4017        .99495E-04   -1.4903    
  12  Prefactor     2.7594        7.7948        .12251E-02   -1.5376    
  13  Prefactor     27.760        48.220        .75994E-04   -1.4654    
  14  Prefactor     .10000E-03    3.5408        .13631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3941        4.3597        .19858E-03   -1.5398    
  16  Prefactor     34.001        68.625        .68687E-04   -1.4541    
  17  norm          .10000E-03    3.8347        .14169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.0606        4.5034        .14262E-03   -1.5258    
  19  Prefactor     3.7748        6.0225        .20772E-03   -1.5319    
  20  Prefactor     .10000E-03    16.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3389        16.096        .26762E-03   -1.5402    
  22  Prefactor     .10000E-03    35.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4595        .30420        .28771E-03   -.78924    
  24  Prefactor     .79805        .18256        .24611E-03   -.99800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.26269e-12
Minuit parameter uncertainties:
  1  6.61688e-06
  2  3.93809
  3  32.3631
  4  4.58439e-06
  5  2.82684e-05
  6  71.7974
  7  16.4038
  8  50.6019
  9  37.1974
  10  8.34891
  11  7.40212
  12  7.79767
  13  48.2881
  14  1.40914e-05
  15  4.36028
  16  68.7853
  17  3.19526e-07
  18  4.50368
  19  6.02349
  20  1.42355e-06
  21  12.2761
  22  2.11486e-06
  23  0.304584
  24  0.1827
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.507e+01  8.349e+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:  7.980e-01  1.827e-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:  1.459e+00  3.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 7.28e-08
Energy Flux (Fixed Index): 4.15e-05 +/- 2.30e-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) = 5516.28244893
delta logL = 1.17055174822

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5516.27422084
delta logL = 1.17877983764

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4979       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4272       1.0000          .0000       10.000    
     3 'Normalizat'    1.3730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84156       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=   5516.274     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      250 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4959        40.864        .42839E-02    .24586E-03
   2  Index         3.4274        3.0121        .97935E-01    .12551E-03
   3  Normalizat    1.3730        .10902        .66538E-01    .82871E-05
   4  Prefactor     .84158        .69952E-01    .44256E-01    .83729E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.49586
  Index      = 3.42745
  Normalizat = 1.37298
  Prefactor  = 0.841582
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4959        8.7792        .74846E-04   -1.5239    
   2  Index         3.4274        1.0259        .40142E-02   -.31994    
   3  Normalizat    1.3730        .28137        .29435E-03   -.81413    
   4  Prefactor     .84158        .18256        .24017E-03   -.98213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12197e-11
Minuit parameter uncertainties:
  1  8.78125
  2  1.03402
  3  0.281685
  4  0.182688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607463': 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) = 5516.27422078
delta logL = 1.1787798951

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.496e+00  8.781e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.427e+00  1.034e+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:  8.416e-01  1.827e-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:  1.373e+00  2.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.45
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 3.43 +/- 1.03
Photon Flux (Free Index): 2.05e-07 +/- 9.63e-08
Energy Flux (Free Index): 3.48e-05 +/- 1.75e-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/607463/cmap_HighResolution_567734401_567993601_4FGL_J2135.3-5006_daily_bin1267.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='3.48e-05', photon_flux_error='7.28e-08', dlogl='1.18e+00', energy_flux='4.15e-05', photon_flux2='2.05e-07', job_status='DONE', time_completed='2021-09-26 20:12:37.131129', photon_index_error2='1.03', photon_index2='3.43', ts='4.86', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='1.46', time_epoch_completed='1632712357.13', return_code='0', job_id='607463', GAL2='0.84', EG2='1.37', return_code2='0', energy_flux_error='2.30e-05', photon_flux_error2='9.63e-08', ts2='7.45', photon_index='2.43' WHERE bin_id='1267' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:12:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 607463: <4FGL_J2135.3-5006_daily_bin1267> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1267> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep 26 20:00:36 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 20:01:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 20:01:25 2021
Terminated at Sun Sep 26 20:12:37 2021
Results reported at Sun Sep 26 20:12:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1267 323.836 -50.1015 567734401 567993601 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 :                                   568.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             348.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            721 sec.

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

