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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1330
RA = 350.708, Dec = -49.2725
tmin = 584064001, tmax = 584323201
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='805413', job_status='RUN', time_executed='2021-09-29 14:16:05.204798', time_epoch_executed='1632950165.2' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805413

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805413/ft1_4FGL_J2322.8-4916_daily_bin1330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805413/ft2_4FGL_J2322.8-4916_daily_bin1330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805413/ft1_4FGL_J2322.8-4916_daily_bin1330.fits outfile=/scratch/kocevski/805413/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1330.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=584064001.0 tmax=584323201.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 4.49
user 4.25
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805413/ft1_filtered_4FGL_J2322.8-4916_daily_bin1330.fits" evtable="EVENTS" scfile=/scratch/kocevski/805413/ft2_4FGL_J2322.8-4916_daily_bin1330.fits sctable="SC_DATA" outfile=/scratch/kocevski/805413/ltcube_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.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/805413/ft2_4FGL_J2322.8-4916_daily_bin1330.fits
.....................!
real 11.89
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805413/ft1_filtered_4FGL_J2322.8-4916_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/805413/ft2_4FGL_J2322.8-4916_daily_bin1330.fits sctable="SC_DATA" expcube=/scratch/kocevski/805413/ltcube_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.fits outfile=/scratch/kocevski/805413/expmap_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.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/805413/ltcube_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.fits
.....................!
real 189.58
user 185.16
sys 4.08

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/805413/ft1_filtered_4FGL_J2322.8-4916_daily_bin1330.fits scfile=/scratch/kocevski/805413/ft2_4FGL_J2322.8-4916_daily_bin1330.fits outfile=/scratch/kocevski/805413/cmap_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805413/ft1_filtered_4FGL_J2322.8-4916_daily_bin1330.fits scfile=/scratch/kocevski/805413/ft2_4FGL_J2322.8-4916_daily_bin1330.fits outfile=/scratch/kocevski/805413/cmap_HighResolution_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.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/805413/ft1_filtered_4FGL_J2322.8-4916_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/805413/ft2_4FGL_J2322.8-4916_daily_bin1330.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805413/Model_4FGL_J2322.8-4916_daily_bin1330.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/805413/ft1_filtered_4FGL_J2322.8-4916_daily_bin1330.fits.....................!
real 42.32
user 41.10
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7712       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5184       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.882       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.6445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7911       1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.401       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1064       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3502       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21504E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .39486E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.968       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .61952       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.9783       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.0245       1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.729       1.0000         .10000E-03   10000.    
    25 'norm      '    .41789       1.0000         .10000E-03   10000.    
    26 'norm      '    .62645E-01   1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.353       1.0000         .10000E-03   10000.    
    28 'Prefactor '    5.0985       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.3392       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .82093       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .86116       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=   6003.718     FROM MIGRAD    STATUS=CONVERGED    954 CALLS     4913 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7700        47.202        .74857E-06   -.77952E-04
   2  Prefactor     1.5204        30.142        .75707E-07   -.19960E-04
   3  Prefactor     .10000E-03    22.362       -.48884E-06** at limit **
   4  Prefactor     14.881        10.051       -.12612E-07   -.10065E-04
   5  Prefactor     .10000E-03    5.7612        .24834E-06** at limit **
   6  Prefactor     .10000E-03    2.8058       -.60827E-07** at limit **
   7  Prefactor     .10000E-03    76.952        .32804E-05** at limit **
   8  norm          3.6444        3.9283       -.17109E-05   -.23528E-04
   9  Prefactor     1.7900        1.3970        .22850E-06   -.17699E-02
  10  Prefactor     49.418        42.874        .60156E-05    .48604E-04
  11  Prefactor     4.1063        4.7756        .11827E-05   -.19047E-04
  12  Prefactor     7.3344        21.184        .14849E-05   -.10389E-04
  13  Prefactor     .10000E-03    3.7560       -.57559E-07** at limit **
  14  Prefactor     .10000E-03    185.61       -.22506E-05** at limit **
  15  Prefactor     .10004E-03    3.7865       -.74176E-06** at limit **
  16  Prefactor     .10000E-03    31.585        .18159E-05** at limit **
  17  Prefactor     11.961        14.767        .71808E-07    .37010E-05
  18  norm          .10000E-03    2.7620        .85874E-07** at limit **
  19  norm          .61795        7.9400       -.26828E-05   -.13335E-03
  20  norm          .10000E-03    1.4471       -.54184E-07** at limit **
  21  Prefactor     3.9782        4.0337       -.50445E-07    .32558E-04
  22  Prefactor     .10000E-03    44.413       -.19535E-05** at limit **
  23  norm          3.0244        2.8525        .17843E-06    .50043E-05
  24  Prefactor     21.724        14.800        .86014E-07   -.59359E-04
  25  norm          .41872        1.0200        .13423E-06    .23404E-03
  26  norm          .61198E-01    1.8547        .11961E-06    .26167E-04
  27  Prefactor     12.351        11.893        .14894E-07   -.10246E-04
  28  Prefactor     5.0982        3.7467        .14986E-05    .14289E-04
  29  Prefactor     .10000E-03    10.757       -.77394E-07** at limit **
  30  norm          .10000E-03    6.4174        .25419E-07** at limit **
  31  Prefactor     1.3391        2.7690       -.47178E-06   -.16924E-03
  32  Prefactor     .10000E-03    1.5117       -.11843E-07** at limit **
  33  Normalizat    .82108        .16074       -.15585E-05    .13212E-03
  34  Prefactor     .86105        .16229       -.31230E-07    .27064E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76999
  Prefactor  = 1.52038
  Prefactor  = 0.0001
  Prefactor  = 14.8811
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.64442
  Prefactor  = 1.79001
  Prefactor  = 49.4178
  Prefactor  = 4.10632
  Prefactor  = 7.33444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 11.9613
  norm       = 0.0001
  norm       = 0.617955
  norm       = 0.0001
  Prefactor  = 3.97819
  Prefactor  = 0.0001
  norm       = 3.02439
  Prefactor  = 21.7242
  norm       = 0.418722
  norm       = 0.0611981
  Prefactor  = 12.3511
  Prefactor  = 5.09817
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.33914
  Prefactor  = 0.0001
  Normalizat = 0.821083
  Prefactor  = 0.861055
 **********
 **   18 **HESSE 
 **********

 FCN=   6003.718     FROM HESSE     STATUS=OK           742 CALLS     5655 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7700        49.787        .12224E-02   -1.5375    
   2  Prefactor     1.5204        30.403        .34682E-03   -1.5461    
   3  Prefactor     .10000E-03    22.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.881        10.065        .10382E-03   -1.4936    
   5  Prefactor     .10000E-03    5.9630        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8206        .12673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    77.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6444        3.9285        .15548E-03   -1.5326    
   9  Prefactor     1.7900        3.6597        .97960E-03   -1.5440    
  10  Prefactor     49.418        43.426        .57055E-04   -1.4301    
  11  Prefactor     4.1063        4.7536        .16868E-03   -1.5303    
  12  Prefactor     7.3344        21.143        .14794E-03   -1.5166    
  13  Prefactor     .10000E-03    3.7656        .14649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    186.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10004E-03    31.450        .28456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    31.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.961        14.283        .11580E-03   -1.5016    
  18  norm          .10000E-03    2.7636        .12576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .61795        7.5186        .39717E-03   -1.5551    
  20  norm          .10000E-03    1.4489        .90995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.9782        4.0168        .14457E-03   -1.5309    
  22  Prefactor     .10000E-03    44.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.0244        2.9208        .11823E-03   -1.5360    
  24  Prefactor     21.724        14.579        .42963E-03   -1.4775    
  25  norm          .41872        .81925        .97591E-03   -1.5579    
  26  norm          .61198E-01    59.112        .19438E-02   -1.5659    
  27  Prefactor     12.351        11.902        .11397E-03   -1.5005    
  28  Prefactor     5.0982        3.6924        .11761E-03   -1.5256    
  29  Prefactor     .10000E-03    10.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    6.4194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.3391        2.7111        .17692E-03   -1.5477    
  32  Prefactor     .10000E-03    1.5403        .92920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .82108        .19208        .22334E-03   -.99291    
  34  Prefactor     .86105        .19453        .23588E-03   -.97516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02478e-09
