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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1560
RA = 294.242, Dec = -47.34
tmin = 643680001, tmax = 643939201
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='53236', job_status='RUN', time_executed='2021-09-23 06:17:51.707533', time_epoch_executed='1632403071.71' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53236

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53236/ft1_4FGL_J1936.9-4720_daily_bin1560.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53236/ft2_4FGL_J1936.9-4720_daily_bin1560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53236/ft1_4FGL_J1936.9-4720_daily_bin1560.fits outfile=/scratch/kocevski/53236/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1560.fits ra=294.242 dec=-47.34 rad=12.0 tmin=643680001.0 tmax=643939201.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.70
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53236/ft1_filtered_4FGL_J1936.9-4720_daily_bin1560.fits" evtable="EVENTS" scfile=/scratch/kocevski/53236/ft2_4FGL_J1936.9-4720_daily_bin1560.fits sctable="SC_DATA" outfile=/scratch/kocevski/53236/ltcube_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.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/53236/ft2_4FGL_J1936.9-4720_daily_bin1560.fits
.....................!
real 14.94
user 14.27
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53236/ft1_filtered_4FGL_J1936.9-4720_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/53236/ft2_4FGL_J1936.9-4720_daily_bin1560.fits sctable="SC_DATA" expcube=/scratch/kocevski/53236/ltcube_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.fits outfile=/scratch/kocevski/53236/expmap_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.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/53236/ltcube_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.fits
.....................!
real 193.80
user 187.07
sys 4.96

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/53236/ft1_filtered_4FGL_J1936.9-4720_daily_bin1560.fits scfile=/scratch/kocevski/53236/ft2_4FGL_J1936.9-4720_daily_bin1560.fits outfile=/scratch/kocevski/53236/cmap_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.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/53236/ft1_filtered_4FGL_J1936.9-4720_daily_bin1560.fits scfile=/scratch/kocevski/53236/ft2_4FGL_J1936.9-4720_daily_bin1560.fits outfile=/scratch/kocevski/53236/cmap_HighResolution_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53236/ft1_filtered_4FGL_J1936.9-4720_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/53236/ft2_4FGL_J1936.9-4720_daily_bin1560.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53236/Model_4FGL_J1936.9-4720_daily_bin1560.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/53236/ft1_filtered_4FGL_J1936.9-4720_daily_bin1560.fits.....................!
real 81.84
user 80.38
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.284       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3697       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.430       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.624       1.0000         .10000E-03   10000.    
     8 'norm      '    9.0748       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5983       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9055       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.3458       1.0000         .10000E-03   10000.    
    14 'norm      '    7.8090       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98751       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96019       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=   10312.55     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1417 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.282        20.248       -.14433E-05    .91978E-04
   2  norm          2.3691        8.3089       -.98304E-06   -.21165E-03
   3  norm          .10000E-03    5.4861        .92055E-07** at limit **
   4  norm          .10000E-03    .89359       -.39858E-07** at limit **
   5  Prefactor     .10000E-03    3.3033       -.15415E-07** at limit **
   6  Prefactor     14.431        15.980        .59014E-06   -.38528E-04
   7  Prefactor     11.624        10.427       -.62532E-07   -.12895E-04
   8  norm          9.0751        10.037        .49868E-06    .43812E-03
   9  norm          2.5983        1.0321       -.14959E-07   -.94176E-03
  10  norm          1.9059        3.9677       -.65529E-05   -.82175E-04
  11  norm          .10000E-03    28.486       -.48520E-05** at limit **
  12  norm          .10000E-03    .48255       -.26389E-08** at limit **
  13  norm          1.3458        1.3096        .73486E-07    .55712E-03
  14  norm          7.8084        16.032        .14566E-06   -.70882E-04
  15  Prefactor     .10000E-03    25.237        .49265E-05** at limit **
  16  Normalizat    .98764        .21828        .83920E-06    .58586E-04
  17  Prefactor     .96015        .79702E-01    .13746E-06    .17488E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.2819
  norm       = 2.3691
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.4312
  Prefactor  = 11.6237
  norm       = 9.0751
  norm       = 2.59834
  norm       = 1.9059
  norm       = 0.000100004
  norm       = 0.0001
  norm       = 1.34576
  norm       = 7.80844
  Prefactor  = 0.000100001
  Normalizat = 0.987639
  Prefactor  = 0.960153
 **********
 **   18 **HESSE 
 **********

 FCN=   10312.55     FROM HESSE     STATUS=OK           229 CALLS     1646 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.282        20.257        .81288E-04   -1.4722    
   2  norm          2.3691        8.3259        .26617E-03   -1.5400    
   3  norm          .10000E-03    5.5455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5383        .18654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.186        .35193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.431        15.906        .10544E-03   -1.4948    
   7  Prefactor     11.624        10.416        .11750E-03   -1.5026    
   8  norm          9.0751        10.093        .66523E-03   -1.5105    
   9  norm          2.5983        1.0322        .12655E-03   -1.5386    
  10  norm          1.9059        4.1672        .29982E-03   -1.5432    
  11  norm          .10000E-03    28.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .49015        .68869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3458        1.3371        .11186E-03   -1.5476    
  14  norm          7.8084        16.018        .14349E-03   -1.5149    
  15  Prefactor     .10000E-03    25.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .98764        .24930        .40527E-03   -.93446    
  17  Prefactor     .96015        .92113E-01    .15018E-03   -.94070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.6867e-10
