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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1740
RA = 294.242, Dec = -47.34
tmin = 690336001, tmax = 690595201
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='835711', job_status='RUN', time_executed='2022-11-20 00:48:52.025605', time_epoch_executed='1668934132.03' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835711

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835711/ft1_4FGL_J1936.9-4720_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835711/ft1_4FGL_J1936.9-4720_daily_bin1740.fits outfile=/scratch/kocevski/835711/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1740.fits ra=294.242 dec=-47.34 rad=12.0 tmin=690336001.0 tmax=690595201.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.98
user 2.77
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.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/835711/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.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.33
sys 0.16

Number of photons that the gtmktime cut: 999

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/835711/ltcube_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.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/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits
.....................!
real 15.15
user 14.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/835711/ltcube_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.fits outfile=/scratch/kocevski/835711/expmap_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.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/835711/ltcube_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.fits
.....................!
real 191.62
user 185.69
sys 5.43

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

Setting source of interest to:
4FGL J1936.9-4720 @ 294.242 -47.34

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits scfile=/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits outfile=/scratch/kocevski/835711/cmap_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.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=294.242 yref=-47.34 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.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits scfile=/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits outfile=/scratch/kocevski/835711/cmap_HighResolution_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.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=294.242 yref=-47.34 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835711/Model_4FGL_J1936.9-4720_daily_bin1740.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/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits.....................!
real 81.88
user 80.49
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits', '/scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits', expMap='/scratch/kocevski/835711/expmap_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.fits', expCube='/scratch/kocevski/835711/ltcube_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835711/Model_4FGL_J1936.9-4720_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1936.9-4720'

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.943e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/835711/ft1_filtered_4FGL_J1936.9-4720_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/835711/ft2_4FGL_J1936.9-4720_daily_bin1740.fits
Exposure map: /scratch/kocevski/835711/expmap_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.fits
Exposure cube: /scratch/kocevski/835711/ltcube_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835711/Model_4FGL_J1936.9-4720_daily_bin1740.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) = 10373.3360803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3450       1.0000          .0000       .10000E+07
     2 'norm      '    3.8021       1.0000          .0000       .10000E+07
     3 'norm      '    .35335E-04   1.0000          .0000       .10000E+07
     4 'norm      '    1.3604       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17309E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .38882E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    14.042       1.0000          .0000       .10000E+07
     8 'norm      '    .21827E-01   1.0000          .0000       .10000E+07
     9 'norm      '    4.7087       1.0000          .0000       .10000E+07
    10 'norm      '    15.845       1.0000          .0000       .10000E+07
    11 'norm      '    .11144E-04   1.0000          .0000       .10000E+07
    12 'norm      '    2.1400       1.0000          .0000       .10000E+07
    13 'norm      '    6.3380       1.0000          .0000       .10000E+07
    14 'norm      '    .14226E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    .86882       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10373.31     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      835 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3546        1.0298        .19357E-08   -.10815E-01
   2  norm          3.4228        31.376        .34574E-06    .28862E-02
   3  norm          .88818E-09    2.3611        .67926E-08** at limit **
   4  norm          1.3598        1.3398        .64185E-07    .57146E-02
   5  Prefactor     .10569E-06    2.9755        .12425E-06** at limit **
   6  Prefactor     .27756E-09    8.1176        .86493E-07** at limit **
   7  Prefactor     14.090        1.1367       -.12429E-08   -.53534E-02
   8  norm          .55511E-10    14.005       -.15364E-06** at limit **
   9  norm          4.7067        1.2042       -.35882E-07   -.11751E-01
  10  norm          15.787        5.5729       -.24080E-07   -.11557    
  11  norm          .72942E-07    2.9633        .60392E-09** at limit **
  12  norm          2.1397        1.3486       -.21479E-08   -.11563E-03
  13  norm          6.3366        2.9757       -.41531E-07   -.30813E-02
  14  norm          .55511E-10    4.5540        .62181E-07** at limit **
  15  Normalizat    .86857        .25425       -.24833E-05    .22211E-04
  16  Prefactor     1.0730        .10012        .15110E-05    .23279E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.35457
  norm       = 3.42284
  norm       = 8.88178e-10
  norm       = 1.35985
  Prefactor  = 1.05693e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 14.0899
  norm       = 5.55112e-11
  norm       = 4.70666
  norm       = 15.7866
  norm       = 7.29417e-08
  norm       = 2.13966
  norm       = 6.33659
  norm       = 5.55112e-11
  Normalizat = 0.86857
  Prefactor  = 1.07303
 **********
 **   18 **HESSE 
 **********

 FCN=   10373.31     FROM HESSE     STATUS=OK           235 CALLS     1070 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3546        20.505        .36984E-03   -1.5654    
   2  norm          3.4228        31.948        .51742E-03   -1.5671    
   3  norm          .88818E-09    2.3690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3598        1.3248        .93603E-03   -1.5685    
   5  Prefactor     .10569E-06    3.9675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.090        9.6677        .26703E-03   -1.5633    
   8  norm          .55511E-10    13.805        .16919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7067        1.2088        .46349E-03   -1.5665    
  10  norm          15.787        8.1647        .25135E-03   -1.5628    
  11  norm          .72942E-07    3.6606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1397        1.3494        .70429E-03   -1.5679    
  13  norm          6.3366        2.9761        .39846E-03   -1.5658    
  14  norm          .55511E-10    4.5577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .86857        .22479        .10031       -.97573    
  16  Prefactor     1.0730        .87988E-01    .38727E-01   -.90333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11193e-07
