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


Performing analysis on: 4FGL_J1941.3-6210_daily_bin754
RA = 295.347, Dec = -62.1753
tmin = 434764801, tmax = 435024001
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='95512', job_status='RUN', time_executed='2021-09-23 08:40:58.840188', time_epoch_executed='1632411658.84' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95512

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95512/ft1_4FGL_J1941.3-6210_daily_bin754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95512/ft2_4FGL_J1941.3-6210_daily_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95512/ft1_4FGL_J1941.3-6210_daily_bin754.fits outfile=/scratch/kocevski/95512/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin754.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=434764801.0 tmax=435024001.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.77
user 5.44
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95512/ft1_filtered_4FGL_J1941.3-6210_daily_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/95512/ft2_4FGL_J1941.3-6210_daily_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/95512/ltcube_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.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/95512/ft2_4FGL_J1941.3-6210_daily_bin754.fits
.....................!
real 15.53
user 15.11
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95512/ft1_filtered_4FGL_J1941.3-6210_daily_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/95512/ft2_4FGL_J1941.3-6210_daily_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/95512/ltcube_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.fits outfile=/scratch/kocevski/95512/expmap_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.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/95512/ltcube_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.fits
.....................!
real 190.43
user 185.43
sys 4.53

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/95512/ft1_filtered_4FGL_J1941.3-6210_daily_bin754.fits scfile=/scratch/kocevski/95512/ft2_4FGL_J1941.3-6210_daily_bin754.fits outfile=/scratch/kocevski/95512/cmap_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95512/ft1_filtered_4FGL_J1941.3-6210_daily_bin754.fits scfile=/scratch/kocevski/95512/ft2_4FGL_J1941.3-6210_daily_bin754.fits outfile=/scratch/kocevski/95512/cmap_HighResolution_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/95512/ft1_filtered_4FGL_J1941.3-6210_daily_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/95512/ft2_4FGL_J1941.3-6210_daily_bin754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/95512/Model_4FGL_J1941.3-6210_daily_bin754.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/95512/ft1_filtered_4FGL_J1941.3-6210_daily_bin754.fits.....................!
real 50.90
user 49.66
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.678       1.0000         .10000E-03   10000.    
     3 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    72.574       1.0000         .10000E-03   10000.    
     5 'Prefactor '    176.05       1.0000         .10000E-03   10000.    
     6 'norm      '    10.500       1.0000         .10000E-03   10000.    
     7 'Prefactor '    148.59       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14705E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0998       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8296       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.186       1.0000         .10000E-03   10000.    
    14 'norm      '    .68880E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20121E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.8107       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .75975       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=   5177.061     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1723 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.111        .37066E-06** at limit **
   2  Prefactor     15.675        18.978        .23341E-06   -.19795E-05
   3  norm          .10000E-03    4.1468       -.10095E-04** at limit **
   4  Prefactor     72.265        148.33       -.11436E-04    .30700E-04
   5  Prefactor     176.40        218.52       -.33826E-05    .19930E-04
   6  norm          10.526        26.828        .91299E-06   -.15693E-04
   7  Prefactor     148.64        106.16       -.21457E-05    .31347E-04
   8  Prefactor     .10000E-03    75.366        .14493E-06** at limit **
   9  norm          .10000E-03    6.7100        .26400E-06** at limit **
  10  Prefactor     .10000E-03    53.014        .15008E-05** at limit **
  11  norm          1.0979        2.1292        .67417E-06    .10944E-02
  12  Prefactor     3.8318        22.942        .47020E-06    .15539E-04
  13  Prefactor     10.186        5.3061        .44880E-06    .11486E-02
  14  norm          .89209E-01    1.8579        .44673E-07   -.21946E-04
  15  Prefactor     .10000E-03    207.89        .37287E-06** at limit **
  16  Normalizat    1.8108        .30928        .19920E-05   -.22778E-03
  17  Prefactor     .75980        .12548       -.26241E-05   -.84394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.6753
  norm       = 0.0001
  Prefactor  = 72.2651
  Prefactor  = 176.404
  norm       = 10.526
  Prefactor  = 148.643
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 1.09795
  Prefactor  = 3.83176
  Prefactor  = 10.1864
  norm       = 0.0892087
  Prefactor  = 0.000100001
  Normalizat = 1.81076
  Prefactor  = 0.7598
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.061     FROM HESSE     STATUS=OK           225 CALLS     1948 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.675        18.988        .10115E-03   -1.4916    
   3  norm          .10000E-03    4.1574        .14103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     72.265        148.81        .23563E-03   -1.4006    
   5  Prefactor     176.40        218.35        .15208E-03   -1.3044    
   6  norm          10.526        26.846        .12365E-03   -1.5059    
   7  Prefactor     148.64        106.06        .16531E-03   -1.3263    
   8  Prefactor     .10000E-03    75.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.7582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    55.313        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0979        2.1102        .13768E-03   -1.5498    
  12  Prefactor     3.8318        23.138        .20624E-03   -1.5316    
  13  Prefactor     10.186        5.3344        .57952E-03   -1.5070    
  14  norm          .89209E-01    16.507        .18940E-02   -1.5648    
  15  Prefactor     .10000E-03    208.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.8108        .37164        .31511E-03   -.69383    
  17  Prefactor     .75980        .15178        .19031E-03   -1.0123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31281e-08
