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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1411
RA = 295.347, Dec = -62.1753
tmin = 605059201, tmax = 605318401
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='99100', job_status='RUN', time_executed='2021-09-23 08:49:08.548534', time_epoch_executed='1632412148.55' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99100/ft1_4FGL_J1941.3-6210_daily_bin1411.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99100/ft2_4FGL_J1941.3-6210_daily_bin1411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99100/ft1_4FGL_J1941.3-6210_daily_bin1411.fits outfile=/scratch/kocevski/99100/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1411.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=605059201.0 tmax=605318401.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.36
user 5.12
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/99100/ft1_filtered_4FGL_J1941.3-6210_daily_bin1411.fits" evtable="EVENTS" scfile=/scratch/kocevski/99100/ft2_4FGL_J1941.3-6210_daily_bin1411.fits sctable="SC_DATA" outfile=/scratch/kocevski/99100/ltcube_605059201_605318401_4FGL_J1941.3-6210_daily_bin1411.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/99100/ft2_4FGL_J1941.3-6210_daily_bin1411.fits
.....................!
real 13.55
user 13.15
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99100/ft1_filtered_4FGL_J1941.3-6210_daily_bin1411.fits evtable="EVENTS" scfile=/scratch/kocevski/99100/ft2_4FGL_J1941.3-6210_daily_bin1411.fits sctable="SC_DATA" expcube=/scratch/kocevski/99100/ltcube_605059201_605318401_4FGL_J1941.3-6210_daily_bin1411.fits outfile=/scratch/kocevski/99100/expmap_605059201_605318401_4FGL_J1941.3-6210_daily_bin1411.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/99100/ltcube_605059201_605318401_4FGL_J1941.3-6210_daily_bin1411.fits
.....................!
real 190.50
user 185.71
sys 4.41

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/99100/ft1_filtered_4FGL_J1941.3-6210_daily_bin1411.fits scfile=/scratch/kocevski/99100/ft2_4FGL_J1941.3-6210_daily_bin1411.fits outfile=/scratch/kocevski/99100/cmap_605059201_605318401_4FGL_J1941.3-6210_daily_bin1411.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=295.347 yref=-62.1753 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99100/ft1_filtered_4FGL_J1941.3-6210_daily_bin1411.fits scfile=/scratch/kocevski/99100/ft2_4FGL_J1941.3-6210_daily_bin1411.fits outfile=/scratch/kocevski/99100/cmap_HighResolution_605059201_605318401_4FGL_J1941.3-6210_daily_bin1411.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.56
user 0.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/99100/ft1_filtered_4FGL_J1941.3-6210_daily_bin1411.fits evtable="EVENTS" scfile=/scratch/kocevski/99100/ft2_4FGL_J1941.3-6210_daily_bin1411.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/99100/Model_4FGL_J1941.3-6210_daily_bin1411.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/99100/ft1_filtered_4FGL_J1941.3-6210_daily_bin1411.fits.....................!
real 74.40
user 73.10
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11962E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .90462E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    375.04       1.0000         .10000E-03   10000.    
     6 'norm      '    .27628E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.911       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    30.331       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.8738       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2180       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10375E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1901       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11119E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .97101       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0691       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=   8857.169     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1665 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4150       -.33149E-07** at limit **
   2  Prefactor     .10000E-03    4.9998       -.14401E-06** at limit **
   3  norm          .10004E-03    .41833       -.76315E-06** at limit **
   4  Prefactor     .10002E-03    168.77       -.18410E-04** at limit **
   5  Prefactor     374.68        165.55        .46860E-05    .17444E-03
   6  norm          .10044E-03    15.007        .16403E-05** at limit **
   7  Prefactor     22.904        30.668        .26493E-05    .22947E-03
   8  Prefactor     .10000E-03    36.788       -.76574E-06** at limit **
   9  norm          30.327        11.789       -.17178E-06   -.78998E-04
  10  Prefactor     9.8635        14.924       -.32141E-06   -.39833E-04
  11  norm          3.2179        1.6373       -.23291E-07    .20589E-03
  12  Prefactor     .10000E-03    10.514        .28696E-06** at limit **
  13  Prefactor     7.1893        3.9253       -.19213E-07    .39739E-04
  14  norm          .10000E-03    .81398        .69915E-07** at limit **
  15  Prefactor     .10000E-03    35.160       -.57321E-07** at limit **
  16  Normalizat    .97124        .27102       -.66269E-05    .51006E-03
  17  Prefactor     1.0691        .11495        .39810E-05    .82598E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100039
  Prefactor  = 0.000100018
  Prefactor  = 374.679
  norm       = 0.00010044
  Prefactor  = 22.9042
  Prefactor  = 0.0001
  norm       = 30.3271
  Prefactor  = 9.86348
  norm       = 3.21792
  Prefactor  = 0.0001
  Prefactor  = 7.18932
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.97124
  Prefactor  = 1.06908
 **********
 **   18 **HESSE 
 **********

 FCN=   8857.169     FROM HESSE     STATUS=OK           221 CALLS     1886 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.0142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10004E-03    4.6853        .10829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    172.38        .20827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     374.68        166.99        .10527E-03   -1.1812    
   6  norm          .10044E-03    108.23        .68350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.904        30.816        .83683E-04   -1.4750    
   8  Prefactor     .10000E-03    36.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          30.327        11.764        .72750E-04   -1.4606    
  10  Prefactor     9.8635        14.854        .12752E-03   -1.5080    
  11  norm          3.2179        1.6342        .81824E-04   -1.5349    
  12  Prefactor     .10000E-03    10.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1893        3.9257        .13320E-03   -1.5172    
  14  norm          .10000E-03    .81985        .82906E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    35.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .97124        .29332        .41435E-03   -.94000    
  17  Prefactor     1.0691        .12272        .16577E-03   -.90461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31118e-08
