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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin1233
RA = 350.385, Dec = -16.3176
tmin = 558921601, tmax = 559180801
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='765169', job_status='RUN', time_executed='2021-09-29 12:07:19.791726', time_epoch_executed='1632942439.79' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='1233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/765169

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/765169/ft1_4FGL_J2321.5-1619_daily_bin1233.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/765169/ft2_4FGL_J2321.5-1619_daily_bin1233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/765169/ft1_4FGL_J2321.5-1619_daily_bin1233.fits outfile=/scratch/kocevski/765169/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1233.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=558921601.0 tmax=559180801.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.58
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/765169/ft2_4FGL_J2321.5-1619_daily_bin1233.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/765169/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1233.fits evtable="EVENTS" outfile="/scratch/kocevski/765169/ft1_filtered_4FGL_J2321.5-1619_daily_bin1233.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/765169/ft1_filtered_4FGL_J2321.5-1619_daily_bin1233.fits" evtable="EVENTS" scfile=/scratch/kocevski/765169/ft2_4FGL_J2321.5-1619_daily_bin1233.fits sctable="SC_DATA" outfile=/scratch/kocevski/765169/ltcube_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.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/765169/ft2_4FGL_J2321.5-1619_daily_bin1233.fits
.....................!
real 16.06
user 15.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/765169/ft1_filtered_4FGL_J2321.5-1619_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/765169/ft2_4FGL_J2321.5-1619_daily_bin1233.fits sctable="SC_DATA" expcube=/scratch/kocevski/765169/ltcube_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.fits outfile=/scratch/kocevski/765169/expmap_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.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/765169/ltcube_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.fits
.....................!
real 190.37
user 185.07
sys 4.94

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/765169/ft1_filtered_4FGL_J2321.5-1619_daily_bin1233.fits scfile=/scratch/kocevski/765169/ft2_4FGL_J2321.5-1619_daily_bin1233.fits outfile=/scratch/kocevski/765169/cmap_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/765169/ft1_filtered_4FGL_J2321.5-1619_daily_bin1233.fits scfile=/scratch/kocevski/765169/ft2_4FGL_J2321.5-1619_daily_bin1233.fits outfile=/scratch/kocevski/765169/cmap_HighResolution_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    49.701       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.3106       1.0000         .10000E-03   10000.    
     5 'Prefactor '    66.045       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0037       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.316       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2651       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2568       1.0000         .10000E-03   10000.    
    12 'norm      '    4.1865       1.0000         .10000E-03   10000.    
    13 'norm      '    5.9156       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.182       1.0000         .10000E-03   10000.    
    16 'Prefactor '    70.200       1.0000         .10000E-03   10000.    
    17 'Prefactor '    64.637       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11383E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    11.917       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.079       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78757       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82563       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=   5070.698     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2576 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          49.700        42.933       -.45613E-06   -.18714E-04
   2  norm          .10000E-03    .39794        .54528E-08** at limit **
   3  Prefactor     .10000E-03    34.531       -.10314E-06** at limit **
   4  norm          3.3122        1.6163       -.20630E-06    .57605E-04
   5  Prefactor     66.054        39.481        .19361E-05    .15318E-03
   6  Prefactor     6.0038        7.3117       -.11331E-06   -.64744E-05
   7  Prefactor     .10000E-03    4.5250       -.57726E-08** at limit **
   8  Prefactor     36.315        28.561        .47590E-07    .14403E-05
   9  Prefactor     .10000E-03    14.487       -.19752E-06** at limit **
  10  Prefactor     5.2631        38.199       -.10133E-06   -.21023E-05
  11  Prefactor     4.2531        4.3532        .13104E-05   -.20579E-02
  12  norm          4.1886        4.9558       -.17252E-06   -.88375E-04
  13  norm          5.9144        5.4362        .73184E-06   -.46869E-04
  14  Prefactor     .10000E-03    20.597        .18215E-07** at limit **
  15  Prefactor     23.178        16.508        .80302E-06    .13832E-03
  16  Prefactor     70.187        55.325       -.55792E-05   -.21333E-03
  17  Prefactor     64.624        51.560       -.53888E-05   -.21553E-03
  18  Prefactor     .10000E-03    176.49        .88933E-06** at limit **
  19  norm          .10000E-03    .27852       -.39173E-07** at limit **
  20  norm          11.917        5.5412        .33768E-07   -.30343E-03
  21  Prefactor     15.078        8.1991        .13344E-06   -.42167E-03
  22  Normalizat    .78778        .21061        .50442E-06   -.61969E-05
  23  Prefactor     .82547        .17548       -.11813E-06    .25859E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 49.7
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.31222
  Prefactor  = 66.0544
  Prefactor  = 6.00377
  Prefactor  = 0.0001
  Prefactor  = 36.3145
  Prefactor  = 0.0001
  Prefactor  = 5.2631
  Prefactor  = 4.25314
  norm       = 4.18862
  norm       = 5.91438
  Prefactor  = 0.0001
  Prefactor  = 23.1782
  Prefactor  = 70.1869
  Prefactor  = 64.6243
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 11.9169
  Prefactor  = 15.0776
  Normalizat = 0.787778
  Prefactor  = 0.825475
 **********
 **   18 **HESSE 
 **********

 FCN=   5070.698     FROM HESSE     STATUS=OK           370 CALLS     2946 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          49.700        42.959        .56883E-04   -1.4297    
   2  norm          .10000E-03    .41163        .87613E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.3122        1.6242        .51508E-04   -1.5344    
   5  Prefactor     66.054        39.982        .49384E-04   -1.4081    
   6  Prefactor     6.0038        7.3107        .16387E-03   -1.5218    
   7  Prefactor     .10000E-03    4.5320        .14792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.315        28.589        .66503E-04   -1.4502    
   9  Prefactor     .10000E-03    14.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2631        38.265        .17517E-03   -1.5249    
  11  Prefactor     4.2531        6.5783        .97644E-03   -1.5295    
  12  norm          4.1886        5.0917        .15836E-03   -1.5299    
  13  norm          5.9144        5.4291        .13943E-03   -1.5222    
  14  Prefactor     .10000E-03    20.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.178        16.548        .83194E-04   -1.4745    
  16  Prefactor     70.187        56.316        .47911E-04   -1.4030    
  17  Prefactor     64.624        52.026        .49916E-04   -1.4098    
  18  Prefactor     .10000E-03    176.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .35950        .68398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.917        5.2430        .51125E-03   -1.5017    
  21  Prefactor     15.078        8.2963        .51572E-03   -1.4931    
  22  Normalizat    .78778        .25018        .28279E-03   -1.0052    
  23  Prefactor     .82547        .20715        .24082E-03   -.98796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73465e-09
