/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 139 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 = 7426
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin281
RA = 295.347, Dec = -62.1753
tmin = 312163201, tmax = 312422401
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='92692', job_status='RUN', time_executed='2021-09-23 08:29:42.281426', time_epoch_executed='1632410982.28' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92692

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92692/ft1_4FGL_J1941.3-6210_daily_bin281.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92692/ft2_4FGL_J1941.3-6210_daily_bin281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92692/ft1_4FGL_J1941.3-6210_daily_bin281.fits outfile=/scratch/kocevski/92692/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin281.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=312163201.0 tmax=312422401.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 3.54
user 3.31
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92692/ft1_filtered_4FGL_J1941.3-6210_daily_bin281.fits" evtable="EVENTS" scfile=/scratch/kocevski/92692/ft2_4FGL_J1941.3-6210_daily_bin281.fits sctable="SC_DATA" outfile=/scratch/kocevski/92692/ltcube_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.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/92692/ft2_4FGL_J1941.3-6210_daily_bin281.fits
.....................!
real 17.92
user 17.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92692/ft1_filtered_4FGL_J1941.3-6210_daily_bin281.fits evtable="EVENTS" scfile=/scratch/kocevski/92692/ft2_4FGL_J1941.3-6210_daily_bin281.fits sctable="SC_DATA" expcube=/scratch/kocevski/92692/ltcube_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.fits outfile=/scratch/kocevski/92692/expmap_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.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/92692/ltcube_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.fits
.....................!
real 191.30
user 185.87
sys 5.03

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/92692/ft1_filtered_4FGL_J1941.3-6210_daily_bin281.fits scfile=/scratch/kocevski/92692/ft2_4FGL_J1941.3-6210_daily_bin281.fits outfile=/scratch/kocevski/92692/cmap_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92692/ft1_filtered_4FGL_J1941.3-6210_daily_bin281.fits scfile=/scratch/kocevski/92692/ft2_4FGL_J1941.3-6210_daily_bin281.fits outfile=/scratch/kocevski/92692/cmap_HighResolution_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31380E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .55294       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11998E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    104.68       1.0000         .10000E-03   10000.    
     6 'norm      '    21.255       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.082       1.0000         .10000E-03   10000.    
     8 'Prefactor '    191.45       1.0000         .10000E-03   10000.    
     9 'norm      '    .35377       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .47994       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6718       1.0000         .10000E-03   10000.    
    14 'norm      '    4.5545       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .36058E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6546       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72248       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=   8046.153     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1648 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.772        .14494E-06** at limit **
   2  Prefactor     .10000E-03    4.3545        .39167E-07** at limit **
   3  norm          .55306        1.0253        .70293E-07   -.17413E-02
   4  Prefactor     .10000E-03    73.709       -.19553E-05** at limit **
   5  Prefactor     104.67        107.13       -.80428E-05    .71347E-06
   6  norm          21.254        18.939        .13421E-06    .30064E-04
   7  Prefactor     10.104        48.405        .31766E-04    .10945E-05
   8  Prefactor     191.39        119.80       -.38677E-04   -.30610E-05
   9  norm          .40635        5.5545       -.12082E-05   -.49228E-04
  10  Prefactor     .10000E-03    4.7018       -.27149E-06** at limit **
  11  norm          .47948        .93460       -.21785E-06   -.18317E-02
  12  Prefactor     .10000E-03    7.3743       -.39499E-06** at limit **
  13  Prefactor     3.6709        3.1980       -.86471E-07   -.45534E-03
  14  norm          4.5541        2.3051        .19189E-07    .18500E-03
  15  Prefactor     .10000E-03    253.96       -.33452E-04** at limit **
  16  Normalizat    1.6546        .22845        .30846E-07    .14124E-03
  17  Prefactor     .72249        .92993E-01    .25655E-06    .16435E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.553064
  Prefactor  = 0.000100001
  Prefactor  = 104.67
  norm       = 21.2541
  Prefactor  = 10.1036
  Prefactor  = 191.393
  norm       = 0.40635
  Prefactor  = 0.0001
  norm       = 0.479477
  Prefactor  = 0.0001
  Prefactor  = 3.67089
  norm       = 4.55412
  Prefactor  = 0.000100001
  Normalizat = 1.65461
  Prefactor  = 0.722489
 **********
 **   18 **HESSE 
 **********

 FCN=   8046.153     FROM HESSE     STATUS=OK           229 CALLS     1877 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    144.55        .61909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.3600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55306        .99563        .11337E-03   -1.5559    
   4  Prefactor     .10000E-03    73.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     104.67        106.86        .39302E-04   -1.3658    
   6  norm          21.254        18.922        .86879E-04   -1.4786    
   7  Prefactor     10.104        47.909        .12619E-03   -1.5072    
   8  Prefactor     191.39        118.76        .14595E-03   -1.2932    
   9  norm          .40635        30.752        .40367E-02   -1.5580    
  10  Prefactor     .10000E-03    4.7134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .47948        .74790        .11648E-02   -1.5569    
  12  Prefactor     .10000E-03    7.3927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6709        3.1956        .14476E-03   -1.5325    
  14  norm          4.5541        2.3075        .94361E-04   -1.5281    
  15  Prefactor     .10000E-03    257.64        .21310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.6546        .27405        .30880E-03   -.73522    
  17  Prefactor     .72249        .11253        .17981E-03   -1.0265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8934e-08
