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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1268
RA = 350.708, Dec = -49.2725
tmin = 567993601, tmax = 568252801
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='805321', job_status='RUN', time_executed='2021-09-29 14:16:30.304528', time_epoch_executed='1632950190.3' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1268'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805321

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805321/ft1_4FGL_J2322.8-4916_daily_bin1268.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805321/ft2_4FGL_J2322.8-4916_daily_bin1268.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805321/ft1_4FGL_J2322.8-4916_daily_bin1268.fits outfile=/scratch/kocevski/805321/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1268.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=567993601.0 tmax=568252801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.34
user 2.14
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805321/ft1_filtered_4FGL_J2322.8-4916_daily_bin1268.fits" evtable="EVENTS" scfile=/scratch/kocevski/805321/ft2_4FGL_J2322.8-4916_daily_bin1268.fits sctable="SC_DATA" outfile=/scratch/kocevski/805321/ltcube_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.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/805321/ft2_4FGL_J2322.8-4916_daily_bin1268.fits
.....................!
real 12.10
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805321/ft1_filtered_4FGL_J2322.8-4916_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/805321/ft2_4FGL_J2322.8-4916_daily_bin1268.fits sctable="SC_DATA" expcube=/scratch/kocevski/805321/ltcube_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.fits outfile=/scratch/kocevski/805321/expmap_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.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/805321/ltcube_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.fits
.....................!
real 190.40
user 185.02
sys 5.05

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/805321/ft1_filtered_4FGL_J2322.8-4916_daily_bin1268.fits scfile=/scratch/kocevski/805321/ft2_4FGL_J2322.8-4916_daily_bin1268.fits outfile=/scratch/kocevski/805321/cmap_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805321/ft1_filtered_4FGL_J2322.8-4916_daily_bin1268.fits scfile=/scratch/kocevski/805321/ft2_4FGL_J2322.8-4916_daily_bin1268.fits outfile=/scratch/kocevski/805321/cmap_HighResolution_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/805321/ft1_filtered_4FGL_J2322.8-4916_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/805321/ft2_4FGL_J2322.8-4916_daily_bin1268.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805321/Model_4FGL_J2322.8-4916_daily_bin1268.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/805321/ft1_filtered_4FGL_J2322.8-4916_daily_bin1268.fits.....................!
real 40.77
user 39.49
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.413       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.407       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8466       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    107.92       1.0000         .10000E-03   10000.    
     8 'norm      '    6.4216       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3381       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.632       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10554E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5267       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.532       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.867       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .18713       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.6731       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .13660E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.7486       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.5175       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .75063       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=   5289.933     FROM MIGRAD    STATUS=CONVERGED    936 CALLS     4917 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.465        72.879        .98960E-05    .16009E-03
   2  Prefactor     .10000E-03    13.607       -.46921E-06** at limit **
   3  Prefactor     22.392        51.080       -.34925E-06   -.11274E-03
   4  Prefactor     8.8471        10.243        .21108E-06   -.45947E-04
   5  Prefactor     .10000E-03    3.4356       -.42383E-07** at limit **
   6  Prefactor     .10000E-03    5.9344       -.66631E-07** at limit **
   7  Prefactor     107.94        140.17        .27553E-05    .45444E-04
   8  norm          6.4226        8.5598        .13616E-05   -.19204E-03
   9  Prefactor     3.3377        4.0217        .19991E-05   -.62395E-03
  10  Prefactor     .10000E-03    15.908       -.31850E-07** at limit **
  11  Prefactor     .10000E-03    5.0488        .18012E-06** at limit **
  12  Prefactor     63.628        42.187       -.38733E-06   -.58473E-04
  13  Prefactor     .10000E-03    13.145        .19057E-06** at limit **
  14  Prefactor     .10007E-03    281.09       -.16540E-04** at limit **
  15  Prefactor     .10000E-03    9.2535       -.12106E-06** at limit **
  16  Prefactor     9.5284        37.945        .25177E-05   -.25480E-04
  17  Prefactor     30.523        25.641       -.51479E-06   -.17310E-03
  18  norm          .10000E-03    6.0247       -.85815E-07** at limit **
  19  norm          .10000E-03    6.1930        .43303E-08** at limit **
  20  norm          14.868        7.6533        .50536E-07    .31723E-05
  21  Prefactor     .10000E-03    3.6630       -.45851E-07** at limit **
  22  Prefactor     .10000E-03    84.811       -.10790E-05** at limit **
  23  norm          .10000E-03    1.7723        .15366E-08** at limit **
  24  Prefactor     .10000E-03    4.9962       -.35881E-06** at limit **
  25  norm          .18746        1.3498        .11699E-05   -.50009E-03
  26  norm          .10000E-03    1.8385        .68854E-08** at limit **
  27  Prefactor     3.6713        25.494        .11995E-05   -.51963E-04
  28  Prefactor     .12219E-03    2.4747        .80600E-06** at limit **
  29  Prefactor     .10000E-03    36.408       -.17184E-06** at limit **
  30  norm          .10000E-03    9.2641        .10960E-06** at limit **
  31  Prefactor     .10000E-03    4.8113       -.20023E-07** at limit **
  32  Prefactor     1.7471        5.2859        .12357E-05   -.18688E-03
  33  Normalizat    1.5179        .22796       -.86026E-06   -.36157E-03
  34  Prefactor     .75014        .22265       -.11663E-05   -.22900E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4647
  Prefactor  = 0.0001
  Prefactor  = 22.392
  Prefactor  = 8.84709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 107.942
  norm       = 6.42263
  Prefactor  = 3.33768
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.6279
  Prefactor  = 0.0001
  Prefactor  = 0.000100071
  Prefactor  = 0.0001
  Prefactor  = 9.52839
  Prefactor  = 30.5229
  norm       = 0.0001
  norm       = 0.0001
  norm       = 14.8677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.187458
  norm       = 0.0001
  Prefactor  = 3.67131
  Prefactor  = 0.000122194
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.74706
  Normalizat = 1.51795
  Prefactor  = 0.750137
 **********
 **   18 **HESSE 
 **********

 FCN=   5289.933     FROM HESSE     STATUS=OK           726 CALLS     5643 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.465        75.895        .73875E-04   -1.4622    
   2  Prefactor     .10000E-03    13.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.392        51.575        .84618E-04   -1.4761    
   4  Prefactor     8.8471        10.241        .13476E-03   -1.5113    
   5  Prefactor     .10000E-03    3.4406        .13163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.9853        .17298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     107.94        140.73        .19357E-03   -1.3626    
   8  norm          6.4226        8.6091        .79192E-03   -1.5201    
   9  Prefactor     3.3377        4.1164        .79120E-03   -1.5343    
  10  Prefactor     .10000E-03    15.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.0893        .15955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     63.628        42.450        .50306E-04   -1.4111    
  13  Prefactor     .10000E-03    13.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    292.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.5268        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.5284        38.023        .64918E-03   -1.5091    
  17  Prefactor     30.523        24.945        .72512E-04   -1.4602    
  18  norm          .10000E-03    6.0311        .17436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.2318        .17654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.868        7.6452        .10388E-03   -1.4937    
  21  Prefactor     .10000E-03    3.6884        .13588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    86.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.7785        .94503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.0093        .15884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .18746        1.3146        .15082E-03   -1.5621    
  26  norm          .10000E-03    1.8514        .96288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.6713        25.510        .21075E-03   -1.5325    
  28  Prefactor     .12219E-03    7.1809        .34292E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    36.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    9.2677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    4.8580        .15558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     1.7471        5.3051        .27047E-03   -1.5444    
  33  Normalizat    1.5179        .28635        .22732E-03   -.77275    
  34  Prefactor     .75014        .27420        .31993E-03   -1.0159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58605e-09
