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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1410
RA = 294.242, Dec = -47.34
tmin = 604800001, tmax = 605059201
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='53003', job_status='RUN', time_executed='2021-09-23 06:19:35.957425', time_epoch_executed='1632403175.96' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53003

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53003/ft1_4FGL_J1936.9-4720_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53003/ft2_4FGL_J1936.9-4720_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53003/ft1_4FGL_J1936.9-4720_daily_bin1410.fits outfile=/scratch/kocevski/53003/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1410.fits ra=294.242 dec=-47.34 rad=12.0 tmin=604800001.0 tmax=605059201.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 5.11
user 4.81
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53003/ft1_filtered_4FGL_J1936.9-4720_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/53003/ft2_4FGL_J1936.9-4720_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/53003/ltcube_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.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/53003/ft2_4FGL_J1936.9-4720_daily_bin1410.fits
.....................!
real 14.68
user 14.13
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53003/ft1_filtered_4FGL_J1936.9-4720_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/53003/ft2_4FGL_J1936.9-4720_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/53003/ltcube_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.fits outfile=/scratch/kocevski/53003/expmap_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.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/53003/ltcube_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.fits
.....................!
real 194.34
user 188.39
sys 5.43

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/53003/ft1_filtered_4FGL_J1936.9-4720_daily_bin1410.fits scfile=/scratch/kocevski/53003/ft2_4FGL_J1936.9-4720_daily_bin1410.fits outfile=/scratch/kocevski/53003/cmap_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53003/ft1_filtered_4FGL_J1936.9-4720_daily_bin1410.fits scfile=/scratch/kocevski/53003/ft2_4FGL_J1936.9-4720_daily_bin1410.fits outfile=/scratch/kocevski/53003/cmap_HighResolution_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.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.59
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53003/ft1_filtered_4FGL_J1936.9-4720_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/53003/ft2_4FGL_J1936.9-4720_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53003/Model_4FGL_J1936.9-4720_daily_bin1410.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/53003/ft1_filtered_4FGL_J1936.9-4720_daily_bin1410.fits.....................!
real 87.08
user 85.64
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.682       1.0000         .10000E-03   10000.    
     2 'norm      '    8.7762       1.0000         .10000E-03   10000.    
     3 'norm      '    .52890E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .54150E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6181       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .55201E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.648       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4325       1.0000         .10000E-03   10000.    
    10 'norm      '    .54019       1.0000         .10000E-03   10000.    
    11 'norm      '    15.433       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.0366       1.0000         .10000E-03   10000.    
    14 'norm      '    .14594E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46928E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1354       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0668       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=   10583.14     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1478 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.648        17.485       -.51364E-06   -.19234E-03
   2  norm          8.8013        19.692        .57862E-07   -.45706E-04
   3  norm          .10001E-03    9.0775        .93770E-05** at limit **
   4  norm          .10001E-03    .81219       -.75204E-06** at limit **
   5  Prefactor     .10000E-03    11.651       -.63413E-07** at limit **
   6  Prefactor     4.6249        13.611        .55093E-06    .35885E-04
   7  Prefactor     .10006E-03    19.615       -.12754E-04** at limit **
   8  norm          11.557        12.294       -.10200E-05   -.36158E-03
   9  norm          2.4323        .96343       -.19072E-07   -.19207E-03
  10  norm          .57150        .38359        .71368E-07   -.60118E-03
  11  norm          15.427        17.607       -.43470E-06   -.18530E-03
  12  norm          .10000E-03    .48750       -.20722E-06** at limit **
  13  norm          1.0365        3.6047       -.21987E-06   -.26063E-03
  14  norm          .10000E-03    6.1560       -.26968E-06** at limit **
  15  Prefactor     .10001E-03    143.55        .31091E-05** at limit **
  16  Normalizat    1.1354        .23565        .88598E-06   -.43002E-03
  17  Prefactor     1.0668        .82597E-01   -.95061E-06   -.20035E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 15.6484
  norm       = 8.8013
  norm       = 0.000100007
  norm       = 0.000100015
  Prefactor  = 0.0001
  Prefactor  = 4.62488
  Prefactor  = 0.000100059
  norm       = 11.5569
  norm       = 2.43225
  norm       = 0.571503
  norm       = 15.4266
  norm       = 0.0001
  norm       = 1.03653
  norm       = 0.0001
  Prefactor  = 0.000100009
  Normalizat = 1.13535
  Prefactor  = 1.06676
 **********
 **   18 **HESSE 
 **********

 FCN=   10583.14     FROM HESSE     STATUS=OK           237 CALLS     1715 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.648        17.502        .10114E-03   -1.4917    
   2  norm          8.8013        19.734        .13530E-03   -1.5115    
   3  norm          .10001E-03    14.549        .36413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    1.0250        .34272E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.056        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.6249        13.603        .18729E-03   -1.5278    
   7  Prefactor     .10006E-03    35.190        .45771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.557        12.344        .11738E-03   -1.5028    
   9  norm          2.4323        .96183        .61485E-04   -1.5396    
  10  norm          .57150        9.2765        .22868E-02   -1.5557    
  11  norm          15.427        17.675        .10195E-03   -1.4922    
  12  norm          .10000E-03    .81718        .13969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0365        3.6080        .34703E-03   -1.5504    
  14  norm          .10000E-03    6.1606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    145.02        .42377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1354        .27144        .42719E-03   -.88625    
  17  Prefactor     1.0668        .97551E-01    .15594E-03   -.90536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87729e-09
