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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin300
RA = 295.347, Dec = -62.1753
tmin = 317088001, tmax = 317347201
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='92717', job_status='RUN', time_executed='2021-09-23 08:29:18.860969', time_epoch_executed='1632410958.86' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92717

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92717/ft1_4FGL_J1941.3-6210_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92717/ft2_4FGL_J1941.3-6210_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92717/ft1_4FGL_J1941.3-6210_daily_bin300.fits outfile=/scratch/kocevski/92717/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin300.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=317088001.0 tmax=317347201.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.96
user 3.70
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92717/ft1_filtered_4FGL_J1941.3-6210_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/92717/ft2_4FGL_J1941.3-6210_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/92717/ltcube_317088001_317347201_4FGL_J1941.3-6210_daily_bin300.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/92717/ft2_4FGL_J1941.3-6210_daily_bin300.fits
.....................!
real 17.83
user 17.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92717/ft1_filtered_4FGL_J1941.3-6210_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/92717/ft2_4FGL_J1941.3-6210_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/92717/ltcube_317088001_317347201_4FGL_J1941.3-6210_daily_bin300.fits outfile=/scratch/kocevski/92717/expmap_317088001_317347201_4FGL_J1941.3-6210_daily_bin300.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/92717/ltcube_317088001_317347201_4FGL_J1941.3-6210_daily_bin300.fits
.....................!
real 196.61
user 190.36
sys 5.60

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/92717/ft1_filtered_4FGL_J1941.3-6210_daily_bin300.fits scfile=/scratch/kocevski/92717/ft2_4FGL_J1941.3-6210_daily_bin300.fits outfile=/scratch/kocevski/92717/cmap_317088001_317347201_4FGL_J1941.3-6210_daily_bin300.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.76
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92717/ft1_filtered_4FGL_J1941.3-6210_daily_bin300.fits scfile=/scratch/kocevski/92717/ft2_4FGL_J1941.3-6210_daily_bin300.fits outfile=/scratch/kocevski/92717/cmap_HighResolution_317088001_317347201_4FGL_J1941.3-6210_daily_bin300.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=295.347 yref=-62.1753 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92717/ft1_filtered_4FGL_J1941.3-6210_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/92717/ft2_4FGL_J1941.3-6210_daily_bin300.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92717/Model_4FGL_J1941.3-6210_daily_bin300.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/92717/ft1_filtered_4FGL_J1941.3-6210_daily_bin300.fits.....................!
real 66.97
user 65.53
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.225       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.382       1.0000         .10000E-03   10000.    
     3 'norm      '    .10256E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .80769E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    86.924       1.0000         .10000E-03   10000.    
     9 'norm      '    .43116E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.789       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8196       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.9984       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3914       1.0000         .10000E-03   10000.    
    14 'norm      '    .23525       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11105E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4960       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78241       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=   7668.749     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1657 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.228        29.678        .21735E-02    .33513E-03
   2  Prefactor     12.379        19.919        .28459E-02    .10574E-03
   3  norm          .10000E-03    .54399        .23181E-01** at limit **
   4  Prefactor     .10001E-03    41.374        .90712E-02** at limit **
   5  Prefactor     .10000E-03    31.503        .90712E-02** at limit **
   6  norm          .10003E-03    14.925        .12233    ** at limit **
   7  Prefactor     .10000E-03    17.511        .90712E-02** at limit **
   8  Prefactor     86.926        77.928        .10773E-02   -.57638E-03
   9  norm          .10000E-03    4.0947        .62659E-01** at limit **
  10  Prefactor     17.771        13.216        .23740E-02   -.11369E-02
  11  norm          3.8202        1.7848        .51630E-02    .84121E-03
  12  Prefactor     6.0031        14.795        .40986E-02    .13398E-03
  13  Prefactor     1.3928        3.8107        .92089E-02    .74039E-03
  14  norm          .22578        1.6130        .36475E-01    .14763E-02
  15  Prefactor     .10017E-03    294.41        .90712E-02** at limit **
  16  Normalizat    1.4955        .24328        .73129E-01    .94743E-04
  17  Prefactor     .78251        .96989E-01    .43488E-01    .31946E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.2281
  Prefactor  = 12.3789
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.000100002
  norm       = 0.000100033
  Prefactor  = 0.0001
  Prefactor  = 86.926
  norm       = 0.000100001
  Prefactor  = 17.7707
  norm       = 3.82024
  Prefactor  = 6.00307
  Prefactor  = 1.39278
  norm       = 0.225776
  Prefactor  = 0.000100169
  Normalizat = 1.49554
  Prefactor  = 0.782511
 **********
 **   18 **HESSE 
 **********

 FCN=   7668.749     FROM HESSE     STATUS=OK           229 CALLS     1886 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.228        29.519        .86940E-04   -1.4786    
   2  Prefactor     12.379        19.803        .11384E-03   -1.5004    
   3  norm          .10000E-03    1.0381        .12440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    41.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10003E-03    101.86        .64660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.926        77.765        .43092E-04   -1.3841    
   9  norm          .10000E-03    27.383        .34252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.771        13.099        .94961E-04   -1.4865    
  11  norm          3.8202        1.7834        .76121E-04   -1.5317    
  12  Prefactor     6.0031        14.823        .16395E-03   -1.5218    
  13  Prefactor     1.3928        3.8160        .26884E-03   -1.5472    
  14  norm          .22578        3.7716        .21523E-02   -1.5613    
  15  Prefactor     .10017E-03    296.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4955        .29476        .32358E-03   -.77904    
  17  Prefactor     .78251        .11821        .17591E-03   -1.0038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7521e-09
