aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 89 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 = 7471
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2321.5-1619_daily_bin1686
RA = 350.385, Dec = -16.3176
tmin = 676339201, tmax = 676598401
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='521890', job_status='RUN', time_executed='2022-06-11 00:48:55.480354', time_epoch_executed='1654933735.48' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/521890

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/521890/ft1_4FGL_J2321.5-1619_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/521890/ft2_4FGL_J2321.5-1619_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/521890/ft1_4FGL_J2321.5-1619_daily_bin1686.fits outfile=/scratch/kocevski/521890/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1686.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=676339201.0 tmax=676598401.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 2.80
user 2.56
sys 0.22

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

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

Number of photons that the gtmktime cut: 802

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/521890/ft1_filtered_4FGL_J2321.5-1619_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/521890/ft2_4FGL_J2321.5-1619_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/521890/ltcube_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.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/521890/ft2_4FGL_J2321.5-1619_daily_bin1686.fits
.....................!
real 14.85
user 14.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/521890/ft1_filtered_4FGL_J2321.5-1619_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/521890/ft2_4FGL_J2321.5-1619_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/521890/ltcube_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.fits outfile=/scratch/kocevski/521890/expmap_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.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/521890/ltcube_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.fits
.....................!
real 192.10
user 186.56
sys 4.97

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/521890/ft1_filtered_4FGL_J2321.5-1619_daily_bin1686.fits scfile=/scratch/kocevski/521890/ft2_4FGL_J2321.5-1619_daily_bin1686.fits outfile=/scratch/kocevski/521890/cmap_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/521890/ft1_filtered_4FGL_J2321.5-1619_daily_bin1686.fits scfile=/scratch/kocevski/521890/ft2_4FGL_J2321.5-1619_daily_bin1686.fits outfile=/scratch/kocevski/521890/cmap_HighResolution_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/521890/ft1_filtered_4FGL_J2321.5-1619_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/521890/ft2_4FGL_J2321.5-1619_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/521890/Model_4FGL_J2321.5-1619_daily_bin1686.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/521890/ft1_filtered_4FGL_J2321.5-1619_daily_bin1686.fits.....................!
real 66.35
user 65.03
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.9069       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.955       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.892       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6483       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6635       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.682       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5010       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .21481       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11308E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .65321E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .13517       1.0000         .10000E-03   10000.    
    20 'norm      '    9.5638       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93973       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90901       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=   8698.091     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2232 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.945       -.33068E-07** at limit **
   2  norm          2.9071        .99965        .23323E-07   -.94028E-04
   3  Prefactor     .10000E-03    7.6515       -.30192E-07** at limit **
   4  norm          .10000E-03    .25887       -.11467E-07** at limit **
   5  Prefactor     15.956        17.992        .19998E-06   -.14013E-04
   6  Prefactor     .10000E-03    6.1707        .13390E-07** at limit **
   7  Prefactor     15.893        9.8020        .84970E-07   -.24084E-04
   8  Prefactor     2.6485        6.1237        .55467E-06   -.13179E-03
   9  Prefactor     5.6687        62.138        .73471E-06    .53183E-06
  10  Prefactor     13.689        18.643        .12692E-06   -.31736E-04
  11  Prefactor     9.5008        6.6792        .35873E-07   -.50247E-04
  12  norm          .10000E-03    2.1065        .19544E-07** at limit **
  13  norm          .21494        1.0060        .25752E-06   -.57471E-03
  14  Prefactor     .10000E-03    86.766        .18731E-06** at limit **
  15  Prefactor     .10000E-03    5.9122        .19263E-08** at limit **
  16  Prefactor     .10000E-03    18.710       -.28428E-08** at limit **
  17  Prefactor     .10000E-03    27.162        .21214E-07** at limit **
  18  Prefactor     .10000E-03    249.06       -.46937E-05** at limit **
  19  norm          .13519        .27230        .39424E-06    .18749E-05
  20  norm          9.5647        3.9035       -.30089E-06   -.43732E-03
  21  Prefactor     .10000E-03    2.2005        .16460E-07** at limit **
  22  Normalizat    .93974        .14198       -.59068E-06   -.83611E-04
  23  Prefactor     .90896        .12839       -.36792E-07   -.94887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.90707
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.9556
  Prefactor  = 0.0001
  Prefactor  = 15.8932
  Prefactor  = 2.64853
  Prefactor  = 5.66868
  Prefactor  = 13.6886
  Prefactor  = 9.50084
  norm       = 0.0001
  norm       = 0.214945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.135189
  norm       = 9.5647
  Prefactor  = 0.0001
  Normalizat = 0.939736
  Prefactor  = 0.908961
 **********
 **   18 **HESSE 
 **********

 FCN=   8698.091     FROM HESSE     STATUS=OK           374 CALLS     2606 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9071        .99746        .52315E-04   -1.5367    
   3  Prefactor     .10000E-03    7.7022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .26275        .91810E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.956        17.822        .10027E-03   -1.4909    
   6  Prefactor     .10000E-03    6.3033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.893        9.7995        .10047E-03   -1.4910    
   8  Prefactor     2.6485        6.0764        .25051E-03   -1.5382    
   9  Prefactor     5.6687        60.813        .16879E-03   -1.5232    
  10  Prefactor     13.689        18.635        .10828E-03   -1.4968    
  11  Prefactor     9.5008        6.6040        .13001E-03   -1.5091    
  12  norm          .10000E-03    2.2024        .26402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .21494        3.7270        .17307E-02   -1.5615    
  14  Prefactor     .10000E-03    88.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.9432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    27.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    252.90        .21018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13519        .27380        .67736E-03   -1.5634    
  20  norm          9.5647        3.9259        .10417E-03   -1.5089    
  21  Prefactor     .10000E-03    2.2277        .13507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .93974        .16588        .23801E-03   -.95078    
  23  Prefactor     .90896        .15086        .22755E-03   -.95829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46626e-10
