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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin580
RA = 351.737, Dec = -41.5089
tmin = 389664001, tmax = 389923201
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='898018', job_status='RUN', time_executed='2021-09-29 19:11:19.318298', time_epoch_executed='1632967879.32' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898018

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898018/ft1_4FGL_J2326.9-4130_daily_bin580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898018/ft2_4FGL_J2326.9-4130_daily_bin580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898018/ft1_4FGL_J2326.9-4130_daily_bin580.fits outfile=/scratch/kocevski/898018/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin580.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=389664001.0 tmax=389923201.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.84
user 4.58
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/898018/ft2_4FGL_J2326.9-4130_daily_bin580.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/898018/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin580.fits evtable="EVENTS" outfile="/scratch/kocevski/898018/ft1_filtered_4FGL_J2326.9-4130_daily_bin580.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.61
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898018/ft1_filtered_4FGL_J2326.9-4130_daily_bin580.fits" evtable="EVENTS" scfile=/scratch/kocevski/898018/ft2_4FGL_J2326.9-4130_daily_bin580.fits sctable="SC_DATA" outfile=/scratch/kocevski/898018/ltcube_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.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/898018/ft2_4FGL_J2326.9-4130_daily_bin580.fits
.....................!
real 11.97
user 11.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898018/ft1_filtered_4FGL_J2326.9-4130_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/898018/ft2_4FGL_J2326.9-4130_daily_bin580.fits sctable="SC_DATA" expcube=/scratch/kocevski/898018/ltcube_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.fits outfile=/scratch/kocevski/898018/expmap_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.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/898018/ltcube_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.fits
.....................!
real 194.18
user 188.16
sys 5.58

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/898018/ft1_filtered_4FGL_J2326.9-4130_daily_bin580.fits scfile=/scratch/kocevski/898018/ft2_4FGL_J2326.9-4130_daily_bin580.fits outfile=/scratch/kocevski/898018/cmap_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898018/ft1_filtered_4FGL_J2326.9-4130_daily_bin580.fits scfile=/scratch/kocevski/898018/ft2_4FGL_J2326.9-4130_daily_bin580.fits outfile=/scratch/kocevski/898018/cmap_HighResolution_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898018/ft1_filtered_4FGL_J2326.9-4130_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/898018/ft2_4FGL_J2326.9-4130_daily_bin580.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898018/Model_4FGL_J2326.9-4130_daily_bin580.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/898018/ft1_filtered_4FGL_J2326.9-4130_daily_bin580.fits.....................!
real 39.16
user 37.82
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.427       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5408       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8650       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1263       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.863       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.342       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.925       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.143       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.510       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.217       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .99871       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.5192       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.524       1.0000         .10000E-03   10000.    
    22 'Prefactor '    106.88       1.0000         .10000E-03   10000.    
    23 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    36.628       1.0000         .10000E-03   10000.    
    25 'norm      '    7.1462       1.0000         .10000E-03   10000.    
    26 'norm      '    7.6346       1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.8174       1.0000         .10000E-03   10000.    
    28 'Prefactor '    11.182       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    9.0120       1.0000         .10000E-03   10000.    
    31 'Prefactor '    18.557       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .75814       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0883       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=   4760.898     FROM MIGRAD    STATUS=CONVERGED    873 CALLS     4621 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.560        .14093E-07** at limit **
   2  Prefactor     26.429        28.070        .35510E-06   -.81480E-05
   3  Prefactor     .10000E-03    51.834       -.42321E-06** at limit **
   4  Prefactor     3.5385        75.143       -.29059E-05   -.12705E-04
   5  Prefactor     9.8671        10.931        .16976E-05   -.17192E-03
   6  Prefactor     5.1264        5.0757        .31746E-05   -.83668E-03
   7  Prefactor     .10000E-03    34.698       -.27093E-06** at limit **
   8  Prefactor     17.866        8.9271       -.23889E-07   -.19405E-04
   9  Prefactor     13.338        19.437        .36867E-06    .14586E-04
  10  Prefactor     24.927        23.320        .10870E-06   -.63732E-05
  11  Prefactor     23.153        20.537        .44562E-06   -.47964E-04
  12  Prefactor     .10000E-03    3.7372       -.97741E-07** at limit **
  13  Prefactor     .10000E-03    145.47        .22770E-05** at limit **
  14  Prefactor     41.508        55.062        .22466E-06   -.23482E-04
  15  Prefactor     11.220        15.474        .31289E-06   -.15408E-04
  16  norm          .10000E-03    5.9628        .14841E-08** at limit **
  17  norm          .99765        7.2405        .20307E-05   -.93936E-04
  18  norm          .10000E-03    2.8870        .65148E-07** at limit **
  19  norm          5.5182        11.771        .87779E-06   -.16235E-05
  20  Prefactor     .10000E-03    8.4203       -.17774E-06** at limit **
  21  Prefactor     32.536        45.484        .22674E-05    .62739E-04
  22  Prefactor     106.86        77.251       -.31581E-06   -.96930E-04
  23  norm          .10000E-03    3.7164        .28924E-06** at limit **
  24  Prefactor     36.638        24.340        .29921E-06   -.46899E-04
  25  norm          7.1464        2.2399       -.22816E-07   -.83556E-04
  26  norm          7.6349        5.8799        .20592E-06    .82629E-04
  27  Prefactor     5.8171        6.3240        .17778E-06   -.17713E-03
  28  Prefactor     11.186        32.168        .18813E-06   -.18689E-04
  29  Prefactor     .10000E-03    6.9639        .13873E-05** at limit **
  30  Prefactor     9.0129        5.8365        .10324E-06   -.87229E-04
  31  Prefactor     18.625        51.445        .12971E-04    .25604E-03
  32  Normalizat    .75751        .23743       -.42972E-05    .22546E-04
  33  Prefactor     1.0890        .23150        .74379E-06   -.14004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 26.4295
  Prefactor  = 0.0001
  Prefactor  = 3.53846
  Prefactor  = 9.86705
  Prefactor  = 5.12637
  Prefactor  = 0.0001
  Prefactor  = 17.8657
  Prefactor  = 13.3376
  Prefactor  = 24.9272
  Prefactor  = 23.1531
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 41.5076
  Prefactor  = 11.2196
  norm       = 0.0001
  norm       = 0.997649
  norm       = 0.0001
  norm       = 5.5182
  Prefactor  = 0.0001
  Prefactor  = 32.5364
  Prefactor  = 106.863
  norm       = 0.0001
  Prefactor  = 36.6375
  norm       = 7.14637
  norm       = 7.63492
  Prefactor  = 5.8171
  Prefactor  = 11.1858
  Prefactor  = 0.0001
  Prefactor  = 9.01291
  Prefactor  = 18.6248
  Normalizat = 0.757513
  Prefactor  = 1.08895
 **********
 **   18 **HESSE 
 **********

 FCN=   4760.898     FROM HESSE     STATUS=OK           697 CALLS     5318 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.429        28.069        .77928E-04   -1.4679    
   3  Prefactor     .10000E-03    51.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5385        72.893        .21481E-03   -1.5332    
   5  Prefactor     9.8671        10.811        .63791E-03   -1.5080    
   6  Prefactor     5.1264        5.2094        .74499E-03   -1.5255    
   7  Prefactor     .10000E-03    34.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.866        8.9439        .94763E-04   -1.4862    
   9  Prefactor     13.338        19.447        .10966E-03   -1.4977    
  10  Prefactor     24.927        23.327        .80236E-04   -1.4709    
  11  Prefactor     23.153        20.665        .83265E-04   -1.4745    
  12  Prefactor     .10000E-03    3.7491        .13025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    148.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.508        55.083        .62218E-04   -1.4419    
  15  Prefactor     11.220        15.476        .11962E-03   -1.5038    
  16  norm          .10000E-03    5.9681        .16456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .99765        7.1576        .35356E-03   -1.5508    
  18  norm          .10000E-03    2.8984        .11447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.5182        11.749        .17102E-03   -1.5238    
  20  Prefactor     .10000E-03    8.5446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.536        45.631        .70261E-04   -1.4567    
  22  Prefactor     106.86        77.911        .38901E-04   -1.3637    
  23  norm          .10000E-03    3.7432        .12948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     36.638        24.299        .66221E-04   -1.4497    
  25  norm          7.1464        2.2349        .50901E-04   -1.5173    
  26  norm          7.6349        5.8703        .13420E-03   -1.5155    
  27  Prefactor     5.8171        6.2919        .15041E-03   -1.5226    
  28  Prefactor     11.186        31.983        .11981E-03   -1.5039    
  29  Prefactor     .10000E-03    7.0685        .17728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     9.0129        5.8420        .12346E-03   -1.5107    
  31  Prefactor     18.625        54.479        .92976E-04   -1.4845    
  32  Normalizat    .75751        .28618        .29173E-03   -1.0166    
  33  Prefactor     1.0890        .28153        .26854E-03   -.89820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75066e-09
