aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 53 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 = 7471
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1686
RA = 323.836, Dec = -50.1015
tmin = 676339201, tmax = 676598401
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='520536', job_status='RUN', time_executed='2022-06-11 00:44:00.708230', time_epoch_executed='1654933440.71' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520536/ft1_4FGL_J2135.3-5006_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520536/ft2_4FGL_J2135.3-5006_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520536/ft1_4FGL_J2135.3-5006_daily_bin1686.fits outfile=/scratch/kocevski/520536/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1686.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=676339201.0 tmax=676598401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.82
user 2.60
sys 0.19

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

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

Number of photons that the gtmktime cut: 513

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520536/ft1_filtered_4FGL_J2135.3-5006_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/520536/ft2_4FGL_J2135.3-5006_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/520536/ltcube_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.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/520536/ft2_4FGL_J2135.3-5006_daily_bin1686.fits
.....................!
real 16.61
user 16.21
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520536/ft1_filtered_4FGL_J2135.3-5006_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/520536/ft2_4FGL_J2135.3-5006_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/520536/ltcube_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.fits outfile=/scratch/kocevski/520536/expmap_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.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/520536/ltcube_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.fits
.....................!
real 191.96
user 186.77
sys 4.63

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/520536/ft1_filtered_4FGL_J2135.3-5006_daily_bin1686.fits scfile=/scratch/kocevski/520536/ft2_4FGL_J2135.3-5006_daily_bin1686.fits outfile=/scratch/kocevski/520536/cmap_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520536/ft1_filtered_4FGL_J2135.3-5006_daily_bin1686.fits scfile=/scratch/kocevski/520536/ft2_4FGL_J2135.3-5006_daily_bin1686.fits outfile=/scratch/kocevski/520536/cmap_HighResolution_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.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.60
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88021E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7340       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .56466       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.732       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.561       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.318       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10278E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.535       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.9730       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0128       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.7801       1.0000         .10000E-03   10000.    
    17 'norm      '    5.8447       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .25445E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .86298       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93836       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=   5706.811     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2717 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    265.42       -.28271E-05** at limit **
   2  Prefactor     8.7355        5.9608        .18186E-05   -.86178E-04
   3  Prefactor     .10000E-03    10.606       -.40045E-05** at limit **
   4  norm          .56349        1.8929       -.69887E-06   -.14238E-02
   5  Prefactor     .10000E-03    33.157       -.22991E-06** at limit **
   6  Prefactor     .10000E-03    57.073       -.52702E-06** at limit **
   7  Prefactor     .10000E-03    2.7914        .14931E-07** at limit **
   8  Prefactor     32.726        34.865       -.37918E-06   -.29143E-04
   9  Prefactor     26.560        29.269       -.71095E-06   -.18450E-05
  10  Prefactor     .10000E-03    2.5180        .16310E-07** at limit **
  11  norm          10.320        5.6499        .65935E-06   -.15849E-03
  12  Prefactor     .10000E-03    10.266        .43427E-05** at limit **
  13  Prefactor     11.523        28.831        .38154E-05   -.16434E-05
  14  Prefactor     9.9758        11.061        .61777E-05    .14370E-03
  15  Prefactor     5.0143        4.8876        .35169E-06   -.32247E-03
  16  Prefactor     7.7360        270.75       -.12354E-03   -.12644E-04
  17  norm          5.8456        6.3210        .14624E-05   -.10067E-03
  18  Prefactor     .10000E-03    1.5964        .14456E-06** at limit **
  19  Prefactor     .10000E-03    1.5466        .19487E-07** at limit **
  20  Prefactor     .10000E-03    13.499       -.44764E-06** at limit **
  21  Prefactor     .10000E-03    2.4613        .56536E-07** at limit **
  22  Prefactor     .10000E-03    18.941        .47257E-06** at limit **
  23  Normalizat    .86312        .19326       -.49827E-06   -.85755E-05
  24  Prefactor     .93819        .13179        .50144E-07   -.21813E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.73553
  Prefactor  = 0.0001
  norm       = 0.563491
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.7257
  Prefactor  = 26.5596
  Prefactor  = 0.0001
  norm       = 10.32
  Prefactor  = 0.0001
  Prefactor  = 11.5229
  Prefactor  = 9.97576
  Prefactor  = 5.01432
  Prefactor  = 7.73596
  norm       = 5.84559
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.863119
  Prefactor  = 0.938189
 **********
 **   18 **HESSE 
 **********

 FCN=   5706.811     FROM HESSE     STATUS=OK           399 CALLS     3116 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    266.76        .18309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7355        5.9522        .13563E-03   -1.5117    
   3  Prefactor     .10000E-03    10.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .56349        1.8952        .18415E-03   -1.5558    
   5  Prefactor     .10000E-03    33.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    57.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8033        .12324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     32.726        34.843        .70038E-04   -1.4563    
   9  Prefactor     26.560        29.254        .77731E-04   -1.4677    
  10  Prefactor     .10000E-03    2.5466        .11698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.320        5.6401        .12106E-03   -1.5065    
  12  Prefactor     .10000E-03    10.658        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.523        28.786        .11796E-03   -1.5029    
  14  Prefactor     9.9758        10.990        .12689E-03   -1.5076    
  15  Prefactor     5.0143        4.8832        .14748E-03   -1.5260    
  16  Prefactor     7.7360        268.83        .14376E-03   -1.5152    
  17  norm          5.8456        6.3083        .16612E-03   -1.5224    
  18  Prefactor     .10000E-03    9.4671        .18287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.5558        .91708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.4675        .11574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    18.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .86312        .21879        .27781E-03   -.97768    
  24  Prefactor     .93819        .15111        .19516E-03   -.94819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50083e-09
