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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1106
RA = 155.996, Dec = -32.6034
tmin = 526003201, tmax = 526262401
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='865761', job_status='RUN', time_executed='2021-09-01 21:01:37.255159', time_epoch_executed='1630555297.26' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865761

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865761/ft1_4FGL_J1023.9-3236_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865761/ft1_4FGL_J1023.9-3236_daily_bin1106.fits outfile=/scratch/kocevski/865761/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1106.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=526003201.0 tmax=526262401.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.79
user 3.51
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.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/865761/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/865761/ft1_filtered_4FGL_J1023.9-3236_daily_bin1106.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865761/ft1_filtered_4FGL_J1023.9-3236_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/865761/ltcube_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.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/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.fits
.....................!
real 16.78
user 16.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865761/ft1_filtered_4FGL_J1023.9-3236_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/865761/ltcube_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.fits outfile=/scratch/kocevski/865761/expmap_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.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/865761/ltcube_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.fits
.....................!
real 191.70
user 186.20
sys 5.02

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/865761/ft1_filtered_4FGL_J1023.9-3236_daily_bin1106.fits scfile=/scratch/kocevski/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.fits outfile=/scratch/kocevski/865761/cmap_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865761/ft1_filtered_4FGL_J1023.9-3236_daily_bin1106.fits scfile=/scratch/kocevski/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.fits outfile=/scratch/kocevski/865761/cmap_HighResolution_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865761/ft1_filtered_4FGL_J1023.9-3236_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/865761/ft2_4FGL_J1023.9-3236_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865761/Model_4FGL_J1023.9-3236_daily_bin1106.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/865761/ft1_filtered_4FGL_J1023.9-3236_daily_bin1106.fits.....................!
real 87.93
user 86.33
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.7124       1.0000         .10000E-03   10000.    
     3 'norm      '    14.523       1.0000         .10000E-03   10000.    
     4 'norm      '    5.5170       1.0000         .10000E-03   10000.    
     5 'norm      '    .60592       1.0000         .10000E-03   10000.    
     6 'norm      '    13.830       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.416       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.7382       1.0000         .10000E-03   10000.    
    10 'norm      '    .25825       1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10267E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8560       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7494       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4994       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7041       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1005       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0234       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=   7645.410     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     2277 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.085       -.96671E-07** at limit **
   2  norm          3.7129        7.3610        .15160E-06   -.19421E-04
   3  norm          14.522        16.985        .25317E-06    .22863E-05
   4  norm          5.5177        12.486        .16363E-06   -.34123E-05
   5  norm          .60551        1.7151        .21950E-06   -.83622E-04
   6  norm          13.827        11.337        .97502E-09   -.17033E-04
   7  Prefactor     22.400        32.205        .31430E-05    .10696E-03
   8  Prefactor     .10000E-03    6.0678       -.22211E-06** at limit **
   9  norm          7.7358        9.4140       -.22812E-06   -.47816E-04
  10  norm          .25895        3.8791        .44598E-07   -.85964E-04
  11  norm          .10000E-03    3.5252       -.35819E-08** at limit **
  12  Prefactor     .10000E-03    13.537        .18009E-06** at limit **
  13  Prefactor     .10000E-03    7.4974        .20390E-07** at limit **
  14  norm          .10000E-03    1.6786        .44714E-07** at limit **
  15  Prefactor     .10000E-03    10.732        .62777E-07** at limit **
  16  Prefactor     7.8565        5.8382       -.21935E-06   -.14773E-03
  17  Prefactor     3.7369        13.818        .96632E-06    .20631E-04
  18  Prefactor     3.4974        6.0915        .26236E-05   -.18129E-03
  19  Prefactor     7.7066        11.994        .24797E-06   -.96838E-05
  20  Normalizat    1.1006        .25372       -.99848E-07    .19610E-04
  21  Prefactor     1.0234        .98473E-01   -.54535E-06   -.17419E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.71288
  norm       = 14.5223
  norm       = 5.51769
  norm       = 0.605512
  norm       = 13.8269
  Prefactor  = 22.4
  Prefactor  = 0.0001
  norm       = 7.73584
  norm       = 0.258949
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.85649
  Prefactor  = 3.73689
  Prefactor  = 3.49737
  Prefactor  = 7.7066
  Normalizat = 1.10058
  Prefactor  = 1.02344
 **********
 **   18 **HESSE 
 **********

 FCN=   7645.410     FROM HESSE     STATUS=OK           323 CALLS     2600 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7129        7.3463        .20959E-03   -1.5323    
   3  norm          14.522        17.012        .10510E-03   -1.4946    
   4  norm          5.5177        12.473        .17106E-03   -1.5238    
   5  norm          .60551        1.7034        .18312E-03   -1.5552    
   6  norm          13.827        11.333        .10771E-03   -1.4964    
   7  Prefactor     22.400        32.345        .84601E-04   -1.4761    
   8  Prefactor     .10000E-03    6.0792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.7358        9.4114        .14415E-03   -1.5152    
  10  norm          .25895        18.983        .33568E-02   -1.5606    
  11  norm          .10000E-03    3.5404        .16029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6948        .11054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.8565        5.8019        .14306E-03   -1.5147    
  17  Prefactor     3.7369        13.709        .20851E-03   -1.5321    
  18  Prefactor     3.4974        6.1433        .10807E-02   -1.5334    
  19  Prefactor     7.7066        11.988        .14447E-03   -1.5153    
  20  Normalizat    1.1006        .28919        .39014E-03   -.89733    
  21  Prefactor     1.0234        .11357        .16724E-03   -.91952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41212e-08
