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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin469
RA = 323.836, Dec = -50.1015
tmin = 360892801, tmax = 361152001
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='603033', job_status='RUN', time_executed='2021-09-26 19:48:51.526445', time_epoch_executed='1632710931.53' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/603033

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/603033/ft1_4FGL_J2135.3-5006_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/603033/ft2_4FGL_J2135.3-5006_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/603033/ft1_4FGL_J2135.3-5006_daily_bin469.fits outfile=/scratch/kocevski/603033/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin469.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=360892801.0 tmax=361152001.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.53
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/603033/ft2_4FGL_J2135.3-5006_daily_bin469.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/603033/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin469.fits evtable="EVENTS" outfile="/scratch/kocevski/603033/ft1_filtered_4FGL_J2135.3-5006_daily_bin469.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.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/603033/ft1_filtered_4FGL_J2135.3-5006_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/603033/ft2_4FGL_J2135.3-5006_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/603033/ltcube_360892801_361152001_4FGL_J2135.3-5006_daily_bin469.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/603033/ft2_4FGL_J2135.3-5006_daily_bin469.fits
.....................!
real 13.70
user 13.30
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/603033/ft1_filtered_4FGL_J2135.3-5006_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/603033/ft2_4FGL_J2135.3-5006_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/603033/ltcube_360892801_361152001_4FGL_J2135.3-5006_daily_bin469.fits outfile=/scratch/kocevski/603033/expmap_360892801_361152001_4FGL_J2135.3-5006_daily_bin469.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/603033/ltcube_360892801_361152001_4FGL_J2135.3-5006_daily_bin469.fits
.....................!
real 191.92
user 186.50
sys 5.06

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/603033/ft1_filtered_4FGL_J2135.3-5006_daily_bin469.fits scfile=/scratch/kocevski/603033/ft2_4FGL_J2135.3-5006_daily_bin469.fits outfile=/scratch/kocevski/603033/cmap_360892801_361152001_4FGL_J2135.3-5006_daily_bin469.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/603033/ft1_filtered_4FGL_J2135.3-5006_daily_bin469.fits scfile=/scratch/kocevski/603033/ft2_4FGL_J2135.3-5006_daily_bin469.fits outfile=/scratch/kocevski/603033/cmap_HighResolution_360892801_361152001_4FGL_J2135.3-5006_daily_bin469.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/603033/ft1_filtered_4FGL_J2135.3-5006_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/603033/ft2_4FGL_J2135.3-5006_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/603033/Model_4FGL_J2135.3-5006_daily_bin469.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/603033/ft1_filtered_4FGL_J2135.3-5006_daily_bin469.fits.....................!
real 63.38
user 62.03
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3020       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.885       1.0000         .10000E-03   10000.    
     4 'norm      '    5.1058       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.402       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.692       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.700       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.018       1.0000         .10000E-03   10000.    
    11 'norm      '    9.3724       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5335       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7267       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1651       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2059       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.920       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .30360E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.715       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .65178       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1727       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8848.288     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     2318 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3050        1.0838       -.80532E-08   -.11629E-05
   2  Prefactor     .10000E-03    .85591       -.56956E-07** at limit **
   3  Prefactor     15.883        1.3486        .56898E-06   -.62993E-03
   4  norm          5.1058        1.8334       -.42461E-07   -.23201E-04
   5  Prefactor     .10000E-03    11.408        .14417E-05** at limit **
   6  Prefactor     .17512E-03    159.55        .14909E-04** at limit **
   7  Prefactor     25.401        1.0740       -.49046E-07   -.12628E-03
   8  Prefactor     22.692        1.0218        .13800E-07   -.27898E-03
   9  Prefactor     33.702        1.0536       -.16101E-06    .50499E-03
  10  Prefactor     10.017        4.4528       -.68119E-06   -.12481E-02
  11  norm          9.3725        4.1459       -.14093E-05   -.22632E-02
  12  Prefactor     .10000E-03    2.6014        .61574E-07** at limit **
  13  Prefactor     .10000E-03    13.698        .17806E-08** at limit **
  14  Prefactor     4.5290        6.4245       -.62777E-05   -.50818E-02
  15  Prefactor     2.7266        3.1642        .41043E-06    .11647E-03
  16  Prefactor     .37595E-03    103.03       -.13440E-04** at limit **
  17  norm          .10000E-03    2.4954       -.56880E-07** at limit **
  18  Prefactor     1.1650        2.6877       -.10034E-05   -.10544E-03
  19  Prefactor     4.2056        5.1588        .61230E-05    .45484E-02
  20  Prefactor     20.928        1.7001       -.65798E-06    .25277E-02
  21  Prefactor     .10031E-03    40.807        .26307E-05** at limit **
  22  Prefactor     16.726        1.9383        .69328E-06   -.16582E-02
  23  Normalizat    .65185        .19494        .26126E-05    .16404E-04
  24  Prefactor     1.1727        .12955       -.75786E-06   -.24456E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.30496
  Prefactor  = 0.0001
  Prefactor  = 15.8831
  norm       = 5.10579
  Prefactor  = 0.000100002
  Prefactor  = 0.000175118
  Prefactor  = 25.4013
  Prefactor  = 22.6921
  Prefactor  = 33.7017
  Prefactor  = 10.0171
  norm       = 9.37249
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 4.52902
  Prefactor  = 2.72656
  Prefactor  = 0.000375946
  norm       = 0.0001
  Prefactor  = 1.165
  Prefactor  = 4.20558
  Prefactor  = 20.9283
  Prefactor  = 0.000100314
  Prefactor  = 16.7256
  Normalizat = 0.651847
  Prefactor  = 1.17268
 **********
 **   18 **HESSE 
 **********

 FCN=   8848.288     FROM HESSE     STATUS=OK           455 CALLS     2773 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3050        144.00        .67618E-02   -1.5404    
   2  Prefactor     .10000E-03    .84255        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.883        15.164        .25123E-02   -1.4911    
   4  norm          5.1058        1.8390        .44483E-02   -1.5256    
   5  Prefactor     .10000E-03    11.407        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17512E-03    219.21        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.401        8.1785        .19870E-02   -1.4700    
   8  Prefactor     22.692        21.005        .21021E-02   -1.4755    
   9  Prefactor     33.702        20.373        .17257E-02   -1.4546    
  10  Prefactor     10.017        4.4871        .31651E-02   -1.5075    
  11  norm          9.3725        4.2642        .32727E-02   -1.5096    
  12  Prefactor     .10000E-03    2.5846        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.686        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5290        6.5525        .47269E-02   -1.5282    
  15  Prefactor     2.7266        3.1845        .61652E-02   -1.5378    
  16  Prefactor     .37595E-03    326.05        .90712E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.4908        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1650        2.7250        .10652E-01   -1.5492    
  19  Prefactor     4.2056        5.3402        .49125E-02   -1.5298    
  20  Prefactor     20.928        26.392        .21893E-02   -1.4793    
  21  Prefactor     .10031E-03    4.8984        .10692       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.726        71.061        .24491E-02   -1.4890    
  23  Normalizat    .65185        .18437        .80318E-01   -1.0583    
  24  Prefactor     1.1727        .11829        .35310E-01   -.87176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34967e-06
