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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin1109
RA = 350.385, Dec = -16.3176
tmin = 526780801, tmax = 527040001
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='764982', job_status='RUN', time_executed='2021-09-29 12:07:30.534455', time_epoch_executed='1632942450.53' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='1109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/764982

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/764982/ft1_4FGL_J2321.5-1619_daily_bin1109.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/764982/ft1_4FGL_J2321.5-1619_daily_bin1109.fits outfile=/scratch/kocevski/764982/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1109.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=526780801.0 tmax=527040001.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 4.35
user 4.10
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.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/764982/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1109.fits evtable="EVENTS" outfile="/scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits" evtable="EVENTS" scfile=/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits sctable="SC_DATA" outfile=/scratch/kocevski/764982/ltcube_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.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/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits
.....................!
real 11.87
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits sctable="SC_DATA" expcube=/scratch/kocevski/764982/ltcube_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.fits outfile=/scratch/kocevski/764982/expmap_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.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/764982/ltcube_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.fits
.....................!
real 191.11
user 185.29
sys 5.51

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

Setting source of interest to:
4FGL J2321.5-1619 @ 350.385 -16.3176

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits scfile=/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits outfile=/scratch/kocevski/764982/cmap_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.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=350.385 yref=-16.3176 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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits scfile=/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits outfile=/scratch/kocevski/764982/cmap_HighResolution_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.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=350.385 yref=-16.3176 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/764982/Model_4FGL_J2321.5-1619_daily_bin1109.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/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits.....................!
real 40.39
user 39.11
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits', '/scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits', expMap='/scratch/kocevski/764982/expmap_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.fits', expCube='/scratch/kocevski/764982/ltcube_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/764982/Model_4FGL_J2321.5-1619_daily_bin1109.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2321.5-1619'

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  2.964e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  1.829e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/764982/ft1_filtered_4FGL_J2321.5-1619_daily_bin1109.fits
Spacecraft file(s): /scratch/kocevski/764982/ft2_4FGL_J2321.5-1619_daily_bin1109.fits
Exposure map: /scratch/kocevski/764982/expmap_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.fits
Exposure cube: /scratch/kocevski/764982/ltcube_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/764982/Model_4FGL_J2321.5-1619_daily_bin1109.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) = 3931.39000857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9345       1.0000         .10000E-03   10000.    
     2 'norm      '    .10510E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    78.585       1.0000         .10000E-03   10000.    
     4 'norm      '    4.7121       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.208       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0991       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.074       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.6859       1.0000         .10000E-03   10000.    
    12 'norm      '    13.526       1.0000         .10000E-03   10000.    
    13 'norm      '    14.527       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    95.807       1.0000         .10000E-03   10000.    
    19 'norm      '    1.4859       1.0000         .10000E-03   10000.    
    20 'norm      '    .16663E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79993       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90513       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3931.326     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2587 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9350        33.217        .10693E-05   -.18873E-04
   2  norm          .10006E-03    .65286       -.64984E-06** at limit **
   3  Prefactor     78.597        51.272        .92125E-05   -.16882E-03
   4  norm          4.7092        4.0213       -.80682E-05    .48949E-03
   5  Prefactor     28.257        57.365        .74929E-04    .18765E-04
   6  Prefactor     .10000E-03    6.8282        .57140E-05** at limit **
   7  Prefactor     .10000E-03    5.2841        .90576E-07** at limit **
   8  Prefactor     6.1015        23.178        .36677E-05   -.32189E-04
   9  Prefactor     .10000E-03    47.194        .16271E-05** at limit **
  10  Prefactor     25.066        33.285       -.97040E-05   -.95150E-06
  11  Prefactor     9.6872        12.674        .17782E-07   -.66768E-04
  12  norm          13.526        8.3901        .39118E-06   -.26940E-04
  13  norm          14.529        6.7430        .84682E-06   -.21665E-03
  14  Prefactor     .10000E-03    20.119       -.27540E-05** at limit **
  15  Prefactor     .10000E-03    7.2024       -.33988E-05** at limit **
  16  Prefactor     .10000E-03    26.606        .19376E-05** at limit **
  17  Prefactor     .10000E-03    19.572        .69485E-06** at limit **
  18  Prefactor     95.771        169.32       -.36103E-04   -.91113E-05
  19  norm          1.4853        .77280       -.52055E-07   -.31964E-02
  20  norm          .10001E-03    4.5290        .24276E-05** at limit **
  21  Prefactor     .10000E-03    6.4102       -.19488E-05** at limit **
  22  Normalizat    .79948        .24711       -.74056E-05    .10074E-03
  23  Prefactor     .90549        .20694        .20798E-05   -.11968E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.93501
  norm       = 0.000100057
  Prefactor  = 78.597
  norm       = 4.7092
  Prefactor  = 28.2568
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.10152
  Prefactor  = 0.0001
  Prefactor  = 25.0656
  Prefactor  = 9.68716
  norm       = 13.5261
  norm       = 14.5293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 95.7706
  norm       = 1.48525
  norm       = 0.000100008
  Prefactor  = 0.0001
  Normalizat = 0.799476
  Prefactor  = 0.905491
 **********
 **   18 **HESSE 
 **********

 FCN=   3931.326     FROM HESSE     STATUS=OK           370 CALLS     2957 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9350        33.209        .13409E-03   -1.5110    
   2  norm          .10006E-03    8.9865        .95961E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     78.597        52.061        .45302E-04   -1.3933    
   4  norm          4.7092        4.0954        .60707E-04   -1.5274    
   5  Prefactor     28.257        57.356        .75433E-04   -1.4644    
   6  Prefactor     .10000E-03    6.8209        .15982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2988        .14076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1015        23.210        .16257E-03   -1.5214    
   9  Prefactor     .10000E-03    47.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.066        33.309        .79998E-04   -1.4706    
  11  Prefactor     9.6872        12.660        .12876E-03   -1.5085    
  12  norm          13.526        8.3861        .10891E-03   -1.4972    
  13  norm          14.529        6.7657        .10390E-03   -1.4945    
  14  Prefactor     .10000E-03    20.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.2046        .16433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     95.771        169.66        .20532E-03   -1.3748    
  19  norm          1.4853        .73560        .36576E-04   -1.5464    
  20  norm          .10001E-03    9.1072        .24607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.4473        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .79948        .28847        .29872E-03   -1.0009    
  23  Prefactor     .90549        .24118        .24567E-03   -.95949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42969e-09
