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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1110
RA = 351.737, Dec = -41.5089
tmin = 527040001, tmax = 527299201
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='901048', job_status='RUN', time_executed='2021-09-29 19:21:03.668914', time_epoch_executed='1632968463.67' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901048

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901048/ft1_4FGL_J2326.9-4130_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901048/ft1_4FGL_J2326.9-4130_daily_bin1110.fits outfile=/scratch/kocevski/901048/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1110.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=527040001.0 tmax=527299201.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.96
user 5.67
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.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/901048/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1110.fits evtable="EVENTS" outfile="/scratch/kocevski/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/901048/ltcube_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.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/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits
.....................!
real 11.85
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/901048/ltcube_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.fits outfile=/scratch/kocevski/901048/expmap_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.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/901048/ltcube_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.fits
.....................!
real 191.70
user 186.95
sys 4.40

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

Setting source of interest to:
4FGL J2326.9-4130 @ 351.737 -41.5089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits scfile=/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits outfile=/scratch/kocevski/901048/cmap_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.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=351.737 yref=-41.5089 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/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits scfile=/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits outfile=/scratch/kocevski/901048/cmap_HighResolution_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.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=351.737 yref=-41.5089 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/901048/Model_4FGL_J2326.9-4130_daily_bin1110.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/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits......................!
real 26.25
user 24.92
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits', '/scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits', expMap='/scratch/kocevski/901048/expmap_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.fits', expCube='/scratch/kocevski/901048/ltcube_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/901048/Model_4FGL_J2326.9-4130_daily_bin1110.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.9-4130'

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  7.129e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/901048/ft1_filtered_4FGL_J2326.9-4130_daily_bin1110.fits
Spacecraft file(s): /scratch/kocevski/901048/ft2_4FGL_J2326.9-4130_daily_bin1110.fits
Exposure map: /scratch/kocevski/901048/expmap_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.fits
Exposure cube: /scratch/kocevski/901048/ltcube_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/901048/Model_4FGL_J2326.9-4130_daily_bin1110.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) = 2319.20753903

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29755E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.014       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    112.97       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9923       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4580       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3299       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2689       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .68415       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.460       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5613       1.0000         .10000E-03   10000.    
    17 'norm      '    10.959       1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    22.812       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11071E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11064E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    158.58       1.0000         .10000E-03   10000.    
    23 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.0555       1.0000         .10000E-03   10000.    
    25 'norm      '    1.6066       1.0000         .10000E-03   10000.    
    26 'norm      '    10.624       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.6065       1.0000         .10000E-03   10000.    
    28 'Prefactor '    55.509       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10499E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    7.0720       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .13173E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .86044       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2319.178     FROM MIGRAD    STATUS=CONVERGED    861 CALLS     4600 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    667.26       -.12673E-04** at limit **
   2  Prefactor     20.019        53.611        .21065E-06   -.55272E-05
   3  Prefactor     .10000E-03    94.172        .12431E-06** at limit **
   4  Prefactor     112.94        110.11       -.25369E-06   -.67122E-05
   5  Prefactor     10.030        23.864        .25312E-06    .54341E-05
   6  Prefactor     6.4594        7.3675        .74520E-06   -.65884E-04
   7  Prefactor     .10000E-03    16.286        .37016E-07** at limit **
   8  Prefactor     8.3317        11.084        .37665E-06   -.17277E-04
   9  Prefactor     .10000E-03    18.539       -.25512E-06** at limit **
  10  Prefactor     2.2839        74.230        .26578E-05   -.25822E-05
  11  Prefactor     .10000E-03    6.1008        .14817E-06** at limit **
  12  Prefactor     .68345        14.887        .33456E-05   -.19070E-05
  13  Prefactor     .10000E-03    31.554       -.33033E-06** at limit **
  14  Prefactor     29.539        86.380        .20168E-05    .98571E-05
  15  Prefactor     .10000E-03    14.015       -.31669E-06** at limit **
  16  norm          4.5796        38.648       -.11306E-05   -.15594E-04
  17  norm          10.959        11.918        .13120E-07   -.31864E-05
  18  norm          .10000E-03    5.2347       -.88927E-07** at limit **
  19  norm          22.810        28.355        .51708E-06   -.64993E-05
  20  Prefactor     .10000E-03    24.705       -.25452E-05** at limit **
  21  Prefactor     .10000E-03    123.98       -.48439E-06** at limit **
  22  Prefactor     158.79        171.04        .26566E-05    .19199E-04
  23  norm          .10000E-03    7.9330       -.31068E-06** at limit **
  24  Prefactor     2.0346        156.33        .17041E-04    .24199E-04
  25  norm          1.6076        2.2994       -.11603E-06   -.12344E-03
  26  norm          10.633        13.846        .43096E-06   -.63033E-05
  27  Prefactor     4.6060        7.1733        .23272E-06   -.23421E-04
  28  Prefactor     55.547        71.034       -.88376E-07   -.11017E-04
  29  Prefactor     .10000E-03    17.691        .22440E-06** at limit **
  30  Prefactor     7.0708        15.263        .45397E-06   -.31360E-04
  31  Prefactor     .10000E-03    153.24        .34840E-06** at limit **
  32  Normalizat    .86050        .37493       -.83122E-05    .23888E-04
  33  Prefactor     1.0055        .35343        .43677E-05   -.13040E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 20.0188
  Prefactor  = 0.0001
  Prefactor  = 112.935
  Prefactor  = 10.0299
  Prefactor  = 6.45939
  Prefactor  = 0.0001
  Prefactor  = 8.33171
  Prefactor  = 0.0001
  Prefactor  = 2.28393
  Prefactor  = 0.0001
  Prefactor  = 0.68345
  Prefactor  = 0.0001
  Prefactor  = 29.539
  Prefactor  = 0.0001
  norm       = 4.57961
  norm       = 10.9588
  norm       = 0.0001
  norm       = 22.8098
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 158.793
  norm       = 0.0001
  Prefactor  = 2.03457
  norm       = 1.60762
  norm       = 10.6333
  Prefactor  = 4.60603
  Prefactor  = 55.5473
  Prefactor  = 0.0001
  Prefactor  = 7.07076
  Prefactor  = 0.0001
  Normalizat = 0.860505
  Prefactor  = 1.00554
 **********
 **   18 **HESSE 
 **********

 FCN=   2319.178     FROM HESSE     STATUS=OK           699 CALLS     5299 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    672.99        .19837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.019        53.310        .89529E-04   -1.4813    
   3  Prefactor     .10000E-03    94.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     112.94        109.90        .18925E-03   -1.3579    
   5  Prefactor     10.030        23.808        .12676E-03   -1.5074    
   6  Prefactor     6.4594        7.3328        .12404E-03   -1.5200    
   7  Prefactor     .10000E-03    16.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3317        11.068        .13890E-03   -1.5131    
   9  Prefactor     .10000E-03    18.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.2839        73.677        .27266E-03   -1.5406    
  11  Prefactor     .10000E-03    6.1029        .11619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .68345        15.317        .35337E-03   -1.5543    
  13  Prefactor     .10000E-03    31.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.539        86.587        .73816E-04   -1.4620    
  15  Prefactor     .10000E-03    14.030        .17610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5796        37.416        .18848E-03   -1.5280    
  17  norm          10.959        11.930        .12102E-03   -1.5046    
  18  norm          .10000E-03    5.2389        .10761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.810        28.363        .83864E-04   -1.4752    
  20  Prefactor     .10000E-03    26.177        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    124.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     158.79        171.55        .16010E-03   -1.3181    
  23  norm          .10000E-03    7.9782        .13228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.0346        157.37        .28829E-03   -1.5423    
  25  norm          1.6076        2.2577        .79245E-04   -1.5454    
  26  norm          10.633        13.823        .12292E-03   -1.5056    
  27  Prefactor     4.6060        7.1536        .14328E-03   -1.5279    
  28  Prefactor     55.547        70.799        .53840E-04   -1.4216    
  29  Prefactor     .10000E-03    17.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     7.0708        15.165        .15085E-03   -1.5176    
  31  Prefactor     .10000E-03    153.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .86050        .40927        .27541E-03   -.97862    
  33  Prefactor     1.0055        .39888        .26627E-03   -.92545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.3859e-10
