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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1260
RA = 350.708, Dec = -49.2725
tmin = 565920001, tmax = 566179201
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='805309', job_status='RUN', time_executed='2021-09-29 14:18:51.148231', time_epoch_executed='1632950331.15' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805309

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805309/ft1_4FGL_J2322.8-4916_daily_bin1260.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805309/ft1_4FGL_J2322.8-4916_daily_bin1260.fits outfile=/scratch/kocevski/805309/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1260.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=565920001.0 tmax=566179201.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.61
user 3.37
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits" evtable="EVENTS" scfile=/scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits sctable="SC_DATA" outfile=/scratch/kocevski/805309/ltcube_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.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/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits
.....................!
real 11.58
user 11.17
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits sctable="SC_DATA" expcube=/scratch/kocevski/805309/ltcube_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.fits outfile=/scratch/kocevski/805309/expmap_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.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/805309/ltcube_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.fits
.....................!
real 194.48
user 188.63
sys 5.53

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/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits scfile=/scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits outfile=/scratch/kocevski/805309/cmap_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits scfile=/scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits outfile=/scratch/kocevski/805309/cmap_HighResolution_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805309/Model_4FGL_J2322.8-4916_daily_bin1260.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/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits.....................!
real 31.02
user 29.74
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits', '/scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits', expMap='/scratch/kocevski/805309/expmap_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.fits', expCube='/scratch/kocevski/805309/ltcube_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/805309/Model_4FGL_J2322.8-4916_daily_bin1260.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/805309/ft1_filtered_4FGL_J2322.8-4916_daily_bin1260.fits
Spacecraft file(s): /scratch/kocevski/805309/ft2_4FGL_J2322.8-4916_daily_bin1260.fits
Exposure map: /scratch/kocevski/805309/expmap_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.fits
Exposure cube: /scratch/kocevski/805309/ltcube_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/805309/Model_4FGL_J2322.8-4916_daily_bin1260.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) = 3493.08805738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1245       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11600E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    264.05       1.0000         .10000E-03   10000.    
     8 'norm      '    .11571E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4660       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.803       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19283E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.365       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16900E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    54.537       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3289       1.0000         .10000E-03   10000.    
    18 'norm      '    11.367       1.0000         .10000E-03   10000.    
    19 'norm      '    1.2914       1.0000         .10000E-03   10000.    
    20 'norm      '    4.8843       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11170E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    11.395       1.0000         .10000E-03   10000.    
    24 'Prefactor '    26.298       1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.4151       1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.228       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .11782E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    13.238       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .43580       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .91674       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .78255       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=   3492.973     FROM MIGRAD    STATUS=CONVERGED    910 CALLS     4896 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    88.100       -.93421E-06** at limit **
   2  Prefactor     .10000E-03    15.490       -.44291E-06** at limit **
   3  Prefactor     4.7750        52.347        .11282E-06    .63728E-05
   4  Prefactor     5.1261        11.609        .34336E-06    .43983E-04
   5  Prefactor     .10000E-03    12.691       -.10732E-05** at limit **
   6  Prefactor     .10000E-03    3.0485       -.15419E-06** at limit **
   7  Prefactor     264.51        191.77       -.56113E-06    .10997E-04
   8  norm          .10000E-03    7.3039        .20298E-05** at limit **
   9  Prefactor     7.4665        5.2997        .14549E-06    .21772E-03
  10  Prefactor     10.793        42.953        .11640E-05    .30867E-04
  11  Prefactor     .10041E-03    5.6238       -.21153E-05** at limit **
  12  Prefactor     27.364        31.317       -.65377E-06   -.31106E-04
  13  Prefactor     .10000E-03    8.7341        .56011E-06** at limit **
  14  Prefactor     .10000E-03    38.852        .21678E-06** at limit **
  15  Prefactor     .10001E-03    7.0977       -.14250E-05** at limit **
  16  Prefactor     54.593        51.282       -.48612E-06    .55228E-05
  17  Prefactor     2.3252        43.862        .24394E-05    .45378E-04
  18  norm          11.367        11.225       -.10889E-07   -.37608E-05
  19  norm          1.2926        6.5726        .15435E-05    .20435E-03
  20  norm          4.8846        5.3817       -.77816E-07   -.21613E-04
  21  Prefactor     .10000E-03    16.064        .11922E-05** at limit **
  22  Prefactor     .10000E-03    10.605       -.97199E-07** at limit **
  23  norm          11.395        6.2872        .17714E-06    .92374E-04
  24  Prefactor     26.303        21.779        .25465E-06    .69823E-05
  25  norm          .10000E-03    .36993        .49187E-07** at limit **
  26  norm          3.4159        4.1907        .54486E-07    .32756E-04
  27  Prefactor     20.225        18.631        .13989E-06    .22662E-04
  28  Prefactor     .10000E-03    3.6246       -.74199E-06** at limit **
  29  Prefactor     .10000E-03    15.793       -.38460E-06** at limit **
  30  norm          .10000E-03    11.196       -.75512E-07** at limit **
  31  Prefactor     13.238        7.4793        .96105E-06    .66752E-03
  32  Prefactor     .43739        3.7598        .18562E-05    .38192E-03
  33  Normalizat    .91703        .23279       -.28660E-05    .14163E-03
  34  Prefactor     .78216        .23544        .19648E-05    .99524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.77501
  Prefactor  = 5.12605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 264.51
  norm       = 0.000100001
  Prefactor  = 7.46646
  Prefactor  = 10.7929
  Prefactor  = 0.000100409
  Prefactor  = 27.3642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 54.5934
  Prefactor  = 2.3252
  norm       = 11.3673
  norm       = 1.29261
  norm       = 4.8846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3951
  Prefactor  = 26.3025
  norm       = 0.0001
  norm       = 3.41586
  Prefactor  = 20.2255
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.2378
  Prefactor  = 0.437385
  Normalizat = 0.91703
  Prefactor  = 0.782161
 **********
 **   18 **HESSE 
 **********

 FCN=   3492.973     FROM HESSE     STATUS=OK           736 CALLS     5632 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    88.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7750        52.145        .18427E-03   -1.5271    
   4  Prefactor     5.1261        11.597        .17760E-03   -1.5255    
   5  Prefactor     .10000E-03    12.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0518        .10078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     264.51        191.50        .12474E-03   -1.2441    
   8  norm          .10000E-03    7.4282        .15697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4665        5.2943        .10869E-03   -1.5161    
  10  Prefactor     10.793        42.927        .12189E-03   -1.5051    
  11  Prefactor     .10041E-03    31.612        .21283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.364        31.322        .76583E-04   -1.4661    
  13  Prefactor     .10000E-03    8.8062        .17066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    16.926        .28900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     54.593        51.210        .27158E-03   -1.4229    
  17  Prefactor     2.3252        42.932        .26873E-03   -1.5403    
  18  norm          11.367        11.227        .11883E-03   -1.5034    
  19  norm          1.2926        6.4319        .29009E-03   -1.5481    
  20  norm          4.8846        5.3845        .13779E-03   -1.5266    
  21  Prefactor     .10000E-03    16.124        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          11.395        6.2810        .10061E-03   -1.5033    
  24  Prefactor     26.303        21.609        .78118E-04   -1.4682    
  25  norm          .10000E-03    .37043        .35002E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.4159        4.1783        .12599E-03   -1.5338    
  27  Prefactor     20.225        18.644        .89054E-04   -1.4808    
  28  Prefactor     .10000E-03    3.7953        .22003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    15.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    11.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     13.238        7.5378        .55045E-03   -1.4980    
  32  Prefactor     .43739        3.8121        .22282E-03   -1.5576    
  33  Normalizat    .91703        .26792        .22656E-03   -.95864    
  34  Prefactor     .78216        .27277        .26068E-03   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35767e-08
