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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin412
RA = 295.347, Dec = -62.1753
tmin = 346118401, tmax = 346377601
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='94020', job_status='RUN', time_executed='2021-09-23 08:36:27.604022', time_epoch_executed='1632411387.6' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94020

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94020/ft1_4FGL_J1941.3-6210_daily_bin412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94020/ft2_4FGL_J1941.3-6210_daily_bin412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94020/ft1_4FGL_J1941.3-6210_daily_bin412.fits outfile=/scratch/kocevski/94020/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin412.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=346118401.0 tmax=346377601.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.15
user 3.90
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94020/ft1_filtered_4FGL_J1941.3-6210_daily_bin412.fits" evtable="EVENTS" scfile=/scratch/kocevski/94020/ft2_4FGL_J1941.3-6210_daily_bin412.fits sctable="SC_DATA" outfile=/scratch/kocevski/94020/ltcube_346118401_346377601_4FGL_J1941.3-6210_daily_bin412.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/94020/ft2_4FGL_J1941.3-6210_daily_bin412.fits
.....................!
real 16.77
user 16.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94020/ft1_filtered_4FGL_J1941.3-6210_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/94020/ft2_4FGL_J1941.3-6210_daily_bin412.fits sctable="SC_DATA" expcube=/scratch/kocevski/94020/ltcube_346118401_346377601_4FGL_J1941.3-6210_daily_bin412.fits outfile=/scratch/kocevski/94020/expmap_346118401_346377601_4FGL_J1941.3-6210_daily_bin412.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/94020/ltcube_346118401_346377601_4FGL_J1941.3-6210_daily_bin412.fits
.....................!
real 191.05
user 186.71
sys 3.94

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/94020/ft1_filtered_4FGL_J1941.3-6210_daily_bin412.fits scfile=/scratch/kocevski/94020/ft2_4FGL_J1941.3-6210_daily_bin412.fits outfile=/scratch/kocevski/94020/cmap_346118401_346377601_4FGL_J1941.3-6210_daily_bin412.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.55
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94020/ft1_filtered_4FGL_J1941.3-6210_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/94020/ft2_4FGL_J1941.3-6210_daily_bin412.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94020/Model_4FGL_J1941.3-6210_daily_bin412.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/94020/ft1_filtered_4FGL_J1941.3-6210_daily_bin412.fits.....................!
real 77.12
user 75.72
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.845       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.215       1.0000         .10000E-03   10000.    
     6 'norm      '    2.6688       1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.357       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.4750       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1172       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7887       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    44.830       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0582       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96120       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=   9303.976     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1558 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.372        .10811E-07** at limit **
   2  Prefactor     .10000E-03    4.0315        .25298E-07** at limit **
   3  norm          .10000E-03    .24713       -.25180E-06** at limit **
   4  Prefactor     13.831        54.701       -.22949E-05   -.59177E-04
   5  Prefactor     39.162        79.040       -.77644E-05   -.16936E-03
   6  norm          2.6451        33.518       -.61666E-05   -.14394E-03
   7  Prefactor     32.349        44.473       -.63160E-06   -.44680E-04
   8  Prefactor     .10000E-03    28.525        .12925E-06** at limit **
   9  norm          5.4743        8.6784        .53694E-05   -.12746E-03
  10  Prefactor     .10000E-03    4.5278       -.29692E-06** at limit **
  11  norm          1.1172        1.1987        .20210E-06    .60654E-04
  12  Prefactor     .10000E-03    6.3054        .16910E-06** at limit **
  13  Prefactor     2.7888        2.8805        .30044E-06   -.25851E-04
  14  norm          .10000E-03    1.0847        .69701E-07** at limit **
  15  Prefactor     44.823        85.898       -.22379E-06   -.15194E-04
  16  Normalizat    1.0582        .21075       -.25467E-05    .89499E-04
  17  Prefactor     .96120        .88609E-01    .76460E-06   -.19472E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.8309
  Prefactor  = 39.1617
  norm       = 2.64515
  Prefactor  = 32.3495
  Prefactor  = 0.0001
  norm       = 5.47426
  Prefactor  = 0.0001
  norm       = 1.11718
  Prefactor  = 0.0001
  Prefactor  = 2.78879
  norm       = 0.0001
  Prefactor  = 44.8235
  Normalizat = 1.05825
  Prefactor  = 0.961196
 **********
 **   18 **HESSE 
 **********

 FCN=   9303.976     FROM HESSE     STATUS=OK           219 CALLS     1777 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .24987        .92975E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.831        54.674        .10765E-03   -1.4964    
   5  Prefactor     39.162        81.280        .64007E-04   -1.4456    
   6  norm          2.6451        34.965        .24947E-03   -1.5383    
   7  Prefactor     32.349        44.587        .70442E-04   -1.4570    
   8  Prefactor     .10000E-03    28.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.4743        8.8711        .85860E-03   -1.5240    
  10  Prefactor     .10000E-03    4.5425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1172        1.1721        .10394E-03   -1.5497    
  12  Prefactor     .10000E-03    6.3300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7888        2.8791        .15877E-03   -1.5374    
  14  norm          .10000E-03    1.1063        .98031E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     44.823        86.050        .59880E-04   -1.4368    
  16  Normalizat    1.0582        .25280        .35682E-03   -.91104    
  17  Prefactor     .96120        .10765        .15890E-03   -.94034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00619e-09
