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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1443
RA = 351.737, Dec = -41.5089
tmin = 613353601, tmax = 613612801
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='902808', job_status='RUN', time_executed='2021-09-29 19:26:09.721853', time_epoch_executed='1632968769.72' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1443'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902808

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902808/ft1_4FGL_J2326.9-4130_daily_bin1443.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902808/ft2_4FGL_J2326.9-4130_daily_bin1443.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902808/ft1_4FGL_J2326.9-4130_daily_bin1443.fits outfile=/scratch/kocevski/902808/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1443.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=613353601.0 tmax=613612801.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.78
user 2.50
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902808/ft1_filtered_4FGL_J2326.9-4130_daily_bin1443.fits" evtable="EVENTS" scfile=/scratch/kocevski/902808/ft2_4FGL_J2326.9-4130_daily_bin1443.fits sctable="SC_DATA" outfile=/scratch/kocevski/902808/ltcube_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.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/902808/ft2_4FGL_J2326.9-4130_daily_bin1443.fits
.....................!
real 13.13
user 12.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902808/ft1_filtered_4FGL_J2326.9-4130_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/902808/ft2_4FGL_J2326.9-4130_daily_bin1443.fits sctable="SC_DATA" expcube=/scratch/kocevski/902808/ltcube_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.fits outfile=/scratch/kocevski/902808/expmap_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.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/902808/ltcube_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.fits
.....................!
real 190.30
user 185.59
sys 4.38

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/902808/ft1_filtered_4FGL_J2326.9-4130_daily_bin1443.fits scfile=/scratch/kocevski/902808/ft2_4FGL_J2326.9-4130_daily_bin1443.fits outfile=/scratch/kocevski/902808/cmap_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902808/ft1_filtered_4FGL_J2326.9-4130_daily_bin1443.fits scfile=/scratch/kocevski/902808/ft2_4FGL_J2326.9-4130_daily_bin1443.fits outfile=/scratch/kocevski/902808/cmap_HighResolution_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902808/ft1_filtered_4FGL_J2326.9-4130_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/902808/ft2_4FGL_J2326.9-4130_daily_bin1443.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902808/Model_4FGL_J2326.9-4130_daily_bin1443.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/902808/ft1_filtered_4FGL_J2326.9-4130_daily_bin1443.fits.....................!
real 40.33
user 38.99
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.921       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.3411       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.5287       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5926       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.494       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8368       1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.498       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.495       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2122       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0528       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      '    3.8333       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8381       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.278       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11748E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.4765       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .19091       1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.5398       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.1024       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.7030       1.0000         .10000E-03   10000.    
    31 'Prefactor '    46.590       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .95589       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0780       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=   5393.702     FROM MIGRAD    STATUS=CONVERGED    864 CALLS     4568 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.917        59.170        .35258E-06   -.37010E-04
   2  Prefactor     6.3305        27.769        .32883E-05    .11507E-03
   3  Prefactor     .10001E-03    74.947       -.30599E-06** at limit **
   4  Prefactor     9.5204        18.789        .25328E-06   -.42323E-05
   5  Prefactor     .10000E-03    3.1350        .90792E-07** at limit **
   6  Prefactor     1.5924        2.5124        .42345E-07   -.73226E-04
   7  Prefactor     27.489        39.402        .58213E-06   -.17203E-04
   8  Prefactor     9.8378        7.9848        .39461E-06   -.10297E-03
   9  Prefactor     37.498        26.524        .24068E-06    .32492E-05
  10  Prefactor     .10000E-03    10.268       -.64424E-07** at limit **
  11  Prefactor     15.496        16.382        .29902E-06   -.14025E-04
  12  Prefactor     2.2120        6.3383        .37220E-06   -.58775E-04
  13  Prefactor     .10000E-03    17.662        .82314E-07** at limit **
  14  Prefactor     .10000E-03    77.481       -.69187E-06** at limit **
  15  Prefactor     2.0553        17.605        .76054E-06   -.16357E-04
  16  norm          .10000E-03    8.3860        .85047E-07** at limit **
  17  norm          .10000E-03    4.5589       -.52950E-07** at limit **
  18  norm          3.8336        3.8078        .44839E-07   -.52305E-03
  19  norm          3.8380        8.8103        .62389E-07   -.15503E-03
  20  Prefactor     15.279        8.7997        .85121E-08   -.21009E-03
  21  Prefactor     .10000E-03    83.220        .32640E-05** at limit **
  22  Prefactor     .10000E-03    82.319        .95741E-06** at limit **
  23  norm          1.4736        3.4135       -.17457E-05   -.18329E-02
  24  Prefactor     .10000E-03    5.8572        .53331E-07** at limit **
  25  norm          .19075        .94994        .12257E-06   -.26018E-03
  26  norm          .10000E-03    1.4393        .72132E-07** at limit **
  27  Prefactor     .10000E-03    1.4360       -.35326E-08** at limit **
  28  Prefactor     1.5419        59.321        .22700E-05    .20671E-04
  29  Prefactor     2.1028        6.3201        .64493E-05   -.67155E-03
  30  Prefactor     3.7046        6.3345       -.39282E-06   -.31543E-03
  31  Prefactor     46.583        50.516       -.16982E-05   -.49638E-04
  32  Normalizat    .95592        .19356       -.18783E-05   -.34608E-03
  33  Prefactor     1.0779        .20793       -.19865E-07   -.33982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.9172
  Prefactor  = 6.33048
  Prefactor  = 0.000100008
  Prefactor  = 9.52037
  Prefactor  = 0.0001
  Prefactor  = 1.59236
  Prefactor  = 27.4888
  Prefactor  = 9.83776
  Prefactor  = 37.498
  Prefactor  = 0.0001
  Prefactor  = 15.4957
  Prefactor  = 2.21196
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.05531
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.83358
  norm       = 3.83798
  Prefactor  = 15.2787
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 1.47356
  Prefactor  = 0.0001
  norm       = 0.190751
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.54187
  Prefactor  = 2.10281
  Prefactor  = 3.70464
  Prefactor  = 46.5825
  Normalizat = 0.955915
  Prefactor  = 1.07787
 **********
 **   18 **HESSE 
 **********

 FCN=   5393.702     FROM HESSE     STATUS=OK           695 CALLS     5263 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.917        59.229        .46698E-04   -1.3986    
   2  Prefactor     6.3305        27.045        .15940E-03   -1.5205    
   3  Prefactor     .10001E-03    75.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.5204        18.758        .12982E-03   -1.5091    
   5  Prefactor     .10000E-03    3.1466        .12681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5924        2.4834        .14159E-03   -1.5456    
   7  Prefactor     27.489        39.369        .76403E-04   -1.4659    
   8  Prefactor     9.8378        7.9874        .63883E-03   -1.5081    
   9  Prefactor     37.498        26.524        .65450E-04   -1.4482    
  10  Prefactor     .10000E-03    10.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.496        16.385        .10175E-03   -1.4920    
  12  Prefactor     2.2120        6.3105        .27654E-03   -1.5411    
  13  Prefactor     .10000E-03    17.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    77.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0553        16.893        .28850E-03   -1.5421    
  16  norm          .10000E-03    8.4180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.5836        .15301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8336        3.8039        .13551E-03   -1.5316    
  19  norm          3.8380        8.8028        .20600E-03   -1.5316    
  20  Prefactor     15.279        8.6460        .10247E-03   -1.4926    
  21  Prefactor     .10000E-03    84.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    82.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.4736        3.5761        .20301E-03   -1.5465    
  24  Prefactor     .10000E-03    5.8645        .17352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .19075        1.4015        .12280E-02   -1.5621    
  26  norm          .10000E-03    1.4459        .86015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.4472        .85710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.5419        57.705        .34362E-03   -1.5460    
  29  Prefactor     2.1028        6.4334        .14230E-02   -1.5418    
  30  Prefactor     3.7046        6.2550        .18718E-03   -1.5323    
  31  Prefactor     46.583        50.597        .58742E-04   -1.4342    
  32  Normalizat    .95592        .23169        .24243E-03   -.94522    
  33  Prefactor     1.0779        .25091        .26068E-03   -.90177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31003e-08
