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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin508
RA = 323.836, Dec = -50.1015
tmin = 371001601, tmax = 371260801
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='603104', job_status='RUN', time_executed='2021-09-26 19:47:36.236154', time_epoch_executed='1632710856.24' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/603104

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/603104/ft1_4FGL_J2135.3-5006_daily_bin508.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/603104/ft2_4FGL_J2135.3-5006_daily_bin508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/603104/ft1_4FGL_J2135.3-5006_daily_bin508.fits outfile=/scratch/kocevski/603104/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin508.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=371001601.0 tmax=371260801.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 6.47
user 6.19
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/603104/ft1_filtered_4FGL_J2135.3-5006_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/603104/ft2_4FGL_J2135.3-5006_daily_bin508.fits sctable="SC_DATA" expcube=/scratch/kocevski/603104/ltcube_371001601_371260801_4FGL_J2135.3-5006_daily_bin508.fits outfile=/scratch/kocevski/603104/expmap_371001601_371260801_4FGL_J2135.3-5006_daily_bin508.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/603104/ltcube_371001601_371260801_4FGL_J2135.3-5006_daily_bin508.fits
.....................!
real 191.90
user 186.79
sys 4.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/603104/ft1_filtered_4FGL_J2135.3-5006_daily_bin508.fits scfile=/scratch/kocevski/603104/ft2_4FGL_J2135.3-5006_daily_bin508.fits outfile=/scratch/kocevski/603104/cmap_371001601_371260801_4FGL_J2135.3-5006_daily_bin508.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/603104/ft1_filtered_4FGL_J2135.3-5006_daily_bin508.fits scfile=/scratch/kocevski/603104/ft2_4FGL_J2135.3-5006_daily_bin508.fits outfile=/scratch/kocevski/603104/cmap_HighResolution_371001601_371260801_4FGL_J2135.3-5006_daily_bin508.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/603104/ft1_filtered_4FGL_J2135.3-5006_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/603104/ft2_4FGL_J2135.3-5006_daily_bin508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/603104/Model_4FGL_J2135.3-5006_daily_bin508.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/603104/ft1_filtered_4FGL_J2135.3-5006_daily_bin508.fits.....................!
real 51.36
user 50.09
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10333E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.2199       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.6061       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.203       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4193       1.0000         .10000E-03   10000.    
     8 'Prefactor '    58.689       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.7225       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9732       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2505       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4292       1.0000         .10000E-03   10000.    
    16 'Prefactor '    140.31       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .57162E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14720E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.386       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87035       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1824       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=   6575.346     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.046        .50399E-05** at limit **
   2  Prefactor     .10000E-03    1.1616        .29315E-06** at limit **
   3  Prefactor     .10000E-03    11.728       -.63968E-07** at limit **
   4  norm          4.2202        1.9733        .32767E-06   -.22648E-03
   5  Prefactor     6.6045        60.273       -.32932E-06   -.14102E-04
   6  Prefactor     18.298        74.469        .18206E-03    .95815E-05
   7  Prefactor     5.4213        9.7134        .47858E-06   -.20615E-03
   8  Prefactor     58.701        37.447        .82314E-05   -.27046E-04
   9  Prefactor     7.7247        23.646        .24547E-05   -.40579E-04
  10  Prefactor     8.9741        5.4015        .18412E-06   -.21853E-03
  11  norm          .10000E-03    1.9708       -.19512E-06** at limit **
  12  Prefactor     2.2507        7.8186       -.41729E-06   -.33607E-03
  13  Prefactor     .10000E-03    26.812        .69207E-06** at limit **
  14  Prefactor     .10001E-03    8.0110       -.16447E-05** at limit **
  15  Prefactor     4.4302        3.8744       -.56994E-06   -.10921E-03
  16  Prefactor     140.38        101.72        .53535E-04    .23387E-04
  17  norm          .10000E-03    2.4737       -.24437E-06** at limit **
  18  Prefactor     .64184E-01    3.5722        .62311E-06   -.30200E-03
  19  Prefactor     .10003E-03    5.2613       -.98848E-06** at limit **
  20  Prefactor     .10000E-03    44.886       -.48949E-05** at limit **
  21  Prefactor     11.389        16.175        .48183E-06    .47407E-05
  22  Prefactor     .10000E-03    90.998        .11135E-04** at limit **
  23  Normalizat    .87008        .22349       -.10687E-04    .12302E-03
  24  Prefactor     1.1825        .13955       -.89316E-06   -.21223E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.22019
  Prefactor  = 6.60447
  Prefactor  = 18.2984
  Prefactor  = 5.42133
  Prefactor  = 58.701
  Prefactor  = 7.72468
  Prefactor  = 8.9741
  norm       = 0.0001
  Prefactor  = 2.25073
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 4.43017
  Prefactor  = 140.38
  norm       = 0.0001
  Prefactor  = 0.0641838
  Prefactor  = 0.000100033
  Prefactor  = 0.0001
  Prefactor  = 11.3889
  Prefactor  = 0.0001
  Normalizat = 0.870083
  Prefactor  = 1.18252
 **********
 **   18 **HESSE 
 **********

 FCN=   6575.346     FROM HESSE     STATUS=OK           411 CALLS     3184 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9965        .16927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.2202        1.9704        .74503E-04   -1.5297    
   5  Prefactor     6.6045        60.207        .15613E-03   -1.5194    
   6  Prefactor     18.298        74.032        .93874E-04   -1.4852    
   7  Prefactor     5.4213        9.6787        .17262E-03   -1.5242    
   8  Prefactor     58.701        37.356        .52369E-04   -1.4174    
   9  Prefactor     7.7247        23.619        .14430E-03   -1.5152    
  10  Prefactor     8.9741        5.4003        .13380E-03   -1.5109    
  11  norm          .10000E-03    1.9792        .11108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2507        7.7967        .27390E-03   -1.5408    
  13  Prefactor     .10000E-03    26.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    8.0842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4302        3.8815        .14221E-03   -1.5287    
  16  Prefactor     140.38        101.73        .17004E-03   -1.3333    
  17  norm          .10000E-03    2.4742        .12455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .64184E-01    3.5245        .47543E-01   -1.5657    
  19  Prefactor     .10003E-03    19.290        .35043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    45.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.389        16.169        .11872E-03   -1.5033    
  22  Prefactor     .10000E-03    91.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .87008        .25085        .32954E-03   -.97519    
  24  Prefactor     1.1825        .15897        .19482E-03   -.86871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71243e-09