Minuit parameter uncertainties:
  1  0.000116412
  2  18.9953
  3  9.03238e-05
  4  149.584
  5  219.361
  6  26.8767
  7  106.195
  8  7.02742e-05
  9  5.45302e-05
  10  0.000915531
  11  2.11036
  12  18.8426
  13  5.33465
  14  2.42633
  15  0.000766095
  16  0.372224
  17  0.151867
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.098e+00  2.110e+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.598e-01  1.519e-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.811e+00  3.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/95512/likelihoodResults_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.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) = 5176.75113264
delta logL = 0.309675192735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5176.71185645
delta logL = 0.348951377593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10981       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9996       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78312       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=   5176.712     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      342 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10961        4.8529        .56996E-02    .22126E-02
   2  alpha         5.0000        2.7851        .46278    ** at limit **
   3  Normalizat    1.7378        .12104        .72360E-01   -.65954E-05
   4  Prefactor     .78317        .48963E-01    .43497E-01    .20335E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.109607
  alpha      = 5
  Normalizat = 1.73776
  Prefactor  = 0.783174
 **********
 **   18 **HESSE 
 **********

 FCN=   5176.712     FROM HESSE     STATUS=OK            37 CALLS      379 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10961        .18331        .26314E-03   -1.5642    
   2  alpha         5.0000        4.5634        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.7378        .37119        .32013E-03   -.71299    
   4  Prefactor     .78317        .15141        .18770E-03   -1.0035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4342e-09
Minuit parameter uncertainties:
  1  0.183308
  2  0.000220014
  3  0.371788
  4  0.151489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95512': 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) = 5176.71185072
delta logL = 0.348957108477

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.096e-01  1.833e-01  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  5.000e+00  2.200e-04  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.832e-01  1.515e-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.738e+00  3.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.08
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.54e-08 +/- 1.25e-07
Energy Flux (Free Index): 1.01e-05 +/- 1.69e-05

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/95512/cmap_HighResolution_434764801_435024001_4FGL_J1941.3-6210_daily_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-05', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='3.49e-01', photon_flux2='7.54e-08', job_status='DONE', time_completed='2021-09-23 08:50:37.539837', photon_index_error2='0.00', photon_index2='5.00', ts='0.34', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='1.69e-05', EG='1.81', time_epoch_completed='1632412237.54', return_code='0', job_id='95512', GAL2='0.78', EG2='1.74', return_code2='0', photon_flux_error2='1.25e-07', ts2='1.08', photon_index='2.35' WHERE bin_id='754' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:50:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 95512: <4FGL_J1941.3-6210_daily_bin754> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin754 295.347 -62.1753 434764801 435024001 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 :                                   578.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             260.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            821 sec.

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

