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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin786
RA = 295.347, Dec = -62.1753
tmin = 443059201, tmax = 443318401
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='96832', job_status='RUN', time_executed='2021-09-23 08:43:39.566069', time_epoch_executed='1632411819.57' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='786'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96832

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96832/ft1_4FGL_J1941.3-6210_daily_bin786.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96832/ft2_4FGL_J1941.3-6210_daily_bin786.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96832/ft1_4FGL_J1941.3-6210_daily_bin786.fits outfile=/scratch/kocevski/96832/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin786.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=443059201.0 tmax=443318401.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.87
user 3.63
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96832/ft2_4FGL_J1941.3-6210_daily_bin786.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/96832/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin786.fits evtable="EVENTS" outfile="/scratch/kocevski/96832/ft1_filtered_4FGL_J1941.3-6210_daily_bin786.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96832/ft1_filtered_4FGL_J1941.3-6210_daily_bin786.fits" evtable="EVENTS" scfile=/scratch/kocevski/96832/ft2_4FGL_J1941.3-6210_daily_bin786.fits sctable="SC_DATA" outfile=/scratch/kocevski/96832/ltcube_443059201_443318401_4FGL_J1941.3-6210_daily_bin786.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/96832/ft2_4FGL_J1941.3-6210_daily_bin786.fits
.....................!
real 15.20
user 14.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96832/ft1_filtered_4FGL_J1941.3-6210_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/96832/ft2_4FGL_J1941.3-6210_daily_bin786.fits sctable="SC_DATA" expcube=/scratch/kocevski/96832/ltcube_443059201_443318401_4FGL_J1941.3-6210_daily_bin786.fits outfile=/scratch/kocevski/96832/expmap_443059201_443318401_4FGL_J1941.3-6210_daily_bin786.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/96832/ltcube_443059201_443318401_4FGL_J1941.3-6210_daily_bin786.fits
.....................!
real 190.16
user 185.28
sys 4.49

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/96832/ft1_filtered_4FGL_J1941.3-6210_daily_bin786.fits scfile=/scratch/kocevski/96832/ft2_4FGL_J1941.3-6210_daily_bin786.fits outfile=/scratch/kocevski/96832/cmap_443059201_443318401_4FGL_J1941.3-6210_daily_bin786.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.62
user 0.40
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96832/ft1_filtered_4FGL_J1941.3-6210_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/96832/ft2_4FGL_J1941.3-6210_daily_bin786.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96832/Model_4FGL_J1941.3-6210_daily_bin786.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/96832/ft1_filtered_4FGL_J1941.3-6210_daily_bin786.fits.....................!
real 86.35
user 84.90
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0418       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4987       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.913       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.567       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0052       1.0000         .10000E-03   10000.    
    11 'norm      '    3.0562       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0329       1.0000         .10000E-03   10000.    
    14 'norm      '    3.9773       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3956       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .76215       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=   10452.59     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1612 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0406        22.693       -.29944E-05   -.14524E-03
   2  Prefactor     .10000E-03    5.1775        .94588E-07** at limit **
   3  norm          2.4990        .93020        .63425E-06    .24236E-03
   4  Prefactor     .10000E-03    30.422        .23515E-04** at limit **
   5  Prefactor     39.789        69.236       -.16564E-03   -.95886E-05
   6  norm          .10000E-03    10.014       -.65998E-07** at limit **
   7  Prefactor     39.568        41.322        .16471E-06    .39775E-05
   8  Prefactor     .10000E-03    28.978       -.21835E-04** at limit **
   9  norm          .10000E-03    4.5046       -.63459E-07** at limit **
  10  Prefactor     7.0051        7.9328       -.82631E-06   -.45035E-04
  11  norm          3.0560        1.3031       -.11410E-06   -.22318E-03
  12  Prefactor     .10000E-03    15.837        .53397E-06** at limit **
  13  Prefactor     1.0327        1.9563       -.89201E-06   -.18022E-02
  14  norm          3.9771        2.2091       -.12230E-06   -.10777E-03
  15  Prefactor     .10000E-03    97.436        .53191E-05** at limit **
  16  Normalizat    1.3959        .19530       -.11981E-05    .29556E-03
  17  Prefactor     .76205        .81224E-01    .31873E-05   -.51015E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.04062
  Prefactor  = 0.0001
  norm       = 2.49899
  Prefactor  = 0.000100003
  Prefactor  = 39.7891
  norm       = 0.0001
  Prefactor  = 39.5676
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.00511
  norm       = 3.05605
  Prefactor  = 0.0001
  Prefactor  = 1.0327
  norm       = 3.9771
  Prefactor  = 0.0001
  Normalizat = 1.39589
  Prefactor  = 0.762053
 **********
 **   18 **HESSE 
 **********

 FCN=   10452.59     FROM HESSE     STATUS=OK           221 CALLS     1833 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0406        22.794        .28939E-03   -1.5422    
   2  Prefactor     .10000E-03    5.1937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4990        .92890        .57086E-04   -1.5392    
   4  Prefactor     .10000E-03    30.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.789        69.279        .31723E-03   -1.4446    
   6  norm          .10000E-03    10.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.568        41.359        .63722E-04   -1.4449    
   8  Prefactor     .10000E-03    28.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.5415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0051        7.9297        .15157E-03   -1.5179    
  11  norm          3.0560        1.3020        .72991E-04   -1.5358    
  12  Prefactor     .10000E-03    15.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0327        1.9168        .18980E-03   -1.5505    
  14  norm          3.9771        2.2085        .11007E-03   -1.5309    
  15  Prefactor     .10000E-03    97.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3959        .23737        .31932E-03   -.80747    
  17  Prefactor     .76205        .99148E-01    .17204E-03   -1.0114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04665e-09
