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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1650
RA = 351.737, Dec = -41.5089
tmin = 667008001, tmax = 667267201
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='323990', job_status='RUN', time_executed='2022-02-23 00:56:44.380899', time_epoch_executed='1645606604.38' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/323990

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/323990/ft1_4FGL_J2326.9-4130_daily_bin1650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/323990/ft2_4FGL_J2326.9-4130_daily_bin1650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/323990/ft1_4FGL_J2326.9-4130_daily_bin1650.fits outfile=/scratch/kocevski/323990/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1650.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=667008001.0 tmax=667267201.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.04
user 2.80
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/323990/ft1_filtered_4FGL_J2326.9-4130_daily_bin1650.fits" evtable="EVENTS" scfile=/scratch/kocevski/323990/ft2_4FGL_J2326.9-4130_daily_bin1650.fits sctable="SC_DATA" outfile=/scratch/kocevski/323990/ltcube_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.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/323990/ft2_4FGL_J2326.9-4130_daily_bin1650.fits
.....................!
real 15.57
user 15.13
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/323990/ft1_filtered_4FGL_J2326.9-4130_daily_bin1650.fits evtable="EVENTS" scfile=/scratch/kocevski/323990/ft2_4FGL_J2326.9-4130_daily_bin1650.fits sctable="SC_DATA" expcube=/scratch/kocevski/323990/ltcube_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.fits outfile=/scratch/kocevski/323990/expmap_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.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/323990/ltcube_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.fits
.....................!
real 190.34
user 185.08
sys 4.81

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/323990/ft1_filtered_4FGL_J2326.9-4130_daily_bin1650.fits scfile=/scratch/kocevski/323990/ft2_4FGL_J2326.9-4130_daily_bin1650.fits outfile=/scratch/kocevski/323990/cmap_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/323990/ft1_filtered_4FGL_J2326.9-4130_daily_bin1650.fits scfile=/scratch/kocevski/323990/ft2_4FGL_J2326.9-4130_daily_bin1650.fits outfile=/scratch/kocevski/323990/cmap_HighResolution_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.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.59
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.400       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0244       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12228E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.631       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25049E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    47.402       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10416E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .26883E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28732E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1183       1.0000         .10000E-03   10000.    
    13 'Prefactor '    77.137       1.0000         .10000E-03   10000.    
    14 'Prefactor '    433.18       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16520E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10263E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4494       1.0000         .10000E-03   10000.    
    21 'Prefactor '    61.309       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .26068E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    40.810       1.0000         .10000E-03   10000.    
    25 'norm      '    1.6933       1.0000         .10000E-03   10000.    
    26 'norm      '    .10200E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    5.8398       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.7652       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .25405E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.6668       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .41885       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=   1798.505     FROM MIGRAD    STATUS=CONVERGED   1616 CALLS     6883 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.403        65.510        .51626E-04    .13928E-04
   2  Prefactor     9.0177        30.608        .13342E-03    .22091E-04
   3  Prefactor     .10000E-03    250.15        .18142E-02** at limit **
   4  Prefactor     23.678        49.143        .82401E-04    .32687E-03
   5  Prefactor     .10755E-03    41.444        .41055E-01** at limit **
   6  Prefactor     47.916        439.91        .29120E-03   -.34649E-04
   7  Prefactor     .10000E-03    865.52        .18142E-02** at limit **
   8  Prefactor     .10000E-03    68.195        .18142E-02** at limit **
   9  Prefactor     .10000E-03    745.01        .18142E-02** at limit **
  10  Prefactor     .10000E-03    239.68        .21435E-02** at limit **
  11  Prefactor     .10000E-03    145.61        .21408E-02** at limit **
  12  Prefactor     .78249        6177.6        .66555E-02   -.72848E-04
  13  Prefactor     77.054        110.57        .22861E-03   -.37671E-05
  14  Prefactor     433.22        315.46        .98245E-04   -.54561E-05
  15  Prefactor     .10878E-03    31.653        .65437E-01** at limit **
  16  norm          .10000E-03    11.996        .14348E-02** at limit **
  17  norm          .10000E-03    5.1302        .93818E-03** at limit **
  18  norm          .10000E-03    5.8605        .10026E-02** at limit **
  19  norm          .10000E-03    8.3606        .11976E-02** at limit **
  20  Prefactor     9.4276        15.438        .13037E-03   -.11123E-03
  21  Prefactor     61.134        77.473        .25622E-03   -.37681E-04
  22  Prefactor     .10000E-03    83.884        .21448E-02** at limit **
  23  norm          .10001E-03    30.934        .36285E-02** at limit **
  24  Prefactor     40.890        38.317        .62748E-04   -.69772E-04
  25  norm          1.6926        1.5590        .48451E-04   -.44205E-03
  26  norm          .10000E-03    4.4401        .87099E-03** at limit **
  27  Prefactor     .10000E-03    7.5010        .22281E-03** at limit **
  28  Prefactor     5.8300        62.137        .16619E-03    .52674E-05
  29  Prefactor     .10005E-03    47.750        .33224E-02** at limit **
  30  Prefactor     1.7622        5.7739        .17053E-03    .28484E-04
  31  Prefactor     .10000E-03    85.421        .21459E-02** at limit **
  32  Normalizat    1.6670        .43424        .21472E-03   -.93723E-04
  33  Prefactor     .41892        .44953        .42401E-03   -.62755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.4033
  Prefactor  = 9.01775
  Prefactor  = 0.000100002
  Prefactor  = 23.6782
  Prefactor  = 0.000107551
  Prefactor  = 47.9158
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.782492
  Prefactor  = 77.0539
  Prefactor  = 433.219
  Prefactor  = 0.000108779
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.42759
  Prefactor  = 61.1338
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 40.89
  norm       = 1.69258
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.82998
  Prefactor  = 0.000100049
  Prefactor  = 1.76215
  Prefactor  = 0.0001
  Normalizat = 1.66697
  Prefactor  = 0.41892
 **********
 **   18 **HESSE 
 **********

 FCN=   1798.505     FROM HESSE     STATUS=OK           683 CALLS     7566 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.403        65.510        .10325E-04   -1.4152    
   2  Prefactor     9.0177        30.590        .53368E-05   -1.5107    
   3  Prefactor     .10000E-03    250.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.678        47.987        .16480E-04   -1.4734    
   5  Prefactor     .10755E-03    27.426        .51494E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     47.916        226.81        .11648E-04   -1.4322    
   7  Prefactor     .10000E-03    865.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    68.197        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    745.01        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    239.68        .42871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    145.61        .42816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .78249        1310.5        .26622E-03   -1.5531    
  13  Prefactor     77.054        109.63        .91443E-05   -1.3950    
  14  Prefactor     433.22        315.47        .19649E-04   -1.1515    
  15  Prefactor     .10878E-03    29.051        .69641E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    11.996        .28697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.1302        .18764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.8605        .20052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.3606        .23951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4276        15.437        .52148E-05   -1.5094    
  21  Prefactor     61.134        77.312        .10249E-04   -1.4143    
  22  Prefactor     .10000E-03    83.887        .42896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10001E-03    31.017        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     40.890        38.304        .12550E-04   -1.4428    
  25  norm          1.6926        1.5587        .96903E-05   -1.5448    
  26  norm          .10000E-03    4.4402        .17420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.5011        .44562E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     5.8300        62.030        .66476E-05   -1.5225    
  29  Prefactor     .10005E-03    48.046        .66449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     1.7622        5.7708        .68211E-05   -1.5442    
  31  Prefactor     .10000E-03    85.423        .42917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.6670        .42693        .42944E-04   -.73189    
  33  Prefactor     .41892        .43225        .16960E-04   -1.1585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33927e-09
