aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 183 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 = 7446
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1665
RA = 295.347, Dec = -62.1753
tmin = 670896001, tmax = 671155201
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='356801', job_status='RUN', time_executed='2022-04-09 00:38:36.266670', time_epoch_executed='1649489916.27' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356801/ft1_4FGL_J1941.3-6210_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356801/ft2_4FGL_J1941.3-6210_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356801/ft1_4FGL_J1941.3-6210_daily_bin1665.fits outfile=/scratch/kocevski/356801/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1665.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.44
user 5.15
sys 0.25

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

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

Number of photons that the gtmktime cut: 994

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356801/ft1_filtered_4FGL_J1941.3-6210_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/356801/ft2_4FGL_J1941.3-6210_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/356801/ltcube_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.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/356801/ft2_4FGL_J1941.3-6210_daily_bin1665.fits
.....................!
real 11.60
user 11.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356801/ft1_filtered_4FGL_J1941.3-6210_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356801/ft2_4FGL_J1941.3-6210_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/356801/ltcube_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.fits outfile=/scratch/kocevski/356801/expmap_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.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/356801/ltcube_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.fits
.....................!
real 190.03
user 184.89
sys 4.82

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/356801/ft1_filtered_4FGL_J1941.3-6210_daily_bin1665.fits scfile=/scratch/kocevski/356801/ft2_4FGL_J1941.3-6210_daily_bin1665.fits outfile=/scratch/kocevski/356801/cmap_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356801/ft1_filtered_4FGL_J1941.3-6210_daily_bin1665.fits scfile=/scratch/kocevski/356801/ft2_4FGL_J1941.3-6210_daily_bin1665.fits outfile=/scratch/kocevski/356801/cmap_HighResolution_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.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.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.692       1.0000         .10000E-03   10000.    
     3 'norm      '    3.9619       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .50701E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15676E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    63.980       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8187       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1341       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6802       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3055       1.0000         .10000E-03   10000.    
    14 'norm      '    .72050       1.0000         .10000E-03   10000.    
    15 'Prefactor '    130.68       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .74501       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0661       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=   10252.93     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1644 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.360       -.69310E-07** at limit **
   2  Prefactor     26.695        15.643       -.55006E-09   -.23085E-04
   3  norm          3.9591        1.2482       -.20217E-06    .24334E-02
   4  Prefactor     .10001E-03    816.65       -.74448E-05** at limit **
   5  Prefactor     .10000E-03    31.530        .53308E-07** at limit **
   6  norm          .10000E-03    5.5464       -.41485E-08** at limit **
   7  Prefactor     .10000E-03    32.339        .36773E-07** at limit **
   8  Prefactor     .10000E-03    173.10        .14502E-06** at limit **
   9  norm          63.980        14.948        .11988E-07    .12261E-04
  10  Prefactor     6.8199        12.847        .20796E-06   -.24184E-04
  11  norm          1.1342        1.2822        .18375E-06   -.30801E-03
  12  Prefactor     9.6815        14.612        .74934E-07   -.34349E-04
  13  Prefactor     2.3055        2.1578        .11224E-06   -.16694E-03
  14  norm          .71943        1.2577        .87826E-06    .64902E-03
  15  Prefactor     130.70        96.170       -.35199E-06    .14714E-04
  16  Normalizat    .74500        .22334       -.71641E-06    .43016E-04
  17  Prefactor     1.0661        .93825E-01   -.15873E-07    .15551E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 26.6952
  norm       = 3.95908
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 63.9803
  Prefactor  = 6.81992
  norm       = 1.13421
  Prefactor  = 9.68147
  Prefactor  = 2.30555
  norm       = 0.719428
  Prefactor  = 130.696
  Normalizat = 0.744995
  Prefactor  = 1.06607
 **********
 **   18 **HESSE 
 **********

 FCN=   10252.93     FROM HESSE     STATUS=OK           227 CALLS     1871 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.695        15.656        .77541E-04   -1.4674    
   3  norm          3.9591        1.2018        .58574E-04   -1.5310    
   4  Prefactor     .10001E-03    820.99        .42301E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.5503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    173.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          63.980        14.915        .50170E-04   -1.4107    
  10  Prefactor     6.8199        12.810        .15365E-03   -1.5186    
  11  norm          1.1342        1.2510        .11495E-03   -1.5495    
  12  Prefactor     9.6815        14.623        .12880E-03   -1.5086    
  13  Prefactor     2.3055        2.1480        .13832E-03   -1.5404    
  14  norm          .71943        1.2359        .17919E-02   -1.5538    
  15  Prefactor     130.70        96.010        .17611E-03   -1.3417    
  16  Normalizat    .74500        .25375        .43442E-03   -1.0214    
  17  Prefactor     1.0661        .10842        .15972E-03   -.90558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07872e-10
