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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin771
RA = 294.242, Dec = -47.34
tmin = 439171201, tmax = 439430401
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='47304', job_status='RUN', time_executed='2021-09-23 05:59:55.290459', time_epoch_executed='1632401995.29' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47304

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47304/ft1_4FGL_J1936.9-4720_daily_bin771.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47304/ft2_4FGL_J1936.9-4720_daily_bin771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47304/ft1_4FGL_J1936.9-4720_daily_bin771.fits outfile=/scratch/kocevski/47304/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin771.fits ra=294.242 dec=-47.34 rad=12.0 tmin=439171201.0 tmax=439430401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.65
user 5.34
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47304/ft1_filtered_4FGL_J1936.9-4720_daily_bin771.fits" evtable="EVENTS" scfile=/scratch/kocevski/47304/ft2_4FGL_J1936.9-4720_daily_bin771.fits sctable="SC_DATA" outfile=/scratch/kocevski/47304/ltcube_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.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/47304/ft2_4FGL_J1936.9-4720_daily_bin771.fits
.....................!
real 15.13
user 14.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47304/ft1_filtered_4FGL_J1936.9-4720_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/47304/ft2_4FGL_J1936.9-4720_daily_bin771.fits sctable="SC_DATA" expcube=/scratch/kocevski/47304/ltcube_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.fits outfile=/scratch/kocevski/47304/expmap_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.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/47304/ltcube_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.fits
.....................!
real 191.84
user 186.24
sys 4.44

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/47304/ft1_filtered_4FGL_J1936.9-4720_daily_bin771.fits scfile=/scratch/kocevski/47304/ft2_4FGL_J1936.9-4720_daily_bin771.fits outfile=/scratch/kocevski/47304/cmap_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47304/ft1_filtered_4FGL_J1936.9-4720_daily_bin771.fits scfile=/scratch/kocevski/47304/ft2_4FGL_J1936.9-4720_daily_bin771.fits outfile=/scratch/kocevski/47304/cmap_HighResolution_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.3434       1.0000         .10000E-03   10000.    
     3 'norm      '    12.115       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0151       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8127       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5829       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9228       1.0000         .10000E-03   10000.    
    10 'norm      '    9.8452       1.0000         .10000E-03   10000.    
    11 'norm      '    .38723E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6462       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2629       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85456       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=   7498.648     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1422 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4866         .0000    ** at limit **
   2  norm          2.3172        25.792         .0000        .24910E-02
   3  norm          12.116        9.9879         .0000        .95771E-03
   4  norm          3.0151        1.7467         .0000       -.22085E-03
   5  Prefactor     .10000E-03    2.5905         .0000    ** at limit **
   6  Prefactor     5.8124        21.209         .0000        .63890E-03
   7  Prefactor     4.5818        10.717         .0000        .35526E-02
   8  norm          .10000E-03    5.3360         .0000    ** at limit **
   9  norm          1.9228        1.0372         .0000        .72741E-04
  10  norm          9.8405        11.555         .0000        .19896E-03
  11  norm          .10000E-03    12.103         .0000    ** at limit **
  12  norm          1.6460        1.6739         .0000        .30526E-03
  13  norm          .10000E-03    1.4211         .0000    ** at limit **
  14  norm          .10000E-03    21.093         .0000    ** at limit **
  15  Prefactor     .10000E-03    12.379         .0000    ** at limit **
  16  Normalizat    1.2631        .25437         .0000        .25188E-04
  17  Prefactor     .85451        .88077E-01     .0000        .10073E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.31722
  norm       = 12.1165
  norm       = 3.01514
  Prefactor  = 0.0001
  Prefactor  = 5.81238
  Prefactor  = 4.58183
  norm       = 0.0001
  norm       = 1.92277
  norm       = 9.84052
  norm       = 0.000100001
  norm       = 1.64595
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26306
  Prefactor  = 0.854515
 **********
 **   18 **HESSE 
 **********

 FCN=   7498.648     FROM HESSE     STATUS=OK           235 CALLS     1657 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3172        25.991        .13391E-02   -1.5404    
   3  norm          12.116        10.040        .11509E-03   -1.5012    
   4  norm          3.0151        1.7508        .84870E-04   -1.5361    
   5  Prefactor     .10000E-03    2.5988        .13609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8124        21.202        .83290E-03   -1.5226    
   7  Prefactor     4.5818        10.706        .94015E-03   -1.5280    
   8  norm          .10000E-03    5.3363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9228        1.0370        .29964E-04   -1.5431    
  10  norm          9.8405        11.554        .12771E-03   -1.5080    
  11  norm          .10000E-03    14.934        .93727E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6460        1.6622        .10952E-03   -1.5451    
  13  norm          .10000E-03    1.4287        .10078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    21.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2631        .30608        .37416E-03   -.84676    
  17  Prefactor     .85451        .10658        .15490E-03   -.97749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21463e-10
