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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin874
RA = 295.347, Dec = -62.1753
tmin = 465868801, tmax = 466128001
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='96970', job_status='RUN', time_executed='2021-09-23 08:46:40.242376', time_epoch_executed='1632412000.24' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='874'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96970

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96970/ft1_4FGL_J1941.3-6210_daily_bin874.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96970/ft2_4FGL_J1941.3-6210_daily_bin874.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96970/ft1_4FGL_J1941.3-6210_daily_bin874.fits outfile=/scratch/kocevski/96970/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin874.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=465868801.0 tmax=466128001.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.00
user 3.77
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96970/ft1_filtered_4FGL_J1941.3-6210_daily_bin874.fits" evtable="EVENTS" scfile=/scratch/kocevski/96970/ft2_4FGL_J1941.3-6210_daily_bin874.fits sctable="SC_DATA" outfile=/scratch/kocevski/96970/ltcube_465868801_466128001_4FGL_J1941.3-6210_daily_bin874.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/96970/ft2_4FGL_J1941.3-6210_daily_bin874.fits
.....................!
real 15.39
user 15.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96970/ft1_filtered_4FGL_J1941.3-6210_daily_bin874.fits evtable="EVENTS" scfile=/scratch/kocevski/96970/ft2_4FGL_J1941.3-6210_daily_bin874.fits sctable="SC_DATA" expcube=/scratch/kocevski/96970/ltcube_465868801_466128001_4FGL_J1941.3-6210_daily_bin874.fits outfile=/scratch/kocevski/96970/expmap_465868801_466128001_4FGL_J1941.3-6210_daily_bin874.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/96970/ltcube_465868801_466128001_4FGL_J1941.3-6210_daily_bin874.fits
.....................!
real 191.12
user 185.84
sys 4.93

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/96970/ft1_filtered_4FGL_J1941.3-6210_daily_bin874.fits scfile=/scratch/kocevski/96970/ft2_4FGL_J1941.3-6210_daily_bin874.fits outfile=/scratch/kocevski/96970/cmap_465868801_466128001_4FGL_J1941.3-6210_daily_bin874.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.54
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96970/ft1_filtered_4FGL_J1941.3-6210_daily_bin874.fits scfile=/scratch/kocevski/96970/ft2_4FGL_J1941.3-6210_daily_bin874.fits outfile=/scratch/kocevski/96970/cmap_HighResolution_465868801_466128001_4FGL_J1941.3-6210_daily_bin874.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/96970/ft1_filtered_4FGL_J1941.3-6210_daily_bin874.fits evtable="EVENTS" scfile=/scratch/kocevski/96970/ft2_4FGL_J1941.3-6210_daily_bin874.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96970/Model_4FGL_J1941.3-6210_daily_bin874.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/96970/ft1_filtered_4FGL_J1941.3-6210_daily_bin874.fits.....................!
real 87.25
user 85.85
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5630       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13246E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    2.3775       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    43.703       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10128E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6473       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.244       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.735       1.0000         .10000E-03   10000.    
    14 'norm      '    .12782E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    47.922       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4120       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .77924       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=   10759.85     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1661 TOTAL
                     EDM=   .75E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5322        15.835        .14392E-05    .93204E-05
   2  Prefactor     .10000E-03    152.65        .33283E-05** at limit **
   3  norm          2.3776        1.0109        .56754E-07    .24002E-04
   4  Prefactor     .10000E-03    36.545       -.17260E-06** at limit **
   5  Prefactor     .10000E-03    87.656        .21463E-06** at limit **
   6  norm          43.701        23.921        .22794E-06   -.25213E-06
   7  Prefactor     .10000E-03    30.972       -.96817E-07** at limit **
   8  Prefactor     .10000E-03    27.957       -.79795E-07** at limit **
   9  norm          .10000E-03    5.9826       -.19450E-06** at limit **
  10  Prefactor     .10000E-03    4.5136       -.10063E-06** at limit **
  11  norm          2.6474        1.3282       -.95544E-08    .17149E-04
  12  Prefactor     25.247        15.006       -.22396E-06   -.13945E-04
  13  Prefactor     12.736        3.3069       -.25425E-07   -.30556E-04
  14  norm          .10000E-03    1.6474        .77921E-06** at limit **
  15  Prefactor     47.571        90.233       -.38208E-05    .47093E-05
  16  Normalizat    1.4116        .24708        .30575E-05   -.54742E-04
  17  Prefactor     .77939        .10070       -.19844E-05   -.90905E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.53221
  Prefactor  = 0.0001
  norm       = 2.37762
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 43.701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.64743
  Prefactor  = 25.247
  Prefactor  = 12.7358
  norm       = 0.0001
  Prefactor  = 47.571
  Normalizat = 1.41164
  Prefactor  = 0.779385
 **********
 **   18 **HESSE 
 **********

 FCN=   10759.85     FROM HESSE     STATUS=OK           233 CALLS     1894 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5322        17.427        .18845E-03   -1.5282    
   2  Prefactor     .10000E-03    11.013        .83493E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3776        1.0069        .64683E-04   -1.5400    
   4  Prefactor     .10000E-03    36.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    88.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          43.701        23.938        .60644E-04   -1.4385    
   7  Prefactor     .10000E-03    31.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    27.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.0325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6474        1.3242        .80779E-04   -1.5383    
  12  Prefactor     25.247        15.012        .79730E-04   -1.4703    
  13  Prefactor     12.736        3.3075        .92880E-04   -1.4994    
  14  norm          .10000E-03    1.6378        .17473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.571        90.114        .28962E-03   -1.4327    
  16  Normalizat    1.4116        .24640        .32760E-03   -.80292    
  17  Prefactor     .77939        .10071        .17541E-03   -1.0049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19811e-11