Minuit parameter uncertainties:
  1  13.6466
  2  1.37755e-05
  3  0.92891
  4  0.000556005
  5  69.42
  6  2.0833e-05
  7  41.3893
  8  0.000172931
  9  1.23713e-05
  10  7.93089
  11  1.302
  12  6.7266e-05
  13  1.91692
  14  2.20858
  15  8.7891e-05
  16  0.237562
  17  0.0991713
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.056e+00  1.302e+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.621e-01  9.917e-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.396e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.52
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.11e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 2.92e-05 +/- 1.25e-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) = 10452.5821187
delta logL = 0.00316632540853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10452.5819398
delta logL = 0.00334525859944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0671       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3144       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76117       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=   10452.58     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0678        26.872        .57906E-02    .31317E-03
   2  alpha         2.3148        3.4843        .38285        .56479E-05
   3  Normalizat    1.3991        .15210        .72098E-01    .15121E-04
   4  Prefactor     .76124        .58416E-01    .43210E-01    .12184E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06779
  alpha      = 2.31478
  Normalizat = 1.39914
  Prefactor  = 0.761238
 **********
 **   18 **HESSE 
 **********

 FCN=   10452.58     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .32E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0678        1.3222        .73631E-04   -1.5358    
   2  alpha         2.3148        .43357        .14345E-01   -.74155E-01
   3  Normalizat    1.3991        .23837        .31902E-03   -.80653    
   4  Prefactor     .76124        .97400E-01    .17213E-03   -1.0117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23202e-14
Minuit parameter uncertainties:
  1  1.32219
  2  0.435783
  3  0.238562
  4  0.0974221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96832': 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) = 10452.5819382
delta logL = 0.00334684088739

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.068e+00  1.322e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.315e+00  4.358e-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.612e-01  9.742e-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.399e+00  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.50
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.31 +/- 0.44
Photon Flux (Free Index): 8.88e-08 +/- 4.72e-08
Energy Flux (Free Index): 2.96e-05 +/- 1.37e-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/96832/cmap_HighResolution_443059201_443318401_4FGL_J1941.3-6210_daily_bin786.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.11e-08', energy_flux2='2.96e-05', photon_flux_error='3.88e-08', dlogl='3.35e-03', energy_flux='2.92e-05', photon_flux2='8.88e-08', job_status='DONE', time_completed='2021-09-23 08:55:17.725807', photon_index_error2='0.44', photon_index2='2.31', ts='11.52', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='1.40', time_epoch_completed='1632412517.73', return_code='0', job_id='96832', GAL2='0.76', EG2='1.40', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='4.72e-08', ts2='11.50', photon_index='2.35' WHERE bin_id='786' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:55:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 96832: <4FGL_J1941.3-6210_daily_bin786> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin786> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep 23 08:41:55 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:42:20 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:20 2021
Terminated at Thu Sep 23 08:55:18 2021
Results reported at Thu Sep 23 08:55:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin786 295.347 -62.1753 443059201 443318401 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 :                                   698.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            803 sec.

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

