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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1690
RA = 294.242, Dec = -47.34
tmin = 677376001, tmax = 677635201
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='158058', job_status='RUN', time_executed='2022-06-23 01:11:37.900119', time_epoch_executed='1655971897.9' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158058

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158058/ft1_4FGL_J1936.9-4720_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158058/ft2_4FGL_J1936.9-4720_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158058/ft1_4FGL_J1936.9-4720_daily_bin1690.fits outfile=/scratch/kocevski/158058/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1690.fits ra=294.242 dec=-47.34 rad=12.0 tmin=677376001.0 tmax=677635201.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.58
user 2.33
sys 0.20

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

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

Number of photons that the gtmktime cut: 146

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158058/ft1_filtered_4FGL_J1936.9-4720_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/158058/ft2_4FGL_J1936.9-4720_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/158058/ltcube_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.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/158058/ft2_4FGL_J1936.9-4720_daily_bin1690.fits
.....................!
real 16.41
user 15.98
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158058/ft1_filtered_4FGL_J1936.9-4720_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/158058/ft2_4FGL_J1936.9-4720_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/158058/ltcube_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.fits outfile=/scratch/kocevski/158058/expmap_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.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/158058/ltcube_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.fits
.....................!
real 192.86
user 186.82
sys 5.62

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/158058/ft1_filtered_4FGL_J1936.9-4720_daily_bin1690.fits scfile=/scratch/kocevski/158058/ft2_4FGL_J1936.9-4720_daily_bin1690.fits outfile=/scratch/kocevski/158058/cmap_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158058/ft1_filtered_4FGL_J1936.9-4720_daily_bin1690.fits scfile=/scratch/kocevski/158058/ft2_4FGL_J1936.9-4720_daily_bin1690.fits outfile=/scratch/kocevski/158058/cmap_HighResolution_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158058/ft1_filtered_4FGL_J1936.9-4720_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/158058/ft2_4FGL_J1936.9-4720_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158058/Model_4FGL_J1936.9-4720_daily_bin1690.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/158058/ft1_filtered_4FGL_J1936.9-4720_daily_bin1690.fits.....................!
real 25.60
user 24.27
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    503.26       1.0000         .10000E-03   10000.    
     2 'norm      '    439.00       1.0000         .10000E-03   10000.    
     3 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10863E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.411       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    25.000       1.0000         .10000E-03   10000.    
    10 'norm      '    .34205E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.770       1.0000         .10000E-03   10000.    
    14 'norm      '    37.030       1.0000         .10000E-03   10000.    
    15 'Prefactor '    51.195       1.0000         .10000E-03   10000.    
    16 'Normalizat'    2.6082       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .43284       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=   1654.751     FROM MIGRAD    STATUS=CONVERGED    311 CALLS     1792 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          503.12        964.79       -.61741E-04    .62324E-06
   2  norm          438.92        484.38       -.40668E-04    .19001E-05
   3  norm          .10000E-03    56.877       -.85469E-05** at limit **
   4  norm          .10000E-03    9.0897        .78707E-07** at limit **
   5  Prefactor     .10000E-03    131.12       -.17491E-04** at limit **
   6  Prefactor     .10000E-03    41.504        .21928E-04** at limit **
   7  Prefactor     12.431        50.590        .34207E-04    .24167E-04
   8  norm          .10000E-03    64.581        .44743E-04** at limit **
   9  norm          25.001        7.6368       -.11620E-06    .75308E-03
  10  norm          .10001E-03    280.05       -.60313E-04** at limit **
  11  norm          .10000E-03    46.737       -.42450E-04** at limit **
  12  norm          .10000E-03    2.5498        .21580E-07** at limit **
  13  norm          15.768        13.079       -.62558E-06    .13544E-03
  14  norm          37.045        61.144        .45131E-05    .26742E-04
  15  Prefactor     51.259        108.14        .76290E-04    .72733E-05
  16  Normalizat    2.6093        .65757       -.69409E-05    .24293E-03
  17  Prefactor     .43218        .25056        .12629E-05    .13476E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 503.121
  norm       = 438.92
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 12.4311
  norm       = 0.0001
  norm       = 25.0014
  norm       = 0.000100006
  norm       = 0.0001
  norm       = 0.0001
  norm       = 15.7685
  norm       = 37.0455
  Prefactor  = 51.2593
  Normalizat = 2.6093
  Prefactor  = 0.432184
 **********
 **   18 **HESSE 
 **********

 FCN=   1654.751     FROM HESSE     STATUS=OK           213 CALLS     2005 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          503.12        964.99        .91485E-04   -1.1183    
   2  norm          438.92        485.77        .97621E-04   -1.1487    
   3  norm          .10000E-03    56.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    9.0993        .11980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    133.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    41.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.431        50.526        .11371E-03   -1.5003    
   8  norm          .10000E-03    64.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          25.001        7.6243        .58773E-04   -1.4708    
  10  norm          .10001E-03    290.98        .42667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    46.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.5583        .63416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.768        13.129        .10086E-03   -1.4914    
  14  norm          37.045        61.298        .65861E-04   -1.4490    
  15  Prefactor     51.259        108.22        .28026E-03   -1.4275    
  16  Normalizat    2.6093        .77727        .34214E-03   -.50022    
  17  Prefactor     .43218        .29403        .27776E-03   -1.1520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02914e-10
