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 138 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1665
RA = 294.242, Dec = -47.34
tmin = 670896001, tmax = 671155201
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='356796', job_status='RUN', time_executed='2022-04-09 00:37:51.390424', time_epoch_executed='1649489871.39' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356796

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356796/ft1_4FGL_J1936.9-4720_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356796/ft1_4FGL_J1936.9-4720_daily_bin1665.fits outfile=/scratch/kocevski/356796/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1665.fits ra=294.242 dec=-47.34 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.34
user 5.07
sys 0.25

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

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

Number of photons that the gtmktime cut: 1173

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/356796/ltcube_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.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/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits
.....................!
real 11.71
user 11.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/356796/ltcube_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.fits outfile=/scratch/kocevski/356796/expmap_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.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/356796/ltcube_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.fits
.....................!
real 190.21
user 185.34
sys 4.53

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/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits scfile=/scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits outfile=/scratch/kocevski/356796/cmap_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits scfile=/scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits outfile=/scratch/kocevski/356796/cmap_HighResolution_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/356796/Model_4FGL_J1936.9-4720_daily_bin1665.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/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits.....................!
real 93.27
user 91.89
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits', '/scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits', expMap='/scratch/kocevski/356796/expmap_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.fits', expCube='/scratch/kocevski/356796/ltcube_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/356796/Model_4FGL_J1936.9-4720_daily_bin1665.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  1.000e-04  1.000e+04 ( 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/356796/ft1_filtered_4FGL_J1936.9-4720_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/356796/ft2_4FGL_J1936.9-4720_daily_bin1665.fits
Exposure map: /scratch/kocevski/356796/expmap_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.fits
Exposure cube: /scratch/kocevski/356796/ltcube_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/356796/Model_4FGL_J1936.9-4720_daily_bin1665.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) = 12088.2759236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.1519       1.0000         .10000E-03   10000.    
     4 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5248       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0715       1.0000         .10000E-03   10000.    
     9 'norm      '    10.720       1.0000         .10000E-03   10000.    
    10 'norm      '    6.9227       1.0000         .10000E-03   10000.    
    11 'norm      '    28.498       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.1132       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .89642       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0633       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.

 FCN=   12088.23     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1402 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.826        .15032E-04** at limit **
   2  norm          .10000E-03    8.1889        .46030E-05** at limit **
   3  norm          4.1517        5.1126       -.55547E-08   -.64395E-05
   4  norm          .10000E-03    .95678        .21861E-08** at limit **
   5  Prefactor     .10000E-03    3.7227        .36190E-06** at limit **
   6  Prefactor     .10000E-03    11.418       -.14036E-04** at limit **
   7  Prefactor     5.5243        9.4697        .38581E-07   -.21400E-03
   8  norm          1.0711        2.3306        .33127E-06   -.83411E-03
   9  norm          10.720        1.5763        .15371E-07    .19919E-05
  10  norm          6.9228        7.1884       -.32681E-07   -.16775E-03
  11  norm          28.498        17.445        .33283E-06    .13329E-04
  12  norm          .10000E-03    .51210       -.10145E-06** at limit **
  13  norm          2.1140        3.0007       -.36618E-08   -.54167E-04
  14  norm          .10000E-03    6.1959       -.25129E-06** at limit **
  15  Prefactor     .10000E-03    27.621       -.45633E-05** at limit **
  16  Normalizat    .89630        .22158        .40313E-06   -.20887E-04
  17  Prefactor     1.0633        .79202E-01   -.20488E-06   -.58705E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.15165
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.52434
  norm       = 1.07109
  norm       = 10.7201
  norm       = 6.92284
  norm       = 28.4982
  norm       = 0.0001
  norm       = 2.11402
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.896303
  Prefactor  = 1.06331
 **********
 **   18 **HESSE 
 **********

 FCN=   12088.23     FROM HESSE     STATUS=OK           225 CALLS     1627 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.2159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1517        5.1132        .19781E-03   -1.5300    
   4  norm          .10000E-03    1.9044        .20870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.7858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5243        9.4600        .85466E-03   -1.5238    
   8  norm          1.0711        17.797        .23441E-02   -1.5501    
   9  norm          10.720        1.5759        .50612E-04   -1.5053    
  10  norm          6.9228        7.1913        .76241E-03   -1.5182    
  11  norm          28.498        17.460        .75049E-04   -1.4640    
  12  norm          .10000E-03    .52957        .15361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1140        2.9799        .21663E-03   -1.5417    
  14  norm          .10000E-03    6.2011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    27.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .89630        .25172        .46027E-03   -.96590    
  17  Prefactor     1.0633        .90676E-01    .15549E-03   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68213e-09
Minuit parameter uncertainties:
  1  3.99706e-05
  2  1.04242e-06
  3  5.11375
  4  2.97923e-06
  5  2.1811e-06
  6  3.4809e-06
  7  9.46257
  8  8.73461
  9  1.57589
  10  7.19217
  11  17.4635
  12  2.02319e-07
  13  2.98011
  14  1.09119e-06
  15  2.58319e-05
  16  0.252046
  17  0.0906889
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.481e-06  1.000e-04  1.000e+04 ( 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.063e+00  9.069e-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.963e-01  2.520e-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: 4.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/356796/likelihoodResults_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.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) = 12088.2344098
delta logL = -0.000416210432377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12088.2339938
delta logL = -2.23957613343e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7943       1.0000          .0000       10.000    
     3 'Normalizat'    .89621       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0633       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.

 FCN=   12088.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    63.442        .90712E-02** at limit **
   2  Index         1.8048        6.3624        .50000       -.71443E-05
   3  Normalizat    .89630        .12870E-01    .10386        .75667E-04
   4  Prefactor     1.0633        .47222E-02    .39186E-01    .32182E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.80477
  Normalizat = 0.896303
  Prefactor  = 1.06331
 **********
 **   18 **HESSE 
 **********

 FCN=   12088.23     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1607.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8048        5.8807        .50000       -.69326    
   3  Normalizat    .89630        .84258E-01    .46027E-03   -.96590    
   4  Prefactor     1.0633        .31016E-01    .15549E-03   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.65969e-09
Minuit parameter uncertainties:
  1  0.000123086
  2  46.7807
  3  0.08427
  4  0.0310169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356796': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12088.2339935
delta logL = 3.76476236852e-08

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.231e-04  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.805e+00  4.678e+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:  1.063e+00  3.102e-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.963e-01  8.427e-02  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/356796/cmap_HighResolution_670896001_671155201_4FGL_J1936.9-4720_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2022-04-09 00:51:33.962481', job_id='356796', GAL2='1.06', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1649490693.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.76e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='1665' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:51:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 356796: <4FGL_J1936.9-4720_daily_bin1665> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:23 2022
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:25 2022
Terminated at Sat Apr  9 00:51:34 2022
Results reported at Sat Apr  9 00:51:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1665 294.242 -47.34 670896001 671155201 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 :                                   824.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            971 sec.

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