Minuit parameter uncertainties:
  1  59.2761
  2  26.1891
  3  0.00156185
  4  18.7692
  5  1.14708e-05
  6  2.48352
  7  39.4064
  8  7.98828
  9  26.532
  10  4.1022e-08
  11  16.3895
  12  6.31241
  13  1.09024e-06
  14  0.000542627
  15  11.7891
  16  1.0312e-05
  17  8.01778e-06
  18  3.80411
  19  8.8058
  20  8.64666
  21  0.000456948
  22  0.000609094
  23  3.57659
  24  1.06055e-05
  25  1.03387
  26  8.44226e-06
  27  2.69167e-07
  28  18.8842
  29  6.43554
  30  6.25607
  31  50.6435
  32  0.231931
  33  0.251187
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  4.569e-04  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.078e+00  2.512e-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.559e-01  2.319e-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.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902808/likelihoodResults_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.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) = 5393.70240744
delta logL = -5.63673556826e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5393.70235119
delta logL = -1.10557266453e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7272       1.0000          .0000       10.000    
     3 'Normalizat'    .95593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5393.702     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      241 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9163.4        .90712E-02** at limit **
   2  Index         2.7918        5.1287        .50000       -.84959E-05
   3  Normalizat    .95591        .73900E-01    .45612E-01   -.47378E-03
   4  Prefactor     1.0779        .82675E-01    .58946E-01   -.57785E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.79181
  Normalizat = 0.955909
  Prefactor  = 1.07788
 **********
 **   18 **HESSE 
 **********

 FCN=   5393.702     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    277.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7918        5.8164        .50000       -.45742    
   3  Normalizat    .95591        .21394        .24243E-03   -.94523    
   4  Prefactor     1.0779        .24375        .26068E-03   -.90177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11937e-09
Minuit parameter uncertainties:
  1  0.000520432
  2  8.11135
  3  0.214127
  4  0.244006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902808': 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) = 5393.70235105
delta logL = 2.70092641586e-08

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  5.204e-04  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.792e+00  8.111e+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.078e+00  2.440e-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.559e-01  2.141e-01  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/902808/cmap_HighResolution_613353601_613612801_4FGL_J2326.9-4130_daily_bin1443.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.83e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2021-09-29 19:41:04.688894', job_id='902808', GAL2='1.08', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632969664.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1443' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:41:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 902808: <4FGL_J2326.9-4130_daily_bin1443> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1443> 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) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:46 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:46 2021
Terminated at Wed Sep 29 19:41:05 2021
Results reported at Wed Sep 29 19:41:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1443 351.737 -41.5089 613353601 613612801 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 :                                   847.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

