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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1472
RA = 294.242, Dec = -47.34
tmin = 620870401, tmax = 621129601
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='53100', job_status='RUN', time_executed='2021-09-23 06:20:58.448628', time_epoch_executed='1632403258.45' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1472'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53100

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53100/ft1_4FGL_J1936.9-4720_daily_bin1472.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53100/ft2_4FGL_J1936.9-4720_daily_bin1472.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53100/ft1_4FGL_J1936.9-4720_daily_bin1472.fits outfile=/scratch/kocevski/53100/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1472.fits ra=294.242 dec=-47.34 rad=12.0 tmin=620870401.0 tmax=621129601.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.25
user 2.98
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53100/ft2_4FGL_J1936.9-4720_daily_bin1472.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/53100/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1472.fits evtable="EVENTS" outfile="/scratch/kocevski/53100/ft1_filtered_4FGL_J1936.9-4720_daily_bin1472.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53100/ft1_filtered_4FGL_J1936.9-4720_daily_bin1472.fits" evtable="EVENTS" scfile=/scratch/kocevski/53100/ft2_4FGL_J1936.9-4720_daily_bin1472.fits sctable="SC_DATA" outfile=/scratch/kocevski/53100/ltcube_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.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/53100/ft2_4FGL_J1936.9-4720_daily_bin1472.fits
.....................!
real 15.98
user 15.57
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53100/ft1_filtered_4FGL_J1936.9-4720_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/53100/ft2_4FGL_J1936.9-4720_daily_bin1472.fits sctable="SC_DATA" expcube=/scratch/kocevski/53100/ltcube_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.fits outfile=/scratch/kocevski/53100/expmap_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.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/53100/ltcube_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.fits
.....................!
real 191.64
user 185.74
sys 5.52

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/53100/ft1_filtered_4FGL_J1936.9-4720_daily_bin1472.fits scfile=/scratch/kocevski/53100/ft2_4FGL_J1936.9-4720_daily_bin1472.fits outfile=/scratch/kocevski/53100/cmap_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53100/ft1_filtered_4FGL_J1936.9-4720_daily_bin1472.fits scfile=/scratch/kocevski/53100/ft2_4FGL_J1936.9-4720_daily_bin1472.fits outfile=/scratch/kocevski/53100/cmap_HighResolution_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9571       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.9448       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5226       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.879       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.993       1.0000         .10000E-03   10000.    
     8 'norm      '    15.394       1.0000         .10000E-03   10000.    
     9 'norm      '    7.8430       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0223       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    2.1023       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .80431       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=   7625.420     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1594 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9377        40.218       -.16194E-04   -.13622E-04
   2  norm          .10000E-03    6.8204        .17556E-07** at limit **
   3  norm          .10000E-03    4.0301        .76489E-07** at limit **
   4  norm          3.9447        2.8170       -.16857E-07   -.13654E-03
   5  Prefactor     2.5130        10.336       -.34625E-05   -.14713E-03
   6  Prefactor     22.876        25.712       -.22973E-05    .78342E-04
   7  Prefactor     22.981        18.385       -.32499E-05    .16876E-03
   8  norm          15.394        32.579        .15777E-05   -.13860E-04
   9  norm          7.8430        2.2786        .34093E-07   -.70472E-05
  10  norm          .10000E-03    5.3740        .49481E-07** at limit **
  11  norm          .10000E-03    12.605        .13195E-06** at limit **
  12  norm          1.0222        1.1844        .25715E-07    .19585E-03
  13  norm          .10000E-03    2.0993       -.12422E-06** at limit **
  14  norm          .10000E-03    31.343       -.12138E-05** at limit **
  15  Prefactor     .10000E-03    38.572        .30815E-05** at limit **
  16  Normalizat    2.1030        .31066        .15508E-05    .59169E-04
  17  Prefactor     .80412        .10050        .56014E-06    .16194E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93775
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.94469
  Prefactor  = 2.51302
  Prefactor  = 22.8762
  Prefactor  = 22.9812
  norm       = 15.3944
  norm       = 7.84304
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.02225
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 2.10304
  Prefactor  = 0.804116
 **********
 **   18 **HESSE 
 **********

 FCN=   7625.420     FROM HESSE     STATUS=OK           223 CALLS     1817 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9377        42.908        .29656E-03   -1.5430    
   2  norm          .10000E-03    6.8273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.0354        .17120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9447        2.8167        .12001E-03   -1.5311    
   5  Prefactor     2.5130        10.863        .25721E-03   -1.5391    
   6  Prefactor     22.876        25.554        .83742E-04   -1.4751    
   7  Prefactor     22.981        18.217        .83535E-04   -1.4749    
   8  norm          15.394        32.602        .10208E-03   -1.4923    
   9  norm          7.8430        2.2777        .67947E-04   -1.5148    
  10  norm          .10000E-03    5.4027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    12.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0222        1.1745        .99802E-04   -1.5506    
  13  norm          .10000E-03    2.1075        .12356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    31.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    38.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.1030        .37583        .37558E-03   -.61992    
  17  Prefactor     .80412        .12177        .18346E-03   -.99577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08074e-10
