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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1450
RA = 351.737, Dec = -41.5089
tmin = 615168001, tmax = 615427201
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='902818', job_status='RUN', time_executed='2021-09-29 19:26:45.301577', time_epoch_executed='1632968805.3' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902818

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902818/ft1_4FGL_J2326.9-4130_daily_bin1450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902818/ft2_4FGL_J2326.9-4130_daily_bin1450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902818/ft1_4FGL_J2326.9-4130_daily_bin1450.fits outfile=/scratch/kocevski/902818/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1450.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=615168001.0 tmax=615427201.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.51
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902818/ft1_filtered_4FGL_J2326.9-4130_daily_bin1450.fits" evtable="EVENTS" scfile=/scratch/kocevski/902818/ft2_4FGL_J2326.9-4130_daily_bin1450.fits sctable="SC_DATA" outfile=/scratch/kocevski/902818/ltcube_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.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/902818/ft2_4FGL_J2326.9-4130_daily_bin1450.fits
.....................!
real 11.95
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902818/ft1_filtered_4FGL_J2326.9-4130_daily_bin1450.fits evtable="EVENTS" scfile=/scratch/kocevski/902818/ft2_4FGL_J2326.9-4130_daily_bin1450.fits sctable="SC_DATA" expcube=/scratch/kocevski/902818/ltcube_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.fits outfile=/scratch/kocevski/902818/expmap_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.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/902818/ltcube_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.fits
.....................!
real 190.17
user 185.07
sys 4.76

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/902818/ft1_filtered_4FGL_J2326.9-4130_daily_bin1450.fits scfile=/scratch/kocevski/902818/ft2_4FGL_J2326.9-4130_daily_bin1450.fits outfile=/scratch/kocevski/902818/cmap_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902818/ft1_filtered_4FGL_J2326.9-4130_daily_bin1450.fits scfile=/scratch/kocevski/902818/ft2_4FGL_J2326.9-4130_daily_bin1450.fits outfile=/scratch/kocevski/902818/cmap_HighResolution_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902818/ft1_filtered_4FGL_J2326.9-4130_daily_bin1450.fits evtable="EVENTS" scfile=/scratch/kocevski/902818/ft2_4FGL_J2326.9-4130_daily_bin1450.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902818/Model_4FGL_J2326.9-4130_daily_bin1450.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/902818/ft1_filtered_4FGL_J2326.9-4130_daily_bin1450.fits.....................!
real 38.48
user 37.23
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9089       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.543       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.568       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7870       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0424       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2620       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.371       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.520       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.229       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.651       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.625       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      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .91991       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.543       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.7078       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.4624       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    49.833       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .69040       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .97534       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=   4864.101     FROM MIGRAD    STATUS=CONVERGED    876 CALLS     4622 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8729        154.26        .45167E-05    .22488E-05
   2  Prefactor     .10000E-03    16.546        .24609E-06** at limit **
   3  Prefactor     28.550        36.960        .35150E-06   -.26110E-04
   4  Prefactor     .10000E-03    10.653        .23895E-07** at limit **
   5  Prefactor     26.567        8.7139        .83973E-07   -.43882E-04
   6  Prefactor     8.7855        5.4333       -.35111E-06   -.27681E-05
   7  Prefactor     6.1240        169.04        .13745E-04   -.18567E-05
   8  Prefactor     5.2615        7.8096        .44930E-06   -.93876E-05
   9  Prefactor     20.373        27.843        .52210E-06   -.16231E-05
  10  Prefactor     28.507        29.741       -.15510E-05   -.41331E-05
  11  Prefactor     29.225        20.313        .26118E-06   -.18648E-04
  12  Prefactor     .10000E-03    7.3322       -.13953E-05** at limit **
  13  Prefactor     14.651        25.329        .17123E-06   -.49532E-05
  14  Prefactor     .10000E-03    170.66        .15846E-05** at limit **
  15  Prefactor     21.633        18.994       -.73164E-06   -.24143E-03
  16  norm          .10000E-03    8.2755        .73784E-07** at limit **
  17  norm          .10000E-03    2.7171        .16603E-06** at limit **
  18  norm          .10000E-03    1.5511        .49168E-07** at limit **
  19  norm          .91944        10.354        .30414E-05   -.60511E-04
  20  Prefactor     20.545        8.2264       -.56589E-07   -.40029E-03
  21  Prefactor     .10000E-03    26.912        .10382E-05** at limit **
  22  Prefactor     .10000E-03    29.004       -.15717E-08** at limit **
  23  norm          .10000E-03    2.7138        .64181E-06** at limit **
  24  Prefactor     .10000E-03    10.045        .73967E-06** at limit **
  25  norm          .10000E-03    .44152        .57147E-06** at limit **
  26  norm          .10000E-03    1.1357        .12614E-06** at limit **
  27  Prefactor     1.7080        2.6731        .10238E-06   -.16460E-03
  28  Prefactor     .10000E-03    8.7771        .20901E-06** at limit **
  29  Prefactor     5.4613        6.5423        .19388E-06   -.30146E-04
  30  Prefactor     .10000E-03    1.8370        .24405E-06** at limit **
  31  Prefactor     49.835        67.560        .51872E-06   -.93259E-05
  32  Normalizat    .69067        .19462       -.34370E-05   -.22185E-03
  33  Prefactor     .97506        .20266        .96240E-06   -.39068E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.87292
  Prefactor  = 0.0001
  Prefactor  = 28.5504
  Prefactor  = 0.0001
  Prefactor  = 26.5666
  Prefactor  = 8.78553
  Prefactor  = 6.12398
  Prefactor  = 5.26155
  Prefactor  = 20.3735
  Prefactor  = 28.5072
  Prefactor  = 29.2251
  Prefactor  = 0.0001
  Prefactor  = 14.6512
  Prefactor  = 0.0001
  Prefactor  = 21.6328
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.919438
  Prefactor  = 20.5454
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.70797
  Prefactor  = 0.0001
  Prefactor  = 5.46129
  Prefactor  = 0.0001
  Prefactor  = 49.8351
  Normalizat = 0.690672
  Prefactor  = 0.975057
 **********
 **   18 **HESSE 
 **********

 FCN=   4864.101     FROM HESSE     STATUS=OK           695 CALLS     5317 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8729        156.11        .30091E-03   -1.5434    
   2  Prefactor     .10000E-03    16.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.550        36.945        .74990E-04   -1.4639    
   4  Prefactor     .10000E-03    10.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.567        8.7235        .77721E-04   -1.4677    
   6  Prefactor     8.7855        5.4219        .11759E-03   -1.5115    
   7  Prefactor     6.1240        168.35        .16334E-03   -1.5213    
   8  Prefactor     5.2615        7.8035        .17522E-03   -1.5249    
   9  Prefactor     20.373        27.850        .88742E-04   -1.4805    
  10  Prefactor     28.507        29.694        .75019E-04   -1.4640    
  11  Prefactor     29.225        20.316        .74105E-04   -1.4626    
  12  Prefactor     .10000E-03    7.3309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.651        25.323        .10464E-03   -1.4942    
  14  Prefactor     .10000E-03    175.30        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.633        18.995        .86133E-04   -1.4777    
  16  norm          .10000E-03    8.3527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.7219        .11228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.5518        .84823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .91944        10.385        .21210E-02   -1.5516    
  20  Prefactor     20.545        8.2168        .88369E-04   -1.4801    
  21  Prefactor     .10000E-03    26.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    29.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    5.8743        .21821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .56105        .87419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.1388        .72577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.7080        2.6435        .13612E-03   -1.5447    
  28  Prefactor     .10000E-03    8.7888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.4613        6.5127        .16718E-03   -1.5241    
  30  Prefactor     .10000E-03    1.8721        .92367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     49.835        67.426        .56808E-04   -1.4295    
  32  Normalizat    .69067        .22310        .24851E-03   -1.0426    
  33  Prefactor     .97506        .23621        .23752E-03   -.93566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38222e-09
