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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1093
RA = 295.347, Dec = -62.1753
tmin = 522633601, tmax = 522892801
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='97313', job_status='RUN', time_executed='2021-09-23 08:47:13.645138', time_epoch_executed='1632412033.65' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1093'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97313

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97313/ft1_4FGL_J1941.3-6210_daily_bin1093.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97313/ft1_4FGL_J1941.3-6210_daily_bin1093.fits outfile=/scratch/kocevski/97313/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1093.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=522633601.0 tmax=522892801.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.61
user 3.37
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.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/97313/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1093.fits evtable="EVENTS" outfile="/scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits" evtable="EVENTS" scfile=/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits sctable="SC_DATA" outfile=/scratch/kocevski/97313/ltcube_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.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/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits
.....................!
real 16.64
user 16.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits sctable="SC_DATA" expcube=/scratch/kocevski/97313/ltcube_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.fits outfile=/scratch/kocevski/97313/expmap_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.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/97313/ltcube_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.fits
.....................!
real 192.90
user 187.54
sys 4.95

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 196 point sources and 0 extended sources

Setting source of interest to:
4FGL J1941.3-6210 @ 295.347 -62.1753

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits scfile=/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits outfile=/scratch/kocevski/97313/cmap_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.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=295.347 yref=-62.1753 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits scfile=/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits outfile=/scratch/kocevski/97313/cmap_HighResolution_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.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=295.347 yref=-62.1753 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/97313/Model_4FGL_J1941.3-6210_daily_bin1093.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/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits.....................!
real 77.18
user 75.82
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits', '/scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits', expMap='/scratch/kocevski/97313/expmap_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.fits', expCube='/scratch/kocevski/97313/ltcube_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/97313/Model_4FGL_J1941.3-6210_daily_bin1093.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1941.3-6210'

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.374e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/97313/ft1_filtered_4FGL_J1941.3-6210_daily_bin1093.fits
Spacecraft file(s): /scratch/kocevski/97313/ft2_4FGL_J1941.3-6210_daily_bin1093.fits
Exposure map: /scratch/kocevski/97313/expmap_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.fits
Exposure cube: /scratch/kocevski/97313/ltcube_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/97313/Model_4FGL_J1941.3-6210_daily_bin1093.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) = 8950.61260692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43277       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .99412       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8974       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.080       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.870       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    26.129       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .76544       1.0000         .10000E-03   10000.    
    11 'norm      '    6.6265       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27951       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0582       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    52.455       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .87335       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0179       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8950.605     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1840 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37008        16.956       -.14297E-05    .19614E-03
   2  Prefactor     .98727        11.545       -.10808E-05   -.22032E-04
   3  norm          2.8973        1.2125       -.20087E-07   -.24450E-03
   4  Prefactor     17.078        67.840       -.33824E-05    .34571E-05
   5  Prefactor     .10000E-03    50.588        .31882E-05** at limit **
   6  norm          11.873        26.344       -.79137E-06    .53458E-05
   7  Prefactor     .10000E-03    15.924       -.46519E-06** at limit **
   8  Prefactor     .10000E-03    32.678       -.23431E-05** at limit **
   9  norm          26.127        12.270       -.49401E-05    .40285E-04
  10  Prefactor     .79476        8.8693        .13213E-06    .41565E-03
  11  norm          6.6264        1.8916       -.36839E-07    .13522E-03
  12  Prefactor     .28307        7.7031       -.17345E-05    .10960E-03
  13  Prefactor     3.0578        3.3346       -.45601E-06   -.69114E-03
  14  norm          .10000E-03    .72797       -.80418E-09** at limit **
  15  Prefactor     52.450        62.999       -.50193E-05    .57996E-05
  16  Normalizat    .87333        .23669        .26135E-05    .18164E-03
  17  Prefactor     1.0179        .95966E-01    .19564E-06    .50071E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.370082
  Prefactor  = 0.987273
  norm       = 2.89729
  Prefactor  = 17.0781
  Prefactor  = 0.0001
  norm       = 11.8729
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 26.1275
  Prefactor  = 0.794757
  norm       = 6.62638
  Prefactor  = 0.283072
  Prefactor  = 3.05785
  norm       = 0.0001
  Prefactor  = 52.4495
  Normalizat = 0.873334
  Prefactor  = 1.01794
 **********
 **   18 **HESSE 
 **********

 FCN=   8950.605     FROM HESSE     STATUS=OK           243 CALLS     2083 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37008        22.859        .96374E-01   -1.5586    
   2  Prefactor     .98727        54.106        .50229E-02   -1.5509    
   3  norm          2.8973        1.2178        .57839E-04   -1.5368    
   4  Prefactor     17.078        68.382        .96912E-04   -1.4881    
   5  Prefactor     .10000E-03    50.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.873        26.291        .11627E-03   -1.5019    
   7  Prefactor     .10000E-03    15.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    32.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          26.127        12.580        .78369E-04   -1.4685    
  10  Prefactor     .79476        72.540        .50299E-02   -1.5530    
  11  norm          6.6264        1.8919        .66176E-04   -1.5193    
  12  Prefactor     .28307        87.723        .50033E-02   -1.5602    
  13  Prefactor     3.0578        3.3567        .17414E-03   -1.5358    
  14  norm          .10000E-03    .73572        .78821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.450        62.953        .27689E-03   -1.4258    
  16  Normalizat    .87333        .27714        .40888E-03   -.97404    
  17  Prefactor     1.0179        .11423        .15994E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43205e-08
