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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin510
RA = 295.347, Dec = -62.1753
tmin = 371520001, tmax = 371779201
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='94152', job_status='RUN', time_executed='2021-09-23 08:35:20.901434', time_epoch_executed='1632411320.9' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94152

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94152/ft1_4FGL_J1941.3-6210_daily_bin510.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94152/ft1_4FGL_J1941.3-6210_daily_bin510.fits outfile=/scratch/kocevski/94152/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin510.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=371520001.0 tmax=371779201.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 4.48
user 4.25
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits" evtable="EVENTS" scfile=/scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits sctable="SC_DATA" outfile=/scratch/kocevski/94152/ltcube_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.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/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits
.....................!
real 14.71
user 14.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits sctable="SC_DATA" expcube=/scratch/kocevski/94152/ltcube_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.fits outfile=/scratch/kocevski/94152/expmap_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.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/94152/ltcube_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.fits
.....................!
real 191.58
user 186.14
sys 5.00

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/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits scfile=/scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits outfile=/scratch/kocevski/94152/cmap_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits scfile=/scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits outfile=/scratch/kocevski/94152/cmap_HighResolution_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94152/Model_4FGL_J1941.3-6210_daily_bin510.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/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits.....................!
real 71.12
user 69.67
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits', '/scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits', expMap='/scratch/kocevski/94152/expmap_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.fits', expCube='/scratch/kocevski/94152/ltcube_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94152/Model_4FGL_J1941.3-6210_daily_bin510.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/94152/ft1_filtered_4FGL_J1941.3-6210_daily_bin510.fits
Spacecraft file(s): /scratch/kocevski/94152/ft2_4FGL_J1941.3-6210_daily_bin510.fits
Exposure map: /scratch/kocevski/94152/expmap_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.fits
Exposure cube: /scratch/kocevski/94152/ltcube_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94152/Model_4FGL_J1941.3-6210_daily_bin510.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) = 8286.1236265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.961       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.364       1.0000         .10000E-03   10000.    
     3 'norm      '    .53744       1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.637       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    19.011       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    51.952       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.3685       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1467       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    124.02       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4021       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .80287       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=   8286.109     FROM MIGRAD    STATUS=CONVERGED    320 CALLS     1575 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.961        22.155        .17810E-06   -.22347E-04
   2  Prefactor     23.364        19.112       -.55093E-06   -.49979E-03
   3  norm          .53736        .84657        .11658E-05    .12938E-02
   4  Prefactor     51.609        62.389       -.35400E-04   -.59101E-04
   5  Prefactor     .10000E-03    51.206        .63888E-06** at limit **
   6  norm          19.012        19.263        .11129E-06   -.10848E-04
   7  Prefactor     .10000E-03    19.596       -.65330E-07** at limit **
   8  Prefactor     51.977        59.621        .30958E-04   -.11782E-04
   9  norm          .10000E-03    5.0983       -.37502E-07** at limit **
  10  Prefactor     .10000E-03    3.8294       -.13359E-07** at limit **
  11  norm          2.3685        1.4775       -.96157E-07   -.48254E-03
  12  Prefactor     .10000E-03    7.9388       -.31072E-07** at limit **
  13  Prefactor     2.1464        4.0066       -.84313E-06   -.10097E-02
  14  norm          .10000E-03    .93183        .25499E-07** at limit **
  15  Prefactor     124.01        106.03       -.97834E-05    .99593E-06
  16  Normalizat    1.4021        .22516        .11288E-05   -.14454E-03
  17  Prefactor     .80287        .91532E-01    .23170E-06   -.16172E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.961
  Prefactor  = 23.3641
  norm       = 0.537359
  Prefactor  = 51.6087
  Prefactor  = 0.0001
  norm       = 19.012
  Prefactor  = 0.0001
  Prefactor  = 51.9773
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.36848
  Prefactor  = 0.0001
  Prefactor  = 2.14645
  norm       = 0.0001
  Prefactor  = 124.008
  Normalizat = 1.40209
  Prefactor  = 0.802873
 **********
 **   18 **HESSE 
 **********

 FCN=   8286.109     FROM HESSE     STATUS=OK           227 CALLS     1802 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.961        22.137        .80179E-04   -1.4708    
   2  Prefactor     23.364        19.128        .41435E-03   -1.4741    
   3  norm          .53736        .75839        .94642E-03   -1.5561    
   4  Prefactor     51.609        61.650        .55812E-04   -1.4270    
   5  Prefactor     .10000E-03    51.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.012        19.265        .91859E-04   -1.4836    
   7  Prefactor     .10000E-03    19.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     51.977        59.292        .27821E-03   -1.4265    
   9  norm          .10000E-03    5.2116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8397        .17396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.3685        1.4734        .83315E-04   -1.5400    
  12  Prefactor     .10000E-03    7.9685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1464        4.0179        .23828E-03   -1.5415    
  14  norm          .10000E-03    .97784        .17159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     124.01        106.16        .18072E-03   -1.3476    
  16  Normalizat    1.4021        .27202        .32771E-03   -.80568    
  17  Prefactor     .80287        .11087        .17164E-03   -.99623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46788e-09
