/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 7 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7378
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1483
RA = 351.737, Dec = -41.5089
tmin = 623721601, tmax = 623980801
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='902873', job_status='RUN', time_executed='2021-09-29 19:26:08.736308', time_epoch_executed='1632968768.74' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902873

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902873/ft1_4FGL_J2326.9-4130_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902873/ft2_4FGL_J2326.9-4130_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902873/ft1_4FGL_J2326.9-4130_daily_bin1483.fits outfile=/scratch/kocevski/902873/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1483.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=623721601.0 tmax=623980801.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.24
user 4.94
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902873/ft1_filtered_4FGL_J2326.9-4130_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/902873/ft2_4FGL_J2326.9-4130_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/902873/ltcube_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.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/902873/ft2_4FGL_J2326.9-4130_daily_bin1483.fits
.....................!
real 11.86
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902873/ft1_filtered_4FGL_J2326.9-4130_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/902873/ft2_4FGL_J2326.9-4130_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/902873/ltcube_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.fits outfile=/scratch/kocevski/902873/expmap_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.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/902873/ltcube_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.fits
.....................!
real 190.58
user 185.17
sys 5.03

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/902873/ft1_filtered_4FGL_J2326.9-4130_daily_bin1483.fits scfile=/scratch/kocevski/902873/ft2_4FGL_J2326.9-4130_daily_bin1483.fits outfile=/scratch/kocevski/902873/cmap_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902873/ft1_filtered_4FGL_J2326.9-4130_daily_bin1483.fits scfile=/scratch/kocevski/902873/ft2_4FGL_J2326.9-4130_daily_bin1483.fits outfile=/scratch/kocevski/902873/cmap_HighResolution_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902873/ft1_filtered_4FGL_J2326.9-4130_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/902873/ft2_4FGL_J2326.9-4130_daily_bin1483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902873/Model_4FGL_J2326.9-4130_daily_bin1483.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/902873/ft1_filtered_4FGL_J2326.9-4130_daily_bin1483.fits.....................!
real 32.69
user 31.35
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5141       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9049       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.9625       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.008       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4000       1.0000         .10000E-03   10000.    
     7 'Prefactor '    52.346       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5918       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11517E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    63.886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7688       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.269       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.656       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.547       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    11.387       1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.691       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.1177       1.0000         .10000E-03   10000.    
    25 'norm      '    1.7539       1.0000         .10000E-03   10000.    
    26 'norm      '    1.6483       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .48784       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.8746       1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.5405       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .19875E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .49457       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.3318       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=   3769.758     FROM MIGRAD    STATUS=CONVERGED    925 CALLS     4695 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2357        995.20       -.16877E-04   -.13225E-04
   2  Prefactor     2.9715        100.42       -.17009E-04   -.88104E-04
   3  Prefactor     4.9502        203.48       -.16399E-05   -.43388E-06
   4  Prefactor     .10000E-03    36.551        .18305E-06** at limit **
   5  Prefactor     30.009        12.964       -.10679E-06    .96592E-05
   6  Prefactor     9.3992        7.4868        .17683E-06   -.73441E-04
   7  Prefactor     52.325        71.513       -.97448E-06   -.63072E-04
   8  Prefactor     5.5905        8.0918        .66920E-06    .10663E-03
   9  Prefactor     .10001E-03    75.852        .69642E-05** at limit **
  10  Prefactor     63.905        46.425       -.16552E-05   -.26240E-03
  11  Prefactor     .10000E-03    18.391        .11520E-06** at limit **
  12  Prefactor     6.7692        9.3959        .28270E-06   -.29387E-04
  13  Prefactor     10.271        27.949       -.14141E-06   -.12113E-04
  14  Prefactor     15.673        61.940       -.21345E-05   -.47557E-04
  15  Prefactor     .10000E-03    10.204        .21984E-06** at limit **
  16  norm          .10000E-03    4.8299        .32496E-07** at limit **
  17  norm          13.547        10.572        .31216E-07    .59573E-04
  18  norm          .10000E-03    2.2479        .30918E-07** at limit **
  19  norm          11.386        11.712       -.95737E-07   -.33429E-04
  20  Prefactor     25.681        19.116        .88849E-06    .36486E-03
  21  Prefactor     .10000E-03    17.906       -.30386E-07** at limit **
  22  Prefactor     .10001E-03    94.489       -.55954E-05** at limit **
  23  norm          .10000E-03    3.1253        .55787E-07** at limit **
  24  Prefactor     5.1508        51.564       -.30441E-05   -.49685E-04
  25  norm          1.7536        1.7011       -.70642E-07   -.86209E-05
  26  norm          1.6472        5.0539        .52436E-06   -.80787E-04
  27  Prefactor     .48964        4.7910        .44176E-06    .18687E-05
  28  Prefactor     .10000E-03    62.053       -.31921E-05** at limit **
  29  Prefactor     4.8770        8.5019        .53311E-06    .60759E-04
  30  Prefactor     4.5340        6.2023        .41969E-05   -.85111E-03
  31  Prefactor     .10000E-03    159.25       -.73714E-06** at limit **
  32  Normalizat    .49450        .25564       -.21908E-05    .83573E-04
  33  Prefactor     1.3319        .26157        .47452E-06    .59427E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23572
  Prefactor  = 2.97147
  Prefactor  = 4.95016
  Prefactor  = 0.0001
  Prefactor  = 30.0086
  Prefactor  = 9.39923
  Prefactor  = 52.3246
  Prefactor  = 5.5905
  Prefactor  = 0.000100015
  Prefactor  = 63.9048
  Prefactor  = 0.0001
  Prefactor  = 6.76917
  Prefactor  = 10.2712
  Prefactor  = 15.6727
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.5472
  norm       = 0.0001
  norm       = 11.3856
  Prefactor  = 25.6805
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 5.1508
  norm       = 1.75363
  norm       = 1.64723
  Prefactor  = 0.489636
  Prefactor  = 0.000100001
  Prefactor  = 4.87705
  Prefactor  = 4.53398
  Prefactor  = 0.000100001
  Normalizat = 0.494497
  Prefactor  = 1.33192
 **********
 **   18 **HESSE 
 **********

 FCN=   3769.758     FROM HESSE     STATUS=OK           699 CALLS     5394 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2357        1052.1        .34748E-02   -1.5486    
   2  Prefactor     2.9715        97.694        .23840E-03   -1.5363    
   3  Prefactor     4.9502        189.28        .18053E-03   -1.5263    
   4  Prefactor     .10000E-03    36.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.009        12.965        .73139E-04   -1.4612    
   6  Prefactor     9.3992        7.4766        .13071E-03   -1.5095    
   7  Prefactor     52.325        71.578        .55434E-04   -1.4260    
   8  Prefactor     5.5905        8.0727        .16989E-03   -1.5235    
   9  Prefactor     .10001E-03    78.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     63.905        47.275        .50207E-04   -1.4107    
  11  Prefactor     .10000E-03    18.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.7692        9.3800        .15422E-03   -1.5188    
  13  Prefactor     10.271        27.956        .12504E-03   -1.5067    
  14  Prefactor     15.673        62.258        .10123E-03   -1.4916    
  15  Prefactor     .10000E-03    10.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.8305        .13179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.547        10.586        .10883E-03   -1.4972    
  18  norm          .10000E-03    2.2496        .89901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.386        11.720        .11872E-03   -1.5033    
  20  Prefactor     25.681        18.755        .79033E-04   -1.4694    
  21  Prefactor     .10000E-03    17.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    95.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.1561        .10582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.1508        49.403        .17772E-03   -1.5254    
  25  norm          1.7536        1.6748        .70055E-04   -1.5443    
  26  norm          1.6472        5.0182        .22839E-03   -1.5451    
  27  Prefactor     .48964        8.9398        .23382E-02   -1.5568    
  28  Prefactor     .10000E-03    62.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     4.8770        8.4830        .18219E-03   -1.5266    
  30  Prefactor     4.5340        6.3801        .78202E-03   -1.5282    
  31  Prefactor     .10000E-03    159.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .49450        .29236        .33587E-03   -1.1267    
  33  Prefactor     1.3319        .30740        .23847E-03   -.82363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95863e-09
