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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1058
RA = 351.737, Dec = -41.5089
tmin = 513561601, tmax = 513820801
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='900966', job_status='RUN', time_executed='2021-09-29 19:21:44.779872', time_epoch_executed='1632968504.78' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1058'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/900966

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/900966/ft1_4FGL_J2326.9-4130_daily_bin1058.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/900966/ft1_4FGL_J2326.9-4130_daily_bin1058.fits outfile=/scratch/kocevski/900966/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1058.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=513561601.0 tmax=513820801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.70
user 3.48
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.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/900966/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1058.fits evtable="EVENTS" outfile="/scratch/kocevski/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits" evtable="EVENTS" scfile=/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits sctable="SC_DATA" outfile=/scratch/kocevski/900966/ltcube_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.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/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits
.....................!
real 11.69
user 11.36
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits evtable="EVENTS" scfile=/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits sctable="SC_DATA" expcube=/scratch/kocevski/900966/ltcube_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.fits outfile=/scratch/kocevski/900966/expmap_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.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/900966/ltcube_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.fits
.....................!
real 189.67
user 185.14
sys 4.21

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/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits scfile=/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits outfile=/scratch/kocevski/900966/cmap_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits scfile=/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits outfile=/scratch/kocevski/900966/cmap_HighResolution_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits evtable="EVENTS" scfile=/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/900966/Model_4FGL_J2326.9-4130_daily_bin1058.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/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits.....................!
real 36.41
user 35.18
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits', '/scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits', expMap='/scratch/kocevski/900966/expmap_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.fits', expCube='/scratch/kocevski/900966/ltcube_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/900966/Model_4FGL_J2326.9-4130_daily_bin1058.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/900966/ft1_filtered_4FGL_J2326.9-4130_daily_bin1058.fits
Spacecraft file(s): /scratch/kocevski/900966/ft2_4FGL_J2326.9-4130_daily_bin1058.fits
Exposure map: /scratch/kocevski/900966/expmap_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.fits
Exposure cube: /scratch/kocevski/900966/ltcube_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/900966/Model_4FGL_J2326.9-4130_daily_bin1058.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) = 4590.44360905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.750       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11966E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2418       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7014       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.245       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0023       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46251       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.6539       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    110.88       1.0000         .10000E-03   10000.    
    23 'norm      '    8.0522       1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.165       1.0000         .10000E-03   10000.    
    25 'norm      '    .27015       1.0000         .10000E-03   10000.    
    26 'norm      '    .52586E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    18.992       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .77988       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.4927       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=   4590.434     FROM MIGRAD    STATUS=CONVERGED    879 CALLS     4578 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.623       -.97949E-06** at limit **
   2  Prefactor     11.719        31.449       -.22608E-05   -.10367E-03
   3  Prefactor     .10000E-03    73.647        .45647E-05** at limit **
   4  Prefactor     .10000E-03    21.782        .12976E-05** at limit **
   5  Prefactor     9.2415        9.4170       -.24136E-06   -.18840E-03
   6  Prefactor     4.7011        4.5770       -.13108E-06   -.10962E-03
   7  Prefactor     .10000E-03    14.585       -.47334E-06** at limit **
   8  Prefactor     16.245        9.7510        .89376E-07    .32656E-04
   9  Prefactor     1.9960        42.214       -.17465E-05   -.43381E-04
  10  Prefactor     .10000E-03    26.267       -.44008E-06** at limit **
  11  Prefactor     .10000E-03    8.7802       -.22156E-06** at limit **
  12  Prefactor     .10000E-03    5.5268        .12116E-08** at limit **
  13  Prefactor     .10000E-03    38.267       -.54504E-06** at limit **
  14  Prefactor     .10000E-03    29.002       -.10668E-05** at limit **
  15  Prefactor     .39101        130.77       -.74090E-05   -.27669E-03
  16  norm          .10000E-03    4.6410        .60347E-08** at limit **
  17  norm          .10000E-03    3.9182       -.59915E-06** at limit **
  18  norm          .10000E-03    3.3367        .45709E-07** at limit **
  19  norm          3.6547        11.059       -.29722E-06   -.44666E-04
  20  Prefactor     .10000E-03    3.5193       -.35385E-06** at limit **
  21  Prefactor     .10000E-03    47.307        .20541E-05** at limit **
  22  Prefactor     110.86        79.027       -.53207E-06   -.36358E-04
  23  norm          8.0529        6.4906       -.49314E-06   -.16443E-03
  24  Prefactor     15.168        16.224       -.69156E-06   -.21949E-03
  25  norm          .27089        1.1633        .32175E-06   -.36837E-03
  26  norm          .10184E-03    36.933       -.53580E-05** at limit **
  27  Prefactor     .10000E-03    1.3164       -.84863E-07** at limit **
  28  Prefactor     .10000E-03    9.4344        .40265E-06** at limit **
  29  Prefactor     18.991        10.043        .66044E-07   -.93542E-05
  30  Prefactor     .10000E-03    2.8564        .10691E-05** at limit **
  31  Prefactor     .10000E-03    41.065        .16090E-06** at limit **
  32  Normalizat    .77985        .27401       -.65588E-05   -.11164E-03
  33  Prefactor     1.4928        .29372        .55786E-05   -.20899E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.7187
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 9.2415
  Prefactor  = 4.70107
  Prefactor  = 0.0001
  Prefactor  = 16.2452
  Prefactor  = 1.99597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.39101
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.65467
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 110.863
  norm       = 8.0529
  Prefactor  = 15.168
  norm       = 0.270886
  norm       = 0.000101839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9912
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.779854
  Prefactor  = 1.49284
 **********
 **   18 **HESSE 
 **********

 FCN=   4590.434     FROM HESSE     STATUS=OK           697 CALLS     5275 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.719        31.935        .11687E-03   -1.5023    
   3  Prefactor     .10000E-03    74.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.2415        9.4566        .13183E-03   -1.5100    
   6  Prefactor     4.7011        4.5753        .13721E-03   -1.5274    
   7  Prefactor     .10000E-03    14.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.245        9.7535        .99370E-04   -1.4902    
   9  Prefactor     1.9960        42.653        .29267E-03   -1.5425    
  10  Prefactor     .10000E-03    26.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.7985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.5674        .15556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    29.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .39101        177.61        .46178E-02   -1.5583    
  16  norm          .10000E-03    4.6426        .14256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.9449        .13119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.3430        .12082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.6547        11.026        .21133E-03   -1.5326    
  20  Prefactor     .10000E-03    3.5234        .12397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    47.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     110.86        79.232        .38199E-04   -1.3598    
  23  norm          8.0529        6.5382        .14129E-03   -1.5140    
  24  Prefactor     15.168        16.274        .10285E-03   -1.4929    
  25  norm          .27089        1.1897        .13290E-03   -1.5604    
  26  norm          .10184E-03    8.0157        .43803E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.3227        .75894E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    9.4551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     18.991        10.049        .91905E-04   -1.4836    
  30  Prefactor     .10000E-03    2.9600        .11326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    41.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .77985        .28800        .29935E-03   -1.0082    
  33  Prefactor     1.4928        .30473        .25083E-03   -.77740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.89547e-09
