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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1277
RA = 350.708, Dec = -49.2725
tmin = 570326401, tmax = 570585601
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='805334', job_status='RUN', time_executed='2021-09-29 14:19:51.619650', time_epoch_executed='1632950391.62' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805334

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805334/ft1_4FGL_J2322.8-4916_daily_bin1277.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805334/ft1_4FGL_J2322.8-4916_daily_bin1277.fits outfile=/scratch/kocevski/805334/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1277.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=570326401.0 tmax=570585601.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.49
user 3.30
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.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/805334/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1277.fits evtable="EVENTS" outfile="/scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits" evtable="EVENTS" scfile=/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits sctable="SC_DATA" outfile=/scratch/kocevski/805334/ltcube_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.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/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits
.....................!
real 12.06
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits sctable="SC_DATA" expcube=/scratch/kocevski/805334/ltcube_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.fits outfile=/scratch/kocevski/805334/expmap_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.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/805334/ltcube_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.fits
.....................!
real 192.13
user 187.93
sys 3.83

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

Setting source of interest to:
4FGL J2322.8-4916 @ 350.708 -49.2725

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits scfile=/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits outfile=/scratch/kocevski/805334/cmap_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.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.708 yref=-49.2725 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits scfile=/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits outfile=/scratch/kocevski/805334/cmap_HighResolution_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.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.708 yref=-49.2725 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805334/Model_4FGL_J2322.8-4916_daily_bin1277.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/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits...!
real 13.74
user 12.46
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits', '/scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits', expMap='/scratch/kocevski/805334/expmap_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.fits', expCube='/scratch/kocevski/805334/ltcube_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/805334/Model_4FGL_J2322.8-4916_daily_bin1277.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2322.8-4916'

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.139e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
436         beta:  1.751e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
437           Eb:  2.660e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/805334/ft1_filtered_4FGL_J2322.8-4916_daily_bin1277.fits
Spacecraft file(s): /scratch/kocevski/805334/ft2_4FGL_J2322.8-4916_daily_bin1277.fits
Exposure map: /scratch/kocevski/805334/expmap_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.fits
Exposure cube: /scratch/kocevski/805334/ltcube_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/805334/Model_4FGL_J2322.8-4916_daily_bin1277.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) = 30.4326342125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .79700E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .44599E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    11 'Prefactor '    320.60       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14519E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10467E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14783E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .42091E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    18 'norm      '    .40176E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    10000.       1.0000         .10000E-03   10000.    
    20 'norm      '    .11463E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .23492E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    40.523       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .71104E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .16187E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    34 'Prefactor '    .38511E-09   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   28.57318     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     6270 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    262.55        .89562E-04** at limit **
   2  Prefactor     .10000E-03    103.33        .36210E-04** at limit **
   3  Prefactor     .10000E-03    177.80       -.10429E-03** at limit **
   4  Prefactor     .10000E-03    219.69       -.41236E-04** at limit **
   5  Prefactor     .10000E-03    38.051        .40674E-05** at limit **
   6  Prefactor     .10000E-03    21.821       -.16860E-08** at limit **
   7  Prefactor     .10033E-03    7146.5       -.33549E-03** at limit **
   8  norm          .10000E-03    98.145       -.74097E-04** at limit **
   9  Prefactor     .10000E-03    1184.6       -.26970E-05** at limit **
  10  Prefactor    10000.0        7656.6        .20155E-02** at limit **
  11  Prefactor     320.38        416.76       -.12023E-03    .94549E-05
  12  Prefactor     .10000E-03    474.52        .36127E-03** at limit **
  13  Prefactor     .10000E-03    143.52       -.80555E-05** at limit **
  14  Prefactor     .10000E-03    2240.9       -.96454E-03** at limit **
  15  Prefactor    10000.0        8687.1        .26675E-03** at limit **
  16  Prefactor     .10000E-03    7901.2       -.26762E-03** at limit **
  17  Prefactor    10000.0        9562.2        .33995E-03** at limit **
  18  norm          .10000E-03    7349.6       -.30137E-02** at limit **
  19  norm         10000.0        9493.6        .18739E-02** at limit **
  20  norm          .10000E-03    144.63       -.14480E-04** at limit **
  21  Prefactor     .10000E-03    7282.8       -.14688E-02** at limit **
  22  Prefactor     .10000E-03    1032.4       -.18751E-03** at limit **
  23  norm          40.569        77.419        .13850E-04    .70636E-04
  24  Prefactor     .10000E-03    1271.6       -.40623E-03** at limit **
  25  norm          .10000E-03    6551.7       -.25802E-03** at limit **
  26  norm          .10000E-03    37.714       -.39675E-05** at limit **
  27  Prefactor    10000.0        7847.8        .85468E-03** at limit **
  28  Prefactor     .10000E-03    115.25        .11652E-03** at limit **
  29  Prefactor     .10000E-03    277.54        .13437E-03** at limit **
  30  norm          .10000E-03    902.33       -.48750E-04** at limit **
  31  Prefactor     .10000E-03    186.69       -.10303E-03** at limit **
  32  Prefactor     .10000E-03    17.798       -.94526E-08** at limit **
  33  Normalizat    .10000E-01    .20541        .55415E-06** at limit **
  34  Prefactor     .73885E-12    .21643        .47743E-06** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010033
  norm       = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 10000
  Prefactor  = 320.382
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.000100004
  Prefactor  = 10000
  norm       = 0.0001
  norm       = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 40.5686
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 7.38853e-13
 **********
 **   18 **HESSE 
 **********

 FCN=   28.57318     FROM HESSE     STATUS=OK           698 CALLS     6968 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    262.55        .85698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    103.33        .53617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    177.80        .70422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    219.69        .78334E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.060        .32502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.821        .24606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10033E-03    7149.3        .20904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    98.133        .52244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1184.9        .18502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        7653.6        .18151E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     320.38        416.63        .11353E-03   -1.2109    
  12  Prefactor     .10000E-03    474.93        .11566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    143.52        .63232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2240.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor    10000.0        8687.1        .21305E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7901.6        .21240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor    10000.0        9561.9        .21183E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7349.6        .18444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm         10000.0        9493.8        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    144.63        .63478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7282.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1032.3        .17223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          40.569        77.405        .62969E-04   -1.4433    
  24  Prefactor     .10000E-03    1271.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    6552.1        .20971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    37.713        .32355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor    10000.0        7847.8        .19781E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    115.25        .56637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    277.54        .88134E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    902.33        .16065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    186.70        .72172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    17.798        .22221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .10000E-01    .20542        .75764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .73885E-12    .21644        .77747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77924e-10
