/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 143 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 = 7487
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1936.9-4720_daily_bin319
RA = 294.242, Dec = -47.34
tmin = 322012801, tmax = 322272001
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='44298', job_status='RUN', time_executed='2021-09-23 05:49:10.026290', time_epoch_executed='1632401350.03' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/44298

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/44298/ft1_4FGL_J1936.9-4720_daily_bin319.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/44298/ft2_4FGL_J1936.9-4720_daily_bin319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/44298/ft1_4FGL_J1936.9-4720_daily_bin319.fits outfile=/scratch/kocevski/44298/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin319.fits ra=294.242 dec=-47.34 rad=12.0 tmin=322012801.0 tmax=322272001.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.48
user 3.22
sys 0.24

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/44298/ft1_filtered_4FGL_J1936.9-4720_daily_bin319.fits" evtable="EVENTS" scfile=/scratch/kocevski/44298/ft2_4FGL_J1936.9-4720_daily_bin319.fits sctable="SC_DATA" outfile=/scratch/kocevski/44298/ltcube_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.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/44298/ft2_4FGL_J1936.9-4720_daily_bin319.fits
.....................!
real 18.97
user 18.54
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/44298/ft1_filtered_4FGL_J1936.9-4720_daily_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/44298/ft2_4FGL_J1936.9-4720_daily_bin319.fits sctable="SC_DATA" expcube=/scratch/kocevski/44298/ltcube_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.fits outfile=/scratch/kocevski/44298/expmap_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.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/44298/ltcube_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.fits
.....................!
real 194.75
user 188.41
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/44298/ft1_filtered_4FGL_J1936.9-4720_daily_bin319.fits scfile=/scratch/kocevski/44298/ft2_4FGL_J1936.9-4720_daily_bin319.fits outfile=/scratch/kocevski/44298/cmap_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/44298/ft1_filtered_4FGL_J1936.9-4720_daily_bin319.fits scfile=/scratch/kocevski/44298/ft2_4FGL_J1936.9-4720_daily_bin319.fits outfile=/scratch/kocevski/44298/cmap_HighResolution_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/44298/ft1_filtered_4FGL_J1936.9-4720_daily_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/44298/ft2_4FGL_J1936.9-4720_daily_bin319.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/44298/Model_4FGL_J1936.9-4720_daily_bin319.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/44298/ft1_filtered_4FGL_J1936.9-4720_daily_bin319.fits.....................!
real 80.96
user 79.27
sys 1.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9615       1.0000         .10000E-03   10000.    
     2 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .72940       1.0000         .10000E-03   10000.    
     4 'norm      '    .60415       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0928       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.412       1.0000         .10000E-03   10000.    
     8 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .45794E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .17111E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9808       1.0000         .10000E-03   10000.    
    13 'norm      '    2.8053       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1753       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0489       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9214.955     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     1449 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9608        15.766         .0000        .11758E-02
   2  norm          .10000E-03    23.137         .0000    ** at limit **
   3  norm          .73047        9.2820         .0000        .38341E-01
   4  norm          .60496        2.2695         .0000        .22223E-02
   5  Prefactor     6.0930        7.7949         .0000        .43390E-02
   6  Prefactor     .10000E-03    10.530         .0000    ** at limit **
   7  Prefactor     14.411        11.447         .0000       -.83282E-04
   8  norm          .10001E-03    10.921         .0000    ** at limit **
   9  norm          .10000E-03    .53401         .0000    ** at limit **
  10  norm          .10013E-03    4.9335         .0000    ** at limit **
  11  norm          .10000E-03    12.722         .0000    ** at limit **
  12  norm          2.9806        1.9300         .0000       -.16512E-04
  13  norm          2.8045        2.7300         .0000        .29895E-04
  14  norm          .10000E-03    5.7490         .0000    ** at limit **
  15  Prefactor     .10001E-03    10.398         .0000    ** at limit **
  16  Normalizat    1.1753        .25652         .0000        .27886E-04
  17  Prefactor     1.0488        .90860E-01     .0000        .39546E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.9608
  norm       = 0.0001
  norm       = 0.730469
  norm       = 0.604964
  Prefactor  = 6.09299
  Prefactor  = 0.000100001
  Prefactor  = 14.4112
  norm       = 0.000100013
  norm       = 0.0001
  norm       = 0.00010013
  norm       = 0.0001
  norm       = 2.98057
  norm       = 2.80445
  norm       = 0.0001
  Prefactor  = 0.000100009
  Normalizat = 1.1753
  Prefactor  = 1.04884
 **********
 **   18 **HESSE 
 **********

 FCN=   9214.955     FROM HESSE     STATUS=OK           231 CALLS     1680 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9608        15.780        .90277E-03   -1.5262    
   2  norm          .10000E-03    23.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .73047        9.4678        .24348E-02   -1.5537    
   4  norm          .60496        2.2712        .26880E-03   -1.5552    
   5  Prefactor     6.0930        7.7934        .81327E-03   -1.5214    
   6  Prefactor     .10000E-03    10.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.411        11.427        .10550E-03   -1.4949    
   8  norm          .10001E-03    10.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .94671        .13542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10013E-03    17.114        .40586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    87.718        .64213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9806        1.9315        .10366E-03   -1.5363    
  13  norm          2.8045        2.7229        .15151E-03   -1.5373    
  14  norm          .10000E-03    5.7494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    10.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1753        .29647        .42305E-03   -.87369    
  17  Prefactor     1.0488        .10660        .15869E-03   -.91119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.6558e-09
