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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin241
RA = 295.347, Dec = -62.1753
tmin = 301795201, tmax = 302054401
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='92633', job_status='RUN', time_executed='2021-09-23 08:29:52.843853', time_epoch_executed='1632410992.84' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92633

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92633/ft1_4FGL_J1941.3-6210_daily_bin241.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92633/ft2_4FGL_J1941.3-6210_daily_bin241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92633/ft1_4FGL_J1941.3-6210_daily_bin241.fits outfile=/scratch/kocevski/92633/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin241.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=301795201.0 tmax=302054401.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.40
user 3.14
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92633/ft2_4FGL_J1941.3-6210_daily_bin241.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/92633/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin241.fits evtable="EVENTS" outfile="/scratch/kocevski/92633/ft1_filtered_4FGL_J1941.3-6210_daily_bin241.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.46
user 0.31
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92633/ft1_filtered_4FGL_J1941.3-6210_daily_bin241.fits" evtable="EVENTS" scfile=/scratch/kocevski/92633/ft2_4FGL_J1941.3-6210_daily_bin241.fits sctable="SC_DATA" outfile=/scratch/kocevski/92633/ltcube_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.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/92633/ft2_4FGL_J1941.3-6210_daily_bin241.fits
.....................!
real 14.51
user 14.10
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92633/ft1_filtered_4FGL_J1941.3-6210_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/92633/ft2_4FGL_J1941.3-6210_daily_bin241.fits sctable="SC_DATA" expcube=/scratch/kocevski/92633/ltcube_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.fits outfile=/scratch/kocevski/92633/expmap_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.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/92633/ltcube_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.fits
.....................!
real 157.95
user 153.09
sys 4.15

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/92633/ft1_filtered_4FGL_J1941.3-6210_daily_bin241.fits scfile=/scratch/kocevski/92633/ft2_4FGL_J1941.3-6210_daily_bin241.fits outfile=/scratch/kocevski/92633/cmap_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.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.51
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92633/ft1_filtered_4FGL_J1941.3-6210_daily_bin241.fits scfile=/scratch/kocevski/92633/ft2_4FGL_J1941.3-6210_daily_bin241.fits outfile=/scratch/kocevski/92633/cmap_HighResolution_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.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.51
user 0.36
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92633/ft1_filtered_4FGL_J1941.3-6210_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/92633/ft2_4FGL_J1941.3-6210_daily_bin241.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92633/Model_4FGL_J1941.3-6210_daily_bin241.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/92633/ft1_filtered_4FGL_J1941.3-6210_daily_bin241.fits.....................!
real 68.91
user 67.50
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.852       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .52266E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.911       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.186       1.0000         .10000E-03   10000.    
     6 'norm      '    13.769       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.480       1.0000         .10000E-03   10000.    
    11 'norm      '    .37036       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0576       1.0000         .10000E-03   10000.    
    15 'Prefactor '    73.540       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1959       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93693       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=   10248.49     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     2268 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.820        22.644       -.86021E-06   -.20582E-03
   2  Prefactor     .10000E-03    12.633        .83231E-06** at limit **
   3  norm          .10001E-03    .35415       -.43288E-06** at limit **
   4  Prefactor     35.882        53.940        .54119E-05    .17259E-03
   5  Prefactor     22.139        76.611       -.13074E-05   -.47092E-05
   6  norm          13.769        19.554        .16958E-07   -.36798E-05
   7  Prefactor     .10000E-03    8.5028       -.41213E-07** at limit **
   8  Prefactor     .10000E-03    23.189       -.51458E-06** at limit **
   9  norm          .10000E-03    3.6020        .40010E-07** at limit **
  10  Prefactor     14.481        11.667        .55407E-08   -.21278E-04
  11  norm          .37063        1.0418        .48868E-06   -.36923E-03
  12  Prefactor     .10000E-03    14.256        .22775E-06** at limit **
  13  Prefactor     .10000E-03    .86500        .19552E-06** at limit **
  14  norm          1.0577        1.2621        .83386E-08   -.54910E-05
  15  Prefactor     73.541        86.064        .12280E-06   -.18371E-05
  16  Normalizat    1.1958        .22188       -.25651E-05    .41633E-04
  17  Prefactor     .93699        .92635E-01    .11247E-05   -.14040E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.8198
  Prefactor  = 0.000100003
  norm       = 0.000100006
  Prefactor  = 35.8816
  Prefactor  = 22.1391
  norm       = 13.7691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.4809
  norm       = 0.370625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.0577
  Prefactor  = 73.5413
  Normalizat = 1.19577
  Prefactor  = 0.936987
 **********
 **   18 **HESSE 
 **********

 FCN=   10248.49     FROM HESSE     STATUS=OK           229 CALLS     2497 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.820        19.941        .78788E-04   -1.4691    
   2  Prefactor     .10000E-03    86.579        .59405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10001E-03    2.5010        .10154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.882        56.088        .66876E-04   -1.4509    
   5  Prefactor     22.139        75.872        .85039E-04   -1.4767    
   6  norm          13.769        19.543        .10794E-03   -1.4966    
   7  Prefactor     .10000E-03    8.5063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.6367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.481        11.664        .10526E-03   -1.4947    
  11  norm          .37063        1.2164        .15295E-02   -1.5586    
  12  Prefactor     .10000E-03    14.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3623        .18239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0577        1.2618        .47783E-04   -1.5502    
  15  Prefactor     73.541        86.071        .46818E-04   -1.3991    
  16  Normalizat    1.1958        .24885        .34927E-03   -.86734    
  17  Prefactor     .93699        .10528        .16347E-03   -.94860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11274e-08
