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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin1468
RA = 294.242, Dec = -47.34
tmin = 619833601, tmax = 620092801
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='53094', job_status='RUN', time_executed='2021-09-23 06:20:00.212752', time_epoch_executed='1632403200.21' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53094

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53094/ft1_4FGL_J1936.9-4720_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53094/ft1_4FGL_J1936.9-4720_daily_bin1468.fits outfile=/scratch/kocevski/53094/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1468.fits ra=294.242 dec=-47.34 rad=12.0 tmin=619833601.0 tmax=620092801.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.86
user 2.63
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.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/53094/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin1468.fits evtable="EVENTS" outfile="/scratch/kocevski/53094/ft1_filtered_4FGL_J1936.9-4720_daily_bin1468.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.44
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53094/ft1_filtered_4FGL_J1936.9-4720_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/53094/ltcube_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.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/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.fits
.....................!
real 13.09
user 12.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53094/ft1_filtered_4FGL_J1936.9-4720_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/53094/ltcube_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.fits outfile=/scratch/kocevski/53094/expmap_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.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/53094/ltcube_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.fits
.....................!
real 156.73
user 151.85
sys 4.48

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/53094/ft1_filtered_4FGL_J1936.9-4720_daily_bin1468.fits scfile=/scratch/kocevski/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.fits outfile=/scratch/kocevski/53094/cmap_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.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.48
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53094/ft1_filtered_4FGL_J1936.9-4720_daily_bin1468.fits scfile=/scratch/kocevski/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.fits outfile=/scratch/kocevski/53094/cmap_HighResolution_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.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.48
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53094/ft1_filtered_4FGL_J1936.9-4720_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/53094/ft2_4FGL_J1936.9-4720_daily_bin1468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53094/Model_4FGL_J1936.9-4720_daily_bin1468.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/53094/ft1_filtered_4FGL_J1936.9-4720_daily_bin1468.fits.....................!
real 58.70
user 57.23
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0846       1.0000         .10000E-03   10000.    
     2 'norm      '    .52615E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10688E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.095       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.4567       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.498       1.0000         .10000E-03   10000.    
    10 'norm      '    .11736E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    40.081       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.316       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6895       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78159       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=   7896.451     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     1823 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0777        45.106        .23063E-02   -.15770E-03
   2  norm          .10001E-03    69.570        .57046E-02** at limit **
   3  norm          .10000E-03    11.050        .18142E-02** at limit **
   4  norm          .10000E-03    2.4200        .26384E-02** at limit **
   5  Prefactor     .10000E-03    3.1446        .15346E-02** at limit **
   6  Prefactor     13.095        14.454        .11069E-03    .36975E-05
   7  Prefactor     9.4602        13.416        .13032E-03    .12300E-04
   8  norm          .10000E-03    9.1534        .18142E-02** at limit **
   9  norm          10.498        2.0525        .53994E-04    .22656E-03
  10  norm          .10000E-03    14.434        .36285E-03** at limit **
  11  norm          40.086        23.032        .63314E-04    .10468E-03
  12  norm          .10000E-03    .69556        .71998E-03** at limit **
  13  norm          .10000E-03    1.0393        .88318E-03** at limit **
  14  norm          .10000E-03    20.097        .18142E-02** at limit **
  15  Prefactor     23.320        29.592        .82955E-04   -.37496E-04
  16  Normalizat    1.6889        .32060        .36311E-03    .56357E-06
  17  Prefactor     .78177        .10935        .17355E-03    .27977E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07766
  norm       = 0.000100006
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.0952
  Prefactor  = 9.46019
  norm       = 0.0001
  norm       = 10.4984
  norm       = 0.0001
  norm       = 40.0864
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.3202
  Normalizat = 1.68888
  Prefactor  = 0.781773
 **********
 **   18 **HESSE 
 **********

 FCN=   7896.451     FROM HESSE     STATUS=OK           207 CALLS     2030 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0777        45.110        .92253E-04   -1.5500    
   2  norm          .10001E-03    70.813        .11409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    11.054        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.4298        .52769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.1450        .30692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.095        14.454        .44276E-05   -1.4984    
   7  Prefactor     9.4602        13.415        .52128E-05   -1.5093    
   8  norm          .10000E-03    9.1535        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.498        2.0525        .21597E-05   -1.5060    
  10  norm          .10000E-03    14.435        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          40.086        23.033        .12663E-04   -1.4441    
  12  norm          .10000E-03    .69560        .14400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.0393        .17664E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    20.102        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.320        29.592        .16591E-04   -1.4742    
  16  Normalizat    1.6889        .32086        .14524E-04   -.72601    
  17  Prefactor     .78177        .10938        .34710E-04   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1536e-10
