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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1144
RA = 323.836, Dec = -50.1015
tmin = 535852801, tmax = 536112001
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='606126', job_status='RUN', time_executed='2021-09-26 19:58:22.515892', time_epoch_executed='1632711502.52' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606126

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606126/ft1_4FGL_J2135.3-5006_daily_bin1144.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606126/ft1_4FGL_J2135.3-5006_daily_bin1144.fits outfile=/scratch/kocevski/606126/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1144.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=535852801.0 tmax=536112001.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.63
user 3.39
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.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/606126/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1144.fits evtable="EVENTS" outfile="/scratch/kocevski/606126/ft1_filtered_4FGL_J2135.3-5006_daily_bin1144.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606126/ft1_filtered_4FGL_J2135.3-5006_daily_bin1144.fits" evtable="EVENTS" scfile=/scratch/kocevski/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.fits sctable="SC_DATA" outfile=/scratch/kocevski/606126/ltcube_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.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/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.fits
.....................!
real 13.68
user 13.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606126/ft1_filtered_4FGL_J2135.3-5006_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.fits sctable="SC_DATA" expcube=/scratch/kocevski/606126/ltcube_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.fits outfile=/scratch/kocevski/606126/expmap_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.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/606126/ltcube_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.fits
.....................!
real 190.12
user 185.64
sys 4.09

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/606126/ft1_filtered_4FGL_J2135.3-5006_daily_bin1144.fits scfile=/scratch/kocevski/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.fits outfile=/scratch/kocevski/606126/cmap_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=323.836 yref=-50.1015 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606126/ft1_filtered_4FGL_J2135.3-5006_daily_bin1144.fits scfile=/scratch/kocevski/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.fits outfile=/scratch/kocevski/606126/cmap_HighResolution_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606126/ft1_filtered_4FGL_J2135.3-5006_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/606126/ft2_4FGL_J2135.3-5006_daily_bin1144.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606126/Model_4FGL_J2135.3-5006_daily_bin1144.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/606126/ft1_filtered_4FGL_J2135.3-5006_daily_bin1144.fits.....................!
real 55.95
user 54.55
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.678       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.8035       1.0000         .10000E-03   10000.    
     5 'Prefactor '    56.373       1.0000         .10000E-03   10000.    
     6 'Prefactor '    60.515       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.515       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.5189       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    32.002       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .35364E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.033       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.537       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7849       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .37181E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.1326       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7293       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9139       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98806       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0287       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=   7450.740     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2679 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.675        33.204       -.27742E-05   -.13107E-04
   2  Prefactor     .10000E-03    .81025        .11105E-06** at limit **
   3  Prefactor     .10000E-03    9.0815        .10557E-05** at limit **
   4  norm          3.8033        1.7713        .49973E-06   -.32825E-03
   5  Prefactor     56.355        45.927       -.15626E-04   -.40248E-04
   6  Prefactor     60.731        101.86        .25794E-03    .12154E-05
   7  Prefactor     15.515        9.0963        .19722E-05   -.12888E-03
   8  Prefactor     .10000E-03    22.738        .38906E-05** at limit **
   9  Prefactor     8.5153        20.790        .31874E-05   -.36461E-04
  10  Prefactor     .10000E-03    1.8346        .17285E-06** at limit **
  11  norm          32.005        7.9177        .51275E-06   -.18815E-03
  12  Prefactor     .10014E-03    4.0539        .19648E-06** at limit **
  13  Prefactor     11.027        34.369       -.10039E-04    .26615E-04
  14  Prefactor     14.559        9.7839        .40779E-06    .74252E-03
  15  Prefactor     1.7849        2.0777        .31251E-06    .20581E-03
  16  Prefactor     .10001E-03    244.31       -.12051E-03** at limit **
  17  norm          7.1333        6.4291        .11641E-05    .13390E-02
  18  Prefactor     2.7291        4.3409        .99027E-06   -.60326E-03
  19  Prefactor     4.9142        5.4224       -.30635E-06   -.20827E-03
  20  Prefactor     .10000E-03    30.328       -.42883E-05** at limit **
  21  Prefactor     .10000E-03    9.5282       -.38855E-07** at limit **
  22  Prefactor     .10000E-03    63.449        .14254E-04** at limit **
  23  Normalizat    .98810        .20174       -.35808E-05   -.66240E-04
  24  Prefactor     1.0287        .12812       -.65869E-05    .43774E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.6748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.80335
  Prefactor  = 56.3552
  Prefactor  = 60.7308
  Prefactor  = 15.5148
  Prefactor  = 0.0001
  Prefactor  = 8.51534
  Prefactor  = 0.0001
  norm       = 32.0049
  Prefactor  = 0.000100138
  Prefactor  = 11.0267
  Prefactor  = 14.5591
  Prefactor  = 1.78485
  Prefactor  = 0.000100011
  norm       = 7.1333
  Prefactor  = 2.72906
  Prefactor  = 4.91418
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.988098
  Prefactor  = 1.02874
 **********
 **   18 **HESSE 
 **********

 FCN=   7450.740     FROM HESSE     STATUS=OK           401 CALLS     3080 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.675        33.211        .90289E-04   -1.4821    
   2  Prefactor     .10000E-03    .81908        .75843E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.1209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.8033        1.7694        .74981E-04   -1.5318    
   5  Prefactor     56.355        45.929        .26714E-03   -1.4205    
   6  Prefactor     60.731        101.72        .25789E-03   -1.4148    
   7  Prefactor     15.515        9.0997        .10168E-03   -1.4920    
   8  Prefactor     .10000E-03    22.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.5153        20.785        .13734E-03   -1.5124    
  10  Prefactor     .10000E-03    1.8515        .11411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          32.005        7.8928        .70831E-04   -1.4576    
  12  Prefactor     .10014E-03    28.845        .33628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.027        34.387        .12061E-03   -1.5044    
  14  Prefactor     14.559        9.7774        .10505E-03   -1.4945    
  15  Prefactor     1.7849        2.0748        .12987E-03   -1.5441    
  16  Prefactor     .10001E-03    244.96        .21297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.1333        6.4337        .75100E-03   -1.5174    
  18  Prefactor     2.7291        4.3326        .21773E-03   -1.5378    
  19  Prefactor     4.9142        5.4369        .18144E-03   -1.5265    
  20  Prefactor     .10000E-03    30.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.6530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    63.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98810        .23587        .30969E-03   -.93430    
  24  Prefactor     1.0287        .14965        .20335E-03   -.91778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2e-09