Minuit parameter uncertainties:
  1  1.41191e-05
  2  1.21964e-05
  3  0.000857145
  4  0.00355783
  5  167.204
  6  0.0138307
  7  30.8373
  8  8.94288e-07
  9  11.7651
  10  14.8599
  11  1.63423
  12  9.77091e-06
  13  3.92582
  14  3.14432e-07
  15  6.54875e-05
  16  0.293808
  17  0.122752
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.218e+00  1.634e+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.069e+00  1.228e-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.712e-01  2.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.87
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.60e-08 +/- 4.87e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 1.56e-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) = 8856.63526265
delta logL = 0.533938313707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8856.63100417
delta logL = 0.538196797701

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6480       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8563       1.0000          .0000       5.0000    
     3 'Normalizat'    .92479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0816       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=   8856.631     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      242 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6480        20.252        .62632E-02    .12684E-02
   2  alpha         2.8563        3.9211        .32830        .46719E-04
   3  Normalizat    .92479        .10338        .95574E-01    .81889E-05
   4  Prefactor     1.0816        .43173E-01    .38334E-01   -.77681E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64801
  alpha      = 2.85629
  Normalizat = 0.924794
  Prefactor  = 1.08156
 **********
 **   18 **HESSE 
 **********

 FCN=   8856.631     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6480        1.6168        .66431E-04   -1.5383    
   2  alpha         2.8563        .53558        .13417E-01    .14300    
   3  Normalizat    .92479        .29384        .42338E-03   -.95594    
   4  Prefactor     1.0816        .12202        .16486E-03   -.90058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56465e-09
Minuit parameter uncertainties:
  1  1.61681
  2  0.539854
  3  0.294355
  4  0.122049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99100': 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) = 8856.63100416
delta logL = 0.538196808355

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.648e+00  1.617e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.856e+00  5.399e-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.082e+00  1.220e-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.248e-01  2.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.01
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.86 +/- 0.54
Photon Flux (Free Index): 1.28e-07 +/- 6.21e-08
Energy Flux (Free Index): 2.79e-05 +/- 1.33e-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/99100/cmap_HighResolution_605059201_605318401_4FGL_J1941.3-6210_daily_bin1411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.60e-08', energy_flux2='2.79e-05', photon_flux_error='4.87e-08', dlogl='5.38e-01', energy_flux='3.08e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2021-09-23 09:00:16.578253', photon_index_error2='0.54', photon_index2='2.86', ts='6.87', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='0.97', time_epoch_completed='1632412816.58', return_code='0', job_id='99100', GAL2='1.08', EG2='0.92', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='6.21e-08', ts2='8.01', photon_index='2.35' WHERE bin_id='1411' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 09:00:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 99100: <4FGL_J1941.3-6210_daily_bin1411> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1411> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep 23 08:48:05 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:48:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 08:48:08 2021
Terminated at Thu Sep 23 09:00:17 2021
Results reported at Thu Sep 23 09:00:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1411 295.347 -62.1753 605059201 605318401 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 :                                   653.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            732 sec.

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