Minuit parameter uncertainties:
  1  23.5093
  2  13.6052
  3  2.3208e-05
  4  10.0663
  5  8.08094e-06
  6  2.71943e-06
  7  1.30616e-05
  8  3.92877
  9  3.66012
  10  43.4536
  11  4.754
  12  21.1645
  13  3.96651e-06
  14  4.01352e-05
  15  0.00221779
  16  1.09474e-05
  17  14.2867
  18  9.0538e-07
  19  4.3113
  20  1.2703e-07
  21  4.01707
  22  5.76632e-05
  23  2.9209
  24  14.5817
  25  0.819269
  26  3.80464
  27  11.904
  28  3.69253
  29  4.68071e-05
  30  4.22835e-07
  31  2.71138
  32  1.1287e-06
  33  0.192236
  34  0.194688
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  6.180e-01  4.311e+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:  8.611e-01  1.947e-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:  8.211e-01  1.922e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/805413/likelihoodResults_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.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) = 6003.26931255
delta logL = 0.448746015707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6003.23553726
delta logL = 0.482521310036

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29756       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5168       1.0000          .0000       5.0000    
     3 'Normalizat'    .79545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87281       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=   6003.236     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      226 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29537        5.3826        .10414E-01    .19772E-02
   2  alpha         3.5212        3.8692        .23156        .90932E-04
   3  Normalizat    .79530        .28107E-01    .43551E-01    .20080E-04
   4  Prefactor     .87280        .30318E-01    .44657E-01    .94027E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.295368
  alpha      = 3.52119
  Normalizat = 0.795299
  Prefactor  = 0.872804
 **********
 **   18 **HESSE 
 **********

 FCN=   6003.236     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      261 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29537        19.049        .48164E-03   -1.5599    
   2  alpha         3.5212        3.7878        .12223E-01    .42078    
   3  Normalizat    .79530        .13500        .22619E-03   -1.0024    
   4  Prefactor     .87280        .13851        .23408E-03   -.97098    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.76937e-10
Minuit parameter uncertainties:
  1  4.74487
  2  6.59787
  3  0.135053
  4  0.138567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805413': 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) = 6003.23553032
delta logL = 0.482528250105

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  2.954e-01  4.745e+00  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  3.521e+00  6.598e+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:  8.728e-01  1.386e-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:  7.953e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/805413/cmap_HighResolution_584064001_584323201_4FGL_J2322.8-4916_daily_bin1330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-05', job_status='DONE', photon_flux_upper_limit='2.43e-08', time_completed='2021-09-29 14:31:49.887737', job_id='805413', GAL2='0.87', fit_tolerance='1e-08', EG2='0.80', EG='0.82', time_epoch_completed='1632951109.89', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.83e-01', ts2='1.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1330' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:31:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 805413: <4FGL_J2322.8-4916_daily_bin1330> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1330 350.708 -49.2725 584064001 584323201 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 :                                   929.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            961 sec.

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