Minuit parameter uncertainties:
  1  65.5884
  2  30.6433
  3  0.00125998
  4  48.0658
  5  0.0287943
  6  209.806
  7  0.00172836
  8  4.29672e-05
  9  0.000515114
  10  0.000390038
  11  9.74338e-05
  12  65.5335
  13  109.92
  14  316.742
  15  0.0319551
  16  3.48432e-07
  17  4.51226e-06
  18  1.47484e-05
  19  9.90277e-06
  20  15.4435
  21  77.4388
  22  0.000342775
  23  0.000835837
  24  38.3271
  25  1.55875
  26  2.53991e-05
  27  3.05373e-05
  28  38.0837
  29  0.00308077
  30  5.7726
  31  0.00018948
  32  0.42787
  33  0.435679
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.113e+01  7.744e+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:  4.189e-01  4.357e-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:  1.667e+00  4.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 8.01e-08 +/- 1.01e-07
Energy Flux (Fixed Index): 1.82e-05 +/- 2.31e-05

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

Saving results to:
/scratch/kocevski/323990/likelihoodResults_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.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) = 1798.487099
delta logL = 0.0178238150286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1798.47411483
delta logL = 0.0308079785989

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.698       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0778       1.0000          .0000       10.000    
     3 'Normalizat'    1.6502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43071       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=   1798.474     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      269 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.703        89.015        .58059E-04   -.31232E-04
   2  Index         3.0776        1.3169        .59457E-02   -.21652E-04
   3  Normalizat    1.6514        .40882        .21549E-03    .15398E-03
   4  Prefactor     .42942        .42168        .41898E-03    .69463E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7034
  Index      = 3.07761
  Normalizat = 1.65144
  Prefactor  = 0.429419
 **********
 **   18 **HESSE 
 **********

 FCN=   1798.474     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.703        83.220        .11612E-04   -1.4326    
   2  Index         3.0776        1.2313        .23783E-03   -.39464    
   3  Normalizat    1.6514        .40876        .43097E-04   -.73607    
   4  Prefactor     .42942        .42159        .16759E-04   -1.1533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14616e-10
