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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1318
RA = 155.996, Dec = -32.6034
tmin = 580953601, tmax = 581212801
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='866094', job_status='RUN', time_executed='2021-09-01 21:02:39.946836', time_epoch_executed='1630555359.95' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1318'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866094

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866094/ft1_4FGL_J1023.9-3236_daily_bin1318.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866094/ft1_4FGL_J1023.9-3236_daily_bin1318.fits outfile=/scratch/kocevski/866094/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1318.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=580953601.0 tmax=581212801.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 2.98
user 2.74
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits" evtable="EVENTS" scfile=/scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits sctable="SC_DATA" outfile=/scratch/kocevski/866094/ltcube_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.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/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits
.....................!
real 15.27
user 14.88
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits sctable="SC_DATA" expcube=/scratch/kocevski/866094/ltcube_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.fits outfile=/scratch/kocevski/866094/expmap_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.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/866094/ltcube_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.fits
.....................!
real 190.91
user 185.78
sys 4.66

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/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits scfile=/scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits outfile=/scratch/kocevski/866094/cmap_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits scfile=/scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits outfile=/scratch/kocevski/866094/cmap_HighResolution_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.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.57
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866094/Model_4FGL_J1023.9-3236_daily_bin1318.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/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits.....................!
real 95.94
user 94.52
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits', '/scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits', expMap='/scratch/kocevski/866094/expmap_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.fits', expCube='/scratch/kocevski/866094/ltcube_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866094/Model_4FGL_J1023.9-3236_daily_bin1318.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/866094/ft1_filtered_4FGL_J1023.9-3236_daily_bin1318.fits
Spacecraft file(s): /scratch/kocevski/866094/ft2_4FGL_J1023.9-3236_daily_bin1318.fits
Exposure map: /scratch/kocevski/866094/expmap_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.fits
Exposure cube: /scratch/kocevski/866094/ltcube_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866094/Model_4FGL_J1023.9-3236_daily_bin1318.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) = 8990.05906489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.7187       1.0000         .10000E-03   10000.    
     5 'norm      '    5.1366       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4509       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8965       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.044       1.0000         .10000E-03   10000.    
    10 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.0538       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11687E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .11724E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.731       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.5018       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .43136E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1139       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1439       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=   8989.462     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     1958 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.209        .21896E-06** at limit **
   2  norm          .10000E-03    6.3652        .18394E-06** at limit **
   3  norm          .10000E-03    6.3087       -.11437E-06** at limit **
   4  norm          7.7188        7.5502       -.31579E-07   -.12126E-03
   5  norm          5.1367        1.9480       -.13201E-07   -.32414E-04
   6  norm          2.4507        9.0363        .18348E-05   -.35798E-04
   7  Prefactor     1.8969        90.610       -.37469E-05   -.10876E-04
   8  Prefactor     .10000E-03    7.9023        .14123E-06** at limit **
   9  norm          10.040        12.368       -.11099E-05   -.28302E-04
  10  norm          .10000E-03    4.8740        .43052E-08** at limit **
  11  norm          4.0552        2.8342        .11184E-06   -.84759E-03
  12  Prefactor     .10001E-03    8.8699        .61877E-06** at limit **
  13  Prefactor     .10000E-03    7.2205       -.16733E-06** at limit **
  14  norm          .10000E-03    1.4548        .81006E-07** at limit **
  15  Prefactor     17.730        12.999       -.25317E-05   -.93014E-04
  16  Prefactor     .10000E-03    1.7370        .22985E-07** at limit **
  17  Prefactor     9.5019        10.711       -.92697E-06   -.29554E-04
  18  Prefactor     .10000E-03    3.4467        .96364E-07** at limit **
  19  Prefactor     .10000E-03    3.3760       -.54113E-08** at limit **
  20  Normalizat    1.1137        .24977        .13428E-05   -.80958E-04
  21  Prefactor     1.1439        .98366E-01   -.21373E-06   -.21063E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.7188
  norm       = 5.13674
  norm       = 2.45072
  Prefactor  = 1.89689
  Prefactor  = 0.0001
  norm       = 10.04
  norm       = 0.0001
  norm       = 4.05517
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.7302
  Prefactor  = 0.0001
  Prefactor  = 9.50189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11373
  Prefactor  = 1.14394
 **********
 **   18 **HESSE 
 **********

 FCN=   8989.462     FROM HESSE     STATUS=OK           335 CALLS     2293 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.5365        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.3499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.7188        7.5724        .72168E-03   -1.5152    
   5  norm          5.1367        1.9512        .78371E-04   -1.5255    
   6  norm          2.4507        9.0308        .26129E-03   -1.5395    
   7  Prefactor     1.8969        90.461        .30206E-03   -1.5433    
   8  Prefactor     .10000E-03    7.9273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.040        13.352        .12643E-03   -1.5074    
  10  norm          .10000E-03    4.9465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0552        10.204        .10013E-02   -1.5305    
  12  Prefactor     .10001E-03    9.5400        .85742E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.2360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    10.146        .22009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.730        13.120        .95115E-04   -1.4866    
  16  Prefactor     .10000E-03    1.7522        .12193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.5019        10.719        .13001E-03   -1.5091    
  18  Prefactor     .10000E-03    3.4620        .59798E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3855        .17013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1137        .28143        .40492E-03   -.89312    
  21  Prefactor     1.1439        .11201        .16930E-03   -.88074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81081e-09
