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 100 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7622
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1724
RA = 323.836, Dec = -50.1015
tmin = 686188801, tmax = 686448001
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='707779', job_status='RUN', time_executed='2022-10-03 01:19:04.820751', time_epoch_executed='1664785144.82' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707779/ft1_4FGL_J2135.3-5006_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707779/ft1_4FGL_J2135.3-5006_daily_bin1724.fits outfile=/scratch/kocevski/707779/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1724.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=686188801.0 tmax=686448001.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.69
user 4.38
sys 0.24

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

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

Number of photons that the gtmktime cut: 796

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/707779/ltcube_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.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/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits
.....................!
real 13.48
user 13.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/707779/ltcube_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.fits outfile=/scratch/kocevski/707779/expmap_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.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/707779/ltcube_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.fits
.....................!
real 193.12
user 185.82
sys 5.47

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/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits scfile=/scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits outfile=/scratch/kocevski/707779/cmap_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits scfile=/scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits outfile=/scratch/kocevski/707779/cmap_HighResolution_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/707779/Model_4FGL_J2135.3-5006_daily_bin1724.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/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits.....................!
real 61.77
user 59.81
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits', '/scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits', expMap='/scratch/kocevski/707779/expmap_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.fits', expCube='/scratch/kocevski/707779/ltcube_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/707779/Model_4FGL_J2135.3-5006_daily_bin1724.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  0.000e+00  1.000e+06 ( 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/707779/ft1_filtered_4FGL_J2135.3-5006_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/707779/ft2_4FGL_J2135.3-5006_daily_bin1724.fits
Exposure map: /scratch/kocevski/707779/expmap_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.fits
Exposure cube: /scratch/kocevski/707779/ltcube_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/707779/Model_4FGL_J2135.3-5006_daily_bin1724.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) = 8470.78528972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61844E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .57430       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24755E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .16959E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10234E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .39192       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.788       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12137E-05   1.0000          .0000       .10000E+07
     9 'norm      '    19.522       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22650E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .46781E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13592E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.7558       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.454       1.0000          .0000       .10000E+07
    15 'norm      '    .22860E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22266E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46838E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .96014E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0564       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99399       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=   8470.779     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1503 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11306E-05    9.9550        .17031E-05** at limit **
   2  Prefactor     .57609        1.9722       -.21961E-06    .24506E-03
   3  Prefactor     .72997E-07    9.5346        .35178E-06** at limit **
   4  norm           .0000        .45320       -.39030E-06** at limit **
   5  Prefactor     .41245E-07    11.900        .16498E-05** at limit **
   6  Prefactor     .45805E-05    9.2108        .11072E-05** at limit **
   7  Prefactor     18.791        1.1566       -.24129E-07   -.53332E-02
   8  Prefactor     .27914E-05    3.7181        .87763E-06** at limit **
   9  norm          19.541        5.7634        .18910E-07    .35134E-04
  10  Prefactor     .61062E-09    2.9476       -.90638E-06** at limit **
  11  Prefactor     .56621E-08    22.221        .22561E-05** at limit **
  12  Prefactor     .27756E-09    2.6599       -.87243E-06** at limit **
  13  Prefactor     2.7551        2.4603        .10048E-06    .25588E-03
  14  Prefactor     39.082        53.850       -.19119E-05    .12837E-01
  15  norm           .0000        1.6681        .57834E-06** at limit **
  16  Prefactor      .0000        1.9167        .26507E-06** at limit **
  17  Prefactor      .0000        1.5208       -.29309E-06** at limit **
  18  Prefactor     .43299E-08    5.0710       -.20034E-05** at limit **
  19  Normalizat    1.0573        .19145        .13906E-04   -.16187E-05
  20  Prefactor     .99379        .12940       -.22707E-05   -.26984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1306e-06
  Prefactor  = 0.576089
  Prefactor  = 7.29972e-08
  norm       = 0
  Prefactor  = 4.12448e-08
  Prefactor  = 4.5805e-06
  Prefactor  = 18.7913
  Prefactor  = 2.79138e-06
  norm       = 19.5414
  Prefactor  = 6.10623e-10
  Prefactor  = 5.66214e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 2.75506
  Prefactor  = 39.0819
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.32987e-09
  Normalizat = 1.05726
  Prefactor  = 0.99379
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.779     FROM HESSE     STATUS=OK           325 CALLS     1828 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11306E-05    13.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .57609        1.9925        .71562E-03   -1.5693    
   3  Prefactor     .72997E-07    9.7647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .45098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .41245E-07    12.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45805E-05    66.839        .90429E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.791        22.767        .23079E-03   -1.5621    
   8  Prefactor     .27914E-05    16.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.541        5.7701        .22640E-03   -1.5620    
  10  Prefactor     .61062E-09    2.9508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .56621E-08    22.302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27756E-09    2.6601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7551        2.4630        .61292E-03   -1.5675    
  14  Prefactor     39.082        54.845        .15922E-03   -1.5583    
  15  norm           .0000        1.6687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.9072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.5190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .43299E-08    5.0883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0573        .16286        .62786E-01   -.91136    
  20  Prefactor     .99379        .10946        .46192E-01   -.92937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39279e-07
