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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin594
RA = 323.836, Dec = -50.1015
tmin = 393292801, tmax = 393552001
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='603236', job_status='RUN', time_executed='2021-09-26 19:48:01.376355', time_epoch_executed='1632710881.38' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='594'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/603236

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/603236/ft1_4FGL_J2135.3-5006_daily_bin594.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/603236/ft2_4FGL_J2135.3-5006_daily_bin594.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/603236/ft1_4FGL_J2135.3-5006_daily_bin594.fits outfile=/scratch/kocevski/603236/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin594.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=393292801.0 tmax=393552001.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 4.93
user 4.72
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/603236/ft1_filtered_4FGL_J2135.3-5006_daily_bin594.fits" evtable="EVENTS" scfile=/scratch/kocevski/603236/ft2_4FGL_J2135.3-5006_daily_bin594.fits sctable="SC_DATA" outfile=/scratch/kocevski/603236/ltcube_393292801_393552001_4FGL_J2135.3-5006_daily_bin594.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/603236/ft2_4FGL_J2135.3-5006_daily_bin594.fits
.....................!
real 13.39
user 12.97
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/603236/ft1_filtered_4FGL_J2135.3-5006_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/603236/ft2_4FGL_J2135.3-5006_daily_bin594.fits sctable="SC_DATA" expcube=/scratch/kocevski/603236/ltcube_393292801_393552001_4FGL_J2135.3-5006_daily_bin594.fits outfile=/scratch/kocevski/603236/expmap_393292801_393552001_4FGL_J2135.3-5006_daily_bin594.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/603236/ltcube_393292801_393552001_4FGL_J2135.3-5006_daily_bin594.fits
.....................!
real 190.94
user 185.55
sys 5.01

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/603236/ft1_filtered_4FGL_J2135.3-5006_daily_bin594.fits scfile=/scratch/kocevski/603236/ft2_4FGL_J2135.3-5006_daily_bin594.fits outfile=/scratch/kocevski/603236/cmap_393292801_393552001_4FGL_J2135.3-5006_daily_bin594.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11171E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2080       1.0000         .10000E-03   10000.    
     4 'norm      '    4.2346       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.239       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0377       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59877E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0772       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.625       1.0000         .10000E-03   10000.    
    11 'norm      '    .38563E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.800       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1546       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    102.99       1.0000         .10000E-03   10000.    
    17 'norm      '    3.5570       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .64027       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8132       1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.881       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1857       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99168       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96606       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=   7980.706     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2807 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.140        .15744E-06** at limit **
   2  Prefactor     .10000E-03    1.2531        .11087E-07** at limit **
   3  Prefactor     2.2107        7.8517        .60671E-06   -.14873E-03
   4  norm          4.2353        1.7749        .43403E-07    .13715E-04
   5  Prefactor     39.242        38.994        .19381E-06    .44763E-04
   6  Prefactor     .10000E-03    67.011       -.48071E-06** at limit **
   7  Prefactor     3.0380        5.8157        .90261E-06    .17987E-03
   8  Prefactor     .10026E-03    21.087        .38583E-05** at limit **
   9  Prefactor     2.1006        50.276        .27704E-05    .52030E-04
  10  Prefactor     13.626        4.8429       -.10198E-06   -.62742E-03
  11  norm          .60717E-01    2.0436       -.76296E-06    .38622E-03
  12  Prefactor     .10000E-03    6.3435        .82236E-07** at limit **
  13  Prefactor     14.806        25.782        .37706E-06    .10543E-03
  14  Prefactor     2.1558        6.8768        .17762E-05    .25242E-03
  15  Prefactor     .10000E-03    1.7489       -.90922E-07** at limit **
  16  Prefactor     102.98        101.02       -.18219E-05   -.63691E-04
  17  norm          3.5570        5.7787        .46387E-06    .19174E-03
  18  Prefactor     .64097        1.9990        .13804E-05    .26839E-03
  19  Prefactor     4.8138        4.1341        .12658E-06    .11839E-03
  20  Prefactor     28.876        31.000       -.56977E-06   -.12668E-03
  21  Prefactor     3.1880        13.101        .89777E-06   -.10099E-04
  22  Prefactor     .10000E-03    24.443       -.37962E-06** at limit **
  23  Normalizat    .99162        .18294       -.34639E-06   -.19010E-03
  24  Prefactor     .96594        .11639       -.21570E-06   -.22916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.21074
  norm       = 4.23528
  Prefactor  = 39.2425
  Prefactor  = 0.000100001
  Prefactor  = 3.03798
  Prefactor  = 0.000100262
  Prefactor  = 2.10063
  Prefactor  = 13.6256
  norm       = 0.060717
  Prefactor  = 0.0001
  Prefactor  = 14.8063
  Prefactor  = 2.15577
  Prefactor  = 0.0001
  Prefactor  = 102.98
  norm       = 3.55701
  Prefactor  = 0.640974
  Prefactor  = 4.81377
  Prefactor  = 28.8759
  Prefactor  = 3.18798
  Prefactor  = 0.0001
  Normalizat = 0.991623
  Prefactor  = 0.965941
 **********
 **   18 **HESSE 
 **********

 FCN=   7980.706     FROM HESSE     STATUS=OK           409 CALLS     3216 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.6875        .19289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2107        7.9861        .27684E-03   -1.5411    
   4  norm          4.2353        1.7726        .73427E-04   -1.5296    
   5  Prefactor     39.242        38.942        .63987E-04   -1.4454    
   6  Prefactor     .10000E-03    67.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0380        5.7946        .23281E-03   -1.5359    
   8  Prefactor     .10026E-03    75.556        .65321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1006        50.667        .28656E-03   -1.5418    
  10  Prefactor     13.626        4.8918        .10851E-03   -1.4970    
  11  norm          .60717E-01    25.678        .22457E-02   -1.5659    
  12  Prefactor     .10000E-03    6.4291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.806        25.867        .10411E-03   -1.4938    
  14  Prefactor     2.1558        6.8530        .28067E-03   -1.5414    
  15  Prefactor     .10000E-03    3.3645        .22674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     102.98        100.57        .39619E-04   -1.3675    
  17  norm          3.5570        5.7778        .21430E-03   -1.5331    
  18  Prefactor     .64097        2.0316        .22384E-03   -1.5548    
  19  Prefactor     4.8138        4.1310        .16168E-03   -1.5269    
  20  Prefactor     28.876        30.636        .74550E-04   -1.4633    
  21  Prefactor     3.1880        12.689        .22703E-03   -1.5351    
  22  Prefactor     .10000E-03    24.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .99162        .21045        .28601E-03   -.93312    
  24  Prefactor     .96594        .13584        .19623E-03   -.93874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69121e-09