Minuit parameter uncertainties:
  1  15.7927
  2  0.000126361
  3  5.26031
  4  2.27156
  5  7.79465
  6  0.000149043
  7  11.4287
  8  0.0007438
  9  8.00575e-07
  10  0.00298134
  11  9.46764e-05
  12  1.93155
  13  2.72305
  14  6.169e-06
  15  0.000596218
  16  0.29689
  17  0.106624
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
714   Normalization:  1.175e+00  2.969e-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.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/44298/likelihoodResults_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.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) = 9214.95578026
delta logL = -0.000451689995316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9214.95532855
delta logL = 1.73913576873e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7741       1.0000          .0000       10.000    
     3 'Normalizat'    1.1753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0488       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=   9214.955     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4999        .90712E-02** at limit **
   2  Index         1.7648        5.0059        .50000        .64994E-05
   3  Normalizat    1.1753        .31401E-02    .95494E-01    .24526E-04
   4  Prefactor     1.0488        .11254E-02    .39978E-01    .41380E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.76475
  Normalizat = 1.1753
  Prefactor  = 1.04884
 **********
 **   18 **HESSE 
 **********

 FCN=   9214.955     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      246 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    92.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7648        6.4154        .50000       -.70371    
   3  Normalizat    1.1753        .19191E-01    .42305E-03   -.87369    
   4  Prefactor     1.0488        .68953E-02    .15869E-03   -.91119    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.63686e-07
Minuit parameter uncertainties:
  1  4.21115e-05
  2  476.686
  3  0.0191914
  4  0.0068953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/44298': 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) = 9214.95532853
delta logL = 3.36294760928e-08

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  4.211e-05  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.765e+00  4.767e+02  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.049e+00  6.895e-03  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.175e+00  1.919e-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/44298/cmap_HighResolution_322012801_322272001_4FGL_J1936.9-4720_daily_bin319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-03', job_status='DONE', photon_flux_upper_limit='4.69e-08', time_completed='2021-09-23 06:01:22.471721', job_id='44298', GAL2='1.05', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632402082.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.36e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='319' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:01:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 44298: <4FGL_J1936.9-4720_daily_bin319> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin319> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 05:46:36 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 05:46:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 05:46:38 2021
Terminated at Thu Sep 23 06:01:23 2021
Results reported at Thu Sep 23 06:01:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin319 294.242 -47.34 322012801 322272001 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 :                                   731.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            887 sec.

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

