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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1217
RA = 351.737, Dec = -41.5089
tmin = 554774401, tmax = 555033601
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='902451', job_status='RUN', time_executed='2021-09-29 19:28:55.306709', time_epoch_executed='1632968935.31' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1217'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902451

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902451/ft1_4FGL_J2326.9-4130_daily_bin1217.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902451/ft1_4FGL_J2326.9-4130_daily_bin1217.fits outfile=/scratch/kocevski/902451/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1217.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=554774401.0 tmax=555033601.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.71
user 3.48
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.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/902451/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1217.fits evtable="EVENTS" outfile="/scratch/kocevski/902451/ft1_filtered_4FGL_J2326.9-4130_daily_bin1217.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.60
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902451/ft1_filtered_4FGL_J2326.9-4130_daily_bin1217.fits" evtable="EVENTS" scfile=/scratch/kocevski/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.fits sctable="SC_DATA" outfile=/scratch/kocevski/902451/ltcube_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.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/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.fits
.....................!
real 11.96
user 11.56
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902451/ft1_filtered_4FGL_J2326.9-4130_daily_bin1217.fits evtable="EVENTS" scfile=/scratch/kocevski/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.fits sctable="SC_DATA" expcube=/scratch/kocevski/902451/ltcube_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.fits outfile=/scratch/kocevski/902451/expmap_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.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/902451/ltcube_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.fits
.....................!
real 190.19
user 185.67
sys 4.11

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/902451/ft1_filtered_4FGL_J2326.9-4130_daily_bin1217.fits scfile=/scratch/kocevski/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.fits outfile=/scratch/kocevski/902451/cmap_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902451/ft1_filtered_4FGL_J2326.9-4130_daily_bin1217.fits scfile=/scratch/kocevski/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.fits outfile=/scratch/kocevski/902451/cmap_HighResolution_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.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/902451/ft1_filtered_4FGL_J2326.9-4130_daily_bin1217.fits evtable="EVENTS" scfile=/scratch/kocevski/902451/ft2_4FGL_J2326.9-4130_daily_bin1217.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902451/Model_4FGL_J2326.9-4130_daily_bin1217.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/902451/ft1_filtered_4FGL_J2326.9-4130_daily_bin1217.fits.....................!
real 27.55
user 26.08
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.794       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3369       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11530E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.053       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.269       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.698       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.375       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.1790       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    58.581       1.0000         .10000E-03   10000.    
    22 'Prefactor '    41.050       1.0000         .10000E-03   10000.    
    23 'norm      '    .21297E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.883       1.0000         .10000E-03   10000.    
    25 'norm      '    2.8185       1.0000         .10000E-03   10000.    
    26 'norm      '    6.1379       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.1501       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .35341E-01   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .20526E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .74394       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2631.163     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     3849 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.773        3.8467       -.25561E-06    .22316E-02
   2  Prefactor     .10011E-03    13.694       -.18211E-06** at limit **
   3  Prefactor     .10018E-03    12.992        .22528E-06** at limit **
   4  Prefactor     .10008E-03    14.290       -.56633E-06** at limit **
   5  Prefactor     .10000E-03    6.4121       -.66144E-06** at limit **
   6  Prefactor     6.3286        1.2760       -.22350E-07    .25841E-03
   7  Prefactor     .10358E-03    43.754       -.42051E-05** at limit **
   8  Prefactor     .10000E-03    4.0270        .60667E-06** at limit **
   9  Prefactor     .10010E-03    95.916        .29499E-05** at limit **
  10  Prefactor     33.076        3.1411        .15091E-06    .26597E-02
  11  Prefactor     15.222        6.3847       -.11644E-06   -.52586E-02
  12  Prefactor     19.693        1.2339       -.42669E-07   -.14615E-03
  13  Prefactor     .10001E-03    13.991        .32396E-06** at limit **
  14  Prefactor     53.284        15.153       -.10625E-05    .47295E-02
  15  Prefactor     .10007E-03    10.920       -.15295E-05** at limit **
  16  norm          .10000E-03    8.3706        .92173E-06** at limit **
  17  norm          9.1794        1.0216        .58788E-08   -.31520E-04
  18  norm          .10000E-03    4.6807        .89692E-06** at limit **
  19  norm          .10000E-03    8.7936       -.35136E-06** at limit **
  20  Prefactor     .10000E-03    5.0030        .19704E-06** at limit **
  21  Prefactor     58.747        26.698        .17547E-05   -.58766E-02
  22  Prefactor     41.024        4.3288       -.33379E-06    .75550E-03
  23  norm          .10007E-03    10.582       -.11365E-05** at limit **
  24  Prefactor     14.871        2.7478       -.27735E-06   -.12849E-02
  25  norm          2.8180        2.1596        .20090E-06    .21707E-03
  26  norm          6.1459        6.1701       -.49793E-06   -.33759E-02
  27  Prefactor     3.1489        1.3181        .90658E-07    .18540E-03
  28  Prefactor     .10546E-03    35.824       -.20672E-05** at limit **
  29  Prefactor     .14989E-03    761.02       -.26749E-04** at limit **
  30  Prefactor     .10033E-03    33.235       -.14025E-05** at limit **
  31  Prefactor     .10000E-03    12.674        .32452E-06** at limit **
  32  Normalizat    .74418        .31776       -.53456E-05   -.58263E-04
  33  Prefactor     1.1349        .34480        .45640E-05    .36278E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.7735
  Prefactor  = 0.000100106
  Prefactor  = 0.000100184
  Prefactor  = 0.000100078
  Prefactor  = 0.0001
  Prefactor  = 6.32862
  Prefactor  = 0.000103583
  Prefactor  = 0.0001
  Prefactor  = 0.0001001
  Prefactor  = 33.0761
  Prefactor  = 15.2225
  Prefactor  = 19.6929
  Prefactor  = 0.000100011
  Prefactor  = 53.2836
  Prefactor  = 0.000100073
  norm       = 0.000100001
  norm       = 9.17937
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 58.7475
  Prefactor  = 41.0244
  norm       = 0.000100075
  Prefactor  = 14.871
  norm       = 2.818
  norm       = 6.14594
  Prefactor  = 3.14887
  Prefactor  = 0.000105462
  Prefactor  = 0.000149886
  Prefactor  = 0.000100331
  Prefactor  = 0.000100003
  Normalizat = 0.744177
  Prefactor  = 1.13487
 **********
 **   18 **HESSE 
 **********

 FCN=   2631.163     FROM HESSE     STATUS=OK           771 CALLS     4620 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.773        101.77        .13081E-02   -1.4173    
   2  Prefactor     .10011E-03    14.062        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10018E-03    35.057        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10008E-03    14.597        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.3834        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3286        8.7432        .39863E-02   -1.5205    
   7  Prefactor     .10358E-03    62.537        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0221        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10010E-03    106.37        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.076        39.279        .17425E-02   -1.4557    
  11  Prefactor     15.222        28.912        .25625E-02   -1.4927    
  12  Prefactor     19.693        15.230        .22561E-02   -1.4820    
  13  Prefactor     .10001E-03    36.639        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     53.284        75.108        .13725E-02   -1.4247    
  15  Prefactor     .10007E-03    11.140        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.3773        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.1794        9.1301        .33071E-02   -1.5102    
  18  norm          .10000E-03    4.6635        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.7670        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.0021        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     58.747        72.780        .13104E-02   -1.4174    
  22  Prefactor     41.024        71.006        .15641E-02   -1.4426    
  23  norm          .10007E-03    10.515        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     14.871        26.896        .25955E-02   -1.4937    
  25  norm          2.8180        2.3003        .60567E-02   -1.5372    
  26  norm          6.1459        6.4986        .40512E-02   -1.5212    
  27  Prefactor     3.1489        6.8759        .57095E-02   -1.5353    
  28  Prefactor     .10546E-03    74.374        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .14989E-03    12.803        .55939E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10033E-03    5.5492        .68488E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    36.282        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .74418        .29789        .62527E-01   -1.0217    
  33  Prefactor     1.1349        .28892        .56212E-01   -.88360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00162e-06
