/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 158 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1936.9-4720_daily_bin214
RA = 294.242, Dec = -47.34
tmin = 294796801, tmax = 295056001
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='41805', job_status='RUN', time_executed='2021-09-23 05:40:24.159583', time_epoch_executed='1632400824.16' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/41805

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/41805/ft1_4FGL_J1936.9-4720_daily_bin214.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/41805/ft1_4FGL_J1936.9-4720_daily_bin214.fits outfile=/scratch/kocevski/41805/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin214.fits ra=294.242 dec=-47.34 rad=12.0 tmin=294796801.0 tmax=295056001.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.41
user 2.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits" evtable="EVENTS" scfile=/scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits sctable="SC_DATA" outfile=/scratch/kocevski/41805/ltcube_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.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/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits
.....................!
real 16.34
user 15.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits evtable="EVENTS" scfile=/scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits sctable="SC_DATA" expcube=/scratch/kocevski/41805/ltcube_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.fits outfile=/scratch/kocevski/41805/expmap_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.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/41805/ltcube_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.fits
.....................!
real 192.14
user 186.53
sys 5.12

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/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits scfile=/scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits outfile=/scratch/kocevski/41805/cmap_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits scfile=/scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits outfile=/scratch/kocevski/41805/cmap_HighResolution_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits evtable="EVENTS" scfile=/scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/41805/Model_4FGL_J1936.9-4720_daily_bin214.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/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits.....................!
real 81.70
user 80.23
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits', '/scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits', expMap='/scratch/kocevski/41805/expmap_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.fits', expCube='/scratch/kocevski/41805/ltcube_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/41805/Model_4FGL_J1936.9-4720_daily_bin214.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/41805/ft1_filtered_4FGL_J1936.9-4720_daily_bin214.fits
Spacecraft file(s): /scratch/kocevski/41805/ft2_4FGL_J1936.9-4720_daily_bin214.fits
Exposure map: /scratch/kocevski/41805/expmap_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.fits
Exposure cube: /scratch/kocevski/41805/ltcube_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/41805/Model_4FGL_J1936.9-4720_daily_bin214.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9886.53237307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    24.817       1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .68595       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2205       1.0000         .10000E-03   10000.    
     8 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.0316       1.0000         .10000E-03   10000.    
    10 'norm      '    26.269       1.0000         .10000E-03   10000.    
    11 'norm      '    19.026       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4342       1.0000         .10000E-03   10000.    
    13 'norm      '    .89450       1.0000         .10000E-03   10000.    
    14 'norm      '    16.852       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.700       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2167       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0476       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=   9886.396     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1404 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.2124        .66769E-06** at limit **
   2  norm          24.818        22.018       -.42604E-06   -.17474E-04
   3  norm          .10000E-03    11.733        .35822E-05** at limit **
   4  norm          .68608        1.8739       -.32407E-06    .31422E-03
   5  Prefactor     .10000E-03    5.3800       -.10542E-05** at limit **
   6  Prefactor     .10000E-03    7.5301        .11167E-05** at limit **
   7  Prefactor     3.2138        11.538        .18418E-05    .99907E-04
   8  norm          .10000E-03    17.353        .47483E-06** at limit **
   9  norm          2.0319        1.1496       -.37684E-07    .34378E-04
  10  norm          26.270        11.296        .78506E-07    .24180E-04
  11  norm          19.030        20.100       -.17147E-05   -.70544E-04
  12  norm          2.4343        1.6404        .11640E-07    .82960E-04
  13  norm          .89385        2.2688        .20747E-06    .55614E-03
  14  norm          16.852        18.715       -.22793E-06   -.14493E-04
  15  Prefactor     26.702        27.406       -.10736E-05   -.40256E-04
  16  Normalizat    1.2166        .25887        .58492E-06    .63270E-04
  17  Prefactor     1.0476        .91434E-01    .15880E-06    .22241E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 24.8179
  norm       = 0.000100002
  norm       = 0.686084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.21378
  norm       = 0.0001
  norm       = 2.03191
  norm       = 26.2695
  norm       = 19.0303
  norm       = 2.43425
  norm       = 0.893851
  norm       = 16.8523
  Prefactor  = 26.7016
  Normalizat = 1.21659
  Prefactor  = 1.04759
 **********
 **   18 **HESSE 
 **********

 FCN=   9886.396     FROM HESSE     STATUS=OK           227 CALLS     1631 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.2239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          24.818        22.043        .80411E-04   -1.4711    
   3  norm          .10000E-03    12.845        .35497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .68608        1.9597        .22945E-03   -1.5542    
   5  Prefactor     .10000E-03    5.5017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.5622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.2138        11.649        .22574E-03   -1.5349    
   8  norm          .10000E-03    17.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0319        1.1438        .76850E-04   -1.5423    
  10  norm          26.270        11.294        .78161E-04   -1.4682    
  11  norm          19.030        20.310        .91822E-04   -1.4835    
  12  norm          2.4343        1.6379        .10140E-03   -1.5396    
  13  norm          .89385        2.4335        .23393E-02   -1.5519    
  14  norm          16.852        18.715        .97566E-04   -1.4887    
  15  Prefactor     26.702        27.488        .38765E-03   -1.4674    
  16  Normalizat    1.2166        .30304        .42678E-03   -.86092    
  17  Prefactor     1.0476        .10776        .16338E-03   -.91160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.77943e-10
