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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin760
RA = 350.708, Dec = -49.2725
tmin = 436320001, tmax = 436579201
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='800843', job_status='RUN', time_executed='2021-09-29 14:07:57.464722', time_epoch_executed='1632949677.46' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800843

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800843/ft1_4FGL_J2322.8-4916_daily_bin760.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800843/ft2_4FGL_J2322.8-4916_daily_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800843/ft1_4FGL_J2322.8-4916_daily_bin760.fits outfile=/scratch/kocevski/800843/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin760.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=436320001.0 tmax=436579201.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 5.23
user 4.99
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/800843/ft2_4FGL_J2322.8-4916_daily_bin760.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/800843/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/800843/ft1_filtered_4FGL_J2322.8-4916_daily_bin760.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800843/ft1_filtered_4FGL_J2322.8-4916_daily_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/800843/ft2_4FGL_J2322.8-4916_daily_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/800843/ltcube_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.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/800843/ft2_4FGL_J2322.8-4916_daily_bin760.fits
.....................!
real 12.13
user 11.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800843/ft1_filtered_4FGL_J2322.8-4916_daily_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/800843/ft2_4FGL_J2322.8-4916_daily_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/800843/ltcube_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.fits outfile=/scratch/kocevski/800843/expmap_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.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/800843/ltcube_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.fits
.....................!
real 191.55
user 185.84
sys 5.26

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/800843/ft1_filtered_4FGL_J2322.8-4916_daily_bin760.fits scfile=/scratch/kocevski/800843/ft2_4FGL_J2322.8-4916_daily_bin760.fits outfile=/scratch/kocevski/800843/cmap_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800843/ft1_filtered_4FGL_J2322.8-4916_daily_bin760.fits scfile=/scratch/kocevski/800843/ft2_4FGL_J2322.8-4916_daily_bin760.fits outfile=/scratch/kocevski/800843/cmap_HighResolution_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/800843/ft1_filtered_4FGL_J2322.8-4916_daily_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/800843/ft2_4FGL_J2322.8-4916_daily_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/800843/Model_4FGL_J2322.8-4916_daily_bin760.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/800843/ft1_filtered_4FGL_J2322.8-4916_daily_bin760.fits.....................!
real 28.40
user 27.02
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.578       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .75580       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .42405       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.212       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    74.096       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.151       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    12.490       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3518       1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.899       1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    8.9368       1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.1022       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .67337       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.2877       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=   2596.115     FROM MIGRAD    STATUS=CONVERGED    940 CALLS     4837 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    319.57        .99294E-06** at limit **
   2  Prefactor     17.577        39.514        .10075E-05    .77790E-05
   3  Prefactor     .10000E-03    37.896        .28598E-06** at limit **
   4  Prefactor     .79292        20.687        .10934E-05   -.10046E-03
   5  Prefactor     .10000E-03    3.6750       -.19749E-07** at limit **
   6  Prefactor     .10000E-03    6.5336        .66121E-07** at limit **
   7  Prefactor     .10001E-03    358.07       -.23082E-05** at limit **
   8  norm          .10000E-03    5.3158       -.99829E-07** at limit **
   9  Prefactor     .42145        6.1519        .16335E-05   -.69962E-03
  10  Prefactor     16.174        82.078        .13859E-05   -.66000E-04
  11  Prefactor     .10000E-03    4.4313       -.10074E-06** at limit **
  12  Prefactor     74.093        52.679        .15741E-07   -.24950E-04
  13  Prefactor     .10000E-03    8.2772       -.49089E-07** at limit **
  14  Prefactor     .10000E-03    63.582       -.13148E-05** at limit **
  15  Prefactor     .10000E-03    7.3942       -.34622E-06** at limit **
  16  Prefactor     26.154        33.193       -.48797E-07   -.72751E-05
  17  Prefactor     .10000E-03    8.5111        .85566E-07** at limit **
  18  norm          .10000E-03    9.3933        .36235E-08** at limit **
  19  norm          .10000E-03    12.775       -.16384E-06** at limit **
  20  norm          12.489        11.612       -.17552E-06   -.19211E-03
  21  Prefactor     2.3510        9.1699        .56097E-06    .54560E-05
  22  Prefactor     14.989        93.344       -.24154E-05   -.66729E-04
  23  norm          .10000E-03    19.963        .12051E-04** at limit **
  24  Prefactor     .10000E-03    22.415       -.99228E-07** at limit **
  25  norm          8.9374        3.3137        .10057E-06    .15323E-04
  26  norm          .10000E-03    4.6666        .11963E-05** at limit **
  27  Prefactor     .10000E-03    5.9373       -.17171E-06** at limit **
  28  Prefactor     .10000E-03    5.5261        .21834E-08** at limit **
  29  Prefactor     .10000E-03    80.846        .12666E-05** at limit **
  30  norm          .10000E-03    40.959       -.20209E-06** at limit **
  31  Prefactor     2.1016        5.5115        .57489E-06    .29548E-04
  32  Prefactor     .10000E-03    26.113       -.16987E-06** at limit **
  33  Normalizat    .67283        .30480       -.49249E-05   -.12380E-03
  34  Prefactor     1.2881        .29750        .45060E-05   -.26391E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 17.5774
  Prefactor  = 0.0001
  Prefactor  = 0.792918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 0.421446
  Prefactor  = 16.1738
  Prefactor  = 0.0001
  Prefactor  = 74.0934
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 26.1536
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.4887
  Prefactor  = 2.35098
  Prefactor  = 14.9894
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 8.93745
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 2.10163
  Prefactor  = 0.0001
  Normalizat = 0.672831
  Prefactor  = 1.28815
 **********
 **   18 **HESSE 
 **********

 FCN=   2596.115     FROM HESSE     STATUS=OK           718 CALLS     5555 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    320.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.577        39.400        .95529E-04   -1.4869    
   3  Prefactor     .10000E-03    37.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .79292        75.671        .44035E-02   -1.5530    
   5  Prefactor     .10000E-03    3.6756        .95401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.5509        .12721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    358.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.3226        .11474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .42145        27.204        .21154E-02   -1.5578    
  10  Prefactor     16.174        81.616        .99473E-04   -1.4903    
  11  Prefactor     .10000E-03    4.4489        .10471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     74.093        52.738        .46643E-04   -1.3984    
  13  Prefactor     .10000E-03    8.2879        .14310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    63.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.4348        .13533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.154        33.193        .78336E-04   -1.4685    
  17  Prefactor     .10000E-03    8.5141        .14519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.3952        .15254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    12.842        .17771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          12.489        11.616        .11335E-03   -1.5001    
  21  Prefactor     2.3510        9.1121        .26729E-03   -1.5401    
  22  Prefactor     14.989        95.340        .10376E-03   -1.4933    
  23  norm          .10000E-03    20.677        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.9374        3.3052        .52167E-04   -1.5110    
  26  norm          .10000E-03    4.6803        .10747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    5.9387        .12127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    5.5717        .11681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    81.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    40.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.1016        5.4630        .18673E-03   -1.5418    
  32  Prefactor     .10000E-03    26.898        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .67283        .35564        .29949E-03   -1.0498    
  34  Prefactor     1.2881        .35071        .23060E-03   -.83660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15177e-09