Minuit parameter uncertainties:
  1  102.077
  2  0.00244724
  3  0.00508709
  4  0.00213329
  5  3.66948e-05
  6  8.74495
  7  0.0299684
  8  3.30856e-05
  9  0.00652234
  10  39.3102
  11  28.9381
  12  15.2331
  13  0.00124656
  14  75.2415
  15  0.00181007
  16  0.000160152
  17  9.13152
  18  5.37673e-05
  19  0.000192938
  20  1.41339e-05
  21  72.8909
  22  71.1524
  23  0.00177611
  24  26.9177
  25  2.30036
  26  6.4993
  27  6.87763
  28  0.0403594
  29  0.0505549
  30  0.00270891
  31  0.000711812
  32  0.298542
  33  0.289318
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  5.875e+01  7.289e+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.135e+00  2.893e-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.442e-01  2.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/902451/likelihoodResults_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.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) = 2629.70736087
delta logL = 1.45554488512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2629.57521531
delta logL = 1.58769044222

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61113E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.8505       1.0000          .0000       10.000    
     3 'Normalizat'    .63026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2427       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=   2629.575     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      600 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49968E-03    .37877E-03    .21163E-03** at limit **
   2  Index         9.9581        .54313        .34492       -.51421E-04
   3  Normalizat    .63155        .27392        .67211E-01   -.12497E-04
   4  Prefactor     1.2417        .29503        .54110E-01    .39455E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000499684
  Index      = 9.95808
  Normalizat = 0.631549
  Prefactor  = 1.24167
 **********
 **   18 **HESSE 
 **********

 FCN=   2629.575     FROM HESSE     STATUS=OK            33 CALLS      633 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49968E-03    .11479E-02    .83442E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.9581        8.4880        .21569E-01    1.4412    
   3  Normalizat    .63155        .33198        .29744E-03   -1.0666    
   4  Prefactor     1.2417        .35836        .23924E-03   -.85058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83939e-07