Minuit parameter uncertainties:
  1  1.66233e-05
  2  22.0498
  3  0.000303531
  4  1.95987
  5  3.32507e-05
  6  3.36192e-05
  7  11.6577
  8  9.03194e-06
  9  1.1438
  10  11.2949
  11  20.3169
  12  1.63792
  13  2.43375
  14  18.7216
  15  27.5014
  16  0.303475
  17  0.107784
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.362e-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:  1.048e+00  1.078e-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:  1.217e+00  3.035e-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.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/41805/likelihoodResults_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.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) = 9886.39644118
delta logL = -0.000629231830317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9886.3958118
delta logL = 1.45269950735e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7565       1.0000          .0000       10.000    
     3 'Normalizat'    1.2166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0476       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=   9886.396     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10060E-03    37.928        .18142E-02** at limit **
   2  Index         1.7186        5.7721        .50000        .22691E-04
   3  Normalizat    1.2166        .13879E-01    .42678E-03   -.25200E-04
   4  Prefactor     1.0476        .50106E-02    .16338E-03    .50518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100599
  Index      = 1.71856
  Normalizat = 1.21658
  Prefactor  = 1.04759
 **********
 **   18 **HESSE 
 **********

 FCN=   9886.396     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10060E-03    174.42        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7186        5.4328        .50000       -.71589    
   3  Normalizat    1.2166        .30379E-01    .17071E-04   -.86092    
   4  Prefactor     1.0476        .10967E-01    .65352E-05   -.91160    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.13771e-09
Minuit parameter uncertainties:
  1  0.0204957
  2  220.582
  3  0.0303793
  4  0.010967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/41805': 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) = 9886.39581155
delta logL = 3.93632944906e-07

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.006e-04  2.050e-02  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.719e+00  2.206e+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.048e+00  1.097e-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.217e+00  3.038e-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/41805/cmap_HighResolution_294796801_295056001_4FGL_J1936.9-4720_daily_bin214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.89e-08', time_completed='2021-09-23 05:52:43.069016', job_id='41805', GAL2='1.05', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1632401563.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.94e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='214' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 05:52:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 41805: <4FGL_J1936.9-4720_daily_bin214> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin214> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 23 05:36:39 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 05:37:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 05:37:36 2021
Terminated at Thu Sep 23 05:52:43 2021
Results reported at Thu Sep 23 05:52:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin214 294.242 -47.34 294796801 295056001 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 :                                   738.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            964 sec.

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

