/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 3 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 = 7385
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1100
RA = 294.242, Dec = -47.34
tmin = 524448001, tmax = 524707201
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='49983', job_status='RUN', time_executed='2021-09-23 06:07:23.607211', time_epoch_executed='1632402443.61' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1100'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49983

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49983/ft1_4FGL_J1936.9-4720_daily_bin1100.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49983/ft2_4FGL_J1936.9-4720_daily_bin1100.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49983/ft1_4FGL_J1936.9-4720_daily_bin1100.fits outfile=/scratch/kocevski/49983/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1100.fits ra=294.242 dec=-47.34 rad=12.0 tmin=524448001.0 tmax=524707201.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.44
user 3.17
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49983/ft1_filtered_4FGL_J1936.9-4720_daily_bin1100.fits" evtable="EVENTS" scfile=/scratch/kocevski/49983/ft2_4FGL_J1936.9-4720_daily_bin1100.fits sctable="SC_DATA" outfile=/scratch/kocevski/49983/ltcube_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.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/49983/ft2_4FGL_J1936.9-4720_daily_bin1100.fits
.....................!
real 15.51
user 15.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49983/ft1_filtered_4FGL_J1936.9-4720_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/49983/ft2_4FGL_J1936.9-4720_daily_bin1100.fits sctable="SC_DATA" expcube=/scratch/kocevski/49983/ltcube_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.fits outfile=/scratch/kocevski/49983/expmap_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.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/49983/ltcube_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.fits
.....................!
real 191.18
user 186.23
sys 4.31

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/49983/ft1_filtered_4FGL_J1936.9-4720_daily_bin1100.fits scfile=/scratch/kocevski/49983/ft2_4FGL_J1936.9-4720_daily_bin1100.fits outfile=/scratch/kocevski/49983/cmap_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49983/ft1_filtered_4FGL_J1936.9-4720_daily_bin1100.fits scfile=/scratch/kocevski/49983/ft2_4FGL_J1936.9-4720_daily_bin1100.fits outfile=/scratch/kocevski/49983/cmap_HighResolution_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/49983/ft1_filtered_4FGL_J1936.9-4720_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/49983/ft2_4FGL_J1936.9-4720_daily_bin1100.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49983/Model_4FGL_J1936.9-4720_daily_bin1100.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/49983/ft1_filtered_4FGL_J1936.9-4720_daily_bin1100.fits.....................!
real 73.03
user 71.64
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7758       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.3049       1.0000         .10000E-03   10000.    
     4 'norm      '    2.0653       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .38382       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.4285       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5122       1.0000         .10000E-03   10000.    
    14 'norm      '    .11134E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.962       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .80179       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0415       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=   9015.355     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1610 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7741        15.714        .33129E-05   -.44480E-04
   2  norm          .10000E-03    5.3352       -.54140E-05** at limit **
   3  norm          8.3043        8.0376       -.72852E-06   -.44683E-05
   4  norm          2.0652        2.1265       -.17647E-07   -.17850E-03
   5  Prefactor     .10000E-03    4.3821       -.19206E-05** at limit **
   6  Prefactor     .10000E-03    6.4323        .36684E-05** at limit **
   7  Prefactor     .10000E-03    6.1132        .22127E-05** at limit **
   8  norm          .10000E-03    6.8543       -.33231E-05** at limit **
   9  norm          .38376        .72835       -.28703E-06   -.24673E-02
  10  norm          .10000E-03    3.6534        .17964E-06** at limit **
  11  norm          .10000E-03    4.8013        .49352E-05** at limit **
  12  norm          1.4284        1.3499       -.91120E-08   -.13590E-03
  13  norm          2.5121        2.9577       -.34194E-06   -.58199E-03
  14  norm          .10000E-03    22.662        .31225E-06** at limit **
  15  Prefactor     12.993        25.437        .44386E-05   -.15612E-04
  16  Normalizat    .80169        .22714       -.18396E-06   -.30385E-04
  17  Prefactor     1.0416        .85208E-01    .19863E-07    .45095E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.77412
  norm       = 0.0001
  norm       = 8.30431
  norm       = 2.06516
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.383759
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.42843
  norm       = 2.51206
  norm       = 0.000100001
  Prefactor  = 12.9925
  Normalizat = 0.801694
  Prefactor  = 1.04158
 **********
 **   18 **HESSE 
 **********

 FCN=   9015.355     FROM HESSE     STATUS=OK           225 CALLS     1835 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7741        15.660        .16712E-03   -1.5227    
   2  norm          .10000E-03    5.2872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.3043        8.0573        .13911E-03   -1.5132    
   4  norm          2.0652        2.1266        .13625E-03   -1.5421    
   5  Prefactor     .10000E-03    4.4502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.4109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.1743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.8363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .38376        .72076        .10958E-02   -1.5584    
  10  norm          .10000E-03    3.6723        .17721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.7660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4284        1.3491        .10394E-03   -1.5469    
  13  norm          2.5121        2.9619        .17147E-03   -1.5391    
  14  norm          .10000E-03    22.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.993        25.273        .11126E-03   -1.4987    
  16  Normalizat    .80169        .26000        .44062E-03   -1.0001    
  17  Prefactor     1.0416        .98623E-01    .14611E-03   -.91356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96255e-10