Minuit parameter uncertainties:
  1  2.09007e-05
  2  5.4748e-06
  3  2.21781e-06
  4  7.57335
  5  1.95117
  6  9.03584
  7  26.2403
  8  4.59363e-06
  9  13.3555
  10  8.95773e-07
  11  10.2087
  12  0.0007413
  13  3.54169e-06
  14  4.01507e-05
  15  13.1218
  16  2.95957e-06
  17  10.721
  18  5.99656e-05
  19  6.80962e-07
  20  0.281805
  21  0.112036
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  4.055e+00  1.021e+01  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.144e+00  1.120e-01  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:  1.114e+00  2.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 155.996 -32.603
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866094/likelihoodResults_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.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) = 8989.39908902
delta logL = 0.0625761236024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8989.39434833
delta logL = 0.0673168125104

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8990       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9003       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1232       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1409       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=   8989.394     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      213 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 71.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8985        7.4746       -.20652E-05    .13751E-03
   2  alpha         1.9004        .78295        .17766E-04    .50612E-04
   3  Normalizat    1.1232        .23002       -.29825E-06   -.45134E-04
   4  Prefactor     1.1409        .97633E-01    .17413E-06   -.22345E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89854
  alpha      = 1.90037
  Normalizat = 1.1232
  Prefactor  = 1.14093
 **********
 **   18 **HESSE 
 **********

 FCN=   8989.394     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8985        9.4243        .18173E-03   -1.5265    
   2  alpha         1.9004        1.1972        .35861E-01   -.24221    
   3  Normalizat    1.1232        .26058        .40341E-03   -.89010    
   4  Prefactor     1.1409        .11077        .16949E-03   -.88169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.56267e-10
Minuit parameter uncertainties:
  1  9.42715
  2  1.252
  3  0.260883
  4  0.110791
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866094': 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) = 8989.39434833
delta logL = 0.0673168144876

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  4.899e+00  9.427e+00  1.000e-04  1.000e+04 ( 1.000e-12)
346        alpha:  1.900e+00  1.252e+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.141e+00  1.108e-01  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:  1.123e+00  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/866094/cmap_HighResolution_580953601_581212801_4FGL_J1023.9-3236_daily_bin1318.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-05', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-01 21:15:52.156156', job_id='866094', GAL2='1.14', fit_tolerance='1e-08', EG2='1.12', EG='1.11', time_epoch_completed='1630556152.16', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='6.73e-02', ts2='0.35', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1318' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:15:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 866094: <4FGL_J1023.9-3236_daily_bin1318> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1318> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 21:00:56 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 21:02:30 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:02:30 2021
Terminated at Wed Sep  1 21:15:52 2021
Results reported at Wed Sep  1 21:15:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1318 155.996 -32.6034 580953601 581212801 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 :                                   788.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             372.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            896 sec.

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