Minuit parameter uncertainties:
  1  19.9463
  2  0.00106121
  3  0.00024115
  4  56.1706
  5  76.2059
  6  19.5519
  7  1.8238e-06
  8  4.72381e-05
  9  6.76385e-08
  10  11.6654
  11  1.21647
  12  2.11677e-05
  13  4.14096e-06
  14  1.26188
  15  86.2169
  16  0.249099
  17  0.105301
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  3.706e-01  1.216e+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.370e-01  1.053e-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.196e+00  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92633/likelihoodResults_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.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): 102
logL (Free Index) = 10248.0140074
delta logL = 0.480434947465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10247.9955881
delta logL = 0.49885429725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18177       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.3227       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95309       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=   10248.00     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      224 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18142        3.2042        .94453E-02    .41934E-02
   2  alpha         4.3245        3.2962        .50000        .60146E-04
   3  Normalizat    1.1337        .46266E-01    .80753E-01    .22040E-04
   4  Prefactor     .95313        .19434E-01    .45678E-01   -.30291E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.181418
  alpha      = 4.32446
  Normalizat = 1.13365
  Prefactor  = 0.953132
 **********
 **   18 **HESSE 
 **********

 FCN=   10248.00     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      257 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18142        8.9099        .43126E-03   -1.5623    
   2  alpha         4.3245        2.7133        .48846E-01    .81801    
   3  Normalizat    1.1337        .16176        .35749E-03   -.88679    
   4  Prefactor     .95313        .68108E-01    .16219E-03   -.94308    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.88149e-10
Minuit parameter uncertainties:
  1  2.54246
  2  10.2218
  3  0.161834
  4  0.0681143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92633': 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): 102
logL (Free Index) = 10247.9955873
delta logL = 0.49885506041

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.814e-01  2.542e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  4.324e+00  1.022e+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.531e-01  6.811e-02  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.134e+00  1.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 4.32 +/- 10.22
Photon Flux (Free Index): 5.09e-08 +/- 6.10e-08
Energy Flux (Free Index): 7.38e-06 +/- 1.72e-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/92633/cmap_HighResolution_301795201_302054401_4FGL_J1941.3-6210_daily_bin241.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-05', comment='SUCCESS', energy_flux2='7.38e-06', dlogl='4.99e-01', photon_flux2='5.09e-08', job_status='DONE', time_completed='2021-09-23 08:41:53.533174', photon_index_error2='10.22', photon_index2='4.32', ts='0.10', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.72e-05', EG='1.20', time_epoch_completed='1632411713.53', return_code='0', job_id='92633', GAL2='0.95', EG2='1.13', return_code2='102', photon_flux_error2='6.10e-08', ts2='1.16', photon_index='2.35' WHERE bin_id='241' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:41:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 92633: <4FGL_J1941.3-6210_daily_bin241> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin241> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 08:26:48 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:27:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 08:27:08 2021
Terminated at Thu Sep 23 08:41:53 2021
Results reported at Thu Sep 23 08:41:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin241 295.347 -62.1753 301795201 302054401 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 :                                   718.51 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             274.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            905 sec.

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

