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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1340
RA = 155.996, Dec = -32.6034
tmin = 586656001, tmax = 586915201
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='867280', job_status='RUN', time_executed='2021-09-01 21:05:49.158692', time_epoch_executed='1630555549.16' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1340'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867280

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867280/ft1_4FGL_J1023.9-3236_daily_bin1340.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867280/ft1_4FGL_J1023.9-3236_daily_bin1340.fits outfile=/scratch/kocevski/867280/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1340.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=586656001.0 tmax=586915201.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.69
user 3.48
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.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/867280/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1340.fits evtable="EVENTS" outfile="/scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits" evtable="EVENTS" scfile=/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits sctable="SC_DATA" outfile=/scratch/kocevski/867280/ltcube_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.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/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits
.....................!
real 13.53
user 13.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits evtable="EVENTS" scfile=/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits sctable="SC_DATA" expcube=/scratch/kocevski/867280/ltcube_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.fits outfile=/scratch/kocevski/867280/expmap_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.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/867280/ltcube_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.fits
.....................!
real 191.98
user 187.28
sys 4.10

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1023.9-3236 @ 155.996 -32.6034

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits scfile=/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits outfile=/scratch/kocevski/867280/cmap_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.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=155.996 yref=-32.6034 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits scfile=/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits outfile=/scratch/kocevski/867280/cmap_HighResolution_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.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=155.996 yref=-32.6034 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits evtable="EVENTS" scfile=/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867280/Model_4FGL_J1023.9-3236_daily_bin1340.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/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits.....................!
real 115.54
user 114.07
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits', '/scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits', expMap='/scratch/kocevski/867280/expmap_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.fits', expCube='/scratch/kocevski/867280/ltcube_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/867280/Model_4FGL_J1023.9-3236_daily_bin1340.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1023.9-3236'

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  3.622e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
346        alpha:  2.419e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
347         beta:  1.106e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  6.383e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/867280/ft1_filtered_4FGL_J1023.9-3236_daily_bin1340.fits
Spacecraft file(s): /scratch/kocevski/867280/ft2_4FGL_J1023.9-3236_daily_bin1340.fits
Exposure map: /scratch/kocevski/867280/expmap_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.fits
Exposure cube: /scratch/kocevski/867280/ltcube_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/867280/Model_4FGL_J1023.9-3236_daily_bin1340.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) = 11673.0947706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11953E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .44219       1.0000         .10000E-03   10000.    
     3 'norm      '    .10476E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.7530       1.0000         .10000E-03   10000.    
     6 'norm      '    2.5294       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3539       1.0000         .10000E-03   10000.    
     9 'norm      '    7.5893       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1419       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.629       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.5493       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11670E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8240       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .76899       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0288       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11672.13     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     1943 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    84.577       -.10599E-05** at limit **
   2  norm          .43526        2.0205       -.62561E-06    .57678E-03
   3  norm          .10000E-03    25.252        .60411E-06** at limit **
   4  norm          .10000E-03    2.1404       -.75662E-08** at limit **
   5  norm          5.7529        1.5208       -.21076E-07    .29675E-04
   6  norm          2.5288        5.9174        .12319E-06   -.27522E-03
   7  Prefactor     .10000E-03    14.782       -.14982E-05** at limit **
   8  Prefactor     2.3657        7.5825        .14514E-05   -.11477E-05
   9  norm          7.5852        6.8523       -.53422E-07   -.85263E-04
  10  norm          .10000E-03    3.2139       -.26197E-08** at limit **
  11  norm          2.1414        2.4577       -.86317E-08   -.61309E-03
  12  Prefactor     10.623        10.443       -.26188E-06   -.26489E-04
  13  Prefactor     .10000E-03    3.4329       -.21681E-07** at limit **
  14  norm          5.5489        2.5601        .49120E-07    .10687E-04
  15  Prefactor     .10000E-03    12.691        .11324E-05** at limit **
  16  Prefactor     .10000E-03    1.3118        .65371E-07** at limit **
  17  Prefactor     5.8239        5.6160       -.29224E-05   -.21119E-04
  18  Prefactor     .10000E-03    1.1745        .10136E-09** at limit **
  19  Prefactor     .10000E-03    1.8583        .19215E-08** at limit **
  20  Normalizat    .76904        .17463        .11682E-05    .39223E-04
  21  Prefactor     1.0287        .75155E-01   -.10748E-06    .19105E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.435256
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.75294
  norm       = 2.5288
  Prefactor  = 0.0001
  Prefactor  = 2.36573
  norm       = 7.5852
  norm       = 0.0001
  norm       = 2.14145
  Prefactor  = 10.6227
  Prefactor  = 0.0001
  norm       = 5.54888
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.82389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.769036
  Prefactor  = 1.02875
 **********
 **   18 **HESSE 
 **********

 FCN=   11672.13     FROM HESSE     STATUS=OK           317 CALLS     2260 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    86.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43526        11.271        .29221E-02   -1.5576    
   3  norm          .10000E-03    26.155        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.1456        .15436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.7529        1.5224        .66178E-04   -1.5228    
   6  norm          2.5288        6.8157        .12841E-02   -1.5390    
   7  Prefactor     .10000E-03    15.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3657        7.5535        .26716E-03   -1.5400    
   9  norm          7.5852        6.8929        .72786E-03   -1.5157    
  10  norm          .10000E-03    3.3355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1414        4.4028        .14081E-02   -1.5415    
  12  Prefactor     10.623        10.446        .12290E-03   -1.5056    
  13  Prefactor     .10000E-03    3.4402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.5489        2.5562        .11192E-03   -1.5237    
  15  Prefactor     .10000E-03    12.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.3558        .24139E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8239        5.6211        .16642E-03   -1.5225    
  18  Prefactor     .10000E-03    1.1807        .11433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.8775        .14382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .76904        .19906        .39104E-03   -1.0123    
  21  Prefactor     1.0287        .86164E-01    .15237E-03   -.91777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47872e-09