Minuit parameter uncertainties:
  1  2.51364e-05
  2  5.78558e-05
  3  8.21828e-05
  4  1.97047
  5  39.9346
  6  73.7702
  7  9.68149
  8  37.371
  9  23.6477
  10  5.40055
  11  1.29836e-05
  12  7.80024
  13  8.74722e-05
  14  0.000491425
  15  3.88168
  16  101.853
  17  3.07879e-06
  18  0.950554
  19  0.00160743
  20  2.75426e-05
  21  16.1754
  22  7.03873e-05
  23  0.251189
  24  0.159035
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  8.974e+00  5.401e+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:  1.183e+00  1.590e-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:  8.701e-01  2.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.78
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 7.83e-08 +/- 4.71e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.49e-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) = 6573.33788114
delta logL = 2.00856590924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6572.98947816
delta logL = 2.3569688921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3416       1.0000         .10000E-03   10000.    
     2 'Index     '    .94755       1.0000          .0000       10.000    
     3 'Normalizat'    .93188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1736       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=   6572.989     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      233 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3329        1.5038        .94589E-02   -.61520E-03
   2  Index         .94563        .32072        .16809       -.23962E-04
   3  Normalizat    .93194        .20073        .72269E-01    .51599E-04
   4  Prefactor     1.1736        .13685        .35286E-01   -.29075E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.33292
  Index      = 0.945631
  Normalizat = 0.931945
  Prefactor  = 1.17358
 **********
 **   18 **HESSE 
 **********

 FCN=   6572.989     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3329        3.8708        .84902E-04   -1.5477    
   2  Index         .94563        .83220        .71627E-02   -.94564    
   3  Normalizat    .93194        .22867        .31977E-03   -.95347    
   4  Prefactor     1.1736        .15655        .19566E-03   -.87148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91633e-11
Minuit parameter uncertainties:
  1  3.87154
  2  0.843847
  3  0.228913
  4  0.156614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/603104': 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) = 6572.98947678
delta logL = 2.35697027721

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.333e+00  3.872e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  9.456e-01  8.438e-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:  1.174e+00  1.566e-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.319e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.46
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 0.95 +/- 0.84
Photon Flux (Free Index): 7.31e-09 +/- 1.19e-08
Energy Flux (Free Index): 1.20e-04 +/- 1.36e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/603104/cmap_HighResolution_371001601_371260801_4FGL_J2135.3-5006_daily_bin508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.83e-08', energy_flux2='1.20e-04', photon_flux_error='4.71e-08', dlogl='2.36e+00', energy_flux='2.47e-05', photon_flux2='7.31e-09', job_status='DONE', time_completed='2021-09-26 19:58:52.289627', photon_index_error2='0.84', photon_index2='0.95', ts='7.78', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.87', time_epoch_completed='1632711532.29', return_code='0', job_id='603104', GAL2='1.17', EG2='0.93', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='1.19e-08', ts2='12.46', photon_index='2.43' WHERE bin_id='508' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:58:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 603104: <4FGL_J2135.3-5006_daily_bin508> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin508> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:45:44 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:46:52 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:52 2021
Terminated at Sun Sep 26 19:58:53 2021
Results reported at Sun Sep 26 19:58:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin508 323.836 -50.1015 371001601 371260801 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 :                                   653.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            789 sec.

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