Minuit parameter uncertainties:
  1  0.00012238
  2  5.95258
  3  1.16802e-05
  4  1.89536
  5  1.56641e-05
  6  6.83494e-06
  7  2.19263e-06
  8  34.8643
  9  29.2702
  10  8.63773e-06
  11  5.64044
  12  7.35775e-05
  13  28.8205
  14  10.9922
  15  4.88357
  16  91.6562
  17  6.30904
  18  0.000118276
  19  5.29957e-06
  20  4.57458e-05
  21  2.83257e-06
  22  2.41252e-06
  23  0.219014
  24  0.15118
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  8.638e-06  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.382e-01  1.512e-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.631e-01  2.190e-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: 7.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/520536/likelihoodResults_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.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) = 5706.81314248
delta logL = -0.00187071314667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5706.81127187
delta logL = -1.08007952804e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4462       1.0000          .0000       10.000    
     3 'Normalizat'    .86305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93827       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=   5706.811     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      235 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    576.65        .11815E-02** at limit **
   2  Index         2.4626        5.9332        .50000       -.56441E-04
   3  Normalizat    .86312        .13368        .27781E-03    .74068E-05
   4  Prefactor     .93819        .98032E-01    .19516E-03    .38098E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 2.46258
  Normalizat = 0.863119
  Prefactor  = 0.93819
 **********
 **   18 **HESSE 
 **********

 FCN=   5706.811     FROM HESSE     STATUS=OK            29 CALLS      264 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    2.7736        .23630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4626        6.2312        .50000       -.53226    
   3  Normalizat    .86312        .19996        .11113E-04   -.97768    
   4  Prefactor     .93819        .14684        .78063E-05   -.94819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14457e-09
Minuit parameter uncertainties:
  1  0.000306247
  2  4.45003
  3  0.200127
  4  0.146902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520536': 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) = 5706.81127135
delta logL = 4.1627936298e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.382e-01  1.469e-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.631e-01  2.001e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/520536/cmap_HighResolution_676339201_676598401_4FGL_J2135.3-5006_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', job_status='DONE', photon_flux_upper_limit='7.87e-08', time_completed='2022-06-11 00:54:40.064824', job_id='520536', GAL2='0.94', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1654934080.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1686' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:54:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 520536: <4FGL_J2135.3-5006_daily_bin1686> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:40:30 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:43:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:43:00 2022
Terminated at Sat Jun 11 00:54:40 2022
Results reported at Sat Jun 11 00:54:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1686 323.836 -50.1015 676339201 676598401 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 :                                   641.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            850 sec.

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