Minuit parameter uncertainties:
  1  13.9553
  2  0.00130667
  3  3.40407e-05
  4  7.60391e-08
  5  6.55787e-06
  6  14.4578
  7  13.4195
  8  4.36685e-06
  9  2.05252
  10  1.29324e-05
  11  23.0378
  12  1.83569e-06
  13  4.41531e-06
  14  0.000110589
  15  29.6103
  16  0.321254
  17  0.109414
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.310e+01  1.446e+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:  7.818e-01  1.094e-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.689e+00  3.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.68
Ra Dec: 294.242 -47.340
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 1.31e-08 +/- 1.44e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.81e-05

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

Saving results to:
/scratch/kocevski/53094/likelihoodResults_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.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) = 7896.44911023
delta logL = 0.00141532466205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7896.44806312
delta logL = 0.00246243289803

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.965       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7317       1.0000          .0000       10.000    
     3 'Normalizat'    1.6896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78167       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=   7896.448     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      288 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.978        20.841        .10718E-03    .14644E-03
   2  Index         1.7314        .77883        .10302E-01    .61364E-04
   3  Normalizat    1.6896        .31462        .36304E-03   -.50574E-04
   4  Prefactor     .78167        .10820        .17356E-03   -.13290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9785
  Index      = 1.73135
  Normalizat = 1.68964
  Prefactor  = 0.781672
 **********
 **   18 **HESSE 
 **********

 FCN=   7896.448     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.978        19.773        .21436E-04   -1.4960    
   2  Index         1.7314        .73985        .41206E-03   -.71250    
   3  Normalizat    1.6896        .31488        .14522E-04   -.72580    
   4  Prefactor     .78167        .10830        .69424E-05   -1.0041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50061e-11
Minuit parameter uncertainties:
  1  19.7827
  2  0.744648
  3  0.315249
  4  0.108334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53094': 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) = 7896.44806286
delta logL = 0.00246269308445

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.398e+01  1.978e+01  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.731e+00  7.446e-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:  7.817e-01  1.083e-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.690e+00  3.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.68
Ra Dec: 294.242 -47.340
Photon Index (Free Index): 1.73 +/- 0.74
Photon Flux (Free Index): 1.23e-08 +/- 1.76e-08
Energy Flux (Free Index): 1.81e-05 +/- 3.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/53094/cmap_HighResolution_619833601_620092801_4FGL_J1936.9-4720_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', comment='SUCCESS', photon_flux='1.31e-08', energy_flux2='1.81e-05', photon_flux_error='1.44e-08', dlogl='2.46e-03', energy_flux='1.64e-05', photon_flux2='1.23e-08', job_status='DONE', time_completed='2021-09-23 06:29:48.178358', photon_index_error2='0.74', photon_index2='1.73', ts='2.68', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='6.34e-08', energy_flux_error2='3.27e-05', EG='1.69', time_epoch_completed='1632403788.18', return_code='0', job_id='53094', GAL2='0.78', EG2='1.69', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='1.76e-08', ts2='2.68', photon_index='1.78' WHERE bin_id='1468' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:29:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 53094: <4FGL_J1936.9-4720_daily_bin1468> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin1468> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep 23 06:16:55 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 06:17:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 06:17:05 2021
Terminated at Thu Sep 23 06:29:48 2021
Results reported at Thu Sep 23 06:29:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin1468 294.242 -47.34 619833601 620092801 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 :                                   584.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            773 sec.

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

