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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin1077
RA = 350.385, Dec = -16.3176
tmin = 518486401, tmax = 518745601
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='764934', job_status='RUN', time_executed='2021-09-29 12:06:16.387863', time_epoch_executed='1632942376.39' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='1077'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/764934

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/764934/ft1_4FGL_J2321.5-1619_daily_bin1077.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/764934/ft1_4FGL_J2321.5-1619_daily_bin1077.fits outfile=/scratch/kocevski/764934/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1077.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=518486401.0 tmax=518745601.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 6.82
user 6.52
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.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/764934/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1077.fits evtable="EVENTS" outfile="/scratch/kocevski/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits" evtable="EVENTS" scfile=/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits sctable="SC_DATA" outfile=/scratch/kocevski/764934/ltcube_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.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/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits
.....................!
real 11.63
user 11.22
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits sctable="SC_DATA" expcube=/scratch/kocevski/764934/ltcube_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.fits outfile=/scratch/kocevski/764934/expmap_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.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/764934/ltcube_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.fits
.....................!
real 192.81
user 187.30
sys 5.13

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/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits scfile=/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits outfile=/scratch/kocevski/764934/cmap_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.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.83
user 0.35
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits scfile=/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits outfile=/scratch/kocevski/764934/cmap_HighResolution_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.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.52
user 0.36
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/764934/Model_4FGL_J2321.5-1619_daily_bin1077.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/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits.....................!
real 37.63
user 36.03
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits', '/scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits', expMap='/scratch/kocevski/764934/expmap_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.fits', expCube='/scratch/kocevski/764934/ltcube_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/764934/Model_4FGL_J2321.5-1619_daily_bin1077.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/764934/ft1_filtered_4FGL_J2321.5-1619_daily_bin1077.fits
Spacecraft file(s): /scratch/kocevski/764934/ft2_4FGL_J2321.5-1619_daily_bin1077.fits
Exposure map: /scratch/kocevski/764934/expmap_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.fits
Exposure cube: /scratch/kocevski/764934/ltcube_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/764934/Model_4FGL_J2321.5-1619_daily_bin1077.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) = 3823.55891513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.251       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5582       1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.097       1.0000         .10000E-03   10000.    
     4 'norm      '    .17963E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7847       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4372       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6736       1.0000         .10000E-03   10000.    
    12 'norm      '    .10155E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    14.133       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6449       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10564E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    224.35       1.0000         .10000E-03   10000.    
    18 'Prefactor '    71.432       1.0000         .10000E-03   10000.    
    19 'norm      '    2.2649       1.0000         .10000E-03   10000.    
    20 'norm      '    7.8731       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17012       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85087       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0208       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=   3823.480     FROM MIGRAD    STATUS=CONVERGED    900 CALLS     3369 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.226        42.152        .83071E-04   -.14370E-05
   2  norm          1.5587        1.0817        .34096E-04   -.58017E-04
   3  Prefactor     48.093        20.532        .57819E-04   -.82661E-04
   4  norm          .10000E-03    9.7457        .10655E-02** at limit **
   5  Prefactor     .10000E-03    112.49        .18142E-02** at limit **
   6  Prefactor     .10000E-03    10.635        .18142E-02** at limit **
   7  Prefactor     8.8221        16.106        .13524E-03   -.99616E-05
   8  Prefactor     .10000E-03    11.087        .18142E-02** at limit **
   9  Prefactor     1.8105        6261.9        .36002E-02    .18264E-04
  10  Prefactor     .10000E-03    14.238        .18142E-02** at limit **
  11  Prefactor     8.6059        29.457        .13611E-03    .15741E-03
  12  norm          .10000E-03    5.3049        .13779E-02** at limit **
  13  norm          14.138        6.3022        .98104E-04    .16514E-04
  14  Prefactor     3.6627        180.13        .21160E-03    .48356E-06
  15  Prefactor     .10001E-03    68.442        .18142E-02** at limit **
  16  Prefactor     .10000E-03    24.480        .18142E-02** at limit **
  17  Prefactor     224.30        100.24        .13505E-03    .16238E-04
  18  Prefactor     71.317        156.43        .23749E-03    .31115E-06
  19  norm          2.2649        1.0701        .37611E-04    .21310E-03
  20  norm          7.8744        6.7815        .12845E-03    .90767E-04
  21  Prefactor     .32483        101.74        .39560E-02    .57286E-04
  22  Normalizat    .85017        .31494        .29858E-03    .11537E-04
  23  Prefactor     1.0208        .26238        .24630E-03    .12464E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.2262
  norm       = 1.55874
  Prefactor  = 48.0932
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.82215
  Prefactor  = 0.0001
  Prefactor  = 1.81048
  Prefactor  = 0.0001
  Prefactor  = 8.60586
  norm       = 0.0001
  norm       = 14.1377
  Prefactor  = 3.66273
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 224.302
  Prefactor  = 71.3168
  norm       = 2.26491
  norm       = 7.87436
  Prefactor  = 0.324834
  Normalizat = 0.850168
  Prefactor  = 1.02079
 **********
 **   18 **HESSE 
 **********

 FCN=   3823.480     FROM HESSE     STATUS=OK           350 CALLS     3719 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.226        42.132        .33228E-05   -1.4744    
   2  norm          1.5587        1.0816        .13638E-05   -1.5458    
   3  Prefactor     48.093        20.419        .11564E-04   -1.4320    
   4  norm          .10000E-03    9.7623        .21311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    112.55        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.637        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8221        16.093        .54095E-05   -1.5114    
   8  Prefactor     .10000E-03    11.089        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8105        1796.7        .14401E-03   -1.5439    
  10  Prefactor     .10000E-03    14.238        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.6059        24.022        .54442E-05   -1.5121    
  12  norm          .10000E-03    5.3059        .27557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.138        6.2943        .39241E-05   -1.4956    
  14  Prefactor     3.6627        179.80        .84638E-05   -1.5325    
  15  Prefactor     .10001E-03    68.481        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.481        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     224.30        100.22        .27010E-04   -1.2701    
  18  Prefactor     71.317        156.24        .94997E-05   -1.4017    
  19  norm          2.2649        1.0702        .15044E-05   -1.5407    
  20  norm          7.8744        6.7819        .51378E-05   -1.5147    
  21  Prefactor     .32483        100.52        .15824E-03   -1.5594    
  22  Normalizat    .85017        .30889        .11943E-04   -.98234    
  23  Prefactor     1.0208        .26108        .49260E-04   -.92040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99806e-10
