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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin739
RA = 295.347, Dec = -62.1753
tmin = 430876801, tmax = 431136001
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='95488', job_status='RUN', time_executed='2021-09-23 08:40:10.122360', time_epoch_executed='1632411610.12' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95488

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95488/ft1_4FGL_J1941.3-6210_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95488/ft2_4FGL_J1941.3-6210_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95488/ft1_4FGL_J1941.3-6210_daily_bin739.fits outfile=/scratch/kocevski/95488/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin739.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=430876801.0 tmax=431136001.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.51
user 5.18
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95488/ft1_filtered_4FGL_J1941.3-6210_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/95488/ft2_4FGL_J1941.3-6210_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/95488/ltcube_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.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/95488/ft2_4FGL_J1941.3-6210_daily_bin739.fits
.....................!
real 17.70
user 17.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95488/ft1_filtered_4FGL_J1941.3-6210_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/95488/ft2_4FGL_J1941.3-6210_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/95488/ltcube_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.fits outfile=/scratch/kocevski/95488/expmap_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.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/95488/ltcube_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.fits
.....................!
real 192.67
user 186.31
sys 5.30

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/95488/ft1_filtered_4FGL_J1941.3-6210_daily_bin739.fits scfile=/scratch/kocevski/95488/ft2_4FGL_J1941.3-6210_daily_bin739.fits outfile=/scratch/kocevski/95488/cmap_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.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.62
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95488/ft1_filtered_4FGL_J1941.3-6210_daily_bin739.fits scfile=/scratch/kocevski/95488/ft2_4FGL_J1941.3-6210_daily_bin739.fits outfile=/scratch/kocevski/95488/cmap_HighResolution_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.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.59
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/95488/ft1_filtered_4FGL_J1941.3-6210_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/95488/ft2_4FGL_J1941.3-6210_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/95488/Model_4FGL_J1941.3-6210_daily_bin739.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/95488/ft1_filtered_4FGL_J1941.3-6210_daily_bin739.fits.....................!
real 50.67
user 49.17
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2993       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.715       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5718       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11751E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    30.924       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.0094       1.0000         .10000E-03   10000.    
    10 'Prefactor '    57.088       1.0000         .10000E-03   10000.    
    11 'norm      '    2.5322       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.445       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10462E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3866       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72069       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=   5089.417     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     1836 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4100        348.49        .47930E-05   -.57202E-06
   2  Prefactor     12.661        52.008       -.14066E-05    .23386E-05
   3  norm          2.5700        1.3442       -.63927E-06   -.59653E-04
   4  Prefactor     .10008E-03    2139.9       -.63391E-05** at limit **
   5  Prefactor     .10000E-03    482.32        .31368E-06** at limit **
   6  norm          30.927        41.243        .15582E-06    .56178E-07
   7  Prefactor     .10001E-03    174.74       -.13097E-05** at limit **
   8  Prefactor     .10000E-03    62.705       -.37314E-06** at limit **
   9  norm          9.0099        10.549       -.34979E-07    .14705E-04
  10  Prefactor     57.089        29.636        .10554E-06   -.57446E-07
  11  norm          2.5325        2.0719        .47776E-07    .97986E-05
  12  Prefactor     .10000E-03    11.199        .13501E-07** at limit **
  13  Prefactor     10.446        5.7369        .17534E-06    .14892E-05
  14  norm          .10000E-03    1.6582        .67551E-08** at limit **
  15  Prefactor     .10000E-03    94.815        .69047E-06** at limit **
  16  Normalizat    1.3865        .30908       -.62103E-06   -.12997E-04
  17  Prefactor     .72067        .11604       -.34163E-06   -.41711E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.40998
  Prefactor  = 12.6608
  norm       = 2.57004
  Prefactor  = 0.000100081
  Prefactor  = 0.000100002
  norm       = 30.9273
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 9.00988
  Prefactor  = 57.0888
  norm       = 2.53248
  Prefactor  = 0.0001
  Prefactor  = 10.446
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.38652
  Prefactor  = 0.720672
 **********
 **   18 **HESSE 
 **********

 FCN=   5089.417     FROM HESSE     STATUS=OK           223 CALLS     2059 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4100        356.33        .27065E-03   -1.5397    
   2  Prefactor     12.661        53.221        .11234E-03   -1.4996    
   3  norm          2.5700        1.3432        .56898E-04   -1.5387    
   4  Prefactor     .10008E-03    2134.5        .36327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    482.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          30.927        41.269        .72052E-04   -1.4595    
   7  Prefactor     .10001E-03    175.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    62.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.0099        10.544        .13353E-03   -1.5108    
  10  Prefactor     57.089        29.636        .53094E-04   -1.4195    
  11  norm          2.5325        2.0666        .88904E-04   -1.5390    
  12  Prefactor     .10000E-03    11.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.446        5.7574        .60923E-03   -1.5061    
  14  norm          .10000E-03    1.6705        .89711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    94.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3865        .38084        .34695E-03   -.81019    
  17  Prefactor     .72067        .14360        .17444E-03   -1.0272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39776e-11