Minuit parameter uncertainties:
  1  1.11191e-05
  2  15.5293
  3  10.0411
  4  1.75086
  5  1.77499e-07
  6  21.2293
  7  10.7103
  8  7.07383e-06
  9  1.03703
  10  11.5564
  11  0.000189485
  12  1.66223
  13  3.1621e-06
  14  2.02051e-05
  15  2.83877e-05
  16  0.306517
  17  0.106609
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  5.812e+00  2.123e+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:  8.545e-01  1.066e-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.263e+00  3.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/47304/likelihoodResults_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.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) = 7498.17543541
delta logL = 0.472817866733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7498.17373626
delta logL = 0.474517018463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.304       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0557       1.0000          .0000       10.000    
     3 'Normalizat'    1.2638       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85330       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=   7498.174     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      281 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.282        32.032        .84814E-04   -.85895E-04
   2  Index         1.0557        .65878        .12549E-01    .23126E-04
   3  Normalizat    1.2638        .29412        .37391E-03    .55642E-04
   4  Prefactor     .85330        .10320        .15495E-03   -.10093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.2819
  Index      = 1.05565
  Normalizat = 1.26384
  Prefactor  = 0.853297
 **********
 **   18 **HESSE 
 **********

 FCN=   7498.174     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.282        32.474        .16963E-04   -1.4764    
   2  Index         1.0557        .66790        .50198E-03   -.90897    
   3  Normalizat    1.2638        .29435        .14956E-04   -.84652    
   4  Prefactor     .85330        .10328        .30989E-04   -.97793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10717e-10
Minuit parameter uncertainties:
  1  32.4993
  2  0.673275
  3  0.294741
  4  0.103307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47304': 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) = 7498.17373602
delta logL = 0.474517258985

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  2.228e+01  3.250e+01  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.056e+00  6.733e-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:  8.533e-01  1.033e-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.264e+00  2.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 294.242 -47.340
Photon Index (Free Index): 1.06 +/- 0.67
Photon Flux (Free Index): 6.60e-09 +/- 1.06e-08
Energy Flux (Free Index): 8.29e-05 +/- 1.40e-04

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/47304/cmap_HighResolution_439171201_439430401_4FGL_J1936.9-4720_daily_bin771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.45e-03', comment='SUCCESS', energy_flux2='8.29e-05', dlogl='4.75e-01', photon_flux2='6.60e-09', job_status='DONE', time_completed='2021-09-23 06:10:57.425232', photon_index_error2='0.67', photon_index2='1.06', ts='0.09', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.40e-08', energy_flux_error2='1.40e-04', EG='1.26', time_epoch_completed='1632402657.43', return_code='0', job_id='47304', GAL2='0.85', EG2='1.26', return_code2='0', photon_flux_error2='1.06e-08', ts2='1.04', photon_index='1.78' WHERE bin_id='771' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:10:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 47304: <4FGL_J1936.9-4720_daily_bin771> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin771> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 23 05:57:05 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 05:57:24 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:57:24 2021
Terminated at Thu Sep 23 06:10:58 2021
Results reported at Thu Sep 23 06:10:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin771 294.242 -47.34 439171201 439430401 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 :                                   658.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            833 sec.

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