Minuit parameter uncertainties:
  1  42.1864
  2  1.08161
  3  20.4224
  4  0.000177297
  5  0.000249181
  6  3.80999e-05
  7  16.1013
  8  1.13608e-05
  9  117.803
  10  3.30443e-05
  11  24.0489
  12  2.97881e-05
  13  6.29463
  14  51.4886
  15  0.0019002
  16  0.000132666
  17  100.293
  18  157.154
  19  1.07016
  20  6.78255
  21  11.4461
  22  0.309535
  23  0.261405
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  3.304e-05  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:  1.021e+00  2.614e-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:  8.502e-01  3.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/764934/likelihoodResults_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.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) = 3823.48073844
delta logL = -0.000333359420438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3823.48040736
delta logL = -2.2748918127e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11444E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1622       1.0000          .0000       10.000    
     3 'Normalizat'    .85017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0208       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=   3823.480     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      275 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10346E-03    .65059        .18142E-01** at limit **
   2  Index         2.0708        5.1896        .50000        .22735E-04
   3  Normalizat    .85017        .14858E-02    .29860E-03   -.38455E-05
   4  Prefactor     1.0208        .13400E-02    .24629E-03   -.73624E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103459
  Index      = 2.07077
  Normalizat = 0.85017
  Prefactor  = 1.02079
 **********
 **   18 **HESSE 
 **********

 FCN=   3823.480     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10346E-03    46.069        .20047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0708        8.2329        .50000       -.62592    
   3  Normalizat    .85017        .12527E-01    .11944E-04   -.98234    
   4  Prefactor     1.0208        .11297E-01    .98517E-05   -.92040    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.98025e-09
Minuit parameter uncertainties:
  1  0.0252647
  2  217.059
  3  0.0125266
  4  0.0112972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/764934': 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): 102
logL (Free Index) = 3823.48040624
delta logL = -1.15491229735e-06

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  1.035e-04  2.526e-02  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  2.071e+00  2.171e+02  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:  1.021e+00  1.130e-02  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:  8.502e-01  1.253e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/764934/cmap_HighResolution_518486401_518745601_4FGL_J2321.5-1619_daily_bin1077.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-03', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2021-09-29 12:16:03.244756', job_id='764934', GAL2='1.02', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632942963.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='1077' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 12:16:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 764934: <4FGL_J2321.5-1619_daily_bin1077> in cluster <slac> Done

Job <4FGL_J2321.5-1619_daily_bin1077> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 12:05:43 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 12:05:45 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:45 2021
Terminated at Wed Sep 29 12:16:04 2021
Results reported at Wed Sep 29 12:16:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2321.5-1619_daily_bin1077 350.385 -16.3176 518486401 518745601 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 :                                   551.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            621 sec.

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

