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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1048
RA = 295.347, Dec = -62.1753
tmin = 510969601, tmax = 511228801
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='97242', job_status='RUN', time_executed='2021-09-23 08:46:28.956792', time_epoch_executed='1632411988.96' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97242

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97242/ft1_4FGL_J1941.3-6210_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97242/ft2_4FGL_J1941.3-6210_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97242/ft1_4FGL_J1941.3-6210_daily_bin1048.fits outfile=/scratch/kocevski/97242/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1048.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=510969601.0 tmax=511228801.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.51
user 3.27
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97242/ft1_filtered_4FGL_J1941.3-6210_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/97242/ft2_4FGL_J1941.3-6210_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/97242/ltcube_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.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/97242/ft2_4FGL_J1941.3-6210_daily_bin1048.fits
.....................!
real 14.83
user 14.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97242/ft1_filtered_4FGL_J1941.3-6210_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/97242/ft2_4FGL_J1941.3-6210_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/97242/ltcube_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.fits outfile=/scratch/kocevski/97242/expmap_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.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/97242/ltcube_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.fits
.....................!
real 191.18
user 185.37
sys 5.34

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/97242/ft1_filtered_4FGL_J1941.3-6210_daily_bin1048.fits scfile=/scratch/kocevski/97242/ft2_4FGL_J1941.3-6210_daily_bin1048.fits outfile=/scratch/kocevski/97242/cmap_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=295.347 yref=-62.1753 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97242/ft1_filtered_4FGL_J1941.3-6210_daily_bin1048.fits scfile=/scratch/kocevski/97242/ft2_4FGL_J1941.3-6210_daily_bin1048.fits outfile=/scratch/kocevski/97242/cmap_HighResolution_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.189       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .39347       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .40859E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    88.734       1.0000         .10000E-03   10000.    
     6 'norm      '    12.654       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10483E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    62.372       1.0000         .10000E-03   10000.    
     9 'norm      '    .70496       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23643E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .99477       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.846       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1067       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6705       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4923       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81370       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=   9964.357     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1615 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.194        21.907       -.13834E-06   -.68625E-04
   2  Prefactor     .10000E-03    9.4006       -.31457E-06** at limit **
   3  norm          .39346        .81693        .90843E-06    .13093E-03
   4  Prefactor     .10001E-03    201.96        .38903E-05** at limit **
   5  Prefactor     88.716        111.94        .16979E-05   -.41741E-04
   6  norm          12.656        16.351        .18798E-06    .12581E-04
   7  Prefactor     .10000E-03    44.988        .74089E-06** at limit **
   8  Prefactor     62.389        71.165       -.15620E-05   -.15932E-03
   9  norm          .70530        1.2619        .11353E-05   -.13444E-02
  10  Prefactor     .10001E-03    49.751        .15822E-04** at limit **
  11  norm          .99478        .98168        .88241E-08   -.98907E-04
  12  Prefactor     24.853        16.148        .34994E-07    .27775E-05
  13  Prefactor     1.1067        1.9828        .15407E-07   -.41156E-04
  14  norm          1.6706        1.8578        .11469E-07   -.17648E-04
  15  Prefactor     .10000E-03    64.097        .71716E-06** at limit **
  16  Normalizat    1.4922        .21136        .98759E-08   -.25425E-03
  17  Prefactor     .81370        .87706E-01   -.62647E-07   -.38154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.1945
  Prefactor  = 0.0001
  norm       = 0.393459
  Prefactor  = 0.000100008
  Prefactor  = 88.7156
  norm       = 12.656
  Prefactor  = 0.0001
  Prefactor  = 62.3893
  norm       = 0.705304
  Prefactor  = 0.000100007
  norm       = 0.994783
  Prefactor  = 24.8528
  Prefactor  = 1.10669
  norm       = 1.67065
  Prefactor  = 0.0001
  Normalizat = 1.49221
  Prefactor  = 0.813697
 **********
 **   18 **HESSE 
 **********

 FCN=   9964.357     FROM HESSE     STATUS=OK           225 CALLS     1840 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.194        21.894        .60310E-04   -1.4377    
   2  Prefactor     .10000E-03    9.4403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39346        .81386        .12425E-03   -1.5583    
   4  Prefactor     .10001E-03    201.25        .21254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     88.716        111.04        .42654E-04   -1.3821    
   6  norm          12.656        16.314        .11261E-03   -1.4996    
   7  Prefactor     .10000E-03    45.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     62.389        71.728        .25404E-03   -1.4127    
   9  norm          .70530        7.5521        .24162E-02   -1.5540    
  10  Prefactor     .10001E-03    50.105        .51567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .99478        .95825        .94370E-04   -1.5508    
  12  Prefactor     24.853        16.233        .80364E-04   -1.4711    
  13  Prefactor     1.1067        1.9492        .18184E-03   -1.5498    
  14  norm          1.6706        1.8426        .13931E-03   -1.5449    
  15  Prefactor     .10000E-03    64.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4922        .25930        .32112E-03   -.77998    
  17  Prefactor     .81370        .10850        .17466E-03   -.99225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27309e-09
