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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1736
RA = 294.242, Dec = -47.34
tmin = 689299201, tmax = 689558401
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='961946', job_status='RUN', time_executed='2022-11-08 00:38:50.640625', time_epoch_executed='1667896730.64' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/961946

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/961946/ft1_4FGL_J1936.9-4720_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/961946/ft1_4FGL_J1936.9-4720_daily_bin1736.fits outfile=/scratch/kocevski/961946/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1736.fits ra=294.242 dec=-47.34 rad=12.0 tmin=689299201.0 tmax=689558401.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 3.59
user 3.35
sys 0.19

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

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

Number of photons that the gtmktime cut: 1144

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/961946/ltcube_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.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/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits
.....................!
real 12.05
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/961946/ltcube_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.fits outfile=/scratch/kocevski/961946/expmap_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.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/961946/ltcube_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.fits
.....................!
real 192.67
user 187.97
sys 3.93

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/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits scfile=/scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits outfile=/scratch/kocevski/961946/cmap_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits scfile=/scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits outfile=/scratch/kocevski/961946/cmap_HighResolution_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/961946/Model_4FGL_J1936.9-4720_daily_bin1736.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/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits.....................!
real 95.97
user 93.35
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits', '/scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits', expMap='/scratch/kocevski/961946/expmap_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.fits', expCube='/scratch/kocevski/961946/ltcube_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/961946/Model_4FGL_J1936.9-4720_daily_bin1736.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/961946/ft1_filtered_4FGL_J1936.9-4720_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/961946/ft2_4FGL_J1936.9-4720_daily_bin1736.fits
Exposure map: /scratch/kocevski/961946/expmap_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.fits
Exposure cube: /scratch/kocevski/961946/ltcube_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/961946/Model_4FGL_J1936.9-4720_daily_bin1736.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) = 11722.5874442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.963       1.0000          .0000       .10000E+07
     2 'norm      '    8.2834       1.0000          .0000       .10000E+07
     3 'norm      '    3.5386       1.0000          .0000       .10000E+07
     4 'norm      '    3.5266       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7901       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.3751       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.303       1.0000          .0000       .10000E+07
     8 'norm      '    .72169E-05   1.0000          .0000       .10000E+07
     9 'norm      '    3.5444       1.0000          .0000       .10000E+07
    10 'norm      '    .42679E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .23975E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.2403       1.0000          .0000       .10000E+07
    13 'norm      '    3.3610       1.0000          .0000       .10000E+07
    14 'norm      '    12.259       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0992       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97162       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=   11722.56     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      848 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.543        16.911        .38962E-07   -.34934E-03
   2  norm          8.3255        3.8504       -.19805E-07    .17665E-01
   3  norm          3.4844        5.3027        .58599E-07    .21795E-03
   4  norm          3.5280        2.1133       -.24794E-07    .65504E-03
   5  Prefactor     1.8061        6.4136       -.93090E-09   -.12032E-05
   6  Prefactor     7.2091        9.1523        .48291E-07    .94362E-02
   7  Prefactor     16.263        3.7160        .11176E-07    .22306E-02
   8  norm          .11102E-09    5.3911        .31724E-06** at limit **
   9  norm          3.5454        1.0595        .91444E-08   -.10209E-03
  10  norm           .0000        2.5742       -.77320E-07** at limit **
  11  norm           .0000        10.642        .49708E-07** at limit **
  12  norm          1.2392        1.4406       -.18107E-07    .30241E-03
  13  norm          3.3647        2.7262        .15874E-07    .15903E-03
  14  norm          12.127        3.9489       -.68763E-09    .32864E-01
  15  Normalizat    1.0994        .25086       -.36354E-05    .28040E-04
  16  Prefactor     .97145        .90883E-01    .39536E-06    .55911E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.5426
  norm       = 8.32553
  norm       = 3.48438
  norm       = 3.528
  Prefactor  = 1.80608
  Prefactor  = 7.20906
  Prefactor  = 16.2628
  norm       = 1.11022e-10
  norm       = 3.54543
  norm       = 0
  norm       = 0
  norm       = 1.23923
  norm       = 3.36471
  norm       = 12.1266
  Normalizat = 1.09941
  Prefactor  = 0.971447
 **********
 **   18 **HESSE 
 **********

 FCN=   11722.56     FROM HESSE     STATUS=OK           241 CALLS     1089 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.543        17.372        .22389E-03   -1.5617    
   2  norm          8.3255        19.396        .34809E-03   -1.5650    
   3  norm          3.4844        5.2833        .53710E-03   -1.5671    
   4  norm          3.5280        2.1201        .53805E-03   -1.5670    
   5  Prefactor     1.8061        6.4369        .78148E-03   -1.5681    
   6  Prefactor     7.2091        10.128        .36908E-03   -1.5654    
   7  Prefactor     16.263        10.283        .24778E-03   -1.5627    
   8  norm          .11102E-09    5.3978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5454        1.0621        .53665E-03   -1.5670    
  10  norm           .0000        2.5737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        10.647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.2392        1.4662        .10065E-02   -1.5686    
  13  norm          3.3647        2.7292        .55174E-03   -1.5671    
  14  norm          12.127        12.217        .28585E-03   -1.5638    
  15  Normalizat    1.0994        .21249        .91469E-01   -.89771    
  16  Prefactor     .97145        .76361E-01    .45911E-01   -.93687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.56949e-07