Minuit parameter uncertainties:
  1  33.2776
  2  0.00143551
  3  52.0914
  4  4.09567
  5  57.4685
  6  0.00010449
  7  4.61082e-05
  8  23.2444
  9  5.99665e-05
  10  33.3341
  11  12.6634
  12  8.38683
  13  6.76603
  14  3.31051e-05
  15  1.85134e-05
  16  0.000108418
  17  4.10421e-06
  18  170.526
  19  0.735603
  20  0.000530054
  21  2.78927e-05
  22  0.289024
  23  0.241463
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  2.507e+01  3.333e+01  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  1.829e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  9.055e-01  2.415e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.995e-01  2.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.88
Ra Dec: 350.385 -16.318
Photon Flux Upper Limit: 9.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/764982/likelihoodResults_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.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) = 3931.32466164
delta logL = 0.00145309172603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3931.32383742
delta logL = 0.002277310713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.417       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8765       1.0000          .0000       10.000    
     3 'Normalizat'    .79914       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+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=   3931.324     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      265 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.443        42.426        .82776E-04    .10048E-03
   2  Index         1.8760        .73728        .69941E-02    .28587E-03
   3  Normalizat    .79860        .27068        .29888E-03   -.13796E-03
   4  Prefactor     .90593        .23833        .24561E-03    .15619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.4428
  Index      = 1.87603
  Normalizat = 0.798603
  Prefactor  = 0.90593
 **********
 **   18 **HESSE 
 **********

 FCN=   3931.324     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.443        40.249        .16555E-04   -1.4739    
   2  Index         1.8760        .69994        .13988E-02   -.67487    
   3  Normalizat    .79860        .27080        .11955E-04   -1.0012    
   4  Prefactor     .90593        .23845        .49123E-04   -.95934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13971e-10
Minuit parameter uncertainties:
  1  40.2956
  2  0.703749
  3  0.271263
  4  0.238725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/764982': 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) = 3931.32383519
delta logL = 0.00227954343563

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  2.344e+01  4.030e+01  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  1.876e+00  7.037e-01  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  9.059e-01  2.387e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.986e-01  2.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.88
Ra Dec: 350.385 -16.318

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/764982/cmap_HighResolution_526780801_527040001_4FGL_J2321.5-1619_daily_bin1109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.86e-03', job_status='DONE', photon_flux_upper_limit='9.29e-08', time_completed='2021-09-29 12:18:22.524127', job_id='764982', GAL2='0.91', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632943102.52', return_code2='0', ts='0.88', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.28e-03', ts2='0.88', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='1109' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 12:18:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 764982: <4FGL_J2321.5-1619_daily_bin1109> in cluster <slac> Done

Job <4FGL_J2321.5-1619_daily_bin1109> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 12:05:47 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 12:05:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 12:05:50 2021
Terminated at Wed Sep 29 12:18:23 2021
Results reported at Wed Sep 29 12:18:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2321.5-1619_daily_bin1109 350.385 -16.3176 526780801 527040001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2321.5-1619 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   505.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            756 sec.

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

