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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1091
RA = 155.996, Dec = -32.6034
tmin = 522115201, tmax = 522374401
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='865738', job_status='RUN', time_executed='2021-09-01 21:04:13.021076', time_epoch_executed='1630555453.02' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1091'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865738

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865738/ft1_4FGL_J1023.9-3236_daily_bin1091.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865738/ft1_4FGL_J1023.9-3236_daily_bin1091.fits outfile=/scratch/kocevski/865738/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1091.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=522115201.0 tmax=522374401.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.09
user 2.86
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.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/865738/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1091.fits evtable="EVENTS" outfile="/scratch/kocevski/865738/ft1_filtered_4FGL_J1023.9-3236_daily_bin1091.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.45
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865738/ft1_filtered_4FGL_J1023.9-3236_daily_bin1091.fits" evtable="EVENTS" scfile=/scratch/kocevski/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.fits sctable="SC_DATA" outfile=/scratch/kocevski/865738/ltcube_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.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/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.fits
.....................!
real 11.44
user 11.10
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865738/ft1_filtered_4FGL_J1023.9-3236_daily_bin1091.fits evtable="EVENTS" scfile=/scratch/kocevski/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.fits sctable="SC_DATA" expcube=/scratch/kocevski/865738/ltcube_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.fits outfile=/scratch/kocevski/865738/expmap_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.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/865738/ltcube_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.fits
.....................!
real 155.20
user 150.94
sys 3.95

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/865738/ft1_filtered_4FGL_J1023.9-3236_daily_bin1091.fits scfile=/scratch/kocevski/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.fits outfile=/scratch/kocevski/865738/cmap_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.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.48
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865738/ft1_filtered_4FGL_J1023.9-3236_daily_bin1091.fits scfile=/scratch/kocevski/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.fits outfile=/scratch/kocevski/865738/cmap_HighResolution_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.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.49
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865738/ft1_filtered_4FGL_J1023.9-3236_daily_bin1091.fits evtable="EVENTS" scfile=/scratch/kocevski/865738/ft2_4FGL_J1023.9-3236_daily_bin1091.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865738/Model_4FGL_J1023.9-3236_daily_bin1091.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/865738/ft1_filtered_4FGL_J1023.9-3236_daily_bin1091.fits.....................!
real 79.05
user 77.91
sys 0.98

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.6644       1.0000         .10000E-03   10000.    
     3 'norm      '    4.3852       1.0000         .10000E-03   10000.    
     4 'norm      '    11.524       1.0000         .10000E-03   10000.    
     5 'norm      '    4.7020       1.0000         .10000E-03   10000.    
     6 'norm      '    22.149       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.9092       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.525       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.5767       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6160       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11106E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .80737       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0097       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=   9265.127     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2182 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.386       -.11490E-06** at limit **
   2  norm          7.6642        4.9220        .79302E-06   -.78032E-03
   3  norm          4.3863        10.052       -.59378E-07   -.57918E-04
   4  norm          11.524        7.8341       -.24767E-07    .25060E-05
   5  norm          4.7017        1.7449       -.12459E-07   -.81723E-04
   6  norm          22.149        11.740        .11599E-06    .57813E-04
   7  Prefactor     8.8745        20.963       -.61909E-06   -.43630E-04
   8  Prefactor     .10000E-03    6.8394       -.14208E-06** at limit **
   9  norm          16.525        9.2958        .55912E-07    .19970E-04
  10  norm          .10000E-03    1.6958        .92947E-08** at limit **
  11  norm          .10000E-03    3.4073        .11170E-06** at limit **
  12  Prefactor     .10000E-03    7.7020        .10457E-05** at limit **
  13  Prefactor     .10000E-03    8.1943       -.11820E-05** at limit **
  14  norm          4.5766        3.0868       -.36587E-06   -.70277E-03
  15  Prefactor     7.6123        13.441        .88472E-06    .71268E-04
  16  Prefactor     .10000E-03    1.8490       -.11012E-06** at limit **
  17  Prefactor     .10000E-03    1.9582       -.13284E-07** at limit **
  18  Prefactor     .10000E-03    2.2460       -.30961E-08** at limit **
  19  Prefactor     .10000E-03    2.4928       -.39017E-07** at limit **
  20  Normalizat    .80764        .20697        .42238E-06   -.94139E-05
  21  Prefactor     1.0096        .86172E-01   -.15567E-06    .48677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.66419
  norm       = 4.38631
  norm       = 11.5242
  norm       = 4.70173
  norm       = 22.1486
  Prefactor  = 8.87448
  Prefactor  = 0.0001
  norm       = 16.5246
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.57662
  Prefactor  = 7.61232
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.807643
  Prefactor  = 1.00955
 **********
 **   18 **HESSE 
 **********

 FCN=   9265.127     FROM HESSE     STATUS=OK           319 CALLS     2501 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.6642        5.4270        .72425E-03   -1.5154    
   3  norm          4.3863        10.089        .19233E-03   -1.5289    
   4  norm          11.524        7.8346        .11801E-03   -1.5029    
   5  norm          4.7017        1.7460        .74861E-04   -1.5274    
   6  norm          22.149        11.742        .85110E-04   -1.4766    
   7  Prefactor     8.8745        21.037        .13428E-03   -1.5112    
   8  Prefactor     .10000E-03    6.8654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.525        9.2911        .98526E-04   -1.4895    
  10  norm          .10000E-03    1.6986        .12242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.4358        .17342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.9390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.2720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5766        3.2226        .13821E-03   -1.5280    
  15  Prefactor     7.6123        13.531        .14531E-03   -1.5156    
  16  Prefactor     .10000E-03    3.5910        .24779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.9631        .13152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2982        .14086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.5037        .14841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .80764        .23577        .39598E-03   -.99786    
  21  Prefactor     1.0096        .99364E-01    .15627E-03   -.92412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83561e-10