Minuit parameter uncertainties:
  1  33.2427
  2  5.4543e-06
  3  0.000101085
  4  1.76938
  5  45.9576
  6  102.015
  7  9.10051
  8  0.000115401
  9  20.8023
  10  3.35642e-05
  11  7.89304
  12  0.00399584
  13  34.4483
  14  9.77846
  15  2.07484
  16  0.00334152
  17  6.43435
  18  4.33308
  19  5.43748
  20  0.000328883
  21  0.000102514
  22  0.000101214
  23  0.236119
  24  0.14971
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.356e-05  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.029e+00  1.497e-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.881e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 6.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/606126/likelihoodResults_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.txt

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): 102
logL (Free Index) = 7450.7424124
delta logL = -0.00256986359091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7450.73984257
delta logL = -3.07209120365e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4361       1.0000          .0000       10.000    
     3 'Normalizat'    .98812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0288       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7450.740     FROM MIGRAD    STATUS=CONVERGED    258 CALLS      409 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15593E-02    .61981E-01    .94252E-02** at limit **
   2  Index         5.1260        2.8147        .50000        .51503E-05
   3  Normalizat    .98681        .63524E-02    .30969E-03   -.47612E-04
   4  Prefactor     1.0292        .42739E-02    .20336E-03   -.91707E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00155933
  Index      = 5.12597
  Normalizat = 0.98681
  Prefactor  = 1.02924
 **********
 **   18 **HESSE 
 **********

 FCN=   7450.740     FROM HESSE     STATUS=OK            31 CALLS      440 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15593E-02    1.1531        .32203E-03   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.1260        6.4362        .38686E-01    .25196E-01
   3  Normalizat    .98681        .22468        .12388E-04   -.93474    
   4  Prefactor     1.0292        .14860        .40671E-04   -.91761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07127e-09
Minuit parameter uncertainties:
  1  0.0820432
  2  19.0434
  3  0.2249
  4  0.148656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606126': 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) = 7450.73958824
delta logL = 0.000254293971921

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.559e-03  8.204e-02  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  5.126e+00  1.904e+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.029e+00  1.487e-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.868e-01  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 323.836 -50.102

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/606126/cmap_HighResolution_535852801_536112001_4FGL_J2135.3-5006_daily_bin1144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2021-09-26 20:11:04.350633', job_id='606126', GAL2='1.03', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632712264.35', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.54e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1144' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:11:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 606126: <4FGL_J2135.3-5006_daily_bin1144> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1144> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:55:36 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:57:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 19:57:54 2021
Terminated at Sun Sep 26 20:11:05 2021
Results reported at Sun Sep 26 20:11:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1144 323.836 -50.1015 535852801 536112001 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 :                                   754.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            929 sec.

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