Minuit parameter uncertainties:
  1  6.408e-06
  2  4.4302
  3  4.46094e-05
  4  5.29714e-08
  5  1.52244
  6  6.81784
  7  7.54333e-06
  8  7.55659
  9  6.89357
  10  6.01809e-07
  11  4.40343
  12  10.4481
  13  3.37512e-06
  14  2.55625
  15  8.77531e-06
  16  8.02125e-06
  17  5.6216
  18  4.25748e-07
  19  3.78481e-08
  20  0.199248
  21  0.0861753
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  2.141e+00  4.403e+00  1.000e-04  1.000e+04 ( 1.000e-12)
346        alpha:  2.419e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
347         beta:  1.106e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  6.383e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
620    Prefactor:  1.029e+00  8.618e-02  0.000e+00  1.000e+01 ( 1.000e+00)
621        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
622        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
619   Normalization:  7.690e-01  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 155.996 -32.603
Photon Flux Upper Limit: 6.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/867280/likelihoodResults_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.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) = 11672.0999742
delta logL = 0.0264439175153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11672.0986376
delta logL = 0.027780546694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9692       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7470       1.0000          .0000       5.0000    
     3 'Normalizat'    .76436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0298       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11672.10     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9706        190.59        .73875E-02    .12378E-02
   2  alpha         2.7473        3.6212        .41408        .47757E-04
   3  Normalizat    .76426        .61291E-01    .88541E-01    .42598E-04
   4  Prefactor     1.0298        .25541E-01    .41275E-01   -.16346E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97061
  alpha      = 2.74734
  Normalizat = 0.764257
  Prefactor  = 1.02985
 **********
 **   18 **HESSE 
 **********

 FCN=   11672.10     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9706        4.4062        .26872E-03   -1.5427    
   2  alpha         2.7473        1.4639        .45726E-01    .99099E-01
   3  Normalizat    .76426        .19238        .39217E-03   -1.0141    
   4  Prefactor     1.0298        .85494E-01    .15229E-03   -.91741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47347e-11
Minuit parameter uncertainties:
  1  4.40688
  2  1.56512
  3  0.192554
  4  0.0855054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867280': 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) = 11672.0986373
delta logL = 0.0277808495921

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  1.971e+00  4.407e+00  1.000e-04  1.000e+04 ( 1.000e-12)
346        alpha:  2.747e+00  1.565e+00  0.000e+00  5.000e+00 ( 1.000e+00)
347         beta:  1.106e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  6.383e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
620    Prefactor:  1.030e+00  8.551e-02  0.000e+00  1.000e+01 ( 1.000e+00)
621        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
622        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
619   Normalization:  7.643e-01  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 155.996 -32.603

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/867280/cmap_HighResolution_586656001_586915201_4FGL_J1023.9-3236_daily_bin1340.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-05', job_status='DONE', photon_flux_upper_limit='6.86e-08', time_completed='2021-09-01 21:21:22.866585', job_id='867280', GAL2='1.03', fit_tolerance='1e-08', EG2='0.76', EG='0.77', time_epoch_completed='1630556482.87', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.78e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1340' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:21:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 867280: <4FGL_J1023.9-3236_daily_bin1340> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1340> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 21:05:26 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 21:05:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 21:05:28 2021
Terminated at Wed Sep  1 21:21:23 2021
Results reported at Wed Sep  1 21:21:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1340 155.996 -32.6034 586656001 586915201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1023.9-3236 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   927.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