Minuit parameter uncertainties:
  1  17.4465
  2  1.48291e-06
  3  1.00687
  4  1.61451e-05
  5  6.88483e-05
  6  23.9436
  7  5.45754e-05
  8  6.44211e-06
  9  2.42385e-05
  10  9.83794e-06
  11  1.32419
  12  15.0139
  13  3.30754
  14  1.5457e-07
  15  90.374
  16  0.246606
  17  0.100736
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.647e+00  1.324e+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:  7.794e-01  1.007e-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.412e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.58
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 7.90e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.27e-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) = 10759.8440885
delta logL = 0.00349092559009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10759.84376
delta logL = 0.00381949461735

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6315       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3997       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78070       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=   10759.84     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6311        26.030        .62844E-02    .59477E-03
   2  alpha         2.3993        3.4281        .41194        .64562E-05
   3  Normalizat    1.4070        .11854        .74128E-01    .17401E-04
   4  Prefactor     .78063        .41951E-01    .43466E-01    .12624E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.6311
  alpha      = 2.39925
  Normalizat = 1.40702
  Prefactor  = 0.780632
 **********
 **   18 **HESSE 
 **********

 FCN=   10759.84     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .52E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6311        1.3400        .79898E-04   -1.5384    
   2  alpha         2.3993        .56443        .17161E-01   -.40311E-01
   3  Normalizat    1.4070        .24605        .32803E-03   -.80426    
   4  Prefactor     .78063        .99993E-01    .17529E-03   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16151e-14
Minuit parameter uncertainties:
  1  1.34006
  2  0.56935
  3  0.246256
  4  0.100017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96970': 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) = 10759.8437577
delta logL = 0.00382174266997

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.631e+00  1.340e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.399e+00  5.693e-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:  7.806e-01  1.000e-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.407e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.57
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.40 +/- 0.57
Photon Flux (Free Index): 8.19e-08 +/- 5.13e-08
Energy Flux (Free Index): 2.50e-05 +/- 1.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/96970/cmap_HighResolution_465868801_466128001_4FGL_J1941.3-6210_daily_bin874.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.90e-08', energy_flux2='2.50e-05', photon_flux_error='3.95e-08', dlogl='3.82e-03', energy_flux='2.53e-05', photon_flux2='8.19e-08', job_status='DONE', time_completed='2021-09-23 08:58:42.593419', photon_index_error2='0.57', photon_index2='2.40', ts='6.58', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='1.41', time_epoch_completed='1632412722.59', return_code='0', job_id='96970', GAL2='0.78', EG2='1.41', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='5.13e-08', ts2='6.57', photon_index='2.35' WHERE bin_id='874' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:58:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 96970: <4FGL_J1941.3-6210_daily_bin874> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin874> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep 23 08:42:08 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:42:48 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:42:48 2021
Terminated at Thu Sep 23 08:58:43 2021
Results reported at Thu Sep 23 08:58:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin874 295.347 -62.1753 465868801 466128001 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 :                                   723.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            995 sec.

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