Minuit parameter uncertainties:
  1  34.2905
  2  2.5477e-05
  3  36.975
  4  1.49156e-06
  5  8.72394
  6  5.42219
  7  64.4176
  8  7.80501
  9  27.8678
  10  29.7094
  11  20.3209
  12  2.95369e-05
  13  25.3413
  14  0.000387867
  15  18.9999
  16  1.35285e-06
  17  1.08208e-06
  18  8.30402e-08
  19  6.1811
  20  8.21721
  21  7.48361e-05
  22  3.93102e-06
  23  9.59201e-05
  24  2.73179e-05
  25  7.22038e-06
  26  1.07749e-06
  27  2.64371
  28  1.286e-05
  29  6.51354
  30  7.18362e-06
  31  67.5291
  32  0.223391
  33  0.236464
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  7.484e-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:  9.751e-01  2.365e-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.907e-01  2.234e-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: 7.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902818/likelihoodResults_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.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) = 4864.10149262
delta logL = -0.000176454829671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4864.10131701
delta logL = -8.36165781948e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.4259       1.0000          .0000       10.000    
     3 'Normalizat'    .69067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97506       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=   4864.101     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      281 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10348E-03    .36081        .74936E-01** at limit **
   2  Index         3.3141        5.2905        .50000        .92727E-05
   3  Normalizat    .69067        .76717E-03    .24851E-03   -.83718E-05
   4  Prefactor     .97506        .86427E-03    .23753E-03   -.48820E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103484
  Index      = 3.3141
  Normalizat = 0.69067
  Prefactor  = 0.975061
 **********
 **   18 **HESSE 
 **********

 FCN=   4864.101     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      312 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10348E-03    73.662        .43739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3141        5.4137        .50000       -.34392    
   3  Normalizat    .69067        .78434E-02    .99403E-05   -1.0426    
   4  Prefactor     .97506        .88362E-02    .95011E-05   -.93565    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.89213e-09
Minuit parameter uncertainties:
  1  0.032079
  2  424.757
  3  0.00784343
  4  0.00883626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902818': 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) = 4864.10131685
delta logL = -6.84755832481e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.751e-01  8.836e-03  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.907e-01  7.843e-03  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/902818/cmap_HighResolution_615168001_615427201_4FGL_J2326.9-4130_daily_bin1450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', job_status='DONE', photon_flux_upper_limit='7.94e-08', time_completed='2021-09-29 19:41:16.226502', job_id='902818', GAL2='0.98', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632969676.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-6.85e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1450' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:41:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 902818: <4FGL_J2326.9-4130_daily_bin1450> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1450 351.737 -41.5089 615168001 615427201 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 :                                   809.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