Minuit parameter uncertainties:
  1  58.969
  2  51.9954
  3  1.34322
  4  0.0272894
  5  0.00188152
  6  41.3068
  7  0.00195869
  8  8.56621e-05
  9  10.546
  10  29.6439
  11  2.0667
  12  4.48505e-06
  13  5.75768
  14  9.76857e-07
  15  0.000239602
  16  0.381623
  17  0.143674
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.532e+00  2.067e+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:  7.207e-01  1.437e-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.387e+00  3.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.81
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 7.55e-08 +/- 6.16e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.98e-05

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

Saving results to:
/scratch/kocevski/95488/likelihoodResults_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.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) = 5087.61087055
delta logL = 1.80622704019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5087.02088069
delta logL = 2.39621689582

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11486       1.0000         .10000E-03   10000.    
     2 'alpha     '    .48493       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4187       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72487       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=   5087.021     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      235 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11462        .14139        .53488E-02    .30555E-02
   2  alpha         .48381        .39274        .29767       -.89207E-04
   3  Normalizat    1.4184        .30214        .77598E-01   -.56864E-04
   4  Prefactor     .72502        .11429        .42731E-01   -.74245E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.114616
  alpha      = 0.483808
  Normalizat = 1.41845
  Prefactor  = 0.725024
 **********
 **   18 **HESSE 
 **********

 FCN=   5087.021     FROM HESSE     STATUS=OK            35 CALLS      270 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11462        .36951        .21363E-03   -1.5640    
   2  alpha         .48381        .84123        .13752E-01   -.93817    
   3  Normalizat    1.4184        .37224        .34343E-03   -.80097    
   4  Prefactor     .72502        .14107        .17397E-03   -1.0255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11864e-10
Minuit parameter uncertainties:
  1  0.369513
  2  0.894901
  3  0.372952
  4  0.141137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95488': 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) = 5087.02087788
delta logL = 2.39621970865

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.146e-01  3.695e-01  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  4.838e-01  8.949e-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:  7.250e-01  1.411e-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.418e+00  3.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.58
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 0.48 +/- 0.89
Photon Flux (Free Index): 7.21e-09 +/- 8.69e-09
Energy Flux (Free Index): 1.45e-04 +/- 1.88e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/95488/cmap_HighResolution_430876801_431136001_4FGL_J1941.3-6210_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-05', comment='SUCCESS', photon_flux='7.55e-08', energy_flux2='1.45e-04', photon_flux_error='6.16e-08', dlogl='2.40e+00', energy_flux='2.42e-05', photon_flux2='7.21e-09', job_status='DONE', time_completed='2021-09-23 08:49:34.183618', photon_index_error2='0.89', photon_index2='0.48', ts='2.81', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='2.17e-07', energy_flux_error2='1.88e-04', EG='1.39', time_epoch_completed='1632412174.18', return_code='0', job_id='95488', GAL2='0.73', EG2='1.42', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='8.69e-09', ts2='7.58', photon_index='2.35' WHERE bin_id='739' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:49:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 95488: <4FGL_J1941.3-6210_daily_bin739> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin739 295.347 -62.1753 430876801 431136001 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 :                                   562.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            760 sec.

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

