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 = 7542
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1703
RA = 295.347, Dec = -62.1753
tmin = 680745601, tmax = 681004801
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='322767', job_status='RUN', time_executed='2022-08-01 01:18:53.115070', time_epoch_executed='1659341933.12' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/322767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/322767/ft1_4FGL_J1941.3-6210_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/322767/ft2_4FGL_J1941.3-6210_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/322767/ft1_4FGL_J1941.3-6210_daily_bin1703.fits outfile=/scratch/kocevski/322767/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1703.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=680745601.0 tmax=681004801.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 2.99
user 2.79
sys 0.20

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

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

Number of photons that the gtmktime cut: 434

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/322767/ft1_filtered_4FGL_J1941.3-6210_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/322767/ft2_4FGL_J1941.3-6210_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/322767/ltcube_680745601_681004801_4FGL_J1941.3-6210_daily_bin1703.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/322767/ft2_4FGL_J1941.3-6210_daily_bin1703.fits
.....................!
real 15.73
user 15.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/322767/ft1_filtered_4FGL_J1941.3-6210_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/322767/ft2_4FGL_J1941.3-6210_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/322767/ltcube_680745601_681004801_4FGL_J1941.3-6210_daily_bin1703.fits outfile=/scratch/kocevski/322767/expmap_680745601_681004801_4FGL_J1941.3-6210_daily_bin1703.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/322767/ltcube_680745601_681004801_4FGL_J1941.3-6210_daily_bin1703.fits
.....................!
real 192.41
user 187.23
sys 4.69

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/322767/ft1_filtered_4FGL_J1941.3-6210_daily_bin1703.fits scfile=/scratch/kocevski/322767/ft2_4FGL_J1941.3-6210_daily_bin1703.fits outfile=/scratch/kocevski/322767/cmap_680745601_681004801_4FGL_J1941.3-6210_daily_bin1703.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.37
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/322767/ft1_filtered_4FGL_J1941.3-6210_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/322767/ft2_4FGL_J1941.3-6210_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/322767/Model_4FGL_J1941.3-6210_daily_bin1703.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/322767/ft1_filtered_4FGL_J1941.3-6210_daily_bin1703.fits.....................!
real 48.62
user 47.23
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.264       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6786       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0986       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17897E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.043       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1177       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2591       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    14 'norm      '    .10737E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2193.3       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2920       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=   4574.102     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1714 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.331        41.236        .48920E-04   -.40727E-03
   2  Prefactor     5.6304        36.135       -.78168E-04   -.10762E-03
   3  norm          3.0991        1.6401        .32004E-06   -.45298E-03
   4  Prefactor     .10002E-03    99.852        .34589E-04** at limit **
   5  Prefactor     .10002E-03    67.101       -.33068E-04** at limit **
   6  norm          .10000E-03    9.5312       -.39599E-06** at limit **
   7  Prefactor     .10000E-03    46.759        .93576E-05** at limit **
   8  Prefactor     .10001E-03    137.73       -.16454E-04** at limit **
   9  norm          10.046        11.738        .24939E-05   -.24565E-03
  10  Prefactor     4.1180        13.873        .16198E-05   -.16459E-03
  11  norm          3.2594        2.2293       -.41466E-07    .38582E-05
  12  Prefactor     .10000E-03    6.2523        .31993E-06** at limit **
  13  Prefactor    10000.0        111.12       -.31989E-04** at limit **
  14  norm          .10000E-03    6.6410        .18813E-06** at limit **
  15  Prefactor     2193.8        2708.5        .12259E-03   -.22512E-04
  16  Normalizat    .10000E-01    .27114        .39315E-05** at limit **
  17  Prefactor     1.2923        .90201E-01   -.98798E-06    .29903E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.3308
  Prefactor  = 5.63038
  norm       = 3.09913
  Prefactor  = 0.000100025
  Prefactor  = 0.000100023
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100005
  norm       = 10.0462
  Prefactor  = 4.11797
  norm       = 3.25942
  Prefactor  = 0.0001
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 2193.84
  Normalizat = 0.01
  Prefactor  = 1.29227
 **********
 **   18 **HESSE 
 **********

 FCN=   4574.102     FROM HESSE     STATUS=OK           215 CALLS     1929 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.331        41.334        .61663E-04   -1.4406    
   2  Prefactor     5.6304        36.595        .16857E-03   -1.5233    
   3  norm          3.0991        1.6394        .60435E-04   -1.5356    
   4  Prefactor     .10002E-03    99.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    66.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.5464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    46.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    137.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.046        11.714        .12644E-03   -1.5074    
  10  Prefactor     4.1180        13.826        .19866E-03   -1.5302    
  11  norm          3.2594        2.2301        .81146E-04   -1.5347    
  12  Prefactor     .10000E-03    6.2533        .16517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        110.94        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.6425        .17022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2193.8        2706.0        .48333E-04   -.59587    
  16  Normalizat    .10000E-01    .27217        .64454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2923        .90415E-01    .15824E-03   -.83537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03537e-09