Minuit parameter uncertainties:
  1  29.5397
  2  19.8135
  3  8.16978e-06
  4  0.00131036
  5  0.000448747
  6  0.003665
  7  1.90916e-05
  8  77.8562
  9  0.000258497
  10  13.1015
  11  1.78338
  12  14.8322
  13  3.81662
  14  1.8453
  15  0.0142571
  16  0.295099
  17  0.118252
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.820e+00  1.783e+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.825e-01  1.183e-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.496e+00  2.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.97
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 5.32e-08
Energy Flux (Fixed Index): 3.66e-05 +/- 1.71e-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) = 7668.7488073
delta logL = 0.000165505770383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7668.74879561
delta logL = 0.000177199212885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8159       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3592       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78274       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=   7668.749     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      224 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8147        39.211        .51655E-02    .26951E-03
   2  alpha         2.3588        3.4269        .33330        .12141E-04
   3  Normalizat    1.4946        .18127        .73147E-01    .94081E-05
   4  Prefactor     .78274        .79227E-01    .43492E-01    .90928E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.81469
  alpha      = 2.35884
  Normalizat = 1.49464
  Prefactor  = 0.782745
 **********
 **   18 **HESSE 
 **********

 FCN=   7668.749     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8147        1.8120        .75947E-04   -1.5317    
   2  alpha         2.3588        .44807        .13082E-01   -.56494E-01
   3  Normalizat    1.4946        .28970        .32366E-03   -.77929    
   4  Prefactor     .78274        .11747        .17589E-03   -1.0037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72179e-11
Minuit parameter uncertainties:
  1  1.81203
  2  0.450515
  3  0.290026
  4  0.117506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92717': 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) = 7668.74879478
delta logL = 0.000178023339686

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.815e+00  1.812e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.359e+00  4.505e-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.827e-01  1.175e-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.495e+00  2.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.96
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.36 +/- 0.45
Photon Flux (Free Index): 1.15e-07 +/- 6.28e-08
Energy Flux (Free Index): 3.64e-05 +/- 1.82e-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/92717/cmap_HighResolution_317088001_317347201_4FGL_J1941.3-6210_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='3.64e-05', photon_flux_error='5.32e-08', dlogl='1.78e-04', energy_flux='3.66e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-23 08:39:30.916863', photon_index_error2='0.45', photon_index2='2.36', ts='8.97', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='1.50', time_epoch_completed='1632411570.92', return_code='0', job_id='92717', GAL2='0.78', EG2='1.49', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='6.28e-08', ts2='8.96', photon_index='2.35' WHERE bin_id='300' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:39:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0015>
Subject: Job 92717: <4FGL_J1941.3-6210_daily_bin300> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin300> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 08:26:54 2021
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:27:19 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:27:19 2021
Terminated at Thu Sep 23 08:39:31 2021
Results reported at Thu Sep 23 08:39:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin300 295.347 -62.1753 317088001 317347201 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 :                                   613.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             254.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            757 sec.

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