Minuit parameter uncertainties:
  1  73.4445
  2  34.1363
  3  61.4286
  4  5.97829e-05
  5  12.966
  6  7.4773
  7  71.6957
  8  8.07431
  9  0.00216902
  10  47.3028
  11  2.45501e-05
  12  9.38207
  13  27.9921
  14  62.5177
  15  9.04339e-06
  16  5.02996e-07
  17  10.587
  18  1.64095e-07
  19  11.722
  20  18.7593
  21  1.55071e-05
  22  0.0018541
  23  3.44643e-06
  24  31.9381
  25  1.67483
  26  5.01947
  27  4.18467
  28  0.000391004
  29  8.48505
  30  6.38101
  31  0.000644245
  32  0.293272
  33  0.307825
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  1.551e-05  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.332e+00  3.078e-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:  4.945e-01  2.933e-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: 9.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902873/likelihoodResults_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.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) = 3769.7579114
delta logL = -0.000265318233687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3769.7576483
delta logL = -2.21501295528e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3971       1.0000          .0000       10.000    
     3 'Normalizat'    .49449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3319       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=   3769.758     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      298 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    70.794        .18142E-01** at limit **
   2  Index         2.2265        5.0720        .50000        .43974E-07
   3  Normalizat    .49450        .98193E-02    .33586E-03    .10922E-03
   4  Prefactor     1.3319        .11062E-01    .23847E-03    .16052E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.22653
  Normalizat = 0.494496
  Prefactor  = 1.33192
 **********
 **   18 **HESSE 
 **********

 FCN=   3769.758     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      327 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    483.64        .27649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2265        5.5316        .50000       -.58800    
   3  Normalizat    .49450        .26380E-01    .13434E-04   -1.1267    
   4  Prefactor     1.3319        .29720E-01    .47694E-04   -.82363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.64538e-10
Minuit parameter uncertainties:
  1  0.000515482
  2  1465.02
  3  0.0263808
  4  0.0297204
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902873': 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) = 3769.75764564
delta logL = 4.40026724391e-07

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  5.155e-04  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.227e+00  1.465e+03  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.332e+00  2.972e-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:  4.945e-01  2.638e-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/902873/cmap_HighResolution_623721601_623980801_4FGL_J2326.9-4130_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.70e-03', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2021-09-29 19:38:41.108639', job_id='902873', GAL2='1.33', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1632969521.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='4.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1483' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:38:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 902873: <4FGL_J2326.9-4130_daily_bin1483> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1483 351.737 -41.5089 623721601 623980801 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 :                                   693.39 sec.
    Max Memory :                                 1047 MB
    Average Memory :                             320.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            770 sec.

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

