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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1636
RA = 295.347, Dec = -62.1753
tmin = 663379201, tmax = 663638401
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='951431', job_status='RUN', time_executed='2022-01-12 01:22:17.448769', time_epoch_executed='1641979337.45' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951431

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951431/ft1_4FGL_J1941.3-6210_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951431/ft2_4FGL_J1941.3-6210_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951431/ft1_4FGL_J1941.3-6210_daily_bin1636.fits outfile=/scratch/kocevski/951431/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1636.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=663379201.0 tmax=663638401.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.59
user 2.40
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951431/ft1_filtered_4FGL_J1941.3-6210_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/951431/ft2_4FGL_J1941.3-6210_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/951431/ltcube_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.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/951431/ft2_4FGL_J1941.3-6210_daily_bin1636.fits
.....................!
real 12.83
user 12.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951431/ft1_filtered_4FGL_J1941.3-6210_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/951431/ft2_4FGL_J1941.3-6210_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/951431/ltcube_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.fits outfile=/scratch/kocevski/951431/expmap_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.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/951431/ltcube_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.fits
.....................!
real 191.13
user 185.26
sys 5.52

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/951431/ft1_filtered_4FGL_J1941.3-6210_daily_bin1636.fits scfile=/scratch/kocevski/951431/ft2_4FGL_J1941.3-6210_daily_bin1636.fits outfile=/scratch/kocevski/951431/cmap_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.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/951431/ft1_filtered_4FGL_J1941.3-6210_daily_bin1636.fits scfile=/scratch/kocevski/951431/ft2_4FGL_J1941.3-6210_daily_bin1636.fits outfile=/scratch/kocevski/951431/cmap_HighResolution_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.315       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24951E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    235.14       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14093E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    309.19       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18919E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.3533       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7886       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .92287       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1875       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=   4537.481     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1867 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.338        40.591       -.55212E-05    .16829E-04
   2  Prefactor     .10002E-03    137.64       -.83299E-06** at limit **
   3  norm          .10000E-03    6.7885        .27951E-05** at limit **
   4  Prefactor     235.25        280.32       -.98325E-05   -.39319E-04
   5  Prefactor     .10003E-03    899.60        .32356E-05** at limit **
   6  norm          .10000E-03    51.428        .17373E-06** at limit **
   7  Prefactor     309.12        283.14        .16139E-06   -.33658E-04
   8  Prefactor     .10000E-03    347.15        .17501E-05** at limit **
   9  norm          .10000E-03    8.5290        .38854E-07** at limit **
  10  Prefactor     .10000E-03    7.3450        .22297E-07** at limit **
  11  norm          4.3533        3.1578        .64408E-07   -.30770E-04
  12  Prefactor     .10000E-03    10.038        .55566E-08** at limit **
  13  Prefactor     5.7889        5.8503        .14697E-06   -.93404E-05
  14  norm          .10000E-03    1.1523        .18910E-08** at limit **
  15  Prefactor     .10000E-03    44.010       -.84798E-08** at limit **
  16  Normalizat    .92268        .35500        .71776E-06   -.33740E-04
  17  Prefactor     1.1876        .15654       -.47451E-06   -.71494E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.338
  Prefactor  = 0.000100022
  norm       = 0.0001
  Prefactor  = 235.246
  Prefactor  = 0.000100027
  norm       = 0.0001
  Prefactor  = 309.116
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.35334
  Prefactor  = 0.0001
  Prefactor  = 5.78886
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.922684
  Prefactor  = 1.18756
 **********
 **   18 **HESSE 
 **********

 FCN=   4537.481     FROM HESSE     STATUS=OK           215 CALLS     2082 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.338        39.598        .71601E-04   -1.4588    
   2  Prefactor     .10002E-03    140.07        .42932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.3405        .34820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     235.25        286.11        .13199E-03   -1.2628    
   5  Prefactor     .10003E-03    898.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    52.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     309.12        283.08        .11554E-03   -1.2173    
   8  Prefactor     .10000E-03    347.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.5668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.3618        .17828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.3533        3.1520        .94911E-04   -1.5291    
  12  Prefactor     .10000E-03    10.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7889        5.8608        .15551E-03   -1.5227    
  14  norm          .10000E-03    1.1645        .70604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    44.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .92268        .41188        .41829E-03   -.95668    
  17  Prefactor     1.1876        .18338        .16750E-03   -.86715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28195e-10
