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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1636
RA = 294.242, Dec = -47.34
tmin = 663379201, tmax = 663638401
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='951427', job_status='RUN', time_executed='2022-01-12 01:21:57.105131', time_epoch_executed='1641979317.11' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951427/ft1_4FGL_J1936.9-4720_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951427/ft2_4FGL_J1936.9-4720_daily_bin1636.fits


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

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

Done.
real 2.70
user 2.43
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951427/ft1_filtered_4FGL_J1936.9-4720_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/951427/ft2_4FGL_J1936.9-4720_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/951427/ltcube_663379201_663638401_4FGL_J1936.9-4720_daily_bin1636.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/951427/ft2_4FGL_J1936.9-4720_daily_bin1636.fits
.....................!
real 19.09
user 18.66
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951427/ft1_filtered_4FGL_J1936.9-4720_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/951427/ft2_4FGL_J1936.9-4720_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/951427/ltcube_663379201_663638401_4FGL_J1936.9-4720_daily_bin1636.fits outfile=/scratch/kocevski/951427/expmap_663379201_663638401_4FGL_J1936.9-4720_daily_bin1636.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/951427/ltcube_663379201_663638401_4FGL_J1936.9-4720_daily_bin1636.fits
.....................!
real 194.22
user 188.38
sys 5.40

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/951427/ft1_filtered_4FGL_J1936.9-4720_daily_bin1636.fits scfile=/scratch/kocevski/951427/ft2_4FGL_J1936.9-4720_daily_bin1636.fits outfile=/scratch/kocevski/951427/cmap_663379201_663638401_4FGL_J1936.9-4720_daily_bin1636.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.56
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951427/ft1_filtered_4FGL_J1936.9-4720_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/951427/ft2_4FGL_J1936.9-4720_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951427/Model_4FGL_J1936.9-4720_daily_bin1636.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/951427/ft1_filtered_4FGL_J1936.9-4720_daily_bin1636.fits......................!
real 24.12
user 22.83
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9999.5       1.0000         .10000E-03   10000.    
     2 'norm      '    9998.1       1.0000         .10000E-03   10000.    
     3 'norm      '    9999.9       1.0000         .10000E-03   10000.    
     4 'norm      '    .10181E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    67.152       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .32716E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    103.87       1.0000         .10000E-03   10000.    
     9 'norm      '    .11693       1.0000         .10000E-03   10000.    
    10 'norm      '    .11045E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    27.684       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .18066E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    161.54       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2964       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.

 FCN=   1639.880     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     1918 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm         10000.0        841.62        .11121E-01** at limit **
   2  norm         10000.0        1259.7        .76499E-02** at limit **
   3  norm         10000.0        1610.3        .95927E-02** at limit **
   4  norm          .10000E-03    10.730        .90712E-02** at limit **
   5  Prefactor     .10000E-03    6.2898        .90712E-02** at limit **
   6  Prefactor     84.279        78.499        .12245E-02   -.95400E-06
   7  Prefactor     .10000E-03    22.140        .10676E-01** at limit **
   8  norm          103.95        122.68        .98636E-03   -.98834E-06
   9  norm          .11799        3.1613        .48256E-01   -.12126E-03
  10  norm          .10000E-03    7.6915        .90712E-02** at limit **
  11  norm          27.538        39.866        .19035E-02    .48870E-04
  12  norm          .10000E-03    1.6875        .90712E-02** at limit **
  13  norm          .10000E-03    3.1034        .90712E-02** at limit **
  14  norm          .10000E-03    69.071        .90712E-02** at limit **
  15  Prefactor     171.57        111.62        .79323E-03   -.78648E-05
  16  Normalizat    .10000E-01    .46776        .32094    ** at limit **
  17  Prefactor     1.2910        .18152        .32673E-01   -.17507E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10000
  norm       = 10000
  norm       = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 84.2788
  Prefactor  = 0.0001
  norm       = 103.95
  norm       = 0.117987
  norm       = 0.0001
  norm       = 27.5377
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 171.565
  Normalizat = 0.01
  Prefactor  = 1.29104
 **********
 **   18 **HESSE 
 **********

 FCN=   1639.880     FROM HESSE     STATUS=OK           215 CALLS     2133 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm         10000.0        841.62        .22242E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm         10000.0        1259.7        .15300E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm         10000.0        1610.2        .19185E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    10.730        .12958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.2902        .99204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     84.279        78.537        .48978E-04   -1.3869    
   7  Prefactor     .10000E-03    22.147        .18617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          103.95        122.88        .39454E-04   -1.3665    
   9  norm          .11799        25.454        .13939E-02   -1.5777    
  10  norm          .10000E-03    7.6928        .10970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          27.538        39.748        .38070E-03   -1.4658    
  12  norm          .10000E-03    1.6963        .51366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.1062        .69668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    69.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     171.57        111.43        .31729E-04   -1.3081    
  16  Normalizat    .10000E-01    .81014        .12744E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2910        .14013        .15691E-03   -.83574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09153e-09
