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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin1265
RA = 295.347, Dec = -62.1753
tmin = 567216001, tmax = 567475201
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='98864', job_status='RUN', time_executed='2021-09-23 08:48:50.036301', time_epoch_executed='1632412130.04' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='1265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98864

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98864/ft1_4FGL_J1941.3-6210_daily_bin1265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98864/ft2_4FGL_J1941.3-6210_daily_bin1265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98864/ft1_4FGL_J1941.3-6210_daily_bin1265.fits outfile=/scratch/kocevski/98864/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin1265.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=567216001.0 tmax=567475201.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.88
user 2.67
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98864/ft1_filtered_4FGL_J1941.3-6210_daily_bin1265.fits" evtable="EVENTS" scfile=/scratch/kocevski/98864/ft2_4FGL_J1941.3-6210_daily_bin1265.fits sctable="SC_DATA" outfile=/scratch/kocevski/98864/ltcube_567216001_567475201_4FGL_J1941.3-6210_daily_bin1265.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/98864/ft2_4FGL_J1941.3-6210_daily_bin1265.fits
.....................!
real 15.85
user 15.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98864/ft1_filtered_4FGL_J1941.3-6210_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/98864/ft2_4FGL_J1941.3-6210_daily_bin1265.fits sctable="SC_DATA" expcube=/scratch/kocevski/98864/ltcube_567216001_567475201_4FGL_J1941.3-6210_daily_bin1265.fits outfile=/scratch/kocevski/98864/expmap_567216001_567475201_4FGL_J1941.3-6210_daily_bin1265.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/98864/ltcube_567216001_567475201_4FGL_J1941.3-6210_daily_bin1265.fits
.....................!
real 192.47
user 186.33
sys 5.56

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/98864/ft1_filtered_4FGL_J1941.3-6210_daily_bin1265.fits scfile=/scratch/kocevski/98864/ft2_4FGL_J1941.3-6210_daily_bin1265.fits outfile=/scratch/kocevski/98864/cmap_567216001_567475201_4FGL_J1941.3-6210_daily_bin1265.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.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/98864/ft1_filtered_4FGL_J1941.3-6210_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/98864/ft2_4FGL_J1941.3-6210_daily_bin1265.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/98864/Model_4FGL_J1941.3-6210_daily_bin1265.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/98864/ft1_filtered_4FGL_J1941.3-6210_daily_bin1265.fits.....................!
real 75.10
user 73.60
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.886       1.0000         .10000E-03   10000.    
     3 'norm      '    15.809       1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.092       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10572E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    23.656       1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.517       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.9979       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.9514       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6289       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84063       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=   8616.876     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     1792 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.069       -.81459E-08** at limit **
   2  Prefactor     12.881        22.216        .98237E-07   -.14123E-04
   3  norm          15.802        7.2746       -.34973E-05   -.86691E-03
   4  Prefactor     43.200        293.21        .16014E-03   -.37455E-05
   5  Prefactor     .10000E-03    87.594       -.55858E-06** at limit **
   6  norm          23.655        17.373       -.53725E-06   -.92348E-05
   7  Prefactor     58.450        101.90       -.74445E-04   -.88386E-05
   8  Prefactor     .10000E-03    167.95        .26030E-05** at limit **
   9  norm          .10000E-03    10.002       -.55384E-07** at limit **
  10  Prefactor     .10000E-03    4.2380       -.11615E-07** at limit **
  11  norm          5.9979        2.0252       -.44943E-07   -.17784E-03
  12  Prefactor     8.9514        9.3673        .22217E-05   -.33250E-05
  13  Prefactor     .10000E-03    .99287       -.77377E-08** at limit **
  14  norm          .10000E-03    1.2041       -.20002E-07** at limit **
  15  Prefactor     .10000E-03    33.155       -.36699E-07** at limit **
  16  Normalizat    1.6289        .23544        .88153E-08    .24129E-04
  17  Prefactor     .84065        .10289        .52693E-06   -.51147E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.8811
  norm       = 15.8025
  Prefactor  = 43.2001
  Prefactor  = 0.0001
  norm       = 23.6552
  Prefactor  = 58.4504
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.99791
  Prefactor  = 8.95137
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.62886
  Prefactor  = 0.840647
 **********
 **   18 **HESSE 
 **********

 FCN=   8616.876     FROM HESSE     STATUS=OK           221 CALLS     2013 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.881        22.236        .11159E-03   -1.4990    
   3  norm          15.802        7.3560        .50367E-03   -1.4913    
   4  Prefactor     43.200        299.09        .61070E-04   -1.4392    
   5  Prefactor     .10000E-03    87.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          23.655        17.383        .82357E-04   -1.4735    
   7  Prefactor     58.450        101.64        .26223E-03   -1.4177    
   8  Prefactor     .10000E-03    167.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    10.474        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.2539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.9979        2.0281        .72970E-04   -1.5218    
  12  Prefactor     8.9514        9.3757        .13397E-03   -1.5110    
  13  Prefactor     .10000E-03    1.0017        .90313E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2331        .99427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.6289        .28579        .32731E-03   -.74219    
  17  Prefactor     .84065        .12502        .19034E-03   -.98247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49973e-10