Minuit parameter uncertainties:
  1  4.5722e-06
  2  2.30823e-06
  3  8.66352e-06
  4  1.64329e-05
  5  1.08792e-05
  6  2.4433e-06
  7  0.0821947
  8  0.000561218
  9  0.00388692
  10  0.0284837
  11  420.62
  12  0.00293804
  13  0.00043157
  14  0.00121367
  15  0.000308303
  16  0.0114206
  17  0.00944574
  18  0.000819909
  19  0.00624913
  20  0.000259311
  21  2.10893e-05
  22  0.00313123
  23  77.5978
  24  6.96087e-05
  25  0.00356428
  26  8.78418e-05
  27  0.000485457
  28  9.67588e-06
  29  5.40702e-06
  30  1.31829e-05
  31  2.51006e-05
  32  1.26687e-07
  33  7.33096e-07
  34  8.02711e-07
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e+04  6.249e-03  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
436         beta:  1.751e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
437           Eb:  2.660e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  7.389e-13  8.027e-07  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.000e-02  7.331e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.29
Ra Dec: 350.708 -49.273
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -2.19e+03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805334/likelihoodResults_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.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) = 12.4371381491
delta logL = 16.1360431003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12.4354082136
delta logL = 16.1377730358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    5.0000       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12.43541     FROM MIGRAD    STATUS=CONVERGED     11 CALLS       50 TOTAL
                     EDM=   .18E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       5.0000        .64946E-01    .18156E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  alpha      = 5
 **********
 **   18 **HESSE 
 **********

 FCN=   12.43541     FROM HESSE     STATUS=OK             5 CALLS       55 TOTAL
                     EDM=   .18E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       5.0000        .64944E-01    .40117E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79039e-16
Minuit parameter uncertainties:
  1  1.74568e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805334': 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) = 12.4354082136
delta logL = 16.1377730358

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
435        alpha:  5.000e+00  1.746e-09  0.000e+00  5.000e+00 ( 1.000e+00)
436         beta:  1.751e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
437           Eb:  2.660e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  8.534e-12  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 32.56
Ra Dec: 350.708 -49.273
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.84e-02 +/- 3.52e-10
Energy Flux (Free Index): 1.01e+01 +/- 4.94e-08

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/805334/cmap_HighResolution_570326401_570585601_4FGL_J2322.8-4916_daily_bin1277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-2.19e+03', comment='SUCCESS', energy_flux2='1.01e+01', dlogl='1.61e+01', photon_flux2='6.84e-02', job_status='DONE', time_completed='2021-09-29 14:25:41.983636', photon_index_error2='0.00', photon_index2='5.00', ts='0.29', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='4.94e-08', EG='0.01', time_epoch_completed='1632950741.98', return_code='0', job_id='805334', GAL2='0.00', EG2='0.01', return_code2='0', photon_flux_error2='3.52e-10', ts2='32.56', photon_index='1.61' WHERE bin_id='1277' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:25:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 805334: <4FGL_J2322.8-4916_daily_bin1277> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1277> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 14:15:43 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:15: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 14:15:45 2021
Terminated at Wed Sep 29 14:25:42 2021
Results reported at Wed Sep 29 14:25:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1277 350.708 -49.2725 570326401 570585601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2322.8-4916 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   338.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             176.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            599 sec.

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