Minuit parameter uncertainties:
  1  4.86127e-06
  2  28.0834
  3  2.73606e-05
  4  32.1648
  5  10.8127
  6  5.20986
  7  5.86222e-05
  8  8.94458
  9  19.4563
  10  23.3357
  11  20.6714
  12  2.1405e-06
  13  0.00100104
  14  55.1504
  15  15.4811
  16  2.25719e-06
  17  5.34508
  18  2.22491e-06
  19  11.7538
  20  4.58547e-06
  21  45.6801
  22  77.986
  23  1.13503e-05
  24  24.3058
  25  2.23496
  26  5.87072
  27  6.29264
  28  32.0325
  29  7.85577e-05
  30  5.84238
  31  54.6254
  32  0.286746
  33  0.281912
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.254e+01  4.568e+01  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.089e+00  2.819e-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.575e-01  2.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/898018/likelihoodResults_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.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): 0
logL (Free Index) = 4760.81895633
delta logL = 0.0789973213559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4760.81698462
delta logL = 0.0809690360684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.893       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2078       1.0000          .0000       10.000    
     3 'Normalizat'    .74219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1007       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4760.817     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      294 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.878        49.084        .85605E-04    .15604E-03
   2  Index         3.2067        1.3459        .81652E-02    .67523E-04
   3  Normalizat    .74267        .25921        .29443E-03   -.13592E-02
   4  Prefactor     1.1004        .27662        .26733E-03   -.13153E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8782
  Index      = 3.20669
  Normalizat = 0.742673
  Prefactor  = 1.10038
 **********
 **   18 **HESSE 
 **********

 FCN=   4760.817     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.878        41.565        .34242E-05   -1.4772    
   2  Index         3.2067        1.1418        .32661E-03   -.36683    
   3  Normalizat    .74267        .25949        .58886E-04   -1.0223    
   4  Prefactor     1.1004        .27668        .53466E-04   -.89454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34279e-09
Minuit parameter uncertainties:
  1  41.6205
  2  1.15353
  3  0.259926
  4  0.277038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898018': 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) = 4760.81698121
delta logL = 0.0809724380169

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.188e+01  4.162e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.207e+00  1.154e+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.100e+00  2.770e-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.427e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.73
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/898018/cmap_HighResolution_389664001_389923201_4FGL_J2326.9-4130_daily_bin580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', job_status='DONE', photon_flux_upper_limit='1.66e-07', time_completed='2021-09-29 19:24:51.135354', job_id='898018', GAL2='1.10', fit_tolerance='1e-08', EG2='0.74', EG='0.76', time_epoch_completed='1632968691.14', return_code2='0', ts='0.73', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='8.10e-02', ts2='0.90', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='580' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:24:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 898018: <4FGL_J2326.9-4130_daily_bin580> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin580> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:10:54 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:10:56 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:10:56 2021
Terminated at Wed Sep 29 19:24:51 2021
Results reported at Wed Sep 29 19:24:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin580 351.737 -41.5089 389664001 389923201 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 :                                   808.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