Minuit parameter uncertainties:
  1  36.5283
  2  3.43442e-07
  3  15.1672
  4  1.83899
  5  0.000331712
  6  0.257592
  7  8.17884
  8  21.0117
  9  20.3773
  10  4.48726
  11  4.26438
  12  1.50266e-06
  13  0.000408967
  14  6.55354
  15  3.18469
  16  0.603215
  17  4.0505e-06
  18  2.72525
  19  5.34077
  20  26.4068
  21  0.00248082
  22  69.0903
  23  0.184546
  24  0.118316
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.002e+01  4.487e+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.173e+00  1.183e-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:  6.518e-01  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.40
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 8.74e-08 +/- 3.91e-08
Energy Flux (Fixed Index): 2.76e-05 +/- 1.23e-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) = 8847.99271092
delta logL = 0.295139816893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8847.98163637
delta logL = 0.306214371471

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.804       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1059       1.0000          .0000       10.000    
     3 'Normalizat'    .67594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1648       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=   8847.982     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .78E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.806        119.95        .30472E-02    .10177E-03
   2  Index         2.1061        6.0307        .20573        .23301E-04
   3  Normalizat    .67595        .14441        .79047E-01    .48320E-04
   4  Prefactor     1.1648        .73337E-01    .35522E-01   -.33322E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8065
  Index      = 2.10609
  Normalizat = 0.675952
  Prefactor  = 1.16479
 **********
 **   18 **HESSE 
 **********

 FCN=   8847.982     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.806        5.3471        .12189E-03   -1.5050    
   2  Index         2.1061        .41532        .71781E-02   -.61723    
   3  Normalizat    .67595        .18599        .35000E-03   -1.0485    
   4  Prefactor     1.1648        .12815        .19000E-03   -.87422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53136e-12
Minuit parameter uncertainties:
  1  5.34732
  2  0.416046
  3  0.18616
  4  0.128185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/603033': 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) = 8847.98163618
delta logL = 0.30621456173

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.081e+01  5.347e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.106e+00  4.160e-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.165e+00  1.282e-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:  6.760e-01  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.97
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.11 +/- 0.42
Photon Flux (Free Index): 6.40e-08 +/- 4.47e-08
Energy Flux (Free Index): 3.47e-05 +/- 2.18e-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/603033/cmap_HighResolution_360892801_361152001_4FGL_J2135.3-5006_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.74e-08', energy_flux2='3.47e-05', photon_flux_error='3.91e-08', dlogl='3.06e-01', energy_flux='2.76e-05', photon_flux2='6.40e-08', job_status='DONE', time_completed='2021-09-26 20:00:40.028192', photon_index_error2='0.42', photon_index2='2.11', ts='11.40', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='2.18e-05', EG='0.65', time_epoch_completed='1632711640.03', return_code='0', job_id='603033', GAL2='1.16', EG2='0.68', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='4.47e-08', ts2='11.97', photon_index='2.43' WHERE bin_id='469' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:00:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 603033: <4FGL_J2135.3-5006_daily_bin469> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin469 323.836 -50.1015 360892801 361152001 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 :                                   704.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            901 sec.

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

