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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1168
RA = 295.347, Dec = -62.1753
tmin = 542073601, tmax = 542332801
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='98700', job_status='RUN', time_executed='2021-09-23 08:51:05.199740', time_epoch_executed='1632412265.2' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98700/ft1_4FGL_J1941.3-6210_daily_bin1168.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98700/ft1_4FGL_J1941.3-6210_daily_bin1168.fits outfile=/scratch/kocevski/98700/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1168.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=542073601.0 tmax=542332801.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.61
user 3.37
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.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/98700/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1168.fits evtable="EVENTS" outfile="/scratch/kocevski/98700/ft1_filtered_4FGL_J1941.3-6210_daily_bin1168.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98700/ft1_filtered_4FGL_J1941.3-6210_daily_bin1168.fits" evtable="EVENTS" scfile=/scratch/kocevski/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.fits sctable="SC_DATA" outfile=/scratch/kocevski/98700/ltcube_542073601_542332801_4FGL_J1941.3-6210_daily_bin1168.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/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.fits
.....................!
real 15.72
user 15.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98700/ft1_filtered_4FGL_J1941.3-6210_daily_bin1168.fits evtable="EVENTS" scfile=/scratch/kocevski/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.fits sctable="SC_DATA" expcube=/scratch/kocevski/98700/ltcube_542073601_542332801_4FGL_J1941.3-6210_daily_bin1168.fits outfile=/scratch/kocevski/98700/expmap_542073601_542332801_4FGL_J1941.3-6210_daily_bin1168.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/98700/ltcube_542073601_542332801_4FGL_J1941.3-6210_daily_bin1168.fits
.....................!
real 190.60
user 185.97
sys 4.28

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/98700/ft1_filtered_4FGL_J1941.3-6210_daily_bin1168.fits scfile=/scratch/kocevski/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.fits outfile=/scratch/kocevski/98700/cmap_542073601_542332801_4FGL_J1941.3-6210_daily_bin1168.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/98700/ft1_filtered_4FGL_J1941.3-6210_daily_bin1168.fits scfile=/scratch/kocevski/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.fits outfile=/scratch/kocevski/98700/cmap_HighResolution_542073601_542332801_4FGL_J1941.3-6210_daily_bin1168.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/98700/ft1_filtered_4FGL_J1941.3-6210_daily_bin1168.fits evtable="EVENTS" scfile=/scratch/kocevski/98700/ft2_4FGL_J1941.3-6210_daily_bin1168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/98700/Model_4FGL_J1941.3-6210_daily_bin1168.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/98700/ft1_filtered_4FGL_J1941.3-6210_daily_bin1168.fits.....................!
real 70.95
user 69.58
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.898       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .22271       1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.903       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    20.241       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.5506       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2237       1.0000         .10000E-03   10000.    
    14 'norm      '    .91259       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .81098       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0567       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=   8522.339     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1656 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.899        19.788       -.53141E-07   -.30000E-05
   2  Prefactor     .10000E-03    11.359        .34484E-06** at limit **
   3  norm          .22339        3.0639        .18754E-05   -.67044E-04
   4  Prefactor     51.792        126.91       -.14336E-05   -.16704E-04
   5  Prefactor     .10000E-03    56.360        .41219E-06** at limit **
   6  norm          20.240        20.692        .31954E-06   -.95664E-05
   7  Prefactor     .10000E-03    10.577        .13212E-06** at limit **
   8  Prefactor     .10000E-03    32.513       -.10532E-05** at limit **
   9  norm          .10000E-03    2.0939        .67869E-07** at limit **
  10  Prefactor     .10000E-03    4.4577        .12733E-06** at limit **
  11  norm          6.5506        1.8353        .44911E-07   -.46484E-04
  12  Prefactor     .10000E-03    7.9553        .20581E-06** at limit **
  13  Prefactor     3.2235        3.4699        .11952E-06    .32666E-04
  14  norm          .91057        1.6917        .14106E-06    .49681E-03
  15  Prefactor     .10000E-03    31.154        .12269E-05** at limit **
  16  Normalizat    .81115        .23524       -.13959E-05   -.39613E-04
  17  Prefactor     1.0567        .10172       -.44044E-06    .64265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8992
  Prefactor  = 0.0001
  norm       = 0.223385
  Prefactor  = 51.7918
  Prefactor  = 0.0001
  norm       = 20.2399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.55055
  Prefactor  = 0.0001
  Prefactor  = 3.22348
  norm       = 0.910568
  Prefactor  = 0.0001
  Normalizat = 0.811146
  Prefactor  = 1.05667
 **********
 **   18 **HESSE 
 **********

 FCN=   8522.339     FROM HESSE     STATUS=OK           225 CALLS     1881 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.899        19.784        .85595E-04   -1.4772    
   2  Prefactor     .10000E-03    11.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .22339        3.5615        .14775E-02   -1.5613    
   4  Prefactor     51.792        134.35        .55669E-04   -1.4267    
   5  Prefactor     .10000E-03    56.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          20.240        20.688        .89027E-04   -1.4808    
   7  Prefactor     .10000E-03    10.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    32.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.0974        .13049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.4764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.5506        1.8355        .63316E-04   -1.5196    
  12  Prefactor     .10000E-03    7.9904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2235        3.4651        .17117E-03   -1.5349    
  14  norm          .91057        1.2940        .16045E-02   -1.5517    
  15  Prefactor     .10000E-03    31.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .81115        .27821        .41781E-03   -.99657    
  17  Prefactor     1.0567        .11910        .15693E-03   -.90864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.094e-08
