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


Performing analysis on: 4FGL_J1539.6+2743_daily_bin1753
RA = 234.902, Dec = 27.7277
tmin = 693705601, tmax = 693964801
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='457673', job_status='RUN', time_executed='2022-12-29 01:09:59.830927', time_epoch_executed='1672304999.83' WHERE source_name='4FGL J1539.6+2743' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/457673

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/457673/ft1_4FGL_J1539.6+2743_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/457673/ft1_4FGL_J1539.6+2743_daily_bin1753.fits outfile=/scratch/kocevski/457673/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin1753.fits ra=234.902 dec=27.7277 rad=12.0 tmin=693705601.0 tmax=693964801.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.65
user 4.34
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.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/457673/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.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.33
sys 0.16

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/457673/ltcube_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.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/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits
.....................!
real 14.13
user 13.55
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/457673/ltcube_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.fits outfile=/scratch/kocevski/457673/expmap_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.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/457673/ltcube_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.fits
.....................!
real 194.09
user 185.87
sys 5.67

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J1539.6+2743 @ 234.902 27.7277

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits scfile=/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits outfile=/scratch/kocevski/457673/cmap_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.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=234.902 yref=27.7277 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/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits scfile=/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits outfile=/scratch/kocevski/457673/cmap_HighResolution_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.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=234.902 yref=27.7277 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.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/457673/Model_4FGL_J1539.6+2743_daily_bin1753.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/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits....................!
real 52.33
user 50.70
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits', '/scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits', expMap='/scratch/kocevski/457673/expmap_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.fits', expCube='/scratch/kocevski/457673/ltcube_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/457673/Model_4FGL_J1539.6+2743_daily_bin1753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1539.6+2743'

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.011e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        Index:  2.330e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/457673/ft1_filtered_4FGL_J1539.6+2743_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/457673/ft2_4FGL_J1539.6+2743_daily_bin1753.fits
Exposure map: /scratch/kocevski/457673/expmap_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.fits
Exposure cube: /scratch/kocevski/457673/ltcube_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/457673/Model_4FGL_J1539.6+2743_daily_bin1753.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) = 6644.72302114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10149E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.8046       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24011E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .67275       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43545E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .44707E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .14443E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11967E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.247       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.6937       1.0000          .0000       .10000E+07
    11 'Prefactor '    .27434E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40142E-04   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.2862       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .77668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6644.541     FROM MIGRAD    STATUS=CONVERGED    316 CALLS      941 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7806       -.17430E-07** at limit **
   2  Prefactor     .25729        48.311       -.16320E-06    .35548E-03
   3  Prefactor      .0000        19.073       -.83029E-06** at limit **
   4  norm          .67351        .69856        .59589E-08   -.57511E-03
   5  Prefactor      .0000        3.1787       -.25880E-09** at limit **
   6  Prefactor      .0000        18.765        .81742E-06** at limit **
   7  norm           .0000        4.9679        .58076E-08** at limit **
   8  Prefactor      .0000        2.1588        .15497E-08** at limit **
   9  Prefactor     26.247        24.574        .20786E-05   -.49395E-04
  10  Prefactor     6.5392        6.3087       -.65901E-10   -.77092E-04
  11  Prefactor      .0000        .71305       -.15848E-08** at limit **
  12  Prefactor      .0000        7.2179        .23603E-07** at limit **
  13  Normalizat    1.2869        .16987       -.90759E-06    .22883E-04
  14  Prefactor     .77659        .11791       -.95757E-06    .72060E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.257286
  Prefactor  = 0
  norm       = 0.673509
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 26.2472
  Prefactor  = 6.53922
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.28695
  Prefactor  = 0.776594
 **********
 **   18 **HESSE 
 **********

 FCN=   6644.541     FROM HESSE     STATUS=OK           168 CALLS     1109 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.8203        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25729        42.764        .17174E-01   -1.5698    
   3  Prefactor      .0000        19.082        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .67351        .69855        .66864E-05   -1.5692    
   5  Prefactor      .0000        3.1814        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        18.776        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        4.9705        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.1927        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.247        24.574        .78092E-05   -1.5605    
  10  Prefactor     6.5392        6.3107        .15504E-04   -1.5657    
  11  Prefactor      .0000        .71400        .67220E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        7.2339        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.2869        .19938        .23717E-03   -.83957    
  14  Prefactor     .77659        .13843        .20695E-03   -1.0060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13003e-10
Minuit parameter uncertainties:
  1  9.88796e-06
  2  6.63405
  3  5.40378e-06
  4  0.698548
  5  2.5776e-06
  6  6.2352e-06
  7  2.49241e-06
  8  5.19652e-06
  9  24.5741
  10  6.31073
  11  5.47347e-07
  12  3.3673e-06
  13  0.199503
  14  0.138493
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  5.197e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        Index:  2.330e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  7.766e-01  1.385e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.287e+00  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 234.902 27.728
Photon Flux Upper Limit: 6.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/457673/likelihoodResults_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.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) = 6644.43281134
delta logL = 0.108151773536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6644.35050635
delta logL = 0.190456768341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46253E-04   1.0000          .0000       .10000E+07
     2 'Index     '    7.6798       1.0000          .0000       10.000    
     3 'Normalizat'    1.2585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78901       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6644.541     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      433 TOTAL
                     EDM=   .50E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .30907E-01    .42118E-03** at limit **
   2  Index         .20719        .34167       -.10438E-05     .0000    
   3  Normalizat    1.2869        1.0995        .89636E-05   -.85133E-04
   4  Prefactor     .77659        1.1296       -.55712E-05   -.86538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.207188
  Normalizat = 1.28695
  Prefactor  = 0.776594
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6644.541     FROM HESSE     STATUS=FAILED         9 CALLS      442 TOTAL
                     EDM=   .50E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .30907E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12173        .34167       -.10438E-05   -7.5651    
   3  Normalizat    1.2869        1.0995        .89636E-05   -.83957    
   4  Prefactor     .77659        1.1296       -.55712E-05   -1.0060    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.00242e-12
Minuit parameter uncertainties:
  1  1.71667e-08
  2  0.345038
  3  1.12048
  4  1.16619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/457673': 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): 101
logL (Free Index) = 6644.54096311
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  1.717e-08  0.000e+00  1.000e+06 ( 1.000e-12)
264        Index:  2.072e-01  3.450e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  7.766e-01  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.287e+00  1.120e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 234.902 27.728

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/457673/cmap_HighResolution_693705601_693964801_4FGL_J1539.6+2743_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-03', job_status='DONE', photon_flux_upper_limit='6.91e-08', time_completed='2022-12-29 01:18:28.249979', job_id='457673', GAL2='0.78', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1672305508.25', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1753' AND source_name='4FGL J1539.6+2743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:18:28 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 457673: <4FGL_J1539.6+2743_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1539.6+2743_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:05:23 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:08:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:08:47 2022
Terminated at Thu Dec 29 01:18:29 2022
Results reported at Thu Dec 29 01:18:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_daily_bin1753 234.902 27.7277 693705601 693964801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1539.6+2743 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   506.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            786 sec.

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