Minuit parameter uncertainties:
  1  5.89854e-06
  2  7.3481
  3  17.018
  4  12.4787
  5  1.70356
  6  11.3352
  7  32.37
  8  2.83195e-05
  9  9.41323
  10  4.4349
  11  2.97336e-07
  12  1.81278e-05
  13  2.38139e-06
  14  2.69244e-06
  15  1.43457e-05
  16  5.80234
  17  13.7207
  18  6.14441
  19  11.9922
  20  0.289604
  21  0.113595
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  1.000e-04  2.973e-07  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.023e+00  1.136e-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.101e+00  2.896e-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: 7.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/865761/likelihoodResults_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7645.41170951
delta logL = -0.00134471348429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7645.4103646
delta logL = 1.90272658074e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4004       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       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=   7645.410     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      243 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    136.44        .16242E-01** at limit **
   2  alpha         1.8946        3.4807        .16477       -.28565E-07
   3  Normalizat    1.1006        .36953E-01    .39013E-03   -.30394E-04
   4  Prefactor     1.0234        .15447E-01    .16724E-03   -.23248E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.89464
  Normalizat = 1.10057
  Prefactor  = 1.02345
 **********
 **   18 **HESSE 
 **********

 FCN=   7645.410     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.4247        .17769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8946        2.5424        .65909E-02   -.24458    
   3  Normalizat    1.1006        .26415        .15605E-04   -.89733    
   4  Prefactor     1.0234        .11052        .66897E-05   -.91952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41032e-11
Minuit parameter uncertainties:
  1  3.258e-05
  2  213.452
  3  0.264467
  4  0.110542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865761': 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) = 7645.41036202
delta logL = 2.77481649391e-06

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  1.000e-04  3.258e-05  1.000e-04  1.000e+04 ( 1.000e-12)
346        alpha:  1.895e+00  2.135e+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.023e+00  1.105e-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.101e+00  2.645e-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/865761/cmap_HighResolution_526003201_526262401_4FGL_J1023.9-3236_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.39e-05', job_status='DONE', photon_flux_upper_limit='7.75e-08', time_completed='2021-09-01 21:14:18.250809', job_id='865761', GAL2='1.02', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630556058.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.77e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1106' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:14:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 865761: <4FGL_J1023.9-3236_daily_bin1106> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1106 155.996 -32.6034 526003201 526262401 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 :                                   756.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             384.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            829 sec.

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