Minuit parameter uncertainties:
  1  1.84214e-05
  2  15.6584
  3  1.20182
  4  0.00579428
  5  4.3887e-05
  6  3.60936e-07
  7  1.88769e-05
  8  0.000419296
  9  14.9163
  10  12.8153
  11  1.25107
  12  14.6288
  13  2.1481
  14  1.2359
  15  96.1246
  16  0.254156
  17  0.108441
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.134e+00  1.251e+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.066e+00  1.084e-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:  7.450e-01  2.542e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 3.38e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 1.20e-05

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

Saving results to:
/scratch/kocevski/356801/likelihoodResults_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.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) = 10252.830867
delta logL = 0.101559309795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10252.8244092
delta logL = 0.108017198078

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0196       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7476       1.0000          .0000       5.0000    
     3 'Normalizat'    .73021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0699       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=   10252.82     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0196        25.065        .12814E-01    .15619E-02
   2  alpha         2.7477        3.2952        .41409        .43501E-04
   3  Normalizat    .73021        .59128E-01    .98950E-01    .52788E-04
   4  Prefactor     1.0699        .26490E-01    .38862E-01   -.63882E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0196
  alpha      = 2.7477
  Normalizat = 0.730213
  Prefactor  = 1.06992
 **********
 **   18 **HESSE 
 **********

 FCN=   10252.82     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0196        1.2397        .99213E-04   -1.5506    
   2  alpha         2.7477        .92096        .26501E-01    .99243E-01
   3  Normalizat    .73021        .24767        .43848E-03   -1.0271    
   4  Prefactor     1.0699        .10700        .15945E-03   -.90434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35063e-09
Minuit parameter uncertainties:
  1  1.23978
  2  0.943407
  3  0.248055
  4  0.107017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356801': 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) = 10252.8244091
delta logL = 0.1080172047

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.020e+00  1.240e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.748e+00  9.434e-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.070e+00  1.070e-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:  7.302e-01  2.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.31
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.75 +/- 0.94
Photon Flux (Free Index): 4.42e-08 +/- 4.59e-08
Energy Flux (Free Index): 1.02e-05 +/- 1.08e-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/356801/cmap_HighResolution_670896001_671155201_4FGL_J1941.3-6210_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', comment='SUCCESS', photon_flux='3.38e-08', energy_flux2='1.02e-05', photon_flux_error='3.73e-08', dlogl='1.08e-01', energy_flux='1.09e-05', photon_flux2='4.42e-08', job_status='DONE', time_completed='2022-04-09 00:51:20.222368', photon_index_error2='0.94', photon_index2='2.75', ts='1.08', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.08e-05', EG='0.74', time_epoch_completed='1649490680.22', return_code='0', job_id='356801', GAL2='1.07', EG2='0.73', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.59e-08', ts2='1.31', photon_index='2.35' WHERE bin_id='1665' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:51:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 356801: <4FGL_J1941.3-6210_daily_bin1665> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:23 2022
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:25 2022
Terminated at Sat Apr  9 00:51:20 2022
Results reported at Sat Apr  9 00:51:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1665 295.347 -62.1753 670896001 671155201 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 :                                   766.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             294.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

