/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 217 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 = 7261
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin446
RA = 295.347, Dec = -62.1753
tmin = 354931201, tmax = 355190401
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='94057', job_status='RUN', time_executed='2021-09-23 08:36:29.678264', time_epoch_executed='1632411389.68' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94057

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94057/ft1_4FGL_J1941.3-6210_daily_bin446.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94057/ft2_4FGL_J1941.3-6210_daily_bin446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94057/ft1_4FGL_J1941.3-6210_daily_bin446.fits outfile=/scratch/kocevski/94057/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin446.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=354931201.0 tmax=355190401.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.40
user 3.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94057/ft1_filtered_4FGL_J1941.3-6210_daily_bin446.fits" evtable="EVENTS" scfile=/scratch/kocevski/94057/ft2_4FGL_J1941.3-6210_daily_bin446.fits sctable="SC_DATA" outfile=/scratch/kocevski/94057/ltcube_354931201_355190401_4FGL_J1941.3-6210_daily_bin446.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/94057/ft2_4FGL_J1941.3-6210_daily_bin446.fits
.....................!
real 16.23
user 15.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94057/ft1_filtered_4FGL_J1941.3-6210_daily_bin446.fits evtable="EVENTS" scfile=/scratch/kocevski/94057/ft2_4FGL_J1941.3-6210_daily_bin446.fits sctable="SC_DATA" expcube=/scratch/kocevski/94057/ltcube_354931201_355190401_4FGL_J1941.3-6210_daily_bin446.fits outfile=/scratch/kocevski/94057/expmap_354931201_355190401_4FGL_J1941.3-6210_daily_bin446.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/94057/ltcube_354931201_355190401_4FGL_J1941.3-6210_daily_bin446.fits
.....................!
real 193.49
user 187.95
sys 4.99

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/94057/ft1_filtered_4FGL_J1941.3-6210_daily_bin446.fits scfile=/scratch/kocevski/94057/ft2_4FGL_J1941.3-6210_daily_bin446.fits outfile=/scratch/kocevski/94057/cmap_354931201_355190401_4FGL_J1941.3-6210_daily_bin446.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94057/ft1_filtered_4FGL_J1941.3-6210_daily_bin446.fits scfile=/scratch/kocevski/94057/ft2_4FGL_J1941.3-6210_daily_bin446.fits outfile=/scratch/kocevski/94057/cmap_HighResolution_354931201_355190401_4FGL_J1941.3-6210_daily_bin446.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.57
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94057/ft1_filtered_4FGL_J1941.3-6210_daily_bin446.fits evtable="EVENTS" scfile=/scratch/kocevski/94057/ft2_4FGL_J1941.3-6210_daily_bin446.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94057/Model_4FGL_J1941.3-6210_daily_bin446.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/94057/ft1_filtered_4FGL_J1941.3-6210_daily_bin446.fits.....................!
real 80.61
user 79.02
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .82538       1.0000         .10000E-03   10000.    
     3 'norm      '    .33978       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10815E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    39.295       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .35462E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.604       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.7285       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.1919       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0486       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98708       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9361.763     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     1869 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.317        .18142E-02** at limit **
   2  Prefactor     .82374        60.176        .50736E-02    .10037E-03
   3  norm          .34075        .54691        .10295E-02   -.12170E-02
   4  Prefactor     .10000E-03    21.940        .18142E-02** at limit **
   5  Prefactor     .10000E-03    29.078        .18142E-02** at limit **
   6  norm          39.302        25.461        .63941E-04   -.45872E-04
   7  Prefactor     .10001E-03    24.677        .14976    ** at limit **
   8  Prefactor     .10000E-03    59.472        .18142E-02** at limit **
   9  norm          10.608        8.1289        .12304E-03    .25817E-03
  10  Prefactor     .10000E-03    15.375        .18142E-02** at limit **
  11  norm          2.7285        1.5118        .84511E-04    .25516E-02
  12  Prefactor     .10000E-03    4.4967        .18142E-02** at limit **
  13  Prefactor     .10000E-03    1.1725        .10135E-02** at limit **
  14  norm          1.1919        1.4628        .12804E-03    .22528E-02
  15  Prefactor     .10000E-03    84.479        .18142E-02** at limit **
  16  Normalizat    1.0487        .25878        .36832E-03   -.99390E-04
  17  Prefactor     .98705        .11134        .16058E-03   -.28424E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.82374
  norm       = 0.340753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 39.3015
  Prefactor  = 0.000100011
  Prefactor  = 0.000100001
  norm       = 10.6079
  Prefactor  = 0.0001
  norm       = 2.72852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.19192
  Prefactor  = 0.0001
  Normalizat = 1.04865
  Prefactor  = 0.987052
 **********
 **   18 **HESSE 
 **********

 FCN=   9361.763     FROM HESSE     STATUS=OK           219 CALLS     2088 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.318        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .82374        60.491        .20294E-03   -1.5526    
   3  norm          .34075        .54632        .41179E-04   -1.5591    
   4  Prefactor     .10000E-03    21.940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.078        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          39.302        25.462        .25577E-05   -1.4453    
   7  Prefactor     .10001E-03    24.554        .15034       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    59.474        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.608        8.1285        .49215E-05   -1.5056    
  10  Prefactor     .10000E-03    15.387        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.7285        1.5116        .33804E-05   -1.5378    
  12  Prefactor     .10000E-03    4.4969        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.1728        .20269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1919        1.4628        .51215E-05   -1.5490    
  15  Prefactor     .10000E-03    84.484        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0487        .25902        .14733E-04   -.91418    
  17  Prefactor     .98705        .11130        .32116E-04   -.93162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97726e-09
