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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1068
RA = 295.347, Dec = -62.1753
tmin = 516153601, tmax = 516412801
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='97273', job_status='RUN', time_executed='2021-09-23 08:46:21.676096', time_epoch_executed='1632411981.68' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1068'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97273

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97273/ft1_4FGL_J1941.3-6210_daily_bin1068.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97273/ft2_4FGL_J1941.3-6210_daily_bin1068.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97273/ft1_4FGL_J1941.3-6210_daily_bin1068.fits outfile=/scratch/kocevski/97273/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1068.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=516153601.0 tmax=516412801.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97273/ft1_filtered_4FGL_J1941.3-6210_daily_bin1068.fits" evtable="EVENTS" scfile=/scratch/kocevski/97273/ft2_4FGL_J1941.3-6210_daily_bin1068.fits sctable="SC_DATA" outfile=/scratch/kocevski/97273/ltcube_516153601_516412801_4FGL_J1941.3-6210_daily_bin1068.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/97273/ft2_4FGL_J1941.3-6210_daily_bin1068.fits
.....................!
real 14.51
user 14.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97273/ft1_filtered_4FGL_J1941.3-6210_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/97273/ft2_4FGL_J1941.3-6210_daily_bin1068.fits sctable="SC_DATA" expcube=/scratch/kocevski/97273/ltcube_516153601_516412801_4FGL_J1941.3-6210_daily_bin1068.fits outfile=/scratch/kocevski/97273/expmap_516153601_516412801_4FGL_J1941.3-6210_daily_bin1068.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/97273/ltcube_516153601_516412801_4FGL_J1941.3-6210_daily_bin1068.fits
.....................!
real 190.90
user 185.46
sys 5.09

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/97273/ft1_filtered_4FGL_J1941.3-6210_daily_bin1068.fits scfile=/scratch/kocevski/97273/ft2_4FGL_J1941.3-6210_daily_bin1068.fits outfile=/scratch/kocevski/97273/cmap_516153601_516412801_4FGL_J1941.3-6210_daily_bin1068.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97273/ft1_filtered_4FGL_J1941.3-6210_daily_bin1068.fits scfile=/scratch/kocevski/97273/ft2_4FGL_J1941.3-6210_daily_bin1068.fits outfile=/scratch/kocevski/97273/cmap_HighResolution_516153601_516412801_4FGL_J1941.3-6210_daily_bin1068.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/97273/ft1_filtered_4FGL_J1941.3-6210_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/97273/ft2_4FGL_J1941.3-6210_daily_bin1068.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/97273/Model_4FGL_J1941.3-6210_daily_bin1068.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/97273/ft1_filtered_4FGL_J1941.3-6210_daily_bin1068.fits.....................!
real 82.73
user 81.33
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10101E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.551       1.0000         .10000E-03   10000.    
     5 'Prefactor '    246.27       1.0000         .10000E-03   10000.    
     6 'norm      '    39.625       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.785       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10536E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    25.149       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .70869       1.0000         .10000E-03   10000.    
    11 'norm      '    4.1620       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .38270       1.0000         .10000E-03   10000.    
    14 'norm      '    .63928       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10607E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4907       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .83480       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=   10314.13     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1693 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4218       -.81279E-07** at limit **
   2  Prefactor     .10000E-03    3.3548       -.85808E-07** at limit **
   3  norm          .10000E-03    .59324        .11789E-05** at limit **
   4  Prefactor     51.718        67.164        .57455E-06   -.11948E-04
   5  Prefactor     246.22        141.94        .53570E-05   -.34441E-04
   6  norm          39.626        23.349       -.46384E-06    .15212E-04
   7  Prefactor     14.817        37.039        .19506E-05   -.12280E-04
   8  Prefactor     .10000E-03    107.56       -.47896E-05** at limit **
   9  norm          25.149        9.7117        .32796E-06   -.40848E-04
  10  Prefactor     .73882        4.8236        .66549E-06   -.22952E-03
  11  norm          4.1619        1.5526       -.11051E-06    .89298E-04
  12  Prefactor     .10000E-03    11.151       -.22464E-06** at limit **
  13  Prefactor     .38273        1.0456       -.32727E-06   -.50954E-04
  14  norm          .63917        1.6346       -.36224E-06   -.23504E-04
  15  Prefactor     .10000E-03    35.690        .13496E-06** at limit **
  16  Normalizat    1.4909        .21119        .23183E-05    .13254E-03
  17  Prefactor     .83470        .88706E-01    .65084E-06    .31702E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 51.7179
  Prefactor  = 246.217
  norm       = 39.6263
  Prefactor  = 14.8173
  Prefactor  = 0.0001
  norm       = 25.1487
  Prefactor  = 0.738823
  norm       = 4.16188
  Prefactor  = 0.0001
  Prefactor  = 0.382731
  norm       = 0.639174
  Prefactor  = 0.0001
  Normalizat = 1.49095
  Prefactor  = 0.834696
 **********
 **   18 **HESSE 
 **********

 FCN=   10314.13     FROM HESSE     STATUS=OK           231 CALLS     1924 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .59949        .11685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     51.718        67.141        .27929E-03   -1.4268    
   5  Prefactor     246.22        141.53        .25809E-04   -1.2557    
   6  norm          39.626        23.325        .63675E-04   -1.4448    
   7  Prefactor     14.817        36.963        .10416E-03   -1.4938    
   8  Prefactor     .10000E-03    107.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          25.149        9.6739        .79879E-04   -1.4705    
  10  Prefactor     .73882        13.800        .42144E-02   -1.5536    
  11  norm          4.1619        1.5528        .74051E-04   -1.5300    
  12  Prefactor     .10000E-03    11.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38273        1.0419        .16730E-03   -1.5584    
  14  norm          .63917        1.7837        .20062E-02   -1.5548    
  15  Prefactor     .10000E-03    35.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4909        .25677        .33356E-03   -.78033    
  17  Prefactor     .83470        .10775        .17807E-03   -.98462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00803e-08
