/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 84 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 = 7371
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin849
RA = 295.347, Dec = -62.1753
tmin = 459388801, tmax = 459648001
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='96930', job_status='RUN', time_executed='2021-09-23 08:44:17.777143', time_epoch_executed='1632411857.78' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='849'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96930

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96930/ft1_4FGL_J1941.3-6210_daily_bin849.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96930/ft2_4FGL_J1941.3-6210_daily_bin849.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96930/ft1_4FGL_J1941.3-6210_daily_bin849.fits outfile=/scratch/kocevski/96930/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin849.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=459388801.0 tmax=459648001.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.53
user 3.28
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96930/ft1_filtered_4FGL_J1941.3-6210_daily_bin849.fits" evtable="EVENTS" scfile=/scratch/kocevski/96930/ft2_4FGL_J1941.3-6210_daily_bin849.fits sctable="SC_DATA" outfile=/scratch/kocevski/96930/ltcube_459388801_459648001_4FGL_J1941.3-6210_daily_bin849.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/96930/ft2_4FGL_J1941.3-6210_daily_bin849.fits
.....................!
real 18.36
user 17.93
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96930/ft1_filtered_4FGL_J1941.3-6210_daily_bin849.fits evtable="EVENTS" scfile=/scratch/kocevski/96930/ft2_4FGL_J1941.3-6210_daily_bin849.fits sctable="SC_DATA" expcube=/scratch/kocevski/96930/ltcube_459388801_459648001_4FGL_J1941.3-6210_daily_bin849.fits outfile=/scratch/kocevski/96930/expmap_459388801_459648001_4FGL_J1941.3-6210_daily_bin849.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/96930/ltcube_459388801_459648001_4FGL_J1941.3-6210_daily_bin849.fits
.....................!
real 191.29
user 185.70
sys 5.23

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/96930/ft1_filtered_4FGL_J1941.3-6210_daily_bin849.fits scfile=/scratch/kocevski/96930/ft2_4FGL_J1941.3-6210_daily_bin849.fits outfile=/scratch/kocevski/96930/cmap_459388801_459648001_4FGL_J1941.3-6210_daily_bin849.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96930/ft1_filtered_4FGL_J1941.3-6210_daily_bin849.fits scfile=/scratch/kocevski/96930/ft2_4FGL_J1941.3-6210_daily_bin849.fits outfile=/scratch/kocevski/96930/cmap_HighResolution_459388801_459648001_4FGL_J1941.3-6210_daily_bin849.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96930/ft1_filtered_4FGL_J1941.3-6210_daily_bin849.fits evtable="EVENTS" scfile=/scratch/kocevski/96930/ft2_4FGL_J1941.3-6210_daily_bin849.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96930/Model_4FGL_J1941.3-6210_daily_bin849.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/96930/ft1_filtered_4FGL_J1941.3-6210_daily_bin849.fits.....................!
real 69.61
user 68.25
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0232       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6325       1.0000         .10000E-03   10000.    
     4 'Prefactor '    66.905       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .36287E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    18.887       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.6281       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7426       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17291E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    3.3250       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4325       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85998       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=   8145.475     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1630 TOTAL
                     EDM=   .96E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.201       -.83484E-06** at limit **
   2  Prefactor     3.0245        8.3612        .71518E-06    .21734E-04
   3  norm          2.6310        1.6219        .13313E-06   -.21084E-03
   4  Prefactor     66.923        117.62       -.30108E-05   -.19382E-04
   5  Prefactor     .10000E-03    451.37        .20942E-04** at limit **
   6  norm          18.884        22.392        .23793E-06    .28023E-05
   7  Prefactor     .10000E-03    82.935       -.74344E-05** at limit **
   8  Prefactor     .10000E-03    31.386        .10021E-05** at limit **
   9  norm          .10000E-03    2.9722       -.21986E-07** at limit **
  10  Prefactor     .10000E-03    4.6878       -.65634E-07** at limit **
  11  norm          6.6277        2.1581        .82398E-08    .60892E-05
  12  Prefactor     1.7411        24.755        .13178E-04    .45497E-05
  13  Prefactor     .10000E-03    1.7470        .92014E-07** at limit **
  14  norm          3.3241        2.5816       -.13539E-08   -.44716E-04
  15  Prefactor     .10000E-03    101.11        .84353E-05** at limit **
  16  Normalizat    1.4328        .24317       -.63151E-06    .17523E-04
  17  Prefactor     .85988        .98260E-01   -.64323E-07   -.26393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.02453
  norm       = 2.63103
  Prefactor  = 66.9234
  Prefactor  = 0.000100001
  norm       = 18.8836
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.62768
  Prefactor  = 1.74112
  Prefactor  = 0.0001
  norm       = 3.32411
  Prefactor  = 0.0001
  Normalizat = 1.43277
  Prefactor  = 0.859877
 **********
 **   18 **HESSE 
 **********

 FCN=   8145.475     FROM HESSE     STATUS=OK           223 CALLS     1853 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0245        8.3432        .23340E-03   -1.5360    
   3  norm          2.6310        1.6516        .67687E-04   -1.5384    
   4  Prefactor     66.923        120.12        .49068E-04   -1.4070    
   5  Prefactor     .10000E-03    455.17        .21308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          18.884        22.400        .92160E-04   -1.4839    
   7  Prefactor     .10000E-03    83.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.9802        .15194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.7054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.6277        2.1630        .71580E-04   -1.5193    
  12  Prefactor     1.7411        24.788        .15889E-02   -1.5444    
  13  Prefactor     .10000E-03    15.141        .23004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.3241        2.5792        .12406E-03   -1.5343    
  15  Prefactor     .10000E-03    101.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4328        .29097        .34799E-03   -.79685    
  17  Prefactor     .85988        .11839        .17855E-03   -.97558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33102e-11
