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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin831
RA = 295.347, Dec = -62.1753
tmin = 454723201, tmax = 454982401
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='96901', job_status='RUN', time_executed='2021-09-23 08:46:01.608693', time_epoch_executed='1632411961.61' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='831'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96901

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96901/ft1_4FGL_J1941.3-6210_daily_bin831.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96901/ft2_4FGL_J1941.3-6210_daily_bin831.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96901/ft1_4FGL_J1941.3-6210_daily_bin831.fits outfile=/scratch/kocevski/96901/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin831.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=454723201.0 tmax=454982401.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.49
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96901/ft2_4FGL_J1941.3-6210_daily_bin831.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/96901/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin831.fits evtable="EVENTS" outfile="/scratch/kocevski/96901/ft1_filtered_4FGL_J1941.3-6210_daily_bin831.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96901/ft1_filtered_4FGL_J1941.3-6210_daily_bin831.fits" evtable="EVENTS" scfile=/scratch/kocevski/96901/ft2_4FGL_J1941.3-6210_daily_bin831.fits sctable="SC_DATA" outfile=/scratch/kocevski/96901/ltcube_454723201_454982401_4FGL_J1941.3-6210_daily_bin831.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/96901/ft2_4FGL_J1941.3-6210_daily_bin831.fits
.....................!
real 14.45
user 13.98
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96901/ft1_filtered_4FGL_J1941.3-6210_daily_bin831.fits evtable="EVENTS" scfile=/scratch/kocevski/96901/ft2_4FGL_J1941.3-6210_daily_bin831.fits sctable="SC_DATA" expcube=/scratch/kocevski/96901/ltcube_454723201_454982401_4FGL_J1941.3-6210_daily_bin831.fits outfile=/scratch/kocevski/96901/expmap_454723201_454982401_4FGL_J1941.3-6210_daily_bin831.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/96901/ltcube_454723201_454982401_4FGL_J1941.3-6210_daily_bin831.fits
.....................!
real 191.13
user 185.94
sys 3.86

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

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96901/ft1_filtered_4FGL_J1941.3-6210_daily_bin831.fits evtable="EVENTS" scfile=/scratch/kocevski/96901/ft2_4FGL_J1941.3-6210_daily_bin831.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96901/Model_4FGL_J1941.3-6210_daily_bin831.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/96901/ft1_filtered_4FGL_J1941.3-6210_daily_bin831.fits.....................!
real 73.01
user 71.35
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .52300       1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.778       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.597       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    37.295       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11528E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3845       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0091       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11089E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2101       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98913       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=   8509.235     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1568 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9629       -.18652E-07** at limit **
   2  Prefactor     .10000E-03    4.6875       -.19293E-07** at limit **
   3  norm          .52577        1.2137       -.15891E-05   -.60644E-04
   4  Prefactor     44.652        74.813        .10434E-05    .13045E-04
   5  Prefactor     .10000E-03    41.817       -.23832E-05** at limit **
   6  norm          .10000E-03    10.562        .55458E-07** at limit **
   7  Prefactor     35.567        48.773        .79782E-06    .36514E-04
   8  Prefactor     .10000E-03    37.518        .64145E-06** at limit **
   9  norm          37.290        14.297       -.29495E-06    .43935E-04
  10  Prefactor     .10000E-03    19.531       -.13476E-06** at limit **
  11  norm          5.3846        1.9562       -.62645E-07    .95576E-04
  12  Prefactor     6.0097        13.395       -.29891E-06    .33510E-05
  13  Prefactor     .10000E-03    1.6557        .34230E-07** at limit **
  14  norm          .10000E-03    1.5013        .36171E-07** at limit **
  15  Prefactor     .10000E-03    37.688        .10376E-05** at limit **
  16  Normalizat    1.2103        .24000       -.87561E-06    .21896E-03
  17  Prefactor     .98900        .10438        .17225E-05    .10059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.525773
  Prefactor  = 44.6518
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 35.5672
  Prefactor  = 0.0001
  norm       = 37.2903
  Prefactor  = 0.0001
  norm       = 5.38463
  Prefactor  = 6.00967
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21034
  Prefactor  = 0.989005
 **********
 **   18 **HESSE 
 **********

 FCN=   8509.235     FROM HESSE     STATUS=OK           221 CALLS     1789 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.6994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .52577        1.2150        .13122E-03   -1.5563    
   4  Prefactor     44.652        74.695        .29957E-03   -1.4371    
   5  Prefactor     .10000E-03    41.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.567        48.986        .67169E-04   -1.4514    
   8  Prefactor     .10000E-03    37.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          37.290        14.291        .65627E-04   -1.4486    
  10  Prefactor     .10000E-03    19.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3846        1.9573        .74155E-04   -1.5244    
  12  Prefactor     6.0097        13.403        .16380E-03   -1.5218    
  13  Prefactor     .10000E-03    3.3974        .23064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.5420        .22066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    37.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2103        .28570        .37640E-03   -.86284    
  17  Prefactor     .98900        .12147        .17245E-03   -.93097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31058e-10