Minuit parameter uncertainties:
  1  7.4083e-05
  2  7.25968e-06
  3  7.9899
  4  1.77263
  5  38.9677
  6  0.000383416
  7  5.79564
  8  0.00890931
  9  20.6523
  10  4.89193
  11  2.49629
  12  1.8582e-05
  13  25.8867
  14  6.85553
  15  2.29777e-06
  16  100.737
  17  5.7787
  18  2.03179
  19  4.13126
  20  30.6525
  21  12.6994
  22  0.000178838
  23  0.210631
  24  0.135884
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.363e+01  4.892e+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.659e-01  1.359e-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.916e-01  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.37
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 4.27e-08
Energy Flux (Fixed Index): 3.75e-05 +/- 1.35e-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) = 7980.70580084
delta logL = 0.00015138550043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7980.70573425
delta logL = 0.000217975392843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.570       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4384       1.0000          .0000       10.000    
     3 'Normalizat'    .99108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96608       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7980.706     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      268 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.562        5.8715        .54367E-03   -.86990E-05
   2  Index         2.4376        .35794        .51447E-02    .45905E-03
   3  Normalizat    .99092        .19940        .28610E-03   -.30597E-05
   4  Prefactor     .96622        .13348        .19620E-03   -.75906E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5615
  Index      = 2.43762
  Normalizat = 0.990924
  Prefactor  = 0.966224
 **********
 **   18 **HESSE 
 **********

 FCN=   7980.706     FROM HESSE     STATUS=OK            27 CALLS      295 TOTAL
                     EDM=   .71E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.562        5.7319        .21747E-04   -1.4971    
   2  Index         2.4376        .34926        .10289E-02   -.53807    
   3  Normalizat    .99092        .19952        .11444E-04   -.93335    
   4  Prefactor     .96622        .13356        .78481E-05   -.93864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.14877e-14
Minuit parameter uncertainties:
  1  5.73212
  2  0.349645
  3  0.199666
  4  0.133607
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/603236': 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) = 7980.70572531
delta logL = 0.000226920223213

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.662e-01  1.336e-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.909e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.35
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.44 +/- 0.35
Photon Flux (Free Index): 1.19e-07 +/- 5.03e-08
Energy Flux (Free Index): 3.73e-05 +/- 1.54e-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/603236/cmap_HighResolution_393292801_393552001_4FGL_J2135.3-5006_daily_bin594.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='3.73e-05', photon_flux_error='4.27e-08', dlogl='2.27e-04', energy_flux='3.75e-05', photon_flux2='1.19e-07', job_status='DONE', time_completed='2021-09-26 20:00:19.023078', photon_index_error2='0.35', photon_index2='2.44', ts='18.37', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.54e-05', EG='0.99', time_epoch_completed='1632711619.02', return_code='0', job_id='603236', GAL2='0.97', EG2='0.99', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='5.03e-08', ts2='18.35', photon_index='2.43' WHERE bin_id='594' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:00:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 603236: <4FGL_J2135.3-5006_daily_bin594> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin594 323.836 -50.1015 393292801 393552001 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 :                                   720.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            865 sec.

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

