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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1177
RA = 295.347, Dec = -62.1753
tmin = 544406401, tmax = 544665601
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='98714', job_status='RUN', time_executed='2021-09-23 08:47:52.512197', time_epoch_executed='1632412072.51' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98714

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98714/ft1_4FGL_J1941.3-6210_daily_bin1177.fits


Retrieving the FT1 file...

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

Retrieving 36 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98714/ft2_4FGL_J1941.3-6210_daily_bin1177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98714/ft1_4FGL_J1941.3-6210_daily_bin1177.fits outfile=/scratch/kocevski/98714/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1177.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=544406401.0 tmax=544665601.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 7.78
user 7.43
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98714/ft1_filtered_4FGL_J1941.3-6210_daily_bin1177.fits" evtable="EVENTS" scfile=/scratch/kocevski/98714/ft2_4FGL_J1941.3-6210_daily_bin1177.fits sctable="SC_DATA" outfile=/scratch/kocevski/98714/ltcube_544406401_544665601_4FGL_J1941.3-6210_daily_bin1177.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/98714/ft2_4FGL_J1941.3-6210_daily_bin1177.fits
.....................!
real 9.42
user 8.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98714/ft1_filtered_4FGL_J1941.3-6210_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/98714/ft2_4FGL_J1941.3-6210_daily_bin1177.fits sctable="SC_DATA" expcube=/scratch/kocevski/98714/ltcube_544406401_544665601_4FGL_J1941.3-6210_daily_bin1177.fits outfile=/scratch/kocevski/98714/expmap_544406401_544665601_4FGL_J1941.3-6210_daily_bin1177.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/98714/ltcube_544406401_544665601_4FGL_J1941.3-6210_daily_bin1177.fits
.....................!
real 190.28
user 185.62
sys 4.27

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/98714/ft1_filtered_4FGL_J1941.3-6210_daily_bin1177.fits scfile=/scratch/kocevski/98714/ft2_4FGL_J1941.3-6210_daily_bin1177.fits outfile=/scratch/kocevski/98714/cmap_544406401_544665601_4FGL_J1941.3-6210_daily_bin1177.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.53
user 0.40
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/98714/ft1_filtered_4FGL_J1941.3-6210_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/98714/ft2_4FGL_J1941.3-6210_daily_bin1177.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/98714/Model_4FGL_J1941.3-6210_daily_bin1177.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/98714/ft1_filtered_4FGL_J1941.3-6210_daily_bin1177.fits.....................!
real 117.99
user 116.52
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8576       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12686E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .77369       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3357       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    26.124       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    59.314       1.0000         .10000E-03   10000.    
     9 'norm      '    20.087       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.1484       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3492       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11350E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6969       1.0000         .10000E-03   10000.    
    15 'Prefactor '    165.17       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .72505       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0720       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=   16025.02     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1647 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8311        16.288       -.12430E-05   -.77095E-04
   2  Prefactor     .10000E-03    12.144        .33865E-07** at limit **
   3  norm          .77339        .57562       -.21379E-06   -.19840E-02
   4  Prefactor     1.1146        242.33       -.32220E-04   -.89173E-04
   5  Prefactor     .10000E-03    15.202        .21371E-06** at limit **
   6  norm          26.119        21.852        .82716E-06   -.19030E-04
   7  Prefactor     .10000E-03    6.3592       -.98688E-08** at limit **
   8  Prefactor     59.347        61.469        .45099E-04    .57969E-04
   9  norm          20.087        8.2251       -.14976E-06   -.54170E-04
  10  Prefactor     .10000E-03    5.8768       -.60041E-07** at limit **
  11  norm          3.1483        1.0192       -.28331E-07   -.12904E-02
  12  Prefactor     6.3481        9.1943       -.16542E-05   -.13253E-03
  13  Prefactor     .10000E-03    .75626        .21463E-07** at limit **
  14  norm          2.6969        1.7413        .11200E-06   -.24867E-03
  15  Prefactor     165.16        101.52       -.76049E-05   -.23061E-05
  16  Normalizat    .72504        .17003        .21141E-05   -.93664E-04
  17  Prefactor     1.0720        .71194E-01   -.94968E-06    .70351E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.8311
  Prefactor  = 0.0001
  norm       = 0.773387
  Prefactor  = 1.11455
  Prefactor  = 0.0001
  norm       = 26.1193
  Prefactor  = 0.0001
  Prefactor  = 59.347
  norm       = 20.0869
  Prefactor  = 0.0001
  norm       = 3.14833
  Prefactor  = 6.34809
  Prefactor  = 0.0001
  norm       = 2.69693
  Prefactor  = 165.157
  Normalizat = 0.725038
  Prefactor  = 1.07202
 **********
 **   18 **HESSE 
 **********

 FCN=   16025.02     FROM HESSE     STATUS=OK           227 CALLS     1874 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8311        16.119        .20546E-03   -1.5316    
   2  Prefactor     .10000E-03    12.323        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .77339        .53846        .72752E-03   -1.5532    
   4  Prefactor     1.1146        236.14        .37960E-03   -1.5497    
   5  Prefactor     .10000E-03    15.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          26.119        21.827        .78377E-04   -1.4685    
   7  Prefactor     .10000E-03    6.3687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     59.347        61.485        .52094E-04   -1.4166    
   9  norm          20.087        8.2168        .89365E-04   -1.4811    
  10  Prefactor     .10000E-03    5.9166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.1483        1.0187        .11422E-03   -1.5353    
  12  Prefactor     6.3481        9.1899        .15929E-03   -1.5204    
  13  Prefactor     .10000E-03    5.8864        .21025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6969        1.7385        .12923E-03   -1.5380    
  15  Prefactor     165.16        101.54        .31385E-04   -1.3131    
  16  Normalizat    .72504        .19030        .42650E-03   -1.0291    
  17  Prefactor     1.0720        .81522E-01    .15292E-03   -.90366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58099e-09