Minuit parameter uncertainties:
  1  76.1453
  2  5.46723e-05
  3  51.6783
  4  10.2431
  5  2.78788e-06
  6  6.07448e-06
  7  141.173
  8  8.61073
  9  4.11679
  10  2.99347e-06
  11  1.882e-05
  12  42.4699
  13  6.87828e-05
  14  0.00913934
  15  9.54359e-06
  16  38.1102
  17  24.9535
  18  4.27958e-06
  19  9.32504e-06
  20  7.64572
  21  3.67306e-06
  22  0.000217428
  23  1.41579e-06
  24  2.77996e-05
  25  0.992597
  26  9.12095e-09
  27  19.3665
  28  0.0252516
  29  0.000109547
  30  1.03177e-05
  31  2.75126e-06
  32  5.30656
  33  0.286653
  34  0.274696
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  9.325e-06  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.501e-01  2.747e-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:  1.518e+00  2.867e-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: 3.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805321/likelihoodResults_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.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) = 5289.9341427
delta logL = -0.000760001896197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5289.93338272
delta logL = -1.35369191412e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6261       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5179       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75020       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=   5289.933     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      255 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2459        .60594E-01** at limit **
   2  alpha         1.9576        3.2773        .50000       -.38540E-07
   3  Normalizat    1.5179        .27485E-02    .22732E-03   -.12592E-03
   4  Prefactor     .75014        .28444E-02    .31993E-03   -.85107E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.95763
  Normalizat = 1.51795
  Prefactor  = 0.750137
 **********
 **   18 **HESSE 
 **********

 FCN=   5289.933     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      286 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    178.16        .29502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9576        2.8581        .50000       -.21869    
   3  Normalizat    1.5179        .26815E-01    .45464E-04   -.77275    
   4  Prefactor     .75014        .27750E-01    .12797E-04   -1.0159    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05852e-10
Minuit parameter uncertainties:
  1  5.85857e-05
  2  1004
  3  0.0268151
  4  0.0277509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805321': 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) = 5289.93338193
delta logL = 7.73122337705e-07

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  5.859e-05  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.958e+00  1.004e+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:  7.501e-01  2.775e-02  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.518e+00  2.682e-02  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/805321/cmap_HighResolution_567993601_568252801_4FGL_J2322.8-4916_daily_bin1268.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-05', job_status='DONE', photon_flux_upper_limit='3.24e-08', time_completed='2021-09-29 14:30:53.543134', job_id='805321', GAL2='0.75', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1632951053.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='7.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1268' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:30:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 805321: <4FGL_J2322.8-4916_daily_bin1268> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1268 350.708 -49.2725 567993601 568252801 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 :                                   851.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

