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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1651
RA = 351.737, Dec = -41.5089
tmin = 667267201, tmax = 667526401
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='537231', job_status='RUN', time_executed='2022-02-26 01:18:42.493308', time_epoch_executed='1645867122.49' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1651'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/537231

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/537231/ft1_4FGL_J2326.9-4130_daily_bin1651.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/537231/ft1_4FGL_J2326.9-4130_daily_bin1651.fits outfile=/scratch/kocevski/537231/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1651.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=667267201.0 tmax=667526401.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 2.87
user 2.65
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.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/537231/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1651.fits evtable="EVENTS" outfile="/scratch/kocevski/537231/ft1_filtered_4FGL_J2326.9-4130_daily_bin1651.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.49
user 0.32
sys 0.17
Number of photons that survived the gtmktime cut: 159

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/537231/ft1_filtered_4FGL_J2326.9-4130_daily_bin1651.fits" evtable="EVENTS" scfile=/scratch/kocevski/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.fits sctable="SC_DATA" outfile=/scratch/kocevski/537231/ltcube_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.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/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.fits
.....................!
real 16.14
user 15.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/537231/ft1_filtered_4FGL_J2326.9-4130_daily_bin1651.fits evtable="EVENTS" scfile=/scratch/kocevski/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.fits sctable="SC_DATA" expcube=/scratch/kocevski/537231/ltcube_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.fits outfile=/scratch/kocevski/537231/expmap_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.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/537231/ltcube_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.fits
.....................!
real 193.58
user 187.59
sys 5.62

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/537231/ft1_filtered_4FGL_J2326.9-4130_daily_bin1651.fits scfile=/scratch/kocevski/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.fits outfile=/scratch/kocevski/537231/cmap_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/537231/ft1_filtered_4FGL_J2326.9-4130_daily_bin1651.fits scfile=/scratch/kocevski/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.fits outfile=/scratch/kocevski/537231/cmap_HighResolution_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/537231/ft1_filtered_4FGL_J2326.9-4130_daily_bin1651.fits evtable="EVENTS" scfile=/scratch/kocevski/537231/ft2_4FGL_J2326.9-4130_daily_bin1651.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/537231/Model_4FGL_J2326.9-4130_daily_bin1651.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/537231/ft1_filtered_4FGL_J2326.9-4130_daily_bin1651.fits.......................!
real 22.80
user 21.45
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.850       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8172       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.631       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.350       1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.825       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.329       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .45885E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    193.08       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .53068E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    214.63       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.339       1.0000         .10000E-03   10000.    
    17 'norm      '    5.4396       1.0000         .10000E-03   10000.    
    18 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .44312E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    56.719       1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.343       1.0000         .10000E-03   10000.    
    23 'norm      '    6.9912       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.151       1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.3856       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.8082       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    17.936       1.0000         .10000E-03   10000.    
    30 'Prefactor '    6.1718       1.0000         .10000E-03   10000.    
    31 'Prefactor '    141.93       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .95003       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0304       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=   1749.675     FROM MIGRAD    STATUS=CONVERGED   1665 CALLS     5510 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.791        .18142E-02** at limit **
   2  Prefactor     40.855        36.023        .62717E-04    .71783E-05
   3  Prefactor     7.8320        138.40        .14342E-03    .37653E-06
   4  Prefactor     .10000E-03    271.72        .36285E-03** at limit **
   5  Prefactor     19.638        14.908        .90397E-04   -.94323E-04
   6  Prefactor     15.353        25.130        .10223E-03    .24411E-04
   7  Prefactor     58.735        229.28        .52309E-04   -.13421E-04
   8  Prefactor     28.325        33.388        .75271E-04    .15028E-04
   9  Prefactor     .10003E-03    426.50        .18142E-02** at limit **
  10  Prefactor     .10002E-03    1039.5        .19318E-02** at limit **
  11  Prefactor     193.11        211.69        .14534E-03    .20896E-04
  12  Prefactor     .10000E-03    10.295        .13110E-02** at limit **
  13  Prefactor     .12248E-03    158.55        .15527    ** at limit **
  14  Prefactor     214.98        290.09        .13801E-03    .28639E-04
  15  Prefactor     .10000E-03    14.422        .15512E-02** at limit **
  16  norm          13.337        30.310        .10967E-03    .16923E-04
  17  norm          5.4393        8.5399        .14916E-03    .38186E-04
  18  norm          .10000E-03    8.8881        .12159E-02** at limit **
  19  norm          .11982E-03    46.750        .65342E-01** at limit **
  20  Prefactor     .10000E-03    8.3756        .11804E-02** at limit **
  21  Prefactor     56.908        118.44        .53266E-04    .12763E-04
  22  Prefactor     17.110        460.98        .96174E-04   -.31657E-04
  23  norm          6.9818        12.328        .15131E-03   -.43277E-04
  24  Prefactor     14.161        30.595        .10647E-03    .17164E-04
  25  norm          .10000E-03    .75471        .35369E-03** at limit **
  26  norm          2.3857        7.9609        .18661E-03   -.16632E-03
  27  Prefactor     3.8087        4.2691        .87745E-04    .41104E-04
  28  Prefactor     .10000E-03    15.544        .16106E-02** at limit **
  29  Prefactor     17.941        18.497        .94571E-04   -.18873E-04
  30  Prefactor     6.1740        8.3746        .12790E-03   -.21800E-04
  31  Prefactor     141.95        142.01        .16908E-03   -.38662E-06
  32  Normalizat    .94937        .55136        .28019E-03    .42766E-04
  33  Prefactor     1.0309        .52359        .29634E-03   -.35601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 40.8551
  Prefactor  = 7.83202
  Prefactor  = 0.000100003
  Prefactor  = 19.6376
  Prefactor  = 15.3529
  Prefactor  = 58.7349
  Prefactor  = 28.3253
  Prefactor  = 0.000100026
  Prefactor  = 0.00010002
  Prefactor  = 193.107
  Prefactor  = 0.0001
  Prefactor  = 0.000122484
  Prefactor  = 214.982
  Prefactor  = 0.0001
  norm       = 13.3371
  norm       = 5.43934
  norm       = 0.0001
  norm       = 0.000119818
  Prefactor  = 0.0001
  Prefactor  = 56.9082
  Prefactor  = 17.1098
  norm       = 6.98177
  Prefactor  = 14.1612
  norm       = 0.0001
  norm       = 2.38566
  Prefactor  = 3.80869
  Prefactor  = 0.0001
  Prefactor  = 17.9405
  Prefactor  = 6.17405
  Prefactor  = 141.955
  Normalizat = 0.949371
  Prefactor  = 1.03091
 **********
 **   18 **HESSE 
 **********

 FCN=   1749.675     FROM HESSE     STATUS=OK           681 CALLS     6191 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.791        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.855        36.022        .12543E-04   -1.4429    
   3  Prefactor     7.8320        138.34        .57367E-05   -1.5148    
   4  Prefactor     .10000E-03    271.73        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.638        14.910        .36159E-05   -1.4821    
   6  Prefactor     15.353        25.130        .40891E-05   -1.4924    
   7  Prefactor     58.735        229.26        .10462E-04   -1.4174    
   8  Prefactor     28.325        33.391        .30108E-05   -1.4643    
   9  Prefactor     .10003E-03    426.51        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    1039.7        .38637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     193.11        211.69        .29068E-04   -1.2920    
  12  Prefactor     .10000E-03    10.295        .26220E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12248E-03    159.83        .15434       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     214.98        290.09        .27601E-04   -1.2765    
  15  Prefactor     .10000E-03    14.422        .31024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.337        30.310        .43869E-05   -1.4977    
  17  norm          5.4393        8.5401        .59662E-05   -1.5241    
  18  norm          .10000E-03    8.8882        .24318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11982E-03    40.368        .72024E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.3757        .23607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     56.908        118.42        .10653E-04   -1.4198    
  22  Prefactor     17.110        460.93        .19235E-04   -1.4880    
  23  norm          6.9818        12.328        .60525E-05   -1.5179    
  24  Prefactor     14.161        30.597        .42589E-05   -1.4955    
  25  norm          .10000E-03    .75472        .70738E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.3857        7.9578        .74642E-05   -1.5399    
  27  Prefactor     3.8087        4.2690        .35098E-05   -1.5318    
  28  Prefactor     .10000E-03    15.544        .32211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     17.941        18.497        .37829E-05   -1.4861    
  30  Prefactor     6.1740        8.3745        .51158E-05   -1.5211    
  31  Prefactor     141.95        142.01        .67632E-05   -1.3319    
  32  Normalizat    .94937        .55209        .11208E-04   -.94746    
  33  Prefactor     1.0309        .52440        .11854E-04   -.91706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28715e-09