Minuit parameter uncertainties:
  1  5.02593e-06
  2  22.2502
  3  7.35642
  4  228.995
  5  0.000103631
  6  17.3863
  7  101.939
  8  0.000297302
  9  1.57002e-05
  10  2.38011e-06
  11  2.02815
  12  9.3772
  13  7.75677e-07
  14  2.11419e-06
  15  4.88496e-06
  16  0.286077
  17  0.125059
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  5.998e+00  2.028e+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.406e-01  1.251e-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.629e+00  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.29
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.79e-07 +/- 6.05e-08
Energy Flux (Fixed Index): 5.74e-05 +/- 1.94e-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) = 8615.92800832
delta logL = 0.947618616401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8615.9266655
delta logL = 0.948961441662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1392       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8656       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86329       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=   8615.927     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      275 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1393        2.0112        .59655E-04    .49054E-03
   2  alpha         2.8656        .39621        .10085E-01    .23877E-03
   3  Normalizat    1.5415        .29149        .33411E-03    .78942E-05
   4  Prefactor     .86328        .12496        .18793E-03    .36296E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.13926
  alpha      = 2.86558
  Normalizat = 1.54147
  Prefactor  = 0.863283
 **********
 **   18 **HESSE 
 **********

 FCN=   8615.927     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1393        1.9631        .23862E-05   -1.5255    
   2  alpha         2.8656        .38658        .20170E-02    .14676    
   3  Normalizat    1.5415        .29172        .13364E-04   -.76620    
   4  Prefactor     .86328        .12506        .75173E-05   -.97436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12063e-11
Minuit parameter uncertainties:
  1  1.96314
  2  0.388177
  3  0.292038
  4  0.125098
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98864': 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) = 8615.9266655
delta logL = 0.948961441856

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  5.139e+00  1.963e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.866e+00  3.882e-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:  8.633e-01  1.251e-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.541e+00  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.30
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 2.87 +/- 0.39
Photon Flux (Free Index): 2.52e-07 +/- 8.74e-08
Energy Flux (Free Index): 5.44e-05 +/- 1.65e-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/98864/cmap_HighResolution_567216001_567475201_4FGL_J1941.3-6210_daily_bin1265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.79e-07', energy_flux2='5.44e-05', photon_flux_error='6.05e-08', dlogl='9.49e-01', energy_flux='5.74e-05', photon_flux2='2.52e-07', job_status='DONE', time_completed='2021-09-23 09:00:07.179971', photon_index_error2='0.39', photon_index2='2.87', ts='18.29', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='1.63', time_epoch_completed='1632412807.18', return_code='0', job_id='98864', GAL2='0.86', EG2='1.54', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='8.74e-08', ts2='20.30', photon_index='2.35' WHERE bin_id='1265' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 09:00:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 98864: <4FGL_J1941.3-6210_daily_bin1265> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin1265> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep 23 08:47:48 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:47:49 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:47:49 2021
Terminated at Thu Sep 23 09:00:07 2021
Results reported at Thu Sep 23 09:00:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin1265 295.347 -62.1753 567216001 567475201 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 :                                   658.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             315.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