Minuit parameter uncertainties:
  1  15.6707
  2  5.1303e-07
  3  8.0583
  4  2.1267
  5  7.341e-06
  6  4.40234e-07
  7  4.46665e-07
  8  1.46011e-06
  9  0.720779
  10  1.16522e-06
  11  5.00729e-07
  12  1.34913
  13  2.9621
  14  0.000270772
  15  25.2943
  16  0.260406
  17  0.0986406
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  4.402e-07  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.042e+00  9.864e-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.017e-01  2.604e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49983/likelihoodResults_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.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) = 9015.35571321
delta logL = -0.000741733756513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9015.35497136
delta logL = 1.1155680113e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7531       1.0000          .0000       10.000    
     3 'Normalizat'    .80173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0416       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=   9015.355     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      241 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10188E-03    50.042        .18142E-02** at limit **
   2  Index         1.6877        5.8100        .50000        .28995E-04
   3  Normalizat    .80169        .15199E-01    .44062E-03    .63627E-04
   4  Prefactor     1.0416        .57231E-02    .14611E-03    .28792E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101881
  Index      = 1.68769
  Normalizat = 0.801694
  Prefactor  = 1.04158
 **********
 **   18 **HESSE 
 **********

 FCN=   9015.355     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10188E-03    235.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6877        9.1553        .50000       -.72410    
   3  Normalizat    .80169        .34022E-01    .17625E-04   -1.0001    
   4  Prefactor     1.0416        .12809E-01    .29223E-04   -.91356    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.35229e-08
Minuit parameter uncertainties:
  1  0.0422284
  2  414.909
  3  0.0340226
  4  0.0128094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49983': 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) = 9015.35497077
delta logL = 7.01473254594e-07

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.019e-04  4.223e-02  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.688e+00  4.149e+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:  1.042e+00  1.281e-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.017e-01  3.402e-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/49983/cmap_HighResolution_524448001_524707201_4FGL_J1936.9-4720_daily_bin1100.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-03', job_status='DONE', photon_flux_upper_limit='3.55e-08', time_completed='2021-09-23 06:19:28.462761', job_id='49983', GAL2='1.04', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632403168.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='7.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='1100' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:19:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 49983: <4FGL_J1936.9-4720_daily_bin1100> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1100> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 23 06:07:01 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 06:07:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 06:07:11 2021
Terminated at Thu Sep 23 06:19:29 2021
Results reported at Thu Sep 23 06:19:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1100 294.242 -47.34 524448001 524707201 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 :                                   720.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            748 sec.

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

