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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1331
RA = 295.347, Dec = -62.1753
tmin = 584323201, tmax = 584582401
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='98960', job_status='RUN', time_executed='2021-09-23 08:50:26.945844', time_epoch_executed='1632412226.95' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1331'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98960

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98960/ft1_4FGL_J1941.3-6210_daily_bin1331.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98960/ft2_4FGL_J1941.3-6210_daily_bin1331.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98960/ft1_4FGL_J1941.3-6210_daily_bin1331.fits outfile=/scratch/kocevski/98960/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1331.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=584323201.0 tmax=584582401.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.48
user 3.23
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98960/ft1_filtered_4FGL_J1941.3-6210_daily_bin1331.fits" evtable="EVENTS" scfile=/scratch/kocevski/98960/ft2_4FGL_J1941.3-6210_daily_bin1331.fits sctable="SC_DATA" outfile=/scratch/kocevski/98960/ltcube_584323201_584582401_4FGL_J1941.3-6210_daily_bin1331.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/98960/ft2_4FGL_J1941.3-6210_daily_bin1331.fits
.....................!
real 17.48
user 17.13
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98960/ft1_filtered_4FGL_J1941.3-6210_daily_bin1331.fits evtable="EVENTS" scfile=/scratch/kocevski/98960/ft2_4FGL_J1941.3-6210_daily_bin1331.fits sctable="SC_DATA" expcube=/scratch/kocevski/98960/ltcube_584323201_584582401_4FGL_J1941.3-6210_daily_bin1331.fits outfile=/scratch/kocevski/98960/expmap_584323201_584582401_4FGL_J1941.3-6210_daily_bin1331.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/98960/ltcube_584323201_584582401_4FGL_J1941.3-6210_daily_bin1331.fits
.....................!
real 192.24
user 187.41
sys 4.50

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/98960/ft1_filtered_4FGL_J1941.3-6210_daily_bin1331.fits scfile=/scratch/kocevski/98960/ft2_4FGL_J1941.3-6210_daily_bin1331.fits outfile=/scratch/kocevski/98960/cmap_584323201_584582401_4FGL_J1941.3-6210_daily_bin1331.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.56
user 0.39
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.144       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9499       1.0000         .10000E-03   10000.    
     3 'norm      '    .12450E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7919       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17511E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    34.129       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.3097       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.150       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7197       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5188       1.0000         .10000E-03   10000.    
    14 'norm      '    2.6322       1.0000         .10000E-03   10000.    
    15 'Prefactor '    133.98       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0945       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86802       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3790.037     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2111 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.238        57.849        .83262E-04    .93462E-04
   2  Prefactor     1.9073        197.15        .29719E-03    .43762E-04
   3  norm          .10000E-03    5.1201        .10599E-02** at limit **
   4  Prefactor     4.9717        757.05        .18379E-03    .23815E-05
   5  Prefactor     .10000E-03    97.341        .18142E-02** at limit **
   6  norm          34.123        44.147        .68595E-04   -.10060E-03
   7  Prefactor     .10000E-03    88.134        .18142E-02** at limit **
   8  Prefactor     .10000E-03    75.423        .18142E-02** at limit **
   9  norm          1.2820        60.749        .38534E-03   -.56085E-04
  10  Prefactor     10.170        29.120        .12577E-03   -.33644E-03
  11  norm          1.7196        1.6690        .76337E-04   -.61432E-04
  12  Prefactor     .10000E-03    16.856        .18142E-02** at limit **
  13  Prefactor     1.5188        2.8881        .14234E-03    .69088E-05
  14  norm          2.6322        2.9713        .10978E-03    .39196E-04
  15  Prefactor     134.00        130.88        .17396E-03   -.11437E-05
  16  Normalizat    1.0944        .39272        .35102E-03    .27281E-03
  17  Prefactor     .86806        .16211        .15988E-03   -.20896E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.2385
  Prefactor  = 1.90733
  norm       = 0.000100003
  Prefactor  = 4.9717
  Prefactor  = 0.0001
  norm       = 34.1231
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.28203
  Prefactor  = 10.1703
  norm       = 1.71964
  Prefactor  = 0.0001
  Prefactor  = 1.5188
  norm       = 2.63217
  Prefactor  = 134.002
  Normalizat = 1.09438
  Prefactor  = 0.868063
 **********
 **   18 **HESSE 
 **********

 FCN=   3790.037     FROM HESSE     STATUS=OK           205 CALLS     2316 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.238        57.303        .33305E-05   -1.4743    
   2  Prefactor     1.9073        193.40        .11888E-04   -1.5432    
   3  norm          .10000E-03    5.1515        .21198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9717        753.22        .73516E-05   -1.5262    
   5  Prefactor     .10000E-03    97.342        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          34.123        44.141        .13719E-04   -1.4539    
   7  Prefactor     .10000E-03    88.141        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    75.423        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2820        60.463        .15414E-04   -1.5482    
  10  Prefactor     10.170        29.070        .50309E-05   -1.5070    
  11  norm          1.7196        1.6689        .30535E-05   -1.5446    
  12  Prefactor     .10000E-03    16.857        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5188        2.8880        .56935E-05   -1.5461    
  14  norm          2.6322        2.9713        .43913E-05   -1.5383    
  15  Prefactor     134.00        130.88        .69583E-05   -1.3388    
  16  Normalizat    1.0944        .39300        .70204E-04   -.89932    
  17  Prefactor     .86806        .16221        .31975E-04   -.97266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0137e-09