Minuit parameter uncertainties:
  1  39.6308
  2  0.00349885
  3  0.000114104
  4  287.834
  5  0.0100594
  6  8.75032e-05
  7  284.357
  8  0.00209231
  9  1.00743e-05
  10  4.57e-06
  11  3.15212
  12  8.60311e-07
  13  5.8614
  14  9.96535e-08
  15  5.89476e-06
  16  0.413295
  17  0.183481
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  4.353e+00  3.152e+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.188e+00  1.835e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  9.227e-01  4.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.80
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 9.40e-08
Energy Flux (Fixed Index): 4.17e-05 +/- 3.02e-05

TS (Fixed Index): 2.80
Ra Dec: 295.347 -62.175
Photon Flux Upper Limit: 3.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/951431/likelihoodResults_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.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) = 4535.88465915
delta logL = 1.59649319057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4535.87487502
delta logL = 1.60627731641

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0047       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6978       1.0000          .0000       5.0000    
     3 'Normalizat'    .76014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2350       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=   4535.875     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0056        17.175        .73116E-02    .22180E-02
   2  alpha         3.6981        4.3490        .25527        .11580E-03
   3  Normalizat    .76003        .13391        .10282        .13397E-04
   4  Prefactor     1.2352        .61697E-01    .33851E-01   -.11090E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.00563
  alpha      = 3.69809
  Normalizat = 0.760033
  Prefactor  = 1.23519
 **********
 **   18 **HESSE 
 **********

 FCN=   4535.875     FROM HESSE     STATUS=OK            29 CALLS      264 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0056        2.4969        .44957E-04   -1.5425    
   2  alpha         3.6981        .94033        .11222E-02    .49979    
   3  Normalizat    .76003        .41217        .45569E-03   -1.0157    
   4  Prefactor     1.2352        .18319        .16441E-03   -.85255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49631e-10
Minuit parameter uncertainties:
  1  2.49707
  2  0.971786
  3  0.413874
  4  0.183282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951431': 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) = 4535.87487236
delta logL = 1.60627998223

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.006e+00  2.497e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  3.698e+00  9.718e-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.235e+00  1.833e-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.600e-01  4.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.30
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 3.70 +/- 0.97
Photon Flux (Free Index): 2.55e-07 +/- 1.30e-07
Energy Flux (Free Index): 4.13e-05 +/- 2.21e-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/951431/cmap_HighResolution_663379201_663638401_4FGL_J1941.3-6210_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-04', comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='4.13e-05', photon_flux_error='9.40e-08', dlogl='1.61e+00', energy_flux='4.17e-05', photon_flux2='2.55e-07', job_status='DONE', time_completed='2022-01-12 01:31:03.612688', photon_index_error2='0.97', photon_index2='3.70', ts='2.80', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='3.16e-07', energy_flux_error2='2.21e-05', EG='0.92', time_epoch_completed='1641979863.61', return_code='0', job_id='951431', GAL2='1.24', EG2='0.76', return_code2='0', energy_flux_error='3.02e-05', photon_flux_error2='1.30e-07', ts2='6.30', photon_index='2.35' WHERE bin_id='1636' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:31:03 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 951431: <4FGL_J1941.3-6210_daily_bin1636> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1636> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 12 01:15:31 2022
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:21:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:21:44 2022
Terminated at Wed Jan 12 01:31:04 2022
Results reported at Wed Jan 12 01:31:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1636 295.347 -62.1753 663379201 663638401 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 :                                   528.41 sec.
    Max Memory :                                 1031 MB
    Average Memory :                             333.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            933 sec.

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