Minuit parameter uncertainties:
  1  2.05763e-05
  2  36.0414
  3  66.0102
  4  0.00183435
  5  14.9123
  6  25.1477
  7  232.847
  8  33.4133
  9  0.00669539
  10  0.00931178
  11  212.532
  12  3.45027e-05
  13  0.120218
  14  292.065
  15  5.081e-05
  16  30.3448
  17  8.54199
  18  1.51566e-05
  19  0.0566064
  20  5.02919e-05
  21  118.914
  22  179.162
  23  12.332
  24  30.6305
  25  8.17981e-06
  26  7.96137
  27  4.26937
  28  1.55303e-05
  29  18.5032
  30  8.37604
  31  142.356
  32  0.55544
  33  0.527034
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  5.691e+01  1.189e+02  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.031e+00  5.270e-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:  9.494e-01  5.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/537231/likelihoodResults_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.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) = 1749.64816505
delta logL = 0.0268102775365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1749.62773866
delta logL = 0.0472366595384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.686       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2595       1.0000          .0000       10.000    
     3 'Normalizat'    .92231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0523       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=   1749.628     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      272 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.658        114.32        .66168E-04    .44234E-04
   2  Index         3.2603        2.0749        .67659E-02    .35514E-04
   3  Normalizat    .92151        .46912        .28393E-03    .73373E-05
   4  Prefactor     1.0533        .50384        .29362E-03   -.12100E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.6575
  Index      = 3.26028
  Normalizat = 0.921506
  Prefactor  = 1.05326
 **********
 **   18 **HESSE 
 **********

 FCN=   1749.628     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.658        93.951        .13234E-04   -1.4496    
   2  Index         3.2603        1.7181        .27064E-03   -.35538    
   3  Normalizat    .92151        .46808        .11357E-04   -.95709    
   4  Prefactor     1.0533        .50250        .11745E-04   -.90975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35949e-11
Minuit parameter uncertainties:
  1  94.3333
  2  1.75909
  3  0.470171
  4  0.504774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/537231': 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) = 1749.62773698
delta logL = 0.047238339105

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.666e+01  9.433e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.260e+00  1.759e+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.053e+00  5.048e-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:  9.215e-01  4.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.49
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/537231/cmap_HighResolution_667267201_667526401_4FGL_J2326.9-4130_daily_bin1651.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.74e-02', job_status='DONE', photon_flux_upper_limit='3.47e-07', time_completed='2022-02-26 01:27:29.229463', job_id='537231', GAL2='1.05', fit_tolerance='1e-08', EG2='0.92', EG='0.95', time_epoch_completed='1645867649.23', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.72e-02', ts2='0.60', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1651' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 26 01:27:29 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 537231: <4FGL_J2326.9-4130_daily_bin1651> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1651> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Feb 26 01:15:15 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 26 01:15:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 26 01:15:29 2022
Terminated at Sat Feb 26 01:27:29 2022
Results reported at Sat Feb 26 01:27:29 2022

Your job looked like:

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

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