Minuit parameter uncertainties:
  1  41.3617
  2  28.7338
  3  1.63942
  4  0.00315681
  5  0.00249926
  6  9.57567e-06
  7  0.000585886
  8  0.00174248
  9  11.717
  10  13.8365
  11  2.23018
  12  9.49473e-06
  13  0.00310805
  14  3.22069e-05
  15  2949.44
  16  2.98532e-06
  17  0.0904262
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.259e+00  2.230e+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.292e+00  9.043e-02  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.000e-02  2.985e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.35
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.72e-08 +/- 6.65e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 2.13e-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) = 4573.22767558
delta logL = 0.874588240119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4573.20101312
delta logL = 0.901250694892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7872       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5875       1.0000          .0000       5.0000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2965       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=   4573.201     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7916        1.9504        .60931E-02   -.26809E-03
   2  alpha         1.5885        .40450        .28205       -.31968E-04
   3  Normalizat    .10000E-01    .19331        .32218    ** at limit **
   4  Prefactor     1.2963        .10691        .32671E-01   -.11294E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.79164
  alpha      = 1.58848
  Normalizat = 0.01
  Prefactor  = 1.29635
 **********
 **   18 **HESSE 
 **********

 FCN=   4573.201     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7916        2.2823        .75926E-04   -1.5374    
   2  alpha         1.5885        .51703        .11379E-01   -.37321    
   3  Normalizat    .10000E-01    .29996        .13872E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2963        .80806E-01    .15810E-03   -.83416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.26483e-10
Minuit parameter uncertainties:
  1  2.28233
  2  0.521377
  3  1.14919e-07
  4  0.0808135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/322767': 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) = 4573.20100773
delta logL = 0.901256083057

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.792e+00  2.282e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  1.588e+00  5.214e-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.296e+00  8.081e-02  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.000e-02  1.149e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.13
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 1.59 +/- 0.52
Photon Flux (Free Index): 5.35e-08 +/- 4.68e-08
Energy Flux (Free Index): 6.74e-05 +/- 7.10e-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/322767/cmap_HighResolution_680745601_681004801_4FGL_J1941.3-6210_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.72e-08', energy_flux2='6.74e-05', photon_flux_error='6.65e-08', dlogl='9.01e-01', energy_flux='3.12e-05', photon_flux2='5.35e-08', job_status='DONE', time_completed='2022-08-01 01:27:08.308088', photon_index_error2='0.52', photon_index2='1.59', ts='6.35', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='7.10e-05', EG='0.01', time_epoch_completed='1659342428.31', return_code='0', job_id='322767', GAL2='1.30', EG2='0.01', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='4.68e-08', ts2='8.13', photon_index='2.35' WHERE bin_id='1703' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:27:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 322767: <4FGL_J1941.3-6210_daily_bin1703> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:15:15 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:15:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:15:37 2022
Terminated at Mon Aug  1 01:27:09 2022
Results reported at Mon Aug  1 01:27:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1703 295.347 -62.1753 680745601 681004801 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 :                                   497.62 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             273.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            714 sec.

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