Minuit parameter uncertainties:
  1  3.11087e-06
  2  3.10503e-06
  3  1.21501
  4  74.8525
  5  5.57464e-05
  6  8.91422e-06
  7  49.0417
  8  6.27365e-05
  9  14.2918
  10  4.46765e-05
  11  1.95728
  12  13.4101
  13  5.44446e-05
  14  4.38052e-06
  15  3.21399e-05
  16  0.28607
  17  0.121499
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  5.385e+00  1.957e+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.890e-01  1.215e-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.210e+00  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.76
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.61e-07 +/- 5.83e-08
Energy Flux (Fixed Index): 5.15e-05 +/- 1.87e-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) = 8508.08298991
delta logL = 1.15183936717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8508.0331004
delta logL = 1.20172887532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7056       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7799       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97064       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=   8508.033     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      217 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7053        1.9139        .46376E-02    .46586E-04
   2  alpha         1.7799        .27582        .25136       -.56649E-04
   3  Normalizat    1.2909        .23565        .82802E-01    .19595E-04
   4  Prefactor     .97065        .98548E-01    .45899E-01    .70950E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.70525
  alpha      = 1.77992
  Normalizat = 1.2909
  Prefactor  = 0.970646
 **********
 **   18 **HESSE 
 **********

 FCN=   8508.033     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7053        2.2890        .77935E-04   -1.5274    
   2  alpha         1.7799        .35763        .10242E-01   -.29217    
   3  Normalizat    1.2909        .28470        .36658E-03   -.83838    
   4  Prefactor     .97065        .11880        .17395E-03   -.93714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15498e-09
Minuit parameter uncertainties:
  1  2.28909
  2  0.358978
  3  0.285045
  4  0.11883
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96901': 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) = 8508.03310038
delta logL = 1.20172889539

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  4.705e+00  2.289e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  1.780e+00  3.590e-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.706e-01  1.188e-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.291e+00  2.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.17
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 1.78 +/- 0.36
Photon Flux (Free Index): 9.58e-08 +/- 5.62e-08
Energy Flux (Free Index): 7.64e-05 +/- 4.14e-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/96901/cmap_HighResolution_454723201_454982401_4FGL_J1941.3-6210_daily_bin831.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.61e-07', energy_flux2='7.64e-05', photon_flux_error='5.83e-08', dlogl='1.20e+00', energy_flux='5.15e-05', photon_flux2='9.58e-08', job_status='DONE', time_completed='2021-09-23 08:56:24.704380', photon_index_error2='0.36', photon_index2='1.78', ts='20.76', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='4.14e-05', EG='1.21', time_epoch_completed='1632412584.7', return_code='0', job_id='96901', GAL2='0.97', EG2='1.29', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='5.62e-08', ts2='23.17', photon_index='2.35' WHERE bin_id='831' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:56:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 96901: <4FGL_J1941.3-6210_daily_bin831> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin831 295.347 -62.1753 454723201 454982401 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 :                                   618.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            864 sec.

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