Minuit parameter uncertainties:
  1  20.2626
  2  8.32994
  3  6.96633e-06
  4  2.3658e-06
  5  5.7037e-06
  6  15.9104
  7  10.4175
  8  10.095
  9  1.03223
  10  4.16783
  11  0.000686827
  12  2.76627e-07
  13  1.33712
  14  16.0273
  15  0.000341985
  16  0.249591
  17  0.0921282
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.443e+01  1.591e+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.602e-01  9.213e-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:  9.876e-01  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.91
Ra Dec: 294.242 -47.340
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 1.44e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 2.00e-05

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

Saving results to:
/scratch/kocevski/53236/likelihoodResults_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.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) = 10312.3780983
delta logL = 0.172635006991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10312.373064
delta logL = 0.177669263723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.407       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4215       1.0000          .0000       10.000    
     3 'Normalizat'    .99161       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96005       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=   10312.37     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      338 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.408        21.453        .90916E-04    .23308E-04
   2  Index         1.4215        .61011        .13447E-01    .14234E-04
   3  Normalizat    .99169        .24704        .40452E-03    .25856E-05
   4  Prefactor     .96002        .91210E-01    .15018E-03    .33308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4079
  Index      = 1.42155
  Normalizat = 0.991692
  Prefactor  = 0.960018
 **********
 **   18 **HESSE 
 **********

 FCN=   10312.37     FROM HESSE     STATUS=OK            25 CALLS      363 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.408        21.336        .18183E-04   -1.4827    
   2  Index         1.4215        .60731        .53786E-03   -.79761    
   3  Normalizat    .99169        .24723        .16181E-04   -.93309    
   4  Prefactor     .96002        .91285E-01    .60072E-05   -.94074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22005e-12
Minuit parameter uncertainties:
  1  21.3447
  2  0.610409
  3  0.247513
  4  0.0912995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53236': 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) = 10312.3730639
delta logL = 0.177669323379

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.941e+01  2.134e+01  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.422e+00  6.104e-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.600e-01  9.130e-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:  9.917e-01  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.26
Ra Dec: 294.242 -47.340
Photon Index (Free Index): 1.42 +/- 0.61
Photon Flux (Free Index): 8.83e-09 +/- 1.30e-08
Energy Flux (Free Index): 3.63e-05 +/- 5.52e-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/53236/cmap_HighResolution_643680001_643939201_4FGL_J1936.9-4720_daily_bin1560.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.47e-03', comment='SUCCESS', photon_flux='1.44e-08', energy_flux2='3.63e-05', photon_flux_error='1.59e-08', dlogl='1.78e-01', energy_flux='1.81e-05', photon_flux2='8.83e-09', job_status='DONE', time_completed='2021-09-23 06:30:47.495009', photon_index_error2='0.61', photon_index2='1.42', ts='1.91', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='6.08e-08', energy_flux_error2='5.52e-05', EG='0.99', time_epoch_completed='1632403847.5', return_code='0', job_id='53236', GAL2='0.96', EG2='0.99', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.30e-08', ts2='2.26', photon_index='1.78' WHERE bin_id='1560' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:30:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 53236: <4FGL_J1936.9-4720_daily_bin1560> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1560> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep 23 06:17:07 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 06:17:33 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:33 2021
Terminated at Thu Sep 23 06:30:48 2021
Results reported at Thu Sep 23 06:30:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1560 294.242 -47.34 643680001 643939201 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 :                                   772.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            821 sec.

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