Minuit parameter uncertainties:
  1  1.50545e-05
  2  5.42736
  3  10.093
  4  7.83534
  5  1.746
  6  11.7431
  7  21.0547
  8  1.20234e-05
  9  9.29189
  10  3.669e-07
  11  5.82447e-06
  12  8.85035e-05
  13  7.00674e-05
  14  3.22272
  15  13.5367
  16  8.58307e-05
  17  7.26201e-08
  18  1.32504e-06
  19  2.51799e-06
  20  0.236072
  21  0.0993821
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  1.000e-04  5.824e-06  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.010e+00  9.938e-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:  8.076e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/865738/likelihoodResults_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.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) = 9265.12853785
delta logL = -0.00138716194488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9265.12715077
delta logL = -7.95898813521e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4229       1.0000          .0000       5.0000    
     3 'Normalizat'    .80763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0095       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9265.127     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      250 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4489        .51023E-01** at limit **
   2  alpha         2.9293        3.8577        .16471E-01    .41415E-08
   3  Normalizat    .80764        .56980E-02    .39598E-03   -.78265E-04
   4  Prefactor     1.0096        .25083E-02    .15627E-03   -.21517E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.92927
  Normalizat = 0.807643
  Prefactor  = 1.00955
 **********
 **   18 **HESSE 
 **********

 FCN=   9265.127     FROM HESSE     STATUS=OK            31 CALLS      281 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.5668        .26278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9293        3.9610        .65882E-01    .17256    
   3  Normalizat    .80764        .22170        .15839E-04   -.99786    
   4  Prefactor     1.0096        .97680E-01    .31254E-04   -.92412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50165e-11
Minuit parameter uncertainties:
  1  1.35589e-05
  2  546.095
  3  0.221943
  4  0.0976976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865738': 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) = 9265.12715005
delta logL = 6.39040081296e-07

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  1.000e-04  1.356e-05  1.000e-04  1.000e+04 ( 1.000e-12)
346        alpha:  2.929e+00  5.461e+02  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.010e+00  9.770e-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:  8.076e-01  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/865738/cmap_HighResolution_522115201_522374401_4FGL_J1023.9-3236_daily_bin1091.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='6.35e-08', time_completed='2021-09-01 21:16:01.655726', job_id='865738', GAL2='1.01', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630556161.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1091' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:16:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 865738: <4FGL_J1023.9-3236_daily_bin1091> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1091 155.996 -32.6034 522115201 522374401 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 :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             266.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            935 sec.

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