Minuit parameter uncertainties:
  1  0.00184378
  2  39.4582
  3  0.000221084
  4  15.5113
  5  5.00969e-07
  6  3.38495e-05
  7  0.00321402
  8  1.51727e-05
  9  6.77437
  10  72.8232
  11  1.15891e-05
  12  52.7714
  13  5.14988e-06
  14  0.00103374
  15  5.66726e-05
  16  33.2167
  17  3.04816e-05
  18  2.44654e-05
  19  2.50775e-05
  20  11.618
  21  9.11746
  22  75.7844
  23  0.000448611
  24  0.000138737
  25  3.30524
  26  1.69094e-05
  27  3.50582e-05
  28  1.56932e-05
  29  0.00114151
  30  0.000110418
  31  5.4643
  32  3.35085e-05
  33  0.35686
  34  0.351351
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  2.508e-05  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:  1.288e+00  3.514e-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:  6.728e-01  3.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.708 -49.273
Photon Flux Upper Limit: 6.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.33e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/800843/likelihoodResults_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2596.11510672
delta logL = -0.000356911178642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2596.11475647
delta logL = -6.66094865664e-06

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2596.115     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      249 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    495.89        .17843E-02** at limit **
   2  alpha         1.7977        3.8734        .50000        .51250E-07
   3  Normalizat    .67283        .42725E-01    .29951E-03   -.72500E-05
   4  Prefactor     1.2882        .44387E-01    .23059E-03   -.85194E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.79775
  Normalizat = 0.672829
  Prefactor  = 1.28815
 **********
 **   18 **HESSE 
 **********

 FCN=   2596.115     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1820.2        .35687E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7977        3.2344        .50000       -.28473    
   3  Normalizat    .67283        .10245        .11980E-04   -1.0498    
   4  Prefactor     1.2882        .10645        .46118E-04   -.83660    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.76002e-09
Minuit parameter uncertainties:
  1  0.000977039
  2  2917.18
  3  0.102481
  4  0.106466
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800843': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2596.11474965
delta logL = 1.54054305312e-07

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  9.770e-04  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.798e+00  2.917e+03  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:  1.288e+00  1.065e-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:  6.728e-01  1.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/800843/cmap_HighResolution_436320001_436579201_4FGL_J2322.8-4916_daily_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-04', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2021-09-29 14:17:46.187227', job_id='800843', GAL2='1.29', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1632950266.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='1.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='760' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:17:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 800843: <4FGL_J2322.8-4916_daily_bin760> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 14:05:34 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:05:36 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:05:36 2021
Terminated at Wed Sep 29 14:17:46 2021
Results reported at Wed Sep 29 14:17:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin760 350.708 -49.2725 436320001 436579201 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 :                                   586.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

