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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin828
RA = 295.347, Dec = -62.1753
tmin = 453945601, tmax = 454204801
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='96897', job_status='RUN', time_executed='2021-09-23 08:45:08.675331', time_epoch_executed='1632411908.68' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96897

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96897/ft1_4FGL_J1941.3-6210_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96897/ft2_4FGL_J1941.3-6210_daily_bin828.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96897/ft1_4FGL_J1941.3-6210_daily_bin828.fits outfile=/scratch/kocevski/96897/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin828.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=453945601.0 tmax=454204801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.13
user 3.88
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96897/ft1_filtered_4FGL_J1941.3-6210_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/96897/ft2_4FGL_J1941.3-6210_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/96897/ltcube_453945601_454204801_4FGL_J1941.3-6210_daily_bin828.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/96897/ft2_4FGL_J1941.3-6210_daily_bin828.fits
.....................!
real 16.99
user 16.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96897/ft1_filtered_4FGL_J1941.3-6210_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/96897/ft2_4FGL_J1941.3-6210_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/96897/ltcube_453945601_454204801_4FGL_J1941.3-6210_daily_bin828.fits outfile=/scratch/kocevski/96897/expmap_453945601_454204801_4FGL_J1941.3-6210_daily_bin828.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/96897/ltcube_453945601_454204801_4FGL_J1941.3-6210_daily_bin828.fits
.....................!
real 191.35
user 186.43
sys 4.37

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/96897/ft1_filtered_4FGL_J1941.3-6210_daily_bin828.fits scfile=/scratch/kocevski/96897/ft2_4FGL_J1941.3-6210_daily_bin828.fits outfile=/scratch/kocevski/96897/cmap_453945601_454204801_4FGL_J1941.3-6210_daily_bin828.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96897/ft1_filtered_4FGL_J1941.3-6210_daily_bin828.fits scfile=/scratch/kocevski/96897/ft2_4FGL_J1941.3-6210_daily_bin828.fits outfile=/scratch/kocevski/96897/cmap_HighResolution_453945601_454204801_4FGL_J1941.3-6210_daily_bin828.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96897/ft1_filtered_4FGL_J1941.3-6210_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/96897/ft2_4FGL_J1941.3-6210_daily_bin828.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96897/Model_4FGL_J1941.3-6210_daily_bin828.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/96897/ft1_filtered_4FGL_J1941.3-6210_daily_bin828.fits.....................!
real 87.93
user 86.42
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.1864       1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.085       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    52.707       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.411       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.733       1.0000         .10000E-03   10000.    
    11 'norm      '    8.1675       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.610       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.6208       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4993       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .71395       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=   10079.92     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1566 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7769        .16280E-06** at limit **
   2  Prefactor     .10000E-03    4.5249        .13960E-06** at limit **
   3  norm          3.1848        1.4325       -.43491E-06   -.11764E-02
   4  Prefactor     85.205        123.58        .52878E-05   -.46925E-05
   5  Prefactor     .10000E-03    33.342        .46196E-08** at limit **
   6  norm          .10000E-03    15.899        .11588E-06** at limit **
   7  Prefactor     52.708        48.258       -.89743E-07   -.84681E-05
   8  Prefactor     21.220        127.51       -.49327E-05   -.17543E-04
   9  norm          .10000E-03    3.9844        .67311E-07** at limit **
  10  Prefactor     19.734        11.822        .91989E-07   -.36836E-05
  11  norm          8.1677        1.9601        .39076E-07   -.28784E-04
  12  Prefactor     26.611        16.633        .27572E-06   -.11717E-04
  13  Prefactor     .10000E-03    .52490        .42655E-08** at limit **
  14  norm          5.6209        2.3357        .62400E-09   -.63409E-04
  15  Prefactor     .10000E-03    23.372       -.32461E-08** at limit **
  16  Normalizat    1.4992        .24490       -.39764E-05    .53492E-04
  17  Prefactor     .71401        .97948E-01    .22049E-05   -.16197E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.1848
  Prefactor  = 85.2046
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 52.7079
  Prefactor  = 21.2196
  norm       = 0.0001
  Prefactor  = 19.7341
  norm       = 8.16765
  Prefactor  = 26.6113
  Prefactor  = 0.0001
  norm       = 5.62087
  Prefactor  = 0.0001
  Normalizat = 1.49916
  Prefactor  = 0.714006
 **********
 **   18 **HESSE 
 **********

 FCN=   10079.92     FROM HESSE     STATUS=OK           221 CALLS     1787 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1848        1.4959        .59719E-04   -1.5351    
   4  Prefactor     85.205        127.16        .43551E-04   -1.3859    
   5  Prefactor     .10000E-03    33.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    16.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     52.708        48.267        .55245E-04   -1.4255    
   8  Prefactor     21.220        129.82        .86561E-04   -1.4786    
   9  norm          .10000E-03    4.0290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.734        11.825        .90164E-04   -1.4819    
  11  norm          8.1677        1.9619        .65297E-04   -1.5136    
  12  Prefactor     26.611        16.657        .77660E-04   -1.4676    
  13  Prefactor     .10000E-03    .52555        .71034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.6209        2.3375        .96342E-04   -1.5234    
  15  Prefactor     .10000E-03    23.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4992        .25320        .32697E-03   -.77802    
  17  Prefactor     .71401        .10119        .18312E-03   -1.0298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95457e-10
