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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1702
RA = 295.347, Dec = -62.1753
tmin = 680486401, tmax = 680745601
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='257469', job_status='RUN', time_executed='2022-07-29 01:34:25.177939', time_epoch_executed='1659083665.18' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257469

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257469/ft1_4FGL_J1941.3-6210_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257469/ft1_4FGL_J1941.3-6210_daily_bin1702.fits outfile=/scratch/kocevski/257469/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1702.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=680486401.0 tmax=680745601.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.96
user 2.76
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.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/257469/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/257469/ft1_filtered_4FGL_J1941.3-6210_daily_bin1702.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.54
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 350

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257469/ft1_filtered_4FGL_J1941.3-6210_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/257469/ltcube_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.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/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.fits
.....................!
real 15.29
user 14.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257469/ft1_filtered_4FGL_J1941.3-6210_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/257469/ltcube_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.fits outfile=/scratch/kocevski/257469/expmap_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.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/257469/ltcube_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.fits
.....................!
real 192.04
user 186.35
sys 5.27

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/257469/ft1_filtered_4FGL_J1941.3-6210_daily_bin1702.fits scfile=/scratch/kocevski/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.fits outfile=/scratch/kocevski/257469/cmap_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257469/ft1_filtered_4FGL_J1941.3-6210_daily_bin1702.fits scfile=/scratch/kocevski/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.fits outfile=/scratch/kocevski/257469/cmap_HighResolution_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/257469/ft1_filtered_4FGL_J1941.3-6210_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257469/ft2_4FGL_J1941.3-6210_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/257469/Model_4FGL_J1941.3-6210_daily_bin1702.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/257469/ft1_filtered_4FGL_J1941.3-6210_daily_bin1702.fits.....................!
real 42.87
user 41.54
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.4222       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    113.01       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.4833       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.706       1.0000         .10000E-03   10000.    
    11 'norm      '    .11008       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.401       1.0000         .10000E-03   10000.    
    14 'norm      '    7.6022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14238E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6584       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84983       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=   3769.942     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1623 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.907       -.13834E-06** at limit **
   2  Prefactor     9.4197        17.319        .38427E-06   -.22174E-04
   3  norm          .10000E-03    .86440        .19094E-05** at limit **
   4  Prefactor     113.14        132.78       -.10224E-05   -.90659E-04
   5  Prefactor     .10000E-03    82.021        .88630E-06** at limit **
   6  norm          8.4814        30.089        .35256E-06   -.15437E-05
   7  Prefactor     .10000E-03    164.64        .22771E-05** at limit **
   8  Prefactor     .10000E-03    144.07        .32433E-05** at limit **
   9  norm          .10000E-03    4.3603       -.59547E-07** at limit **
  10  Prefactor     15.706        17.320        .10656E-06   -.10662E-04
  11  norm          .10753        1.8854        .70227E-06   -.89200E-03
  12  Prefactor     .10000E-03    12.286       -.10714E-06** at limit **
  13  Prefactor     47.388        57.433       -.31335E-06   -.10050E-04
  14  norm          7.6018        7.1733       -.13620E-06   -.25791E-04
  15  Prefactor     .10001E-03    654.80       -.24997E-05** at limit **
  16  Normalizat    1.6578        .41999        .29633E-05   -.20776E-03
  17  Prefactor     .85011        .15661       -.18010E-05   -.21594E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.4197
  norm       = 0.0001
  Prefactor  = 113.144
  Prefactor  = 0.0001
  norm       = 8.4814
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 15.7058
  norm       = 0.107528
  Prefactor  = 0.0001
  Prefactor  = 47.3877
  norm       = 7.60183
  Prefactor  = 0.000100012
  Normalizat = 1.65783
  Prefactor  = 0.850107
 **********
 **   18 **HESSE 
 **********

 FCN=   3769.942     FROM HESSE     STATUS=OK           217 CALLS     1840 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.4197        17.340        .13056E-03   -1.5094    
   3  norm          .10000E-03    .88961        .11154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     113.14        133.53        .18921E-03   -1.3577    
   5  Prefactor     .10000E-03    82.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.4814        30.121        .13763E-03   -1.5125    
   7  Prefactor     .10000E-03    165.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    144.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3647        .12520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.706        17.338        .10106E-03   -1.4915    
  11  norm          .10753        12.476        .15140E-02   -1.5642    
  12  Prefactor     .10000E-03    12.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     47.388        57.505        .58240E-04   -1.4330    
  14  norm          7.6018        7.1731        .14545E-03   -1.5156    
  15  Prefactor     .10001E-03    655.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.6578        .51287        .35847E-03   -.73435    
  17  Prefactor     .85011        .19181        .17959E-03   -.97907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53513e-09
Minuit parameter uncertainties:
  1  3.9307e-06
  2  17.3493
  3  1.24472e-05
  4  133.891
  5  2.06046e-05
  6  30.1747
  7  0.000255843
  8  0.000574216
  9  2.29256e-06
  10  17.3431
  11  2.31587
  12  6.84654e-06
  13  57.572
  14  7.17395
  15  0.00563875
  16  0.514518
  17  0.191965
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.075e-01  2.316e+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.501e-01  1.920e-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.658e+00  5.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/257469/likelihoodResults_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.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): 102
logL (Free Index) = 3769.91680507
delta logL = 0.024876168266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3769.87117543
delta logL = 0.0705058056942

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61121       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1421       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85657       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=   3769.871     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      253 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61090        1.9982        .12591E-03   -.59861E-03
   2  alpha         3.1410        1.6631        .35355E-01   -.10969E-04
   3  Normalizat    1.6198        .50907        .36187E-03    .92899E-04
   4  Prefactor     .85658        .18883        .17897E-03    .13310E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.610898
  alpha      = 3.14104
  Normalizat = 1.61979
  Prefactor  = 0.856575
 **********
 **   18 **HESSE 
 **********

 FCN=   3769.871     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61090        1.8723        .50362E-05   -1.5552    
   2  alpha         3.1410        1.5769        .14142E-02    .25931    
   3  Normalizat    1.6198        .51005        .72374E-04   -.74466    
   4  Prefactor     .85658        .18908        .35793E-04   -.97675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84055e-10
Minuit parameter uncertainties:
  1  1.87252
  2  1.71803
  3  0.511699
  4  0.189228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257469': 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) = 3769.87117508
delta logL = 0.0705061588674

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  6.109e-01  1.873e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  3.141e+00  1.718e+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:  8.566e-01  1.892e-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.620e+00  5.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 295.347 -62.175

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/257469/cmap_HighResolution_680486401_680745601_4FGL_J1941.3-6210_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-05', job_status='DONE', photon_flux_upper_limit='2.04e-07', time_completed='2022-07-29 01:42:28.423538', job_id='257469', GAL2='0.86', fit_tolerance='1e-08', EG2='1.62', EG='1.66', time_epoch_completed='1659084148.42', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='7.05e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1702' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:42:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 257469: <4FGL_J1941.3-6210_daily_bin1702> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1702> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul 29 01:30:17 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:31:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:31:03 2022
Terminated at Fri Jul 29 01:42:29 2022
Results reported at Fri Jul 29 01:42:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1702 295.347 -62.1753 680486401 680745601 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 :                                   485.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             268.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            732 sec.

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