Minuit parameter uncertainties:
  1  15.7238
  2  5.43067e-05
  3  0.538461
  4  32.5757
  5  2.07108e-05
  6  21.8338
  7  5.95937e-06
  8  61.5512
  9  8.2173
  10  1.47728e-06
  11  1.01866
  12  9.19192
  13  1.2011e-06
  14  1.73855
  15  101.651
  16  0.190472
  17  0.0815319
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.148e+00  1.019e+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.072e+00  8.153e-02  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:  7.250e-01  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.28
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.39e-08 +/- 3.04e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 9.75e-06

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) = 16024.4697616
delta logL = 0.552964935472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16024.4694869
delta logL = 0.553239650961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2879       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0355       1.0000          .0000       5.0000    
     3 'Normalizat'    .74901       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0658       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=   16024.47     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2879        1.4541        .55824E-02    .85820E-02
   2  alpha         2.0355        .33846        .32295       -.43491E-04
   3  Normalizat    .74898        .16276        .94843E-01    .16917E-03
   4  Prefactor     1.0658        .69774E-01    .39063E-01    .11415E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.28793
  alpha      = 2.03549
  Normalizat = 0.748979
  Prefactor  = 1.06578
 **********
 **   18 **HESSE 
 **********

 FCN=   16024.47     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2879        1.0983        .36894E-03   -1.5345    
   2  alpha         2.0355        .28716        .12699E-01   -.18689    
   3  Normalizat    .74898        .18610        .42020E-03   -1.0199    
   4  Prefactor     1.0658        .79898E-01    .15332E-03   -.90568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58078e-11
Minuit parameter uncertainties:
  1  1.09827
  2  0.287813
  3  0.186258
  4  0.0799067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98714': 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) = 16024.4694869
delta logL = 0.553239665967

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.288e+00  1.098e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.035e+00  2.878e-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.066e+00  7.991e-02  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:  7.490e-01  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.34
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.04 +/- 0.29
Photon Flux (Free Index): 7.71e-08 +/- 3.07e-08
Energy Flux (Free Index): 3.77e-05 +/- 1.58e-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/98714/cmap_HighResolution_544406401_544665601_4FGL_J1941.3-6210_daily_bin1177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.39e-08', energy_flux2='3.77e-05', photon_flux_error='3.04e-08', dlogl='5.53e-01', energy_flux='3.01e-05', photon_flux2='7.71e-08', job_status='DONE', time_completed='2021-09-23 09:03:02.186256', photon_index_error2='0.29', photon_index2='2.04', ts='20.28', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='0.73', time_epoch_completed='1632412982.19', return_code='0', job_id='98714', GAL2='1.07', EG2='0.75', return_code2='0', energy_flux_error='9.75e-06', photon_flux_error2='3.07e-08', ts2='21.34', photon_index='2.35' WHERE bin_id='1177' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 09:03:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 98714: <4FGL_J1941.3-6210_daily_bin1177> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1177> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep 23 08:47:36 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:47:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 08:47:38 2021
Terminated at Thu Sep 23 09:03:02 2021
Results reported at Thu Sep 23 09:03:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1177 295.347 -62.1753 544406401 544665601 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 :                                   909.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             343.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            926 sec.

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