Minuit parameter uncertainties:
  1  5.81859
  2  14.6306
  3  1.21784
  4  68.4839
  5  3.81447e-07
  6  26.3167
  7  8.36029e-06
  8  3.05736e-06
  9  12.5811
  10  15.2038
  11  1.89187
  12  9.97933
  13  3.35686
  14  3.03271e-07
  15  63.0332
  16  0.277588
  17  0.114261
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  6.626e+00  1.892e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  1.018e+00  1.143e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  8.733e-01  2.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.30
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.98e-07 +/- 5.64e-08
Energy Flux (Fixed Index): 6.34e-05 +/- 1.81e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8950.52753604
delta logL = 0.0775542397805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8950.52016793
delta logL = 0.084922350472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8212       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2324       1.0000          .0000       5.0000    
     3 'Normalizat'    .89195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0128       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8950.520     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      210 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8207        2.9870        .38406E-02    .12908E-03
   2  alpha         2.2327        .40017        .22813        .86178E-05
   3  Normalizat    .89139        .22857        .91485E-01    .34746E-04
   4  Prefactor     1.0131        .95281E-01    .42940E-01   -.48570E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.82071
  alpha      = 2.2327
  Normalizat = 0.891388
  Prefactor  = 1.01306
 **********
 **   18 **HESSE 
 **********

 FCN=   8950.520     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .33E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8207        1.9975        .68134E-04   -1.5186    
   2  alpha         2.2327        .28192        .95626E-02   -.10713    
   3  Normalizat    .89139        .26998        .40520E-03   -.96763    
   4  Prefactor     1.0131        .11264        .16029E-03   -.92295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31869e-14
Minuit parameter uncertainties:
  1  1.99749
  2  0.282533
  3  0.27039
  4  0.112667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97313': 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) = 8950.5201655
delta logL = 0.0849247832484

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  6.821e+00  1.997e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.233e+00  2.825e-01  0.000e+00  5.000e+00 ( 1.000e+00)
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  1.013e+00  1.127e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  8.914e-01  2.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.35
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.23 +/- 0.28
Photon Flux (Free Index): 1.85e-07 +/- 6.20e-08
Energy Flux (Free Index): 6.79e-05 +/- 2.32e-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/97313/cmap_HighResolution_522633601_522892801_4FGL_J1941.3-6210_daily_bin1093.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.98e-07', energy_flux2='6.79e-05', photon_flux_error='5.64e-08', dlogl='8.49e-02', energy_flux='6.34e-05', photon_flux2='1.85e-07', job_status='DONE', time_completed='2021-09-23 08:58:33.319147', photon_index_error2='0.28', photon_index2='2.23', ts='26.30', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.32e-05', EG='0.87', time_epoch_completed='1632412713.32', return_code='0', job_id='97313', GAL2='1.01', EG2='0.89', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='6.20e-08', ts2='26.35', photon_index='2.35' WHERE bin_id='1093' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:58:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 97313: <4FGL_J1941.3-6210_daily_bin1093> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1093> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep 23 08:42:38 2021
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:43:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 08:43:54 2021
Terminated at Thu Sep 23 08:58:34 2021
Results reported at Thu Sep 23 08:58:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1093 295.347 -62.1753 522633601 522892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1941.3-6210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            956 sec.

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