Minuit parameter uncertainties:
  1  22.1447
  2  19.1334
  3  0.758408
  4  61.7264
  5  0.000113146
  6  19.2714
  7  4.08314e-06
  8  59.3599
  9  6.551e-06
  10  3.05679e-06
  11  1.47343
  12  6.50516e-06
  13  4.0184
  14  1.61236e-06
  15  106.322
  16  0.272298
  17  0.110906
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.368e+00  1.473e+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:  8.029e-01  1.109e-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:  1.402e+00  2.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.57
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 7.06e-08 +/- 4.39e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.41e-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) = 8286.08978583
delta logL = 0.0189712874835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8286.0870388
delta logL = 0.021718311953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3003       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5357       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80753       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8286.087     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3003        1.5579        .79110E-04    .11528E-02
   2  alpha         2.5358        .92557        .20067E-01    .43484E-04
   3  Normalizat    1.3850        .28036        .32937E-03   -.54122E-04
   4  Prefactor     .80752        .11176        .17120E-03   -.20448E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30026
  alpha      = 2.53585
  Normalizat = 1.38496
  Prefactor  = 0.807518
 **********
 **   18 **HESSE 
 **********

 FCN=   8286.087     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3003        1.5057        .31644E-05   -1.5405    
   2  alpha         2.5358        .89417        .80270E-03    .14339E-01
   3  Normalizat    1.3850        .27991        .13175E-04   -.81065    
   4  Prefactor     .80752        .11165        .34240E-04   -.99452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25688e-10
Minuit parameter uncertainties:
  1  1.50572
  2  0.914431
  3  0.28022
  4  0.111679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94152': 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) = 8286.08703878
delta logL = 0.0217183309669

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.300e+00  1.506e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.536e+00  9.144e-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:  8.075e-01  1.117e-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:  1.385e+00  2.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.62
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.54 +/- 0.91
Photon Flux (Free Index): 8.10e-08 +/- 6.86e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.36e-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/94152/cmap_HighResolution_371520001_371779201_4FGL_J1941.3-6210_daily_bin510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.06e-08', energy_flux2='2.18e-05', photon_flux_error='4.39e-08', dlogl='2.17e-02', energy_flux='2.27e-05', photon_flux2='8.10e-08', job_status='DONE', time_completed='2021-09-23 08:45:44.225857', photon_index_error2='0.91', photon_index2='2.54', ts='4.57', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='1.40', time_epoch_completed='1632411944.23', return_code='0', job_id='94152', GAL2='0.81', EG2='1.38', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='6.86e-08', ts2='4.62', photon_index='2.35' WHERE bin_id='510' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:45:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 94152: <4FGL_J1941.3-6210_daily_bin510> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin510> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 23 08:32:09 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:33:00 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:33:00 2021
Terminated at Thu Sep 23 08:45:45 2021
Results reported at Thu Sep 23 08:45:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin510 295.347 -62.1753 371520001 371779201 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 :                                   623.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            816 sec.

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