Minuit parameter uncertainties:
  1  1.27613e-05
  2  9.58417e-06
  3  8.95148e-07
  4  67.2392
  5  141.726
  6  23.3306
  7  37.0204
  8  0.000215402
  9  9.67449
  10  6.38745
  11  1.55282
  12  5.64566e-05
  13  1.04193
  14  1.78385
  15  2.2215e-05
  16  0.256992
  17  0.107773
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  4.162e+00  1.553e+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:  8.347e-01  1.078e-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.491e+00  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.92
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.24e-07 +/- 4.63e-08
Energy Flux (Fixed Index): 3.98e-05 +/- 1.49e-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) = 10313.9015259
delta logL = 0.224706996478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10313.8939569
delta logL = 0.232275981069

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2802       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0867       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5217       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82606       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=   10313.89     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      203 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2802        2.4398        .48684E-02    .70655E-02
   2  alpha         2.0866        .47665        .33245       -.20466E-04
   3  Normalizat    1.5218        .21216        .74773E-01    .51534E-04
   4  Prefactor     .82605        .87678E-01    .44055E-01    .25776E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.28025
  alpha      = 2.08659
  Normalizat = 1.52176
  Prefactor  = 0.82605
 **********
 **   18 **HESSE 
 **********

 FCN=   10313.89     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2802        1.6419        .77382E-04   -1.5294    
   2  alpha         2.0866        .37203        .12700E-01   -.16613    
   3  Normalizat    1.5218        .25879        .33087E-03   -.77169    
   4  Prefactor     .82605        .10650        .17889E-03   -.98775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03619e-09
Minuit parameter uncertainties:
  1  1.64187
  2  0.373458
  3  0.25902
  4  0.106527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97273': 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) = 10313.8939569
delta logL = 0.232276001598

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  8.261e-01  1.065e-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.522e+00  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.35
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.09 +/- 0.37
Photon Flux (Free Index): 1.04e-07 +/- 4.99e-08
Energy Flux (Free Index): 4.68e-05 +/- 2.22e-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/97273/cmap_HighResolution_516153601_516412801_4FGL_J1941.3-6210_daily_bin1068.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-07', energy_flux2='4.68e-05', photon_flux_error='4.63e-08', dlogl='2.32e-01', energy_flux='3.98e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-23 08:58:02.611864', photon_index_error2='0.37', photon_index2='2.09', ts='14.92', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.49', time_epoch_completed='1632412682.61', return_code='0', job_id='97273', GAL2='0.83', EG2='1.52', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='4.99e-08', ts2='15.35', photon_index='2.35' WHERE bin_id='1068' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:58:02 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1068 295.347 -62.1753 516153601 516412801 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 :                                   699.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            929 sec.

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