Minuit parameter uncertainties:
  1  20.5056
  2  20.9144
  3  9.15141e-05
  4  1.32485
  5  0.00129519
  6  9.89533e-05
  7  9.66773
  8  5.22371e-05
  9  1.20883
  10  8.16469
  11  0.00103358
  12  1.34935
  13  2.97612
  14  2.9516e-05
  15  0.225036
  16  0.0880001
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  2.776e-10  9.895e-05  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.073e+00  8.800e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  8.686e-01  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 294.242 -47.340
Photon Flux Upper Limit: 3.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/835711/likelihoodResults_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.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): 0
logL (Free Index) = 10373.3701685
delta logL = -0.0592080382321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10373.3109605
delta logL = -3.04135028273e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31086E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .30120       1.0000          .0000       10.000    
     3 'Normalizat'    .86857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0730       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10373.31     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      215 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .66700        .42118E-02** at limit **
   2  Index         2.8740        1.6283        .15120E-03     .0000    
   3  Normalizat    .86857        1.2052       -.17518E-04    .24474E-04
   4  Prefactor     1.0730        1.1685        .11317E-04    .77795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.87401
  Normalizat = 0.868571
  Prefactor  = 1.07303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10373.31     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .66700        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93531        2.0811        .15120E-03   -.43918    
   3  Normalizat    .86857        1.2052       -.17518E-04   -.97573    
   4  Prefactor     1.0730        1.1685        .11317E-04   -.90333    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.03907e-12
Minuit parameter uncertainties:
  1  6.33396e-06
  2  1.66568
  3  1.24596
  4  1.19824
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835711': 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) = 10373.3109605
delta logL = 3.27418092638e-11

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  0.000e+00  6.334e-06  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  2.874e+00  1.666e+00  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  1.073e+00  1.198e+00  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  8.686e-01  1.246e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 294.242 -47.340

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/835711/cmap_HighResolution_690336001_690595201_4FGL_J1936.9-4720_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-03', job_status='DONE', photon_flux_upper_limit='3.65e-08', time_completed='2022-11-20 00:59:54.099207', job_id='835711', GAL2='1.07', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1668934794.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='1740' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:59:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 835711: <4FGL_J1936.9-4720_daily_bin1740> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:45:20 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:46:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:46:11 2022
Terminated at Sun Nov 20 00:59:54 2022
Results reported at Sun Nov 20 00:59:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1740 294.242 -47.34 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1936.9-4720 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   664.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            874 sec.

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