Minuit parameter uncertainties:
  1  9.95768e-05
  2  31.982
  3  0.00101584
  4  0.000103349
  5  9.45814
  6  4.57559
  7  3.22419e-05
  8  9.75446
  9  18.4681
  10  3.69729e-05
  11  7.2239e-06
  12  7.45683e-07
  13  7.53612e-05
  14  9.89875e-05
  15  16.7147
  16  6.39046e-08
  17  3.68558e-05
  18  4.01769e-06
  19  11.0318
  20  1.72384e-05
  21  0.000368184
  22  79.3079
  23  6.53876
  24  16.2788
  25  1.1352
  26  0.00768084
  27  5.7675e-07
  28  3.70856e-05
  29  10.0497
  30  8.05288e-05
  31  3.07026e-05
  32  0.28856
  33  0.3051
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  3.682e-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.493e+00  3.051e-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:  7.799e-01  2.886e-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: 1.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/900966/likelihoodResults_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.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) = 4590.43436581
delta logL = -9.997439156e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4590.43426589
delta logL = -5.99811755819e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7125       1.0000          .0000       10.000    
     3 'Normalizat'    .77987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4928       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=   4590.434     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      240 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8546.0        .90712E-02** at limit **
   2  Index         2.7258        5.2398        .50000       -.26893E-05
   3  Normalizat    .77985        .14441        .67656E-01    .22863E-04
   4  Prefactor     1.4928        .16008        .56728E-01    .57145E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.72579
  Normalizat = 0.779853
  Prefactor  = 1.49284
 **********
 **   18 **HESSE 
 **********

 FCN=   4590.434     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7258        6.3610        .50000       -.47220    
   3  Normalizat    .77985        .26715        .29935E-03   -1.0082    
   4  Prefactor     1.4928        .30004        .25083E-03   -.77740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.61404e-12
Minuit parameter uncertainties:
  1  3.71021e-05
  2  4.71934
  3  0.267597
  4  0.300396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/900966': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4590.43426586
delta logL = -3.12611518893e-08

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  3.710e-05  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.726e+00  4.719e+00  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.493e+00  3.004e-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:  7.799e-01  2.676e-01  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/900966/cmap_HighResolution_513561601_513820801_4FGL_J2326.9-4130_daily_bin1058.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2021-09-29 19:34:38.431245', job_id='900966', GAL2='1.49', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1632969278.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.49', dlogl='-3.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1058' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:34:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 900966: <4FGL_J2326.9-4130_daily_bin1058> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1058> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:20:34 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:20:35 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:35 2021
Terminated at Wed Sep 29 19:34:39 2021
Results reported at Wed Sep 29 19:34:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1058 351.737 -41.5089 513561601 513820801 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 :                                   759.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