Minuit parameter uncertainties:
  1  1.08864e-05
  2  0.997463
  3  5.98801e-06
  4  3.25348e-07
  5  17.828
  6  3.23905e-06
  7  9.80044
  8  6.07785
  9  37.1819
  10  18.6424
  11  6.60449
  12  2.44147e-07
  13  1.78981
  14  0.000107617
  15  1.94592e-06
  16  2.90685e-05
  17  4.08556e-07
  18  0.00160074
  19  0.273806
  20  3.926
  21  1.81401e-06
  22  0.165975
  23  0.150934
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  1.369e+01  1.864e+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.090e-01  1.509e-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:  9.397e-01  1.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/521890/likelihoodResults_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.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) = 8697.8445778
delta logL = 0.246207373146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8697.8307277
delta logL = 0.260057477102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3891       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3778       1.0000          .0000       10.000    
     3 'Normalizat'    .92398       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91498       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8697.831     FROM MIGRAD    STATUS=FAILED       100 CALLS      300 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3684        19.784        .14755E-03   -.21420E-04
   2  Index         2.3782        1.0978        .64187E-02    .82788E-03
   3  Normalizat    .92390        .16227        .23983E-03   -.18146E-03
   4  Prefactor     .91506        .15106        .22683E-03   -.14174E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8697.831     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      374 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3684        19.784        .20409E-03   -1.5165    
   2  Index         2.3782        1.0978        .78144E-03   -.55196    
   3  Normalizat    .92390        .16227        .22427E-03   -.95625    
   4  Prefactor     .91506        .15106        .14290E-03   -.95617    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8697.831     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      405 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3684        14.419        .59019E-05   -.14640E-04
   2  Index         2.3782        .80318        .12837E-02    .49239E-05
   3  Normalizat    .92390        .16089        .95931E-05   -.14221E-05
   4  Prefactor     .91506        .15036        .90732E-05   -.10024E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.36836
  Index      = 2.3782
  Normalizat = 0.923903
  Prefactor  = 0.915065
 **********
 **   18 **HESSE 
 **********

 FCN=   8697.831     FROM HESSE     STATUS=OK            23 CALLS      428 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3684        13.758        .11804E-05   -1.5165    
   2  Index         2.3782        .76652        .51350E-04   -.55196    
   3  Normalizat    .92390        .16054        .19186E-05   -.95625    
   4  Prefactor     .91506        .15014        .18146E-05   -.95617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57302e-12
Minuit parameter uncertainties:
  1  13.7642
  2  0.770722
  3  0.160619
  4  0.150203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/521890': 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) = 8697.83072547
delta logL = 0.260059704073

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  7.368e+00  1.376e+01  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  2.378e+00  7.707e-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.151e-01  1.502e-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:  9.239e-01  1.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 350.385 -16.318
Photon Index (Free Index): 2.38 +/- 0.77
Photon Flux (Free Index): 2.52e-08 +/- 3.02e-08
Energy Flux (Free Index): 8.50e-06 +/- 9.47e-06

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/521890/cmap_HighResolution_676339201_676598401_4FGL_J2321.5-1619_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', comment='SUCCESS', energy_flux2='8.50e-06', dlogl='2.60e-01', photon_flux2='2.52e-08', job_status='DONE', time_completed='2022-06-11 01:01:06.071539', photon_index_error2='0.77', photon_index2='2.38', ts='0.77', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='4.91e-08', energy_flux_error2='9.47e-06', EG='0.94', time_epoch_completed='1654934466.07', return_code='0', job_id='521890', GAL2='0.92', EG2='0.92', return_code2='0', photon_flux_error2='3.02e-08', ts2='1.29', photon_index='1.83' WHERE bin_id='1686' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 01:01:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 521890: <4FGL_J2321.5-1619_daily_bin1686> in cluster <slac> Done

Job <4FGL_J2321.5-1619_daily_bin1686> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jun 11 00:45:20 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:47:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:47:17 2022
Terminated at Sat Jun 11 01:01:06 2022
Results reported at Sat Jun 11 01:01:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2321.5-1619_daily_bin1686 350.385 -16.3176 676339201 676598401 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 :                                   732.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            946 sec.

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