Minuit parameter uncertainties:
  1  0.00065237
  2  1.34986e-06
  3  0.995659
  4  0.0004922
  5  107.056
  6  18.9278
  7  44.06
  8  118.904
  9  7.07291
  10  3.63567e-06
  11  0.747912
  12  4.36379e-08
  13  3.19573
  14  2.30752
  15  0.00076947
  16  0.2743
  17  0.112563
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  4.795e-01  7.479e-01  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:  7.225e-01  1.126e-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.655e+00  2.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.69
Ra Dec: 295.347 -62.175
Photon Flux Upper Limit: 8.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92692/likelihoodResults_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.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) = 8046.06551299
delta logL = 0.087013246125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8046.06168798
delta logL = 0.0908382619564

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42260       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8104       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72058       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8046.062     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      248 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .42198        .71399        .11087E-02    .32040E-02
   2  alpha         1.8105        1.1270        .86659E-02   -.14725E-04
   3  Normalizat    1.6623        .27154        .30820E-03   -.77463E-06
   4  Prefactor     .72062        .11052        .18000E-03    .11368E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.421983
  alpha      = 1.81047
  Normalizat = 1.66235
  Prefactor  = 0.720617
 **********
 **   18 **HESSE 
 **********

 FCN=   8046.062     FROM HESSE     STATUS=OK            27 CALLS      275 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .42198        .70417        .22173E-03   -1.5578    
   2  alpha         1.8105        1.1135        .17332E-02   -.27944    
   3  Normalizat    1.6623        .27180        .12328E-04   -.73313    
   4  Prefactor     .72062        .11064        .72002E-05   -1.0272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84046e-12
Minuit parameter uncertainties:
  1  0.704186
  2  1.15774
  3  0.272046
  4  0.110671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92692': 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) = 8046.06168738
delta logL = 0.0908388546886

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  4.220e-01  7.042e-01  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  1.810e+00  1.158e+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:  7.206e-01  1.107e-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.662e+00  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/92692/cmap_HighResolution_312163201_312422401_4FGL_J1941.3-6210_daily_bin281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='8.31e-08', time_completed='2021-09-23 08:40:59.400919', job_id='92692', GAL2='0.72', fit_tolerance='1e-08', EG2='1.66', EG='1.65', time_epoch_completed='1632411659.4', return_code2='0', ts='0.69', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='9.08e-02', ts2='0.87', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='281' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:40:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 92692: <4FGL_J1941.3-6210_daily_bin281> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin281> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 08:26:52 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:27:16 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:27:16 2021
Terminated at Thu Sep 23 08:41:00 2021
Results reported at Thu Sep 23 08:41:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin281 295.347 -62.1753 312163201 312422401 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 :                                   677.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            848 sec.

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