Minuit parameter uncertainties:
  1  83.4235
  2  1.24635
  3  0.409597
  4  0.424685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/323990': 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) = 1798.47410963
delta logL = 0.03081317852

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  4.770e+01  8.342e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.078e+00  1.246e+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:  4.294e-01  4.247e-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:  1.651e+00  4.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.12
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 3.08 +/- 1.25
Photon Flux (Free Index): 9.64e-08 +/- 1.28e-07
Energy Flux (Free Index): 1.85e-05 +/- 2.23e-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/323990/cmap_HighResolution_667008001_667267201_4FGL_J2326.9-4130_daily_bin1650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.64e-02', comment='SUCCESS', photon_flux='8.01e-08', energy_flux2='1.85e-05', photon_flux_error='1.01e-07', dlogl='3.08e-02', energy_flux='1.82e-05', photon_flux2='9.64e-08', job_status='DONE', time_completed='2022-02-23 01:06:09.409591', photon_index_error2='1.25', photon_index2='3.08', ts='1.07', fit_tolerance='1e-08', GAL='0.42', photon_index_error='0.00', photon_flux_upper_limit='3.34e-07', energy_flux_error2='2.23e-05', EG='1.67', time_epoch_completed='1645607169.41', return_code='0', job_id='323990', GAL2='0.43', EG2='1.65', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='1.28e-07', ts2='1.12', photon_index='2.78' WHERE bin_id='1650' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 23 01:06:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 323990: <4FGL_J2326.9-4130_daily_bin1650> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1650> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Feb 23 00:55:16 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 23 00:56:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 23 00:56:03 2022
Terminated at Wed Feb 23 01:06:10 2022
Results reported at Wed Feb 23 01:06:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1650 351.737 -41.5089 667008001 667267201 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 :                                   567.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   606 sec.
    Turnaround time :                            654 sec.

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