Minuit parameter uncertainties:
  1  57.4389
  2  38.54
  3  0.000267232
  4  124.011
  5  7.05387e-05
  6  44.1834
  7  0.000697244
  8  0.000249651
  9  17.6269
  10  29.1107
  11  1.66899
  12  0.000151108
  13  2.88829
  14  2.97146
  15  131.166
  16  0.394059
  17  0.162296
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.720e+00  1.669e+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.681e-01  1.623e-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.094e+00  3.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.86
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 5.13e-08 +/- 4.97e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.60e-05

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

Saving results to:
/scratch/kocevski/98960/likelihoodResults_584323201_584582401_4FGL_J1941.3-6210_daily_bin1331.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) = 3789.87076675
delta logL = 0.166242876036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3789.86165919
delta logL = 0.175350437192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9355       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8835       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86186       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=   3789.862     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      197 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9355        2.1774        .74622E-02   -.29369E-02
   2  alpha         1.8836        .70754        .39357       -.79176E-05
   3  Normalizat    1.1126        .31557        .78716E-01    .99907E-06
   4  Prefactor     .86186        .13037        .44517E-01    .40061E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93547
  alpha      = 1.88365
  Normalizat = 1.11264
  Prefactor  = 0.861861
 **********
 **   18 **HESSE 
 **********

 FCN=   3789.862     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9355        1.7836        .76729E-04   -1.5430    
   2  alpha         1.8836        .69758        .14559E-01   -.24911    
   3  Normalizat    1.1126        .38155        .34843E-03   -.89347    
   4  Prefactor     .86186        .15784        .16034E-03   -.97487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53536e-09
Minuit parameter uncertainties:
  1  1.7836
  2  0.707592
  3  0.382506
  4  0.157922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98960': 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) = 3789.86165918
delta logL = 0.175350448351

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.935e+00  1.784e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  1.884e+00  7.076e-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.619e-01  1.579e-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.113e+00  3.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.21
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 1.88 +/- 0.71
Photon Flux (Free Index): 4.14e-08 +/- 4.27e-08
Energy Flux (Free Index): 2.66e-05 +/- 3.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/98960/cmap_HighResolution_584323201_584582401_4FGL_J1941.3-6210_daily_bin1331.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-05', comment='SUCCESS', photon_flux='5.13e-08', energy_flux2='2.66e-05', photon_flux_error='4.97e-08', dlogl='1.75e-01', energy_flux='1.65e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2021-09-23 08:59:48.191585', photon_index_error2='0.71', photon_index2='1.88', ts='1.86', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.79e-07', energy_flux_error2='3.47e-05', EG='1.09', time_epoch_completed='1632412788.19', return_code='0', job_id='98960', GAL2='0.86', EG2='1.11', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='4.27e-08', ts2='2.21', photon_index='2.35' WHERE bin_id='1331' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:59:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 98960: <4FGL_J1941.3-6210_daily_bin1331> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1331> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep 23 08:47:56 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:47:57 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:57 2021
Terminated at Thu Sep 23 08:59:48 2021
Results reported at Thu Sep 23 08:59:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1331 295.347 -62.1753 584323201 584582401 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 :                                   511.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             263.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            712 sec.

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