Minuit parameter uncertainties:
  1  7.72487e-05
  2  8.34644
  3  1.65167
  4  120.558
  5  0.00108869
  6  22.41
  7  0.000131667
  8  1.66509e-05
  9  1.59549e-06
  10  2.2986e-06
  11  2.16304
  12  13.1454
  13  7.27892e-05
  14  2.57932
  15  4.12065e-05
  16  0.291308
  17  0.118421
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  6.628e+00  2.163e+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.599e-01  1.184e-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.433e+00  2.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.63
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.98e-07 +/- 6.45e-08
Energy Flux (Fixed Index): 6.34e-05 +/- 2.07e-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) = 8142.02464898
delta logL = 3.45024139134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8141.93504445
delta logL = 3.5398459233

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4470       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7535       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92206       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=   8141.935     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      217 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.4439        8.1820        .65378E-02    .32836E-03
   2  alpha         3.7545        3.9823        .19488        .50213E-04
   3  Normalizat    1.2257        .11955        .83554E-01    .19784E-04
   4  Prefactor     .92211        .49315E-01    .45286E-01    .30638E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44392
  alpha      = 3.75451
  Normalizat = 1.22568
  Prefactor  = 0.922111
 **********
 **   18 **HESSE 
 **********

 FCN=   8141.935     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .29E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4439        1.9535        .35382E-04   -1.5395    
   2  alpha         3.7545        .65306        .86360E-03    .52568    
   3  Normalizat    1.2257        .29368        .36993E-03   -.85813    
   4  Prefactor     .92211        .11945        .17292E-03   -.95373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93753e-14
Minuit parameter uncertainties:
  1  1.95357
  2  0.663413
  3  0.294082
  4  0.119485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96930': 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) = 8141.93504307
delta logL = 3.53984730362

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.444e+00  1.954e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  3.755e+00  6.634e-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:  9.221e-01  1.195e-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.226e+00  2.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.75
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 3.75 +/- 0.66
Photon Flux (Free Index): 3.33e-07 +/- 9.14e-08
Energy Flux (Free Index): 5.33e-05 +/- 1.48e-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/96930/cmap_HighResolution_459388801_459648001_4FGL_J1941.3-6210_daily_bin849.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.98e-07', energy_flux2='5.33e-05', photon_flux_error='6.45e-08', dlogl='3.54e+00', energy_flux='6.34e-05', photon_flux2='3.33e-07', job_status='DONE', time_completed='2021-09-23 08:54:33.178085', photon_index_error2='0.66', photon_index2='3.75', ts='17.63', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.48e-05', EG='1.43', time_epoch_completed='1632412473.18', return_code='0', job_id='96930', GAL2='0.92', EG2='1.23', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='9.14e-08', ts2='25.75', photon_index='2.35' WHERE bin_id='849' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:54:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 96930: <4FGL_J1941.3-6210_daily_bin849> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin849 295.347 -62.1753 459388801 459648001 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 :                                   615.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             288.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            748 sec.

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