Minuit parameter uncertainties:
  1  9.08243e-06
  2  1.25558e-06
  3  2.25429e-06
  4  54.8728
  5  81.5111
  6  19.2475
  7  44.6329
  8  8.49028e-05
  9  8.8732
  10  2.04706e-05
  11  1.17212
  12  6.44351e-06
  13  2.87929
  14  1.8042e-06
  15  86.2898
  16  0.253092
  17  0.107679
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.117e+00  1.172e+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:  9.612e-01  1.077e-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.058e+00  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.29
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 3.33e-08 +/- 3.49e-08
Energy Flux (Fixed Index): 1.07e-05 +/- 1.12e-05

TS (Fixed Index): 1.29
Ra Dec: 295.347 -62.175
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94020/likelihoodResults_346118401_346377601_4FGL_J1941.3-6210_daily_bin412.txt

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) = 9303.07084852
delta logL = 0.905616292555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9303.06784826
delta logL = 0.90861655385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84157       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4680       1.0000          .0000       5.0000    
     3 'Normalizat'    .99682       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97553       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=   9303.068     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      241 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84057        7.6287        .12450E-01    .13567E-02
   2  alpha         3.4691        4.2322        .45952        .62171E-04
   3  Normalizat    .99716        .53039E-01    .82727E-01    .31032E-04
   4  Prefactor     .97539        .22763E-01    .45961E-01   -.77237E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.840573
  alpha      = 3.46914
  Normalizat = 0.997162
  Prefactor  = 0.975394
 **********
 **   18 **HESSE 
 **********

 FCN=   9303.068     FROM HESSE     STATUS=OK            35 CALLS      276 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84057        1.3388        .56907E-03   -1.5525    
   2  alpha         3.4691        1.2377        .19639E-01    .39809    
   3  Normalizat    .99716        .25146        .36620E-03   -.93126    
   4  Prefactor     .97539        .10623        .15779E-03   -.93554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84988e-09
Minuit parameter uncertainties:
  1  1.33885
  2  1.30658
  3  0.251761
  4  0.106254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94020': 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) = 9303.06784623
delta logL = 0.908618585525

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  8.406e-01  1.339e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  3.469e+00  1.307e+00  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:  9.754e-01  1.063e-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:  9.972e-01  2.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.20
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 3.47 +/- 1.31
Photon Flux (Free Index): 8.12e-08 +/- 5.43e-08
Energy Flux (Free Index): 1.39e-05 +/- 9.89e-06

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/94020/cmap_HighResolution_346118401_346377601_4FGL_J1941.3-6210_daily_bin412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.56e-05', comment='SUCCESS', photon_flux='3.33e-08', energy_flux2='1.39e-05', photon_flux_error='3.49e-08', dlogl='9.09e-01', energy_flux='1.07e-05', photon_flux2='8.12e-08', job_status='DONE', time_completed='2021-09-23 08:48:30.776300', photon_index_error2='1.31', photon_index2='3.47', ts='1.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='9.89e-06', EG='1.06', time_epoch_completed='1632412110.78', return_code='0', job_id='94020', GAL2='0.98', EG2='1.00', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='5.43e-08', ts2='3.20', photon_index='2.35' WHERE bin_id='412' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:48:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 94020: <4FGL_J1941.3-6210_daily_bin412> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin412> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 23 08:31:58 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:32:34 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:32:34 2021
Terminated at Thu Sep 23 08:48:31 2021
Results reported at Thu Sep 23 08:48:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin412 295.347 -62.1753 346118401 346377601 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 :                                   724.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            993 sec.

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