Minuit parameter uncertainties:
  1  0.00774565
  2  1.99254
  3  0.00168843
  4  1.09965e-06
  5  0.0014143
  6  0.0349951
  7  22.7672
  8  0.0134842
  9  5.77009
  10  8.44022e-05
  11  0.000709134
  12  5.69333e-05
  13  2.46297
  14  54.8453
  15  4.00834e-06
  16  8.15388e-06
  17  2.90722e-06
  18  0.000296891
  19  0.162938
  20  0.109485
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.791e-06  1.348e-02  0.000e+00  1.000e+06 ( 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.938e-01  1.095e-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:  1.057e+00  1.629e-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.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/707779/likelihoodResults_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.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) = 8470.77657681
delta logL = 0.00276847435089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8470.42900847
delta logL = 0.35033681405

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34380       1.0000          .0000       .10000E+07
     2 'Index     '    4.0769       1.0000          .0000       10.000    
     3 'Normalizat'    1.0104       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0103       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=   8470.429     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      283 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34482        5.6051        .96310E-03    .24781E-01
   2  Index         4.0751        2.7046        .20509        .11014E-03
   3  Normalizat    1.0104        .29235E-01    .45727E-01    .12510E-04
   4  Prefactor     1.0104        .19996E-01    .43281E-01   -.53833E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.344819
  Index      = 4.07514
  Normalizat = 1.01039
  Prefactor  = 1.01036
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.429     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      316 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34482        26.038        .64634E-05   -1.5696    
   2  Index         4.0751        6.5497        .79569E-02   -.18604    
   3  Normalizat    1.0104        .16868        .28311E-03   -.92683    
   4  Prefactor     1.0104        .11391        .19260E-03   -.92385    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.77484e-07
Minuit parameter uncertainties:
  1  5.99285
  2  9.92616
  3  0.168767
  4  0.113939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707779': 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): 102
logL (Free Index) = 8470.42900805
delta logL = 0.350337228663

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  3.448e-01  5.993e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  4.075e+00  9.926e+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:  1.010e+00  1.139e-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:  1.010e+00  1.688e-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/707779/cmap_HighResolution_686188801_686448001_4FGL_J2135.3-5006_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2022-10-03 01:30:14.248232', job_id='707779', GAL2='1.01', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1664785814.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.50e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1724' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 01:30:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 707779: <4FGL_J2135.3-5006_daily_bin1724> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1724> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Oct  3 01:15:36 2022
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 01:17:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 01:17:15 2022
Terminated at Mon Oct  3 01:30:15 2022
Results reported at Mon Oct  3 01:30:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1724 323.836 -50.1015 686188801 686448001 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 :                                   669.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             252.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            879 sec.

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

