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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin600
RA = 295.347, Dec = -62.1753
tmin = 394848001, tmax = 395107201
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='95287', job_status='RUN', time_executed='2021-09-23 08:39:59.369927', time_epoch_executed='1632411599.37' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95287

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95287/ft1_4FGL_J1941.3-6210_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95287/ft2_4FGL_J1941.3-6210_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95287/ft1_4FGL_J1941.3-6210_daily_bin600.fits outfile=/scratch/kocevski/95287/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin600.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=394848001.0 tmax=395107201.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.29
user 5.01
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95287/ft1_filtered_4FGL_J1941.3-6210_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/95287/ft2_4FGL_J1941.3-6210_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/95287/ltcube_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.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/95287/ft2_4FGL_J1941.3-6210_daily_bin600.fits
.....................!
real 14.47
user 14.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95287/ft1_filtered_4FGL_J1941.3-6210_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/95287/ft2_4FGL_J1941.3-6210_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/95287/ltcube_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.fits outfile=/scratch/kocevski/95287/expmap_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.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/95287/ltcube_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.fits
.....................!
real 192.37
user 186.83
sys 5.11

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/95287/ft1_filtered_4FGL_J1941.3-6210_daily_bin600.fits scfile=/scratch/kocevski/95287/ft2_4FGL_J1941.3-6210_daily_bin600.fits outfile=/scratch/kocevski/95287/cmap_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.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.59
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95287/ft1_filtered_4FGL_J1941.3-6210_daily_bin600.fits scfile=/scratch/kocevski/95287/ft2_4FGL_J1941.3-6210_daily_bin600.fits outfile=/scratch/kocevski/95287/cmap_HighResolution_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.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/95287/ft1_filtered_4FGL_J1941.3-6210_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/95287/ft2_4FGL_J1941.3-6210_daily_bin600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/95287/Model_4FGL_J1941.3-6210_daily_bin600.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/95287/ft1_filtered_4FGL_J1941.3-6210_daily_bin600.fits.....................!
real 74.21
user 72.32
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9036       1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.392       1.0000         .10000E-03   10000.    
     3 'norm      '    .76099E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    38.688       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .94971       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   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 '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3791       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93288       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=   8500.544     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     1413 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9200        47.902        .36745E-04    .20136E-04
   2  Prefactor     31.375        20.186       -.68256E-05   -.33852E-03
   3  norm          .75382E-01    .40180       -.21347E-06   -.43437E-03
   4  Prefactor     .10000E-03    80.206        .24837E-04** at limit **
   5  Prefactor     .10000E-03    30.434        .38934E-05** at limit **
   6  norm          38.689        24.674        .18462E-06   -.20371E-04
   7  Prefactor     .10000E-03    16.940        .26855E-06** at limit **
   8  Prefactor     .10000E-03    29.906       -.47149E-05** at limit **
   9  norm          .10000E-03    9.1571        .33839E-07** at limit **
  10  Prefactor     .10000E-03    10.270       -.87969E-07** at limit **
  11  norm          .94970        1.4142       -.24187E-06   -.14148E-02
  12  Prefactor     .10000E-03    4.9601        .12521E-07** at limit **
  13  Prefactor     .10000E-03    .80468        .32314E-08** at limit **
  14  norm          .10000E-03    .62443        .20656E-08** at limit **
  15  Prefactor     .10000E-03    86.230       -.23707E-04** at limit **
  16  Normalizat    1.3791        .23289        .14873E-06   -.64085E-04
  17  Prefactor     .93285        .96956E-01   -.30972E-06   -.40533E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.91996
  Prefactor  = 31.3751
  norm       = 0.0753816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 38.6895
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.9497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.37915
  Prefactor  = 0.932852
 **********
 **   18 **HESSE 
 **********

 FCN=   8500.544     FROM HESSE     STATUS=OK           219 CALLS     1632 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9200        46.619        .20421E-03   -1.5312    
   2  Prefactor     31.375        20.084        .71514E-04   -1.4587    
   3  norm          .75382E-01    1.9651        .11134E-02   -1.5653    
   4  Prefactor     .10000E-03    79.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    30.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          38.689        24.673        .64439E-04   -1.4463    
   7  Prefactor     .10000E-03    16.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    29.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.3147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .94970        1.3794        .12700E-03   -1.5513    
  12  Prefactor     .10000E-03    4.9697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .80675        .80765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .62606        .71148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    85.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3791        .28400        .34721E-03   -.81234    
  17  Prefactor     .93285        .11931        .17019E-03   -.95002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.32674e-10
Minuit parameter uncertainties:
  1  27.0627
  2  20.088
  3  0.769269
  4  7.46418e-05
  5  4.59287e-06
  6  24.6795
  7  6.53715e-06
  8  3.84366e-06
  9  3.11413e-06
  10  1.78125e-07
  11  1.37946
  12  1.39735e-06
  13  1.757e-07
  14  1.92343e-07
  15  3.50092e-05
  16  0.284321
  17  0.119339
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  9.497e-01  1.379e+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:  9.329e-01  1.193e-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.379e+00  2.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/95287/likelihoodResults_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.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) = 8500.41856182
delta logL = 0.125178977025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8500.41667304
delta logL = 0.127067760197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91191       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7884       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93607       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=   8500.417     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91185        1.2884        .10366E-03   -.10382E-02
   2  alpha         2.7884        .90768        .25393E-01   -.22423E-04
   3  Normalizat    1.3640        .28495        .34881E-03   -.91978E-04
   4  Prefactor     .93605        .11722        .16992E-03   -.21194E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.911853
  alpha      = 2.78843
  Normalizat = 1.364
  Prefactor  = 0.936047
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91185        1.2316        .41463E-05   -1.5517    
   2  alpha         2.7884        .86921        .10157E-02    .11563    
   3  Normalizat    1.3640        .28532        .13952E-04   -.81676    
   4  Prefactor     .93605        .11733        .33983E-04   -.94893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60018e-10
Minuit parameter uncertainties:
  1  1.23163
  2  0.88801
  3  0.285656
  4  0.117357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95287': 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) = 8500.41667302
delta logL = 0.12706778239

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  9.119e-01  1.232e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.788e+00  8.880e-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:  9.360e-01  1.174e-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.364e+00  2.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
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/95287/cmap_HighResolution_394848001_395107201_4FGL_J1941.3-6210_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.93e-05', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-23 08:51:21.924805', job_id='95287', GAL2='0.94', fit_tolerance='1e-08', EG2='1.36', EG='1.38', time_epoch_completed='1632412281.92', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.27e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='600' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:51:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 95287: <4FGL_J1941.3-6210_daily_bin600> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin600> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 08:36:40 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:36: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:36:49 2021
Terminated at Thu Sep 23 08:51:22 2021
Results reported at Thu Sep 23 08:51:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin600 295.347 -62.1753 394848001 395107201 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 :                                   681.33 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             236.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            882 sec.

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