Minuit parameter uncertainties:
  1  7.4422e-05
  2  14.1319
  3  0.546324
  4  0.000132633
  5  6.79722e-06
  6  25.4687
  7  0.0010248
  8  0.00040969
  9  8.1293
  10  0.000118937
  11  1.51158
  12  1.4483e-05
  13  9.96372e-06
  14  1.46279
  15  0.000145353
  16  0.259336
  17  0.111324
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.729e+00  1.512e+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:  9.871e-01  1.113e-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.049e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 8.14e-08 +/- 4.51e-08
Energy Flux (Fixed Index): 2.61e-05 +/- 1.45e-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) = 9361.5726988
delta logL = 0.190789410673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9361.56568419
delta logL = 0.197804029955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4155       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6989       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9361.566     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      263 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4153        1.5786        .75254E-04    .14986E-02
   2  alpha         2.6987        .60569        .15440E-01    .74246E-04
   3  Normalizat    1.0198        .26317        .37285E-03   -.15142E-03
   4  Prefactor     .99533        .11085        .15998E-03   -.63560E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.41528
  alpha      = 2.69869
  Normalizat = 1.01985
  Prefactor  = 0.995328
 **********
 **   18 **HESSE 
 **********

 FCN=   9361.566     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4153        1.5243        .30101E-05   -1.5397    
   2  alpha         2.6987        .58471        .61760E-03    .79559E-01
   3  Normalizat    1.0198        .26324        .14914E-04   -.92368    
   4  Prefactor     .99533        .11086        .31995E-04   -.92885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09133e-10
Minuit parameter uncertainties:
  1  1.52431
  2  0.590212
  3  0.263574
  4  0.110889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94057': 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) = 9361.56568401
delta logL = 0.19780420493

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.415e+00  1.524e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.699e+00  5.902e-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.953e-01  1.109e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  1.020e+00  2.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.41
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.70 +/- 0.59
Photon Flux (Free Index): 9.96e-08 +/- 5.77e-08
Energy Flux (Free Index): 2.38e-05 +/- 1.30e-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/94057/cmap_HighResolution_354931201_355190401_4FGL_J1941.3-6210_daily_bin446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.14e-08', energy_flux2='2.38e-05', photon_flux_error='4.51e-08', dlogl='1.98e-01', energy_flux='2.61e-05', photon_flux2='9.96e-08', job_status='DONE', time_completed='2021-09-23 08:48:11.437092', photon_index_error2='0.59', photon_index2='2.70', ts='4.99', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.05', time_epoch_completed='1632412091.44', return_code='0', job_id='94057', GAL2='1.00', EG2='1.02', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='5.77e-08', ts2='5.41', photon_index='2.35' WHERE bin_id='446' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:48:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 94057: <4FGL_J1941.3-6210_daily_bin446> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin446 295.347 -62.1753 354931201 355190401 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 :                                   702.52 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            970 sec.

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

