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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1126
RA = 295.347, Dec = -62.1753
tmin = 531187201, tmax = 531446401
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='97364', job_status='RUN', time_executed='2021-09-23 08:44:57.823291', time_epoch_executed='1632411897.82' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97364

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97364/ft1_4FGL_J1941.3-6210_daily_bin1126.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97364/ft1_4FGL_J1941.3-6210_daily_bin1126.fits outfile=/scratch/kocevski/97364/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1126.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=531187201.0 tmax=531446401.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.04
user 3.80
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.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/97364/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1126.fits evtable="EVENTS" outfile="/scratch/kocevski/97364/ft1_filtered_4FGL_J1941.3-6210_daily_bin1126.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/97364/ft1_filtered_4FGL_J1941.3-6210_daily_bin1126.fits" evtable="EVENTS" scfile=/scratch/kocevski/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.fits sctable="SC_DATA" outfile=/scratch/kocevski/97364/ltcube_531187201_531446401_4FGL_J1941.3-6210_daily_bin1126.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/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.fits
.....................!
real 14.21
user 13.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97364/ft1_filtered_4FGL_J1941.3-6210_daily_bin1126.fits evtable="EVENTS" scfile=/scratch/kocevski/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.fits sctable="SC_DATA" expcube=/scratch/kocevski/97364/ltcube_531187201_531446401_4FGL_J1941.3-6210_daily_bin1126.fits outfile=/scratch/kocevski/97364/expmap_531187201_531446401_4FGL_J1941.3-6210_daily_bin1126.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/97364/ltcube_531187201_531446401_4FGL_J1941.3-6210_daily_bin1126.fits
.....................!
real 191.34
user 185.70
sys 5.24

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/97364/ft1_filtered_4FGL_J1941.3-6210_daily_bin1126.fits scfile=/scratch/kocevski/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.fits outfile=/scratch/kocevski/97364/cmap_531187201_531446401_4FGL_J1941.3-6210_daily_bin1126.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.60
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97364/ft1_filtered_4FGL_J1941.3-6210_daily_bin1126.fits scfile=/scratch/kocevski/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.fits outfile=/scratch/kocevski/97364/cmap_HighResolution_531187201_531446401_4FGL_J1941.3-6210_daily_bin1126.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/97364/ft1_filtered_4FGL_J1941.3-6210_daily_bin1126.fits evtable="EVENTS" scfile=/scratch/kocevski/97364/ft2_4FGL_J1941.3-6210_daily_bin1126.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/97364/Model_4FGL_J1941.3-6210_daily_bin1126.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/97364/ft1_filtered_4FGL_J1941.3-6210_daily_bin1126.fits.....................!
real 81.76
user 80.21
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.604       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    47.118       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.139       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.959       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.8067       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8054       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .97046       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1528       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89811       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=   10033.14     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1644 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.607        13.820       -.30587E-06   -.62191E-05
   2  Prefactor     .10000E-03    9.1919       -.14529E-06** at limit **
   3  norm          .10000E-03    .32925        .38307E-06** at limit **
   4  Prefactor     .10000E-03    21.474        .16483E-05** at limit **
   5  Prefactor     .10000E-03    38.551       -.35306E-04** at limit **
   6  norm          47.122        26.632        .59743E-06    .13450E-04
   7  Prefactor     12.108        33.309       -.40143E-04   -.24252E-04
   8  Prefactor     .10000E-03    84.340       -.41776E-04** at limit **
   9  norm          17.961        8.7038       -.26889E-05    .17231E-05
  10  Prefactor     .10000E-03    7.5931       -.33849E-07** at limit **
  11  norm          5.8068        1.7031       -.62115E-07   -.52952E-04
  12  Prefactor     3.8020        10.567       -.13608E-05   -.13491E-03
  13  Prefactor     .10000E-03    1.5804       -.99988E-07** at limit **
  14  norm          .97030        .91945        .15191E-07    .44970E-03
  15  Prefactor     .10000E-03    49.218        .64747E-04** at limit **
  16  Normalizat    1.1529        .20531        .33904E-06    .43452E-04
  17  Prefactor     .89809        .85686E-01    .14949E-05   -.36992E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6069
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 47.1215
  Prefactor  = 12.1077
  Prefactor  = 0.0001
  norm       = 17.9606
  Prefactor  = 0.0001
  norm       = 5.80679
  Prefactor  = 3.80199
  Prefactor  = 0.0001
  norm       = 0.970302
  Prefactor  = 0.0001
  Normalizat = 1.15288
  Prefactor  = 0.898086
 **********
 **   18 **HESSE 
 **********

 FCN=   10033.14     FROM HESSE     STATUS=OK           225 CALLS     1869 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.607        13.825        .10860E-03   -1.4970    
   2  Prefactor     .10000E-03    9.2770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .86013        .11118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          47.122        26.632        .58414E-04   -1.4334    
   7  Prefactor     12.108        33.362        .11497E-03   -1.5012    
   8  Prefactor     .10000E-03    84.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.961        8.7019        .94511E-04   -1.4860    
  10  Prefactor     .10000E-03    7.6898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.8068        1.7043        .67425E-04   -1.5226    
  12  Prefactor     3.8020        10.564        .20692E-03   -1.5318    
  13  Prefactor     .10000E-03    1.6354        .24579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .97030        .97232        .91237E-03   -1.5511    
  15  Prefactor     .10000E-03    49.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1529        .24933        .35344E-03   -.88072    
  17  Prefactor     .89809        .10432        .16513E-03   -.96208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76647e-10