Minuit parameter uncertainties:
  1  21.8982
  2  1.09673e-05
  3  0.813885
  4  0.00256257
  5  111.302
  6  16.3196
  7  3.58047e-05
  8  71.8274
  9  4.61628
  10  0.00118984
  11  0.95826
  12  16.2362
  13  1.94927
  14  1.84268
  15  0.00019871
  16  0.259535
  17  0.108531
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  9.948e-01  9.583e-01  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.137e-01  1.085e-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.492e+00  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.97e-08 +/- 2.86e-08
Energy Flux (Fixed Index): 9.52e-06 +/- 9.17e-06

TS (Fixed Index): 2.25
Ra Dec: 295.347 -62.175
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/97242/likelihoodResults_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.txt

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) = 9964.15461484
delta logL = 0.202850564703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9964.14404145
delta logL = 0.213423963098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84940       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8497       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81093       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=   9964.144     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84712        .90796        .12623E-01    .16834E-03
   2  alpha         1.8492        .55016        .43066       -.79739E-04
   3  Normalizat    1.5059        .20613        .72303E-01    .65060E-03
   4  Prefactor     .81097        .86277E-01    .43859E-01    .12921E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.847118
  alpha      = 1.84923
  Normalizat = 1.50594
  Prefactor  = 0.810975
 **********
 **   18 **HESSE 
 **********

 FCN=   9964.144     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84712        .99992        .90441E-04   -1.5524    
   2  alpha         1.8492        .74750        .21164E-01   -.26334    
   3  Normalizat    1.5059        .25308        .31991E-03   -.77612    
   4  Prefactor     .81097        .10591        .17492E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65156e-10
Minuit parameter uncertainties:
  1  0.999935
  2  0.759998
  3  0.253293
  4  0.105936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97242': 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) = 9964.14403818
delta logL = 0.213427232558

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  8.471e-01  9.999e-01  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  1.849e+00  7.600e-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.110e-01  1.059e-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.506e+00  2.533e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 1.85 +/- 0.76
Photon Flux (Free Index): 1.78e-08 +/- 2.52e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.41e-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/97242/cmap_HighResolution_510969601_511228801_4FGL_J1941.3-6210_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', comment='SUCCESS', photon_flux='2.97e-08', energy_flux2='1.23e-05', photon_flux_error='2.86e-08', dlogl='2.13e-01', energy_flux='9.52e-06', photon_flux2='1.78e-08', job_status='DONE', time_completed='2021-09-23 08:58:49.119118', photon_index_error2='0.76', photon_index2='1.85', ts='2.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='1.41e-05', EG='1.49', time_epoch_completed='1632412729.12', return_code='0', job_id='97242', GAL2='0.81', EG2='1.51', return_code2='0', energy_flux_error='9.17e-06', photon_flux_error2='2.52e-08', ts2='2.67', photon_index='2.35' WHERE bin_id='1048' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:58:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 97242: <4FGL_J1941.3-6210_daily_bin1048> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1048 295.347 -62.1753 510969601 511228801 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 :                                   738.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            977 sec.

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

