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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin412
RA = 294.242, Dec = -47.34
tmin = 346118401, tmax = 346377601
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='44431', job_status='RUN', time_executed='2021-09-23 05:48:45.331114', time_epoch_executed='1632401325.33' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/44431

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/44431/ft1_4FGL_J1936.9-4720_daily_bin412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/44431/ft2_4FGL_J1936.9-4720_daily_bin412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/44431/ft1_4FGL_J1936.9-4720_daily_bin412.fits outfile=/scratch/kocevski/44431/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin412.fits ra=294.242 dec=-47.34 rad=12.0 tmin=346118401.0 tmax=346377601.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 4.10
user 3.84
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/44431/ft2_4FGL_J1936.9-4720_daily_bin412.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/44431/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin412.fits evtable="EVENTS" outfile="/scratch/kocevski/44431/ft1_filtered_4FGL_J1936.9-4720_daily_bin412.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/44431/ft1_filtered_4FGL_J1936.9-4720_daily_bin412.fits" evtable="EVENTS" scfile=/scratch/kocevski/44431/ft2_4FGL_J1936.9-4720_daily_bin412.fits sctable="SC_DATA" outfile=/scratch/kocevski/44431/ltcube_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.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/44431/ft2_4FGL_J1936.9-4720_daily_bin412.fits
.....................!
real 15.05
user 14.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/44431/ft1_filtered_4FGL_J1936.9-4720_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/44431/ft2_4FGL_J1936.9-4720_daily_bin412.fits sctable="SC_DATA" expcube=/scratch/kocevski/44431/ltcube_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.fits outfile=/scratch/kocevski/44431/expmap_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.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/44431/ltcube_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.fits
.....................!
real 192.33
user 187.53
sys 4.36

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/44431/ft1_filtered_4FGL_J1936.9-4720_daily_bin412.fits scfile=/scratch/kocevski/44431/ft2_4FGL_J1936.9-4720_daily_bin412.fits outfile=/scratch/kocevski/44431/cmap_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/44431/ft1_filtered_4FGL_J1936.9-4720_daily_bin412.fits scfile=/scratch/kocevski/44431/ft2_4FGL_J1936.9-4720_daily_bin412.fits outfile=/scratch/kocevski/44431/cmap_HighResolution_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/44431/ft1_filtered_4FGL_J1936.9-4720_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/44431/ft2_4FGL_J1936.9-4720_daily_bin412.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/44431/Model_4FGL_J1936.9-4720_daily_bin412.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/44431/ft1_filtered_4FGL_J1936.9-4720_daily_bin412.fits.....................!
real 93.16
user 91.64
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4473       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.718       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.067       1.0000         .10000E-03   10000.    
     8 'norm      '    24.371       1.0000         .10000E-03   10000.    
     9 'norm      '    .41725       1.0000         .10000E-03   10000.    
    10 'norm      '    8.8813       1.0000         .10000E-03   10000.    
    11 'norm      '    37.806       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4252       1.0000         .10000E-03   10000.    
    13 'norm      '    2.3172       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3405       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90670       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11620.85     FROM MIGRAD    STATUS=CONVERGED    322 CALLS     1389 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.8462         .0000    ** at limit **
   2  norm          .10000E-03    4.8573         .0000    ** at limit **
   3  norm          .10000E-03    2.2585         .0000    ** at limit **
   4  norm          .10000E-03    .68667         .0000    ** at limit **
   5  Prefactor     1.4482        5.6157         .0000        .28599E-01
   6  Prefactor     14.718        14.837         .0000        .39577E-04
   7  Prefactor     22.068        10.711         .0000        .14697E-03
   8  norm          24.370        19.362         .0000        .10748E-02
   9  norm          .41725        .71696         .0000        .10750E-01
  10  norm          8.8819        7.5160         .0000        .41929E-03
  11  norm          37.807        19.566         .0000       -.12875E-02
  12  norm          2.4253        1.3634         .0000       -.15178E-03
  13  norm          2.3182        2.9678         .0000        .87637E-03
  14  norm          .10000E-03    7.6424         .0000    ** at limit **
  15  Prefactor     .10000E-03    26.241         .0000    ** at limit **
  16  Normalizat    1.3403        .21803         .0000       -.27852E-04
  17  Prefactor     .90679        .76138E-01     .0000        .13299E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.44821
  Prefactor  = 14.7185
  Prefactor  = 22.068
  norm       = 24.3699
  norm       = 0.417252
  norm       = 8.88187
  norm       = 37.8068
  norm       = 2.42531
  norm       = 2.31822
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.34025
  Prefactor  = 0.906787
 **********
 **   18 **HESSE 
 **********

 FCN=   11620.85     FROM HESSE     STATUS=OK           225 CALLS     1614 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.8514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.8607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.2644        .15821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.4200        .17393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4482        5.6217        .17913E-02   -1.5467    
   6  Prefactor     14.718        14.812        .10440E-03   -1.4940    
   7  Prefactor     22.068        10.711        .85266E-04   -1.4768    
   8  norm          24.370        19.382        .81143E-04   -1.4720    
   9  norm          .41725        .71665        .21856E-03   -1.5579    
  10  norm          8.8819        7.5062        .13450E-03   -1.5112    
  11  norm          37.807        19.590        .65184E-04   -1.4477    
  12  norm          2.4253        1.3655        .91666E-04   -1.5396    
  13  norm          2.3182        2.9519        .20038E-03   -1.5403    
  14  norm          .10000E-03    7.6538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3403        .26070        .38268E-03   -.82373    
  17  Prefactor     .90679        .91381E-01    .16291E-03   -.95904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60368e-09