Minuit parameter uncertainties:
  1  0.00114786
  2  1.19959
  3  0.333033
  4  0.359069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902451': 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) = 2629.57511826
delta logL = 1.58778749237

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  4.997e-04  1.148e-03  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  9.958e+00  1.200e+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.242e+00  3.591e-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:  6.315e-01  3.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.41
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 9.96 +/- 1.20
Photon Flux (Free Index): 1.76e-07 +/- 1.16e-07
Energy Flux (Free Index): 1.97e-05 +/- 1.30e-05

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/902451/cmap_HighResolution_554774401_555033601_4FGL_J2326.9-4130_daily_bin1217.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-02', comment='SUCCESS', energy_flux2='1.97e-05', dlogl='1.59e+00', photon_flux2='1.76e-07', job_status='DONE', time_completed='2021-09-29 19:38:16.789415', photon_index_error2='1.20', photon_index2='9.96', ts='0.94', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='2.69e-07', energy_flux_error2='1.30e-05', EG='0.74', time_epoch_completed='1632969496.79', return_code='0', job_id='902451', GAL2='1.24', EG2='0.63', return_code2='0', photon_flux_error2='1.16e-07', ts2='4.41', photon_index='2.78' WHERE bin_id='1217' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:38:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 902451: <4FGL_J2326.9-4130_daily_bin1217> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1217> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:25:12 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:14 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:25:14 2021
Terminated at Wed Sep 29 19:38:17 2021
Results reported at Wed Sep 29 19:38:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1217 351.737 -41.5089 554774401 555033601 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 :                                   556.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            785 sec.

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