Minuit parameter uncertainties:
  1  7.41564e-06
  2  5.38814e-06
  3  1.49588
  4  127.571
  5  6.9631e-07
  6  1.44053e-05
  7  48.3027
  8  105.313
  9  3.69248e-06
  10  11.8259
  11  1.96192
  12  16.6595
  13  3.65553e-07
  14  2.33757
  15  1.16046e-06
  16  0.253418
  17  0.101216
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  8.168e+00  1.962e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  7.140e-01  1.012e-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.499e+00  2.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.96
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.44e-07 +/- 5.85e-08
Energy Flux (Fixed Index): 7.82e-05 +/- 1.88e-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) = 10079.8478324
delta logL = 0.0684323738806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10079.8426472
delta logL = 0.0736175777711

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2744       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2458       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70876       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=   10079.84     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2744        2.8642        .34843E-02    .67946E-02
   2  alpha         2.2458        .36202        .23291        .27603E-04
   3  Normalizat    1.5209        .21091        .73491E-01    .42191E-03
   4  Prefactor     .70876        .83630E-01    .42518E-01    .74193E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.27438
  alpha      = 2.24575
  Normalizat = 1.52094
  Prefactor  = 0.708759
 **********
 **   18 **HESSE 
 **********

 FCN=   10079.84     FROM HESSE     STATUS=OK            27 CALLS      229 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2744        2.0323        .67197E-04   -1.5133    
   2  alpha         2.2458        .27266        .96665E-02   -.10187    
   3  Normalizat    1.5209        .25275        .32518E-03   -.77192    
   4  Prefactor     .70876        .99869E-01    .18376E-03   -1.0318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17161e-09
Minuit parameter uncertainties:
  1  2.03232
  2  0.273208
  3  0.252959
  4  0.0998937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96897': 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) = 10079.8426472
delta logL = 0.0736175805923

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  8.274e+00  2.032e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.246e+00  2.732e-01  0.000e+00  5.000e+00 ( 1.000e+00)
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  7.088e-01  9.989e-02  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.521e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 49.86
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.25 +/- 0.27
Photon Flux (Free Index): 2.26e-07 +/- 7.12e-08
Energy Flux (Free Index): 8.19e-05 +/- 2.31e-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/96897/cmap_HighResolution_453945601_454204801_4FGL_J1941.3-6210_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.44e-07', energy_flux2='8.19e-05', photon_flux_error='5.85e-08', dlogl='7.36e-02', energy_flux='7.82e-05', photon_flux2='2.26e-07', job_status='DONE', time_completed='2021-09-23 08:56:38.335547', photon_index_error2='0.27', photon_index2='2.25', ts='49.96', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='2.31e-05', EG='1.50', time_epoch_completed='1632412598.34', return_code='0', job_id='96897', GAL2='0.71', EG2='1.52', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='7.12e-08', ts2='49.86', photon_index='2.35' WHERE bin_id='828' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:56:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 96897: <4FGL_J1941.3-6210_daily_bin828> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin828> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep 23 08:42:00 2021
Job was executed on host(s) <bullet0215>, 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:39 2021
Results reported at Thu Sep 23 08:56:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin828 295.347 -62.1753 453945601 454204801 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 :                                   688.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             290.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            879 sec.

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