Minuit parameter uncertainties:
  1  999.451
  2  490.44
  3  1.97921e-05
  4  3.46023e-07
  5  0.000723393
  6  2.04163e-05
  7  50.1972
  8  0.000165745
  9  7.62456
  10  0.00256501
  11  5.90175e-06
  12  8.75987e-06
  13  13.1318
  14  61.4023
  15  108.635
  16  0.781406
  17  0.295066
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.042e-05  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:  4.322e-01  2.951e-01  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:  2.609e+00  7.814e-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: 2.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158058/likelihoodResults_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.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) = 1654.75155985
delta logL = -0.000113749273851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1654.75144702
delta logL = -9.11504230316e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0361       1.0000          .0000       10.000    
     3 'Normalizat'    2.6093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43205       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=   1654.751     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      280 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10134E-03    171.95        .18142E-02** at limit **
   2  Index         1.9813        8.4101        .50000        .73598E-05
   3  Normalizat    2.6093        .38453E-01    .34214E-03   -.13831E-04
   4  Prefactor     .43219        .14460E-01    .27776E-03   -.23238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101336
  Index      = 1.98135
  Normalizat = 2.60928
  Prefactor  = 0.432189
 **********
 **   18 **HESSE 
 **********

 FCN=   1654.751     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      309 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10134E-03    775.81        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9813        8.9456        .50000       -.64817    
   3  Normalizat    2.6093        .84207E-01    .13686E-04   -.50023    
   4  Prefactor     .43219        .31663E-01    .11110E-04   -1.1520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58598e-09
Minuit parameter uncertainties:
  1  0.0652498
  2  566.275
  3  0.0842119
  4  0.0316643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158058': 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) = 1654.75144641
delta logL = -3.06017682306e-07

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.013e-04  6.525e-02  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.981e+00  5.663e+02  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:  4.322e-01  3.166e-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:  2.609e+00  8.421e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/158058/cmap_HighResolution_677376001_677635201_4FGL_J1936.9-4720_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-02', job_status='DONE', photon_flux_upper_limit='2.21e-07', time_completed='2022-06-23 01:18:18.457149', job_id='158058', GAL2='0.43', fit_tolerance='1e-08', EG2='2.61', EG='2.61', time_epoch_completed='1655972298.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.43', dlogl='-3.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='1690' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:18:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 158058: <4FGL_J1936.9-4720_daily_bin1690> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1690> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 01:10:18 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:10:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:10:41 2022
Terminated at Thu Jun 23 01:18:19 2022
Results reported at Thu Jun 23 01:18:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1690 294.242 -47.34 677376001 677635201 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 :                                   403.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   457 sec.
    Turnaround time :                            481 sec.

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