Minuit parameter uncertainties:
  1  0.00260759
  2  53.4367
  3  3.73783e-05
  4  110.101
  5  23.83
  6  7.33379
  7  2.06729e-05
  8  11.0704
  9  9.29539e-06
  10  25.9784
  11  3.71045e-06
  12  6.47236
  13  2.71964e-05
  14  86.9589
  15  8.93084e-06
  16  26.2023
  17  11.9325
  18  1.34599e-06
  19  28.3801
  20  0.000457553
  21  0.000264823
  22  172.09
  23  1.19793e-05
  24  35.8848
  25  2.25782
  26  13.8272
  27  7.15496
  28  70.9069
  29  4.43467e-05
  30  15.1734
  31  0.000195213
  32  0.410759
  33  0.400056
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  2.648e-04  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.006e+00  4.001e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.605e-01  4.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 2.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.94e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/901048/likelihoodResults_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.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) = 2319.17849192
delta logL = -3.81897734769e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2319.17845485
delta logL = -1.12418092613e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36838E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1488       1.0000          .0000       10.000    
     3 'Normalizat'    .86050       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2319.178     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      222 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10059E-03    133.97        .10650E-01** at limit **
   2  Index         3.1485        7.8420        .50000        .11001E-05
   3  Normalizat    .86050        .77536E-02    .44395E-01    .11846E-04
   4  Prefactor     1.0055        .80853E-02    .44080E-01    .31964E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100588
  Index      = 3.14846
  Normalizat = 0.860497
  Prefactor  = 1.00555
 **********
 **   18 **HESSE 
 **********

 FCN=   2319.178     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      255 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10059E-03    827.66        .21301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1485        5.5163        .50000       -.37934    
   3  Normalizat    .86050        .19496E-01    .27543E-03   -.97862    
   4  Prefactor     1.0055        .20334E-01    .26626E-03   -.92545    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.55251e-09
Minuit parameter uncertainties:
  1  0.0447388
  2  991.209
  3  0.0194965
  4  0.0203339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901048': 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) = 2319.17845374
delta logL = -1.56433088705e-08

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.006e-04  4.474e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.148e+00  9.912e+02  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.006e+00  2.033e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.605e-01  1.950e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.737 -41.509

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/901048/cmap_HighResolution_527040001_527299201_4FGL_J2326.9-4130_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-02', job_status='DONE', photon_flux_upper_limit='2.45e-07', time_completed='2021-09-29 19:30:36.080630', job_id='901048', GAL2='1.01', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632969036.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1110' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:30:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 901048: <4FGL_J2326.9-4130_daily_bin1110> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1110> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:20:40 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:20:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:20:42 2021
Terminated at Wed Sep 29 19:30:36 2021
Results reported at Wed Sep 29 19:30:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1110 351.737 -41.5089 527040001 527299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.9-4130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   552.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            596 sec.

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