Minuit parameter uncertainties:
  1  42.9856
  2  8.00001e-07
  3  0.000117502
  4  1.62426
  5  39.9987
  6  7.31176
  7  6.67089e-06
  8  28.5999
  9  9.28355e-06
  10  28.4077
  11  6.57943
  12  5.09219
  13  5.42956
  14  1.8002e-05
  15  16.5516
  16  56.3589
  17  52.0631
  18  0.000449693
  19  1.18866e-06
  20  5.24319
  21  8.29689
  22  0.250543
  23  0.207346
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  5.263e+00  2.841e+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:  8.255e-01  2.073e-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.878e-01  2.505e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/765169/likelihoodResults_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.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) = 5070.69313322
delta logL = 0.0050217393391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5070.69289304
delta logL = 0.00526191468089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7931       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9877       1.0000          .0000       10.000    
     3 'Normalizat'    .78699       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82533       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=   5070.693     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      274 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7920        38.526        .18377E-03    .76898E-04
   2  Index         1.9926        1.6597        .99303E-02    .57596E-04
   3  Normalizat    .78674        .23091        .28296E-03   -.11197E-03
   4  Prefactor     .82546        .20332        .24082E-03   -.15876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.79204
  Index      = 1.9926
  Normalizat = 0.786741
  Prefactor  = 0.82546
 **********
 **   18 **HESSE 
 **********

 FCN=   5070.693     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7920        33.387        .73506E-05   -1.5270    
   2  Index         1.9926        1.5520        .39721E-03   -.64535    
   3  Normalizat    .78674        .23102        .11319E-04   -1.0056    
   4  Prefactor     .82546        .20338        .96330E-05   -.98797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25371e-10
Minuit parameter uncertainties:
  1  25.3174
  2  1.59397
  3  0.231307
  4  0.203565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/765169': 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) = 5070.69288679
delta logL = 0.00526817308855

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  4.792e+00  2.532e+01  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  1.993e+00  1.594e+00  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:  8.255e-01  2.036e-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.867e-01  2.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/765169/cmap_HighResolution_558921601_559180801_4FGL_J2321.5-1619_daily_bin1233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.73e-08', time_completed='2021-09-29 12:19:00.892579', job_id='765169', GAL2='0.83', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632943140.89', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.27e-03', ts2='0.05', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='1233' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 12:19:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 765169: <4FGL_J2321.5-1619_daily_bin1233> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2321.5-1619_daily_bin1233 350.385 -16.3176 558921601 559180801 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 :                                   564.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

