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


Performing analysis on: 4FGL_J1539.6+2743_weekly_bin760
RA = 234.902, Dec = 27.7277
tmin = 698630401, tmax = 699235201
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='26961', job_status='RUN', time_executed='2023-02-28 01:31:45.620762', time_epoch_executed='1677576705.62' WHERE source_name='4FGL J1539.6+2743' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26961

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26961/ft1_4FGL_J1539.6+2743_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26961/ft1_4FGL_J1539.6+2743_weekly_bin760.fits outfile=/scratch/kocevski/26961/ft1_filteredMKT_4FGL_J1539.6+2743_weekly_bin760.fits ra=234.902 dec=27.7277 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.27
user 5.92
sys 0.27

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

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

Number of photons that the gtmktime cut: 1900

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26961/ft1_filtered_4FGL_J1539.6+2743_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/26961/ltcube_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.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/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits
.....................!
real 30.48
user 29.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26961/ft1_filtered_4FGL_J1539.6+2743_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/26961/ltcube_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.fits outfile=/scratch/kocevski/26961/expmap_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.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/26961/ltcube_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.fits
.....................!
real 193.62
user 185.91
sys 5.61

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/26961/ft1_filtered_4FGL_J1539.6+2743_weekly_bin760.fits scfile=/scratch/kocevski/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits outfile=/scratch/kocevski/26961/cmap_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26961/ft1_filtered_4FGL_J1539.6+2743_weekly_bin760.fits scfile=/scratch/kocevski/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits outfile=/scratch/kocevski/26961/cmap_HighResolution_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.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.59
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/26961/ft1_filtered_4FGL_J1539.6+2743_weekly_bin760.fits', '/scratch/kocevski/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits', expMap='/scratch/kocevski/26961/expmap_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.fits', expCube='/scratch/kocevski/26961/ltcube_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/26961/Model_4FGL_J1539.6+2743_weekly_bin760.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/26961/ft1_filtered_4FGL_J1539.6+2743_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/26961/ft2_4FGL_J1539.6+2743_weekly_bin760.fits
Exposure map: /scratch/kocevski/26961/expmap_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.fits
Exposure cube: /scratch/kocevski/26961/ltcube_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/26961/Model_4FGL_J1539.6+2743_weekly_bin760.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) = 20791.3333338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2022       1.0000          .0000       .10000E+07
     2 'Prefactor '    .38950E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    38.267       1.0000          .0000       .10000E+07
     4 'norm      '    .94600       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.2639       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19257E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .33631E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    .91825E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10845E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31697E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10347E-03   1.0000          .0000       .10000E+07
    13 'Normalizat'    .88813       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0831       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20791.32     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      896 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1923        4.0859        .12334E-07   -.29721E-05
   2  Prefactor     .44087E-06    24.436       -.10112E-06** at limit **
   3  Prefactor     39.077        4.4307        .11089E-07   -.19211    
   4  norm          .94576        .57345        .39840E-08   -.12620E-02
   5  Prefactor     2.2748        3.2363        .19351E-07   -.14578E-03
   6  Prefactor     .55511E-10    4.2471       -.92773E-09** at limit **
   7  norm           .0000        1.7774        .41401E-07** at limit **
   8  Prefactor      .0000        .50253       -.93462E-08** at limit **
   9  Prefactor     .16653E-09    13.474       -.30686E-06** at limit **
  10  Prefactor      .0000        3.3871        .23193E-07** at limit **
  11  Prefactor      .0000        .92507        .28763E-08** at limit **
  12  Prefactor     .11102E-09    3.7211        .53453E-07** at limit **
  13  Normalizat    .88783        .11433       -.19599E-05   -.55613E-03
  14  Prefactor     1.0831        .81729E-01    .38097E-06   -.66022E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.19232
  Prefactor  = 4.4087e-07
  Prefactor  = 39.0772
  norm       = 0.945756
  Prefactor  = 2.27478
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Normalizat = 0.887833
  Prefactor  = 1.08306
 **********
 **   18 **HESSE 
 **********

 FCN=   20791.32     FROM HESSE     STATUS=OK           186 CALLS     1082 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1923        4.1161        .56595E-03   -1.5672    
   2  Prefactor     .44087E-06    25.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.077        25.256        .16167E-03   -1.5583    
   4  norm          .94576        .58317        .42630E-03   -1.5689    
   5  Prefactor     2.2748        3.2932        .68239E-03   -1.5678    
   6  Prefactor     .55511E-10    4.2471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.7772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .49917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    13.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.3736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .90469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    3.7136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .88783        .10025        .44750E-01   -.96889    
  14  Prefactor     1.0831        .71529E-01    .38267E-01   -.90010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10829e-06
Minuit parameter uncertainties:
  1  4.1161
  2  0.006655
  3  25.2565
  4  0.583174
  5  3.29317
  6  2.70015e-05
  7  7.31798e-06
  8  1.25112e-06
  9  9.72334e-05
  10  8.73338e-06
  11  2.9364e-07
  12  4.12303e-05
  13  0.100273
  14  0.0715354
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  1.251e-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:  1.083e+00  7.154e-02  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:  8.878e-01  1.003e-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: 2.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/26961/likelihoodResults_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.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) = 20791.3182524
delta logL = 2.15023792407e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20791.0511476
delta logL = 0.267126360304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18471E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.9568       1.0000          .0000       10.000    
     3 'Normalizat'    .86272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0941       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=   20791.32     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      331 TOTAL
                     EDM=   .46E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .12450        .42118E-03** at limit **
   2  Index         1.0368        .66554       -.12084E-05     .0000    
   3  Normalizat    .88783        1.2155        .19216E-06    .21626E-04
   4  Prefactor     1.0831        1.1474        .92346E-06   -.83683E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.03675
  Normalizat = 0.887834
  Prefactor  = 1.08306
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   20791.32     FROM HESSE     STATUS=FAILED         9 CALLS      340 TOTAL
                     EDM=   .46E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .12450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52944E-01    1.0794       -.12084E-05   -63.747    
   3  Normalizat    .88783        1.2155        .19216E-06    5.3143    
   4  Prefactor     1.0831        1.1474        .92346E-06    4.0417    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.60063e-12
Minuit parameter uncertainties:
  1  2.03554e-07
  2  0.670943
  3  1.2564
  4  1.17518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26961': 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) = 20791.3182739
delta logL = 6.18456397206e-11

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  2.036e-07  0.000e+00  1.000e+06 ( 1.000e-12)
264        Index:  1.037e+00  6.709e-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:  1.083e+00  1.175e+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:  8.878e-01  1.256e+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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/26961/cmap_HighResolution_698630401_699235201_4FGL_J1539.6+2743_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-03', job_status='DONE', photon_flux_upper_limit='2.68e-08', time_completed='2023-02-28 01:46:41.851447', job_id='26961', GAL2='1.08', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1677577601.85', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='760' AND source_name='4FGL J1539.6+2743' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:46:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 26961: <4FGL_J1539.6+2743_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1539.6+2743_weekly_bin760> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Feb 28 01:30:24 2023
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:30:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:30:26 2023
Terminated at Tue Feb 28 01:46:44 2023
Results reported at Tue Feb 28 01:46:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_weekly_bin760 234.902 27.7277 698630401 699235201 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 :                                   889.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            980 sec.

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