Minuit parameter uncertainties:
  1  0.00449107
  2  0.00985687
  3  0.0349694
  4  3.7642e-06
  5  8.64087e-06
  6  78.6342
  7  3.60324e-06
  8  123.18
  9  3.46599
  10  2.48124e-05
  11  39.7858
  12  8.88503e-08
  13  2.53351e-06
  14  0.000104321
  15  111.565
  16  3.24295e-07
  17  0.140175
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  8.428e+01  7.863e+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:  1.291e+00  1.402e-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.000e-02  3.243e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.62
Ra Dec: 294.242 -47.340
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 8.41e-08 +/- 7.85e-08
Energy Flux (Fixed Index): 1.06e-04 +/- 9.86e-05

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) = 1639.88018187
delta logL = 4.22710952535e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1639.88014426
delta logL = 7.98804162514e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    85.153       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7757       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2912       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=   1639.880     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      255 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     85.243        110.67        .21767E-03    .16478E-04
   2  Index         1.7764        .57507        .38306E-02    .18276E-04
   3  Normalizat    .10000E-01    .81057        .12744E-01** at limit **
   4  Prefactor     1.2911        .13407        .15691E-03    .11223E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 85.2427
  Index      = 1.7764
  Normalizat = 0.01
  Prefactor  = 1.29113
 **********
 **   18 **HESSE 
 **********

 FCN=   1639.880     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     85.243        107.28        .87067E-05   -1.3859    
   2  Index         1.7764        .55752        .15322E-03   -.70066    
   3  Normalizat    .10000E-01    .81117        .25488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2911        .13388        .31382E-04   -.83571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25663e-10
Minuit parameter uncertainties:
  1  107.52
  2  0.559513
  3  1.71552e-05
  4  0.133915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951427': 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) = 1639.88013527
delta logL = 8.88672661858e-05

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  8.524e+01  1.075e+02  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.776e+00  5.595e-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:  1.291e+00  1.339e-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.000e-02  1.716e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.62
Ra Dec: 294.242 -47.340
Photon Index (Free Index): 1.78 +/- 0.56
Photon Flux (Free Index): 8.35e-08 +/- 9.01e-08
Energy Flux (Free Index): 1.07e-04 +/- 1.61e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/951427/cmap_HighResolution_663379201_663638401_4FGL_J1936.9-4720_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.41e-08', energy_flux2='1.07e-04', photon_flux_error='7.85e-08', dlogl='8.89e-05', energy_flux='1.06e-04', photon_flux2='8.35e-08', job_status='DONE', time_completed='2022-01-12 01:28:34.891355', photon_index_error2='0.56', photon_index2='1.78', ts='4.62', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='1.61e-04', EG='0.01', time_epoch_completed='1641979714.89', return_code='0', job_id='951427', GAL2='1.29', EG2='0.01', return_code2='0', energy_flux_error='9.86e-05', photon_flux_error2='9.01e-08', ts2='4.62', photon_index='1.78' WHERE bin_id='1636' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:28:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 951427: <4FGL_J1936.9-4720_daily_bin1636> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1636> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 12 01:15:31 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:21:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:21:43 2022
Terminated at Wed Jan 12 01:28:35 2022
Results reported at Wed Jan 12 01:28:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1636 294.242 -47.34 663379201 663638401 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 :                                   400.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   412 sec.
    Turnaround time :                            784 sec.

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