Minuit parameter uncertainties:
  1  17.3722
  2  19.3961
  3  5.28334
  4  2.12014
  5  6.43693
  6  10.1276
  7  10.2834
  8  4.95966e-05
  9  1.06208
  10  2.8715e-06
  11  2.33805e-05
  12  1.4662
  13  2.72919
  14  12.2169
  15  0.212651
  16  0.0763694
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  7.209e+00  1.013e+01  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:  9.714e-01  7.637e-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:  1.099e+00  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.05
Ra Dec: 294.242 -47.340
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 7.20e-09 +/- 1.01e-08
Energy Flux (Fixed Index): 9.04e-06 +/- 1.27e-05

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

Saving results to:
/scratch/kocevski/961946/likelihoodResults_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.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) = 11722.5509815
delta logL = 0.00758759870587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11722.5473451
delta logL = 0.0112239975624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2748       1.0000          .0000       .10000E+07
     2 'Index     '    1.6501       1.0000          .0000       10.000    
     3 'Normalizat'    1.1006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97129       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11722.55     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      238 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2765        13.585        .13931E-04   -.10576E-02
   2  Index         1.6498        .89837        .11725E-01   -.34476E-04
   3  Normalizat    1.1006        .24258        .40494E-03    .57318E-03
   4  Prefactor     .97130        .89356E-01    .15650E-03    .16305E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.27653
  Index      = 1.64976
  Normalizat = 1.10061
  Prefactor  = 0.971299
 **********
 **   18 **HESSE 
 **********

 FCN=   11722.55     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2765        13.131        .55724E-06   -1.5650    
   2  Index         1.6498        .86939        .46899E-03   -.73427    
   3  Normalizat    1.1006        .24272        .16198E-04   -.89732    
   4  Prefactor     .97130        .89416E-01    .31300E-04   -.93692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.86814e-10
Minuit parameter uncertainties:
  1  13.1308
  2  0.877548
  3  0.242964
  4  0.08943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/961946': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11722.5473451
delta logL = 0.0112240596263

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  8.277e+00  1.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
455        Index:  1.650e+00  8.775e-01  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:  9.713e-01  8.943e-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:  1.101e+00  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.07
Ra Dec: 294.242 -47.340
Photon Index (Free Index): 1.65 +/- 0.88
Photon Flux (Free Index): 6.00e-09 +/- 1.12e-08
Energy Flux (Free Index): 1.15e-05 +/- 2.47e-05

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/961946/cmap_HighResolution_689299201_689558401_4FGL_J1936.9-4720_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-03', comment='SUCCESS', photon_flux='7.20e-09', energy_flux2='1.15e-05', photon_flux_error='1.01e-08', dlogl='1.12e-02', energy_flux='9.04e-06', photon_flux2='6.00e-09', job_status='DONE', time_completed='2022-11-08 00:50:21.032062', photon_index_error2='0.88', photon_index2='1.65', ts='1.05', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='4.30e-08', energy_flux_error2='2.47e-05', EG='1.10', time_epoch_completed='1667897421.03', return_code='0', job_id='961946', GAL2='0.97', EG2='1.10', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='1.12e-08', ts2='1.07', photon_index='1.78' WHERE bin_id='1736' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:50:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 961946: <4FGL_J1936.9-4720_daily_bin1736> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1736> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov  8 00:35:23 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:35:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:35:24 2022
Terminated at Tue Nov  8 00:50:21 2022
Results reported at Tue Nov  8 00:50:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1736 294.242 -47.34 689299201 689558401 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 :                                   689.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            898 sec.

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