Minuit parameter uncertainties:
  1  19.7897
  2  4.17742e-05
  3  1.78363
  4  135.143
  5  1.44136e-05
  6  20.6957
  7  3.20463e-06
  8  4.35879e-05
  9  3.98082e-06
  10  1.11792e-05
  11  1.83554
  12  2.50851e-05
  13  3.46534
  14  1.29409
  15  4.07821e-05
  16  0.2787
  17  0.119132
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  6.551e+00  1.836e+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:  1.057e+00  1.191e-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:  8.111e-01  2.787e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 36.84
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.95e-07 +/- 5.47e-08
Energy Flux (Fixed Index): 6.27e-05 +/- 1.76e-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) = 8520.92856632
delta logL = 1.41019047614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8520.92708299
delta logL = 1.41167380944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5413       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8958       1.0000          .0000       5.0000    
     3 'Normalizat'    .87726       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0407       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=   8520.927     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      207 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5413        1.9519        .39228E-02    .20092E-02
   2  alpha         1.8958        .23934        .20907       -.28913E-04
   3  Normalizat    .87726        .23266        .91105E-01   -.29098E-05
   4  Prefactor     1.0407        .98250E-01    .40489E-01    .11808E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.54133
  alpha      = 1.89583
  Normalizat = 0.87726
  Prefactor  = 1.04068
 **********
 **   18 **HESSE 
 **********

 FCN=   8520.927     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5413        2.0389        .67779E-04   -1.5196    
   2  alpha         1.8958        .26282        .87878E-02   -.24408    
   3  Normalizat    .87726        .27695        .40351E-03   -.97264    
   4  Prefactor     1.0407        .11714        .15805E-03   -.91385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30363e-10
Minuit parameter uncertainties:
  1  2.03893
  2  0.263332
  3  0.277403
  4  0.117169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98700': 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) = 8520.92708299
delta logL = 1.41167381033

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  6.541e+00  2.039e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  1.896e+00  2.633e-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:  1.041e+00  1.172e-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:  8.773e-01  2.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.64
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 1.90 +/- 0.26
Photon Flux (Free Index): 1.41e-07 +/- 5.35e-08
Energy Flux (Free Index): 8.85e-05 +/- 3.58e-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/98700/cmap_HighResolution_542073601_542332801_4FGL_J1941.3-6210_daily_bin1168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.95e-07', energy_flux2='8.85e-05', photon_flux_error='5.47e-08', dlogl='1.41e+00', energy_flux='6.27e-05', photon_flux2='1.41e-07', job_status='DONE', time_completed='2021-09-23 09:01:27.217761', photon_index_error2='0.26', photon_index2='1.90', ts='36.84', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='3.58e-05', EG='0.81', time_epoch_completed='1632412887.22', return_code='0', job_id='98700', GAL2='1.04', EG2='0.88', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='5.35e-08', ts2='39.64', photon_index='2.35' WHERE bin_id='1168' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 09:01:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 98700: <4FGL_J1941.3-6210_daily_bin1168> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1168> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep 23 08:47:35 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:47:37 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:47:37 2021
Terminated at Thu Sep 23 09:01:27 2021
Results reported at Thu Sep 23 09:01:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1168 295.347 -62.1753 542073601 542332801 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 :                                   620.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