Minuit parameter uncertainties:
  1  17.5075
  2  19.7489
  3  0.000623154
  4  0.000244853
  5  2.59737e-05
  6  13.6126
  7  0.00289468
  8  12.3468
  9  0.961836
  10  4.60547
  11  17.6814
  12  1.19294e-05
  13  3.60877
  14  4.07858e-05
  15  0.00235039
  16  0.271772
  17  0.0975677
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  4.625e+00  1.361e+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.067e+00  9.757e-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.135e+00  2.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53003/likelihoodResults_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.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) = 10583.1208983
delta logL = 0.0147426112871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10583.1160574
delta logL = 0.0195834304741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2871       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5504       1.0000          .0000       10.000    
     3 'Normalizat'    1.1366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0664       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=   10583.12     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      222 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2278        18.550        .40022E-02    .74648E-03
   2  Index         1.5497        1.1821        .29258E-01    .42744E-03
   3  Normalizat    1.1369        .22915        .96365E-01    .18376E-04
   4  Prefactor     1.0664        .81840E-01    .39034E-01   -.38285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22777
  Index      = 1.54975
  Normalizat = 1.13687
  Prefactor  = 1.06643
 **********
 **   18 **HESSE 
 **********

 FCN=   10583.12     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2278        17.298        .80044E-03   -1.5209    
   2  Index         1.5497        1.1087        .58517E-02   -.76156    
   3  Normalizat    1.1369        .26499        .42693E-03   -.88577    
   4  Prefactor     1.0664        .94936E-01    .15596E-03   -.90547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75793e-12
Minuit parameter uncertainties:
  1  17.3115
  2  1.12686
  3  0.265304
  4  0.0949509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53003': 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) = 10583.1160463
delta logL = 0.0195946266031

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  6.228e+00  1.731e+01  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.550e+00  1.127e+00  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.066e+00  9.495e-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.137e+00  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/53003/cmap_HighResolution_604800001_605059201_4FGL_J1936.9-4720_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-03', job_status='DONE', photon_flux_upper_limit='5.23e-08', time_completed='2021-09-23 06:33:05.181052', job_id='53003', GAL2='1.07', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632403985.18', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.96e-02', ts2='0.19', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='1410' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:33:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 53003: <4FGL_J1936.9-4720_daily_bin1410> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1410 294.242 -47.34 604800001 605059201 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 :                                   801.12 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             323.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            979 sec.

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