Minuit parameter uncertainties:
  1  13.828
  2  1.5926e-05
  3  3.52125e-05
  4  3.97972e-05
  5  9.83259e-06
  6  26.6386
  7  33.4134
  8  0.000187521
  9  8.70251
  10  1.59802e-05
  11  1.70436
  12  10.5692
  13  7.43272e-06
  14  0.972331
  15  0.000124377
  16  0.24959
  17  0.104342
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  5.807e+00  1.704e+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.981e-01  1.043e-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.153e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.76
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.73e-07 +/- 5.08e-08
Energy Flux (Fixed Index): 5.56e-05 +/- 1.63e-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) = 10033.1430933
delta logL = 5.39068114449e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10033.1430874
delta logL = 5.97815505898e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8035       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3542       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89819       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=   10033.14     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      224 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8026        23.892        .41679E-02    .17152E-03
   2  alpha         2.3541        3.6674        .27346        .22953E-04
   3  Normalizat    1.1523        .32522        .79859E-01    .30896E-04
   4  Prefactor     .89824        .11258        .44982E-01    .11424E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.80257
  alpha      = 2.35407
  Normalizat = 1.15228
  Prefactor  = 0.898242
 **********
 **   18 **HESSE 
 **********

 FCN=   10033.14     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8026        1.7545        .67362E-04   -1.5226    
   2  alpha         2.3541        .33104        .11057E-01   -.58404E-01
   3  Normalizat    1.1523        .25237        .35351E-03   -.88090    
   4  Prefactor     .89824        .10398        .16512E-03   -.96203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83548e-13
Minuit parameter uncertainties:
  1  1.75447
  2  0.332016
  3  0.252634
  4  0.104003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97364': 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) = 10033.1430851
delta logL = 6.20617083769e-05

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  5.803e+00  1.754e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.354e+00  3.320e-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.982e-01  1.040e-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.152e+00  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.70
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.35 +/- 0.33
Photon Flux (Free Index): 1.74e-07 +/- 6.26e-08
Energy Flux (Free Index): 5.55e-05 +/- 1.81e-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/97364/cmap_HighResolution_531187201_531446401_4FGL_J1941.3-6210_daily_bin1126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.73e-07', energy_flux2='5.55e-05', photon_flux_error='5.08e-08', dlogl='6.21e-05', energy_flux='5.56e-05', photon_flux2='1.74e-07', job_status='DONE', time_completed='2021-09-23 08:56:30.539790', photon_index_error2='0.33', photon_index2='2.35', ts='25.76', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.81e-05', EG='1.15', time_epoch_completed='1632412590.54', return_code='0', job_id='97364', GAL2='0.90', EG2='1.15', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='6.26e-08', ts2='25.70', photon_index='2.35' WHERE bin_id='1126' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:56:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 97364: <4FGL_J1941.3-6210_daily_bin1126> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1126 295.347 -62.1753 531187201 531446401 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            830 sec.

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

