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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin854
RA = 294.242, Dec = -47.34
tmin = 460684801, tmax = 460944001
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='48505', job_status='RUN', time_executed='2021-09-23 06:04:35.047799', time_epoch_executed='1632402275.05' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48505

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48505/ft1_4FGL_J1936.9-4720_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48505/ft2_4FGL_J1936.9-4720_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48505/ft1_4FGL_J1936.9-4720_daily_bin854.fits outfile=/scratch/kocevski/48505/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin854.fits ra=294.242 dec=-47.34 rad=12.0 tmin=460684801.0 tmax=460944001.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.39
user 3.16
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48505/ft1_filtered_4FGL_J1936.9-4720_daily_bin854.fits" evtable="EVENTS" scfile=/scratch/kocevski/48505/ft2_4FGL_J1936.9-4720_daily_bin854.fits sctable="SC_DATA" outfile=/scratch/kocevski/48505/ltcube_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.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/48505/ft2_4FGL_J1936.9-4720_daily_bin854.fits
.....................!
real 17.50
user 17.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48505/ft1_filtered_4FGL_J1936.9-4720_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/48505/ft2_4FGL_J1936.9-4720_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/48505/ltcube_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.fits outfile=/scratch/kocevski/48505/expmap_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.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/48505/ltcube_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.fits
.....................!
real 192.09
user 186.67
sys 4.93

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/48505/ft1_filtered_4FGL_J1936.9-4720_daily_bin854.fits scfile=/scratch/kocevski/48505/ft2_4FGL_J1936.9-4720_daily_bin854.fits outfile=/scratch/kocevski/48505/cmap_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48505/ft1_filtered_4FGL_J1936.9-4720_daily_bin854.fits scfile=/scratch/kocevski/48505/ft2_4FGL_J1936.9-4720_daily_bin854.fits outfile=/scratch/kocevski/48505/cmap_HighResolution_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.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.71
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/48505/ft1_filtered_4FGL_J1936.9-4720_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/48505/ft2_4FGL_J1936.9-4720_daily_bin854.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/48505/Model_4FGL_J1936.9-4720_daily_bin854.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/48505/ft1_filtered_4FGL_J1936.9-4720_daily_bin854.fits.....................!
real 86.55
user 85.03
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.873       1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10545E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .67901       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0575       1.0000         .10000E-03   10000.    
    10 'norm      '    .56351       1.0000         .10000E-03   10000.    
    11 'norm      '    17.153       1.0000         .10000E-03   10000.    
    12 'norm      '    .19887E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.870       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4650       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88607       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=   10804.58     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1644 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.871        20.167       -.34911E-05    .43645E-05
   2  norm          .10000E-03    14.166       -.63781E-05** at limit **
   3  norm          .10000E-03    2.0406       -.13475E-06** at limit **
   4  norm          .10000E-03    1.1964       -.13662E-07** at limit **
   5  Prefactor     .67695        4.2588       -.19203E-05   -.24405E-03
   6  Prefactor     .10000E-03    12.703        .74870E-05** at limit **
   7  Prefactor     .10000E-03    4.8842        .37891E-05** at limit **
   8  norm          .10000E-03    4.2785       -.24380E-05** at limit **
   9  norm          1.0575        .80781       -.12565E-06   -.11784E-02
  10  norm          .55915        4.1234       -.20013E-05   -.14207E-03
  11  norm          17.155        14.249        .23615E-05    .22952E-03
  12  norm          .10000E-03    .56502       -.81286E-07** at limit **
  13  norm          .10000E-03    1.6011       -.18976E-06** at limit **
  14  norm          .10000E-03    6.0602       -.23680E-05** at limit **
  15  Prefactor     15.866        25.123       -.71686E-05    .15634E-04
  16  Normalizat    1.4649        .21489        .66602E-06    .35688E-03
  17  Prefactor     .88608        .76542E-01    .27387E-06    .67962E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.8712
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.67695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.05748
  norm       = 0.559149
  norm       = 17.1553
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.8657
  Normalizat = 1.46493
  Prefactor  = 0.886081
 **********
 **   18 **HESSE 
 **********

 FCN=   10804.58     FROM HESSE     STATUS=OK           229 CALLS     1873 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.871        20.215        .10053E-03   -1.4911    
   2  norm          .10000E-03    14.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.0429        .14501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.4935        .22059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .67695        13.686        .40652E-02   -1.5543    
   6  Prefactor     .10000E-03    12.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.2697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0575        .75836        .79030E-03   -1.5502    
  10  norm          .55915        15.140        .40052E-02   -1.5558    
  11  norm          17.155        14.311        .96704E-04   -1.4879    
  12  norm          .10000E-03    8.5169        .15155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.6623        .25681E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.0352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.866        25.080        .10054E-03   -1.4911    
  16  Normalizat    1.4649        .25681        .35962E-03   -.78769    
  17  Prefactor     .88608        .92190E-01    .16107E-03   -.96629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27618e-07
Minuit parameter uncertainties:
  1  20.2237
  2  1.52449e-05
  3  6.95371e-07
  4  2.13944e-05
  5  6.08871
  6  8.65415e-06
  7  6.31584e-06
  8  1.45901e-07
  9  0.758364
  10  5.82016
  11  14.3137
  12  4.97436e-05
  13  3.35352e-06
  14  2.50256e-05
  15  25.0971
  16  0.257035
  17  0.0922064
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  8.654e-06  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.861e-01  9.221e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  1.465e+00  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/48505/likelihoodResults_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.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): 102
logL (Free Index) = 10804.5822204
delta logL = -0.000376194328055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10804.5818442
delta logL = -5.3067196859e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7957       1.0000          .0000       10.000    
     3 'Normalizat'    1.4649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88610       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=   10804.58     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.701        .90712E-02** at limit **
   2  Index         1.8078        5.9492        .50000       -.74180E-05
   3  Normalizat    1.4649        .12254E-01    .81243E-01    .18755E-04
   4  Prefactor     .88608        .44283E-02    .44828E-01    .46133E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.80778
  Normalizat = 1.46493
  Prefactor  = 0.886081
 **********
 **   18 **HESSE 
 **********

 FCN=   10804.58     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1330.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8078        9.0673        .50000       -.69248    
   3  Normalizat    1.4649        .67828E-01    .35962E-03   -.78769    
   4  Prefactor     .88608        .24542E-01    .16107E-03   -.96629    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.32959e-09
Minuit parameter uncertainties:
  1  0.000206886
  2  40.2343
  3  0.0678321
  4  0.0245421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48505': 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): 102
logL (Free Index) = 10804.5818441
delta logL = 4.46852936875e-08

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.069e-04  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.808e+00  4.023e+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.861e-01  2.454e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  1.465e+00  6.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 294.242 -47.340

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/48505/cmap_HighResolution_460684801_460944001_4FGL_J1936.9-4720_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-03', job_status='DONE', photon_flux_upper_limit='4.55e-08', time_completed='2021-09-23 06:18:10.531397', job_id='48505', GAL2='0.89', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1632403090.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='4.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='854' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:18:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 48505: <4FGL_J1936.9-4720_daily_bin854> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin854> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 06:01:39 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 06:01:40 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:01:40 2021
Terminated at Thu Sep 23 06:18:11 2021
Results reported at Thu Sep 23 06:18:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin854 294.242 -47.34 460684801 460944001 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 :                                   814.10 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             299.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            992 sec.

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