Minuit parameter uncertainties:
  1  18.251
  2  2.93936e-07
  3  2.12961e-06
  4  2.81682
  5  10.4527
  6  25.5658
  7  18.2218
  8  32.6396
  9  2.27774
  10  1.87851e-06
  11  5.68278e-06
  12  1.17456
  13  8.42194e-07
  14  3.40301e-05
  15  0.000156966
  16  0.376365
  17  0.121811
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  2.288e+01  2.557e+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.041e-01  1.218e-01  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  2.103e+00  3.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 294.242 -47.340
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 2.28e-08 +/- 2.55e-08
Energy Flux (Fixed Index): 2.87e-05 +/- 3.21e-05

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

Saving results to:
/scratch/kocevski/53100/likelihoodResults_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.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) = 7625.41170369
delta logL = 0.00878126140651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7625.40554126
delta logL = 0.0149436982665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.447       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9117       1.0000          .0000       10.000    
     3 'Normalizat'    2.0981       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80494       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=   7625.406     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      258 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.441        33.421        .90825E-04    .13281E-03
   2  Index         1.9118        .84327        .94082E-02    .56242E-04
   3  Normalizat    2.0981        .36614        .37591E-03    .15541E-03
   4  Prefactor     .80493        .11936        .18337E-03    .22297E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4409
  Index      = 1.91178
  Normalizat = 2.09809
  Prefactor  = 0.804933
 **********
 **   18 **HESSE 
 **********

 FCN=   7625.406     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.441        30.154        .18165E-04   -1.4826    
   2  Index         1.9118        .76162        .37633E-03   -.66574    
   3  Normalizat    2.0981        .36587        .75181E-04   -.62114    
   4  Prefactor     .80493        .11938        .36674E-04   -.99547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58099e-11
Minuit parameter uncertainties:
  1  30.1775
  2  0.766469
  3  0.366364
  4  0.119418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53100': 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) = 7625.40554124
delta logL = 0.0149437195232

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.944e+01  3.018e+01  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.912e+00  7.665e-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.049e-01  1.194e-01  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  2.098e+00  3.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 294.242 -47.340
Photon Index (Free Index): 1.91 +/- 0.77
Photon Flux (Free Index): 2.70e-08 +/- 3.89e-08
Energy Flux (Free Index): 2.34e-05 +/- 3.72e-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/53100/cmap_HighResolution_620870401_621129601_4FGL_J1936.9-4720_daily_bin1472.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', comment='SUCCESS', photon_flux='2.28e-08', energy_flux2='2.34e-05', photon_flux_error='2.55e-08', dlogl='1.49e-02', energy_flux='2.87e-05', photon_flux2='2.70e-08', job_status='DONE', time_completed='2021-09-23 06:32:18.651771', photon_index_error2='0.77', photon_index2='1.91', ts='1.42', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='9.40e-08', energy_flux_error2='3.72e-05', EG='2.10', time_epoch_completed='1632403938.65', return_code='0', job_id='53100', GAL2='0.80', EG2='2.10', return_code2='0', energy_flux_error='3.21e-05', photon_flux_error2='3.89e-08', ts2='1.45', photon_index='1.78' WHERE bin_id='1472' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:32:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 53100: <4FGL_J1936.9-4720_daily_bin1472> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1472> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep 23 06:16:56 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 06:17:06 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:17:06 2021
Terminated at Thu Sep 23 06:32:19 2021
Results reported at Thu Sep 23 06:32:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1472 294.242 -47.34 620870401 621129601 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 :                                   678.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            923 sec.

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