Minuit parameter uncertainties:
  1  0.000165297
  2  0.000242856
  3  8.94663e-06
  4  1.65471e-05
  5  5.62379
  6  14.8161
  7  10.712
  8  19.3865
  9  0.716668
  10  7.50698
  11  19.5937
  12  1.36548
  13  2.95205
  14  5.69936e-05
  15  0.000163529
  16  0.260958
  17  0.0913965
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.472e+01  1.482e+01  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:  9.068e-01  9.140e-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.340e+00  2.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.11
Ra Dec: 294.242 -47.340
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.48e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.86e-05

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

Saving results to:
/scratch/kocevski/44431/likelihoodResults_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11620.8048075
delta logL = 0.0446314836481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11620.8037199
delta logL = 0.0457190362631

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.191       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9744       1.0000          .0000       10.000    
     3 'Normalizat'    1.3367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90720       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=   11620.80     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      305 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.188        18.888        .11976E-03    .20657E-03
   2  Index         1.9749        .74003        .87323E-02    .60133E-04
   3  Normalizat    1.3364        .25109        .38314E-03   -.33785E-03
   4  Prefactor     .90734        .90473E-01    .16286E-03   -.85727E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1885
  Index      = 1.97495
  Normalizat = 1.33643
  Prefactor  = 0.907341
 **********
 **   18 **HESSE 
 **********

 FCN=   11620.80     FROM HESSE     STATUS=OK            25 CALLS      330 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.188        16.499        .47903E-05   -1.5039    
   2  Index         1.9749        .64761        .34929E-03   -.64978    
   3  Normalizat    1.3364        .25109        .15326E-04   -.82485    
   4  Prefactor     .90734        .90518E-01    .32571E-04   -.95885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45757e-10
Minuit parameter uncertainties:
  1  16.5059
  2  0.650499
  3  0.251324
  4  0.0905333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/44431': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11620.8037176
delta logL = 0.0457213820027

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.119e+01  1.651e+01  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.975e+00  6.505e-01  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  9.073e-01  9.053e-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.336e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.20
Ra Dec: 294.242 -47.340
Photon Index (Free Index): 1.97 +/- 0.65
Photon Flux (Free Index): 1.84e-08 +/- 2.17e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.88e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/44431/cmap_HighResolution_346118401_346377601_4FGL_J1936.9-4720_daily_bin412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='1.35e-05', photon_flux_error='1.48e-08', dlogl='4.57e-02', energy_flux='1.85e-05', photon_flux2='1.84e-08', job_status='DONE', time_completed='2021-09-23 06:02:39.221455', photon_index_error2='0.65', photon_index2='1.97', ts='2.11', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='5.64e-08', energy_flux_error2='1.88e-05', EG='1.34', time_epoch_completed='1632402159.22', return_code='0', job_id='44431', GAL2='0.91', EG2='1.34', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='2.17e-08', ts2='2.20', photon_index='1.78' WHERE bin_id='412' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:02:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 44431: <4FGL_J1936.9-4720_daily_bin412> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin412> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 05:46:44 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 05:46:45 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:46:45 2021
Terminated at Thu Sep 23 06:02:39 2021
Results reported at Thu Sep 23 06:02:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin412 294.242 -47.34 346118401 346377601 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 :                                   832.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            955 sec.

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