Minuit parameter uncertainties:
  1  0.000244641
  2  6.5024e-05
  3  31.5936
  4  11.6016
  5  0.000119743
  6  7.70783e-06
  7  191.958
  8  0.000175117
  9  5.29467
  10  43.0504
  11  0.00719543
  12  31.3405
  13  6.53251e-05
  14  6.3862e-05
  15  0.000638055
  16  51.2508
  17  19.9987
  18  11.229
  19  5.76753
  20  5.38508
  21  7.86308e-05
  22  8.90735e-06
  23  6.28136
  24  21.6159
  25  8.33089e-08
  26  4.17868
  27  18.6491
  28  4.90571e-05
  29  5.04078e-05
  30  1.53064e-05
  31  7.53832
  32  2.58246
  33  0.268306
  34  0.27324
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.293e+00  5.768e+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

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  7.822e-01  2.732e-01  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:  9.170e-01  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 350.708 -49.273
Photon Flux Upper Limit: 3.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805309/likelihoodResults_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.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) = 3492.74688978
delta logL = 0.226473222301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3492.7449862
delta logL = 0.228376805793

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0971       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6975       1.0000          .0000       5.0000    
     3 'Normalizat'    .91265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77827       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.

 FCN=   3492.745     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      209 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0970        57.304        .24409E-01    .10968E-02
   2  alpha         2.6974        3.7699        .27704        .22594E-04
   3  Normalizat    .91264        .39666E-01    .45063E-01    .71950E-05
   4  Prefactor     .77832        .42033E-01    .43434E-01    .95412E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09701
  alpha      = 2.69735
  Normalizat = 0.912642
  Prefactor  = 0.778324
 **********
 **   18 **HESSE 
 **********

 FCN=   3492.745     FROM HESSE     STATUS=OK            35 CALLS      244 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0970        7.1388        .12031E-02   -1.5498    
   2  alpha         2.6974        3.6291        .15924E-01    .79024E-01
   3  Normalizat    .91264        .25183        .22693E-03   -.96017    
   4  Prefactor     .77832        .26941        .26099E-03   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25993e-09
Minuit parameter uncertainties:
  1  5.59763
  2  2.61201
  3  0.252156
  4  0.269871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805309': 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) = 3492.74498611
delta logL = 0.228376899131

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.097e+00  5.598e+00  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  2.697e+00  2.612e+00  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:  7.783e-01  2.699e-01  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:  9.126e-01  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 350.708 -49.273

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/805309/cmap_HighResolution_565920001_566179201_4FGL_J2322.8-4916_daily_bin1260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.03e-05', job_status='DONE', photon_flux_upper_limit='3.66e-08', time_completed='2021-09-29 14:30:36.186736', job_id='805309', GAL2='0.78', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1632951036.19', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.28e-01', ts2='0.53', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1260' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:30:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 805309: <4FGL_J2322.8-4916_daily_bin1260> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1260 350.708 -49.2725 565920001 566179201 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 :                                   682.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            895 sec.

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

