/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 133 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_bin1535
RA = 351.737, Dec = -41.5089
tmin = 637200001, tmax = 637459201
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='904574', job_status='RUN', time_executed='2021-09-29 19:32:45.472742', time_epoch_executed='1632969165.47' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904574/ft1_4FGL_J2326.9-4130_daily_bin1535.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904574/ft2_4FGL_J2326.9-4130_daily_bin1535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904574/ft1_4FGL_J2326.9-4130_daily_bin1535.fits outfile=/scratch/kocevski/904574/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1535.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=637200001.0 tmax=637459201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.44
user 5.12
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904574/ft1_filtered_4FGL_J2326.9-4130_daily_bin1535.fits" evtable="EVENTS" scfile=/scratch/kocevski/904574/ft2_4FGL_J2326.9-4130_daily_bin1535.fits sctable="SC_DATA" outfile=/scratch/kocevski/904574/ltcube_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.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/904574/ft2_4FGL_J2326.9-4130_daily_bin1535.fits
.....................!
real 11.81
user 11.40
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904574/ft1_filtered_4FGL_J2326.9-4130_daily_bin1535.fits evtable="EVENTS" scfile=/scratch/kocevski/904574/ft2_4FGL_J2326.9-4130_daily_bin1535.fits sctable="SC_DATA" expcube=/scratch/kocevski/904574/ltcube_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.fits outfile=/scratch/kocevski/904574/expmap_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.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/904574/ltcube_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.fits
.....................!
real 190.23
user 184.94
sys 4.82

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/904574/ft1_filtered_4FGL_J2326.9-4130_daily_bin1535.fits scfile=/scratch/kocevski/904574/ft2_4FGL_J2326.9-4130_daily_bin1535.fits outfile=/scratch/kocevski/904574/cmap_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904574/ft1_filtered_4FGL_J2326.9-4130_daily_bin1535.fits scfile=/scratch/kocevski/904574/ft2_4FGL_J2326.9-4130_daily_bin1535.fits outfile=/scratch/kocevski/904574/cmap_HighResolution_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.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/904574/ft1_filtered_4FGL_J2326.9-4130_daily_bin1535.fits evtable="EVENTS" scfile=/scratch/kocevski/904574/ft2_4FGL_J2326.9-4130_daily_bin1535.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904574/Model_4FGL_J2326.9-4130_daily_bin1535.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/904574/ft1_filtered_4FGL_J2326.9-4130_daily_bin1535.fits.....................!
real 31.44
user 29.95
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10790E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22590E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4070       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .35497E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .36522E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.650       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .68606       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11136E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.093       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.1618       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.080       1.0000         .10000E-03   10000.    
    23 'norm      '    2.8428       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .54037       1.0000         .10000E-03   10000.    
    26 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10413E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.9415       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.8011       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .16954       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=   3373.215     FROM MIGRAD    STATUS=CONVERGED    924 CALLS     4657 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    112.58       -.11242E-05** at limit **
   2  Prefactor     .10000E-03    32.420       -.38251E-06** at limit **
   3  Prefactor     .10000E-03    249.45       -.50878E-06** at limit **
   4  Prefactor     .10000E-03    12.336       -.24756E-07** at limit **
   5  Prefactor     6.4088        7.6345        .21405E-06    .60451E-04
   6  Prefactor     .10001E-03    27.825       -.87143E-06** at limit **
   7  Prefactor     .10000E-03    15.293       -.13838E-06** at limit **
   8  Prefactor     .10000E-03    111.94        .74099E-06** at limit **
   9  Prefactor     .10000E-03    11.104        .33947E-07** at limit **
  10  Prefactor     .10000E-03    15.662       -.75261E-07** at limit **
  11  Prefactor     20.657        30.453        .14227E-05    .52922E-04
  12  Prefactor     .71943        8.9766        .14248E-05   -.30190E-03
  13  Prefactor     .10000E-03    23.326        .33160E-07** at limit **
  14  Prefactor     .10000E-03    152.59        .13040E-05** at limit **
  15  Prefactor     15.099        21.028        .10908E-05    .77083E-04
  16  norm          .10000E-03    15.856       -.55149E-07** at limit **
  17  norm          .10000E-03    12.874       -.80099E-06** at limit **
  18  norm          .10000E-03    3.1006        .11444E-06** at limit **
  19  norm          8.1723        11.902        .11889E-05    .10664E-03
  20  Prefactor     .10000E-03    3.0395       -.17583E-06** at limit **
  21  Prefactor     .10000E-03    31.673       -.63455E-07** at limit **
  22  Prefactor     10.973        139.05        .15313E-05    .14660E-04
  23  norm          2.8437        3.4910        .28775E-06    .99101E-04
  24  Prefactor     .10000E-03    6.5845       -.22972E-06** at limit **
  25  norm          .54132        1.2258       -.48157E-06    .41441E-04
  26  norm          .10000E-03    2.2223       -.60869E-07** at limit **
  27  Prefactor     .10000E-03    2.6687       -.15227E-05** at limit **
  28  Prefactor     .10000E-03    31.354        .61635E-06** at limit **
  29  Prefactor     1.9442        13.906       -.19597E-05   -.22018E-04
  30  Prefactor     .10000E-03    2.5093       -.29747E-06** at limit **
  31  Prefactor     .10000E-03    37.541        .74308E-06** at limit **
  32  Normalizat    1.8017        .28299        .41566E-05    .25250E-03
  33  Prefactor     .16881        .27799       -.93784E-05    .53185E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.4088
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6571
  Prefactor  = 0.719431
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0985
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.17226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9732
  norm       = 2.84365
  Prefactor  = 0.0001
  norm       = 0.541321
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.9442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.80167
  Prefactor  = 0.168809
 **********
 **   18 **HESSE 
 **********

 FCN=   3373.215     FROM HESSE     STATUS=OK           697 CALLS     5354 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    113.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    32.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    254.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.4088        7.6422        .15857E-03   -1.5202    
   6  Prefactor     .10001E-03    67.014        .18591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.1291        .49950E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.657        30.578        .88141E-04   -1.4799    
  12  Prefactor     .71943        28.308        .29249E-02   -1.5538    
  13  Prefactor     .10000E-03    23.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    153.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.099        20.876        .10310E-03   -1.4931    
  16  norm          .10000E-03    15.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.194        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.1043        .99754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1723        11.904        .14034E-03   -1.5136    
  20  Prefactor     .10000E-03    3.0464        .98859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    31.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.973        140.80        .12036E-03   -1.5045    
  23  norm          2.8437        3.4815        .11647E-03   -1.5371    
  24  Prefactor     .10000E-03    6.5979        .14556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .54132        1.1970        .87625E-04   -1.5561    
  26  norm          .10000E-03    2.2341        .84598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    3.6810        .17079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    32.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     1.9442        14.382        .29794E-03   -1.5429    
  30  Prefactor     .10000E-03    2.5504        .89958E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    37.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.8017        .29062        .18348E-03   -.69620    
  33  Prefactor     .16881        .27943        .55183E-03   -1.3102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32028e-09
Minuit parameter uncertainties:
  1  0.000117915
  2  2.00953e-05
  3  0.000250242
  4  2.14181e-06
  5  7.64337
  6  0.00193612
  7  7.04765e-06
  8  0.000211493
  9  5.51974e-07
  10  1.01281e-05
  11  30.6016
  12  9.02963
  13  6.63507e-07
  14  9.6333e-05
  15  20.8864
  16  6.69174e-06
  17  2.8854e-05
  18  1.32503e-08
  19  11.9079
  20  3.41253e-06
  21  1.08489e-05
  22  78.8435
  23  3.4818
  24  6.79598e-06
  25  1.19705
  26  1.81786e-06
  27  8.47706e-05
  28  6.35826e-05
  29  10.5791
  30  5.52016e-06
  31  4.91687e-05
  32  0.290896
  33  0.281673
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.688e-01  2.817e-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.802e+00  2.909e-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: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904574/likelihoodResults_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.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) = 3373.21555802
delta logL = -0.000149865823005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3373.21540709
delta logL = 1.05920116766e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4654       1.0000          .0000       10.000    
     3 'Normalizat'    1.8017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .16881       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=   3373.052     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      311 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.323        39.209        .90712E-02   -.11240E-02
   2  Index         1.5201        .71639        .23659       -.28636E-04
   3  Normalizat    1.8154        .46204        .41376E-01   -.24124E-04
   4  Prefactor     .14706        .45661        .13403        .48617E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3225
  Index      = 1.52007
  Normalizat = 1.81539
  Prefactor  = 0.147056
 **********
 **   18 **HESSE 
 **********

 FCN=   3373.052     FROM HESSE     STATUS=OK            33 CALLS      344 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.323        37.742        .18142E-02   -1.6541    
   2  Index         1.5201        .84697        .10642E-01   -.76979    
   3  Normalizat    1.8154        .27205        .18286E-03   -.69263    
   4  Prefactor     .14706        .27470        .58715E-03   -1.3277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01942e-09
Minuit parameter uncertainties:
  1  37.7943
  2  0.855034
  3  0.272281
  4  0.277143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904574': 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) = 3373.05209817
delta logL = 0.163309980723

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.732e+01  3.779e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  1.520e+00  8.550e-01  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.471e-01  2.771e-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.815e+00  2.723e-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/904574/cmap_HighResolution_637200001_637459201_4FGL_J2326.9-4130_daily_bin1535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.41e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-29 19:43:54.271880', job_id='904574', GAL2='0.15', fit_tolerance='1e-08', EG2='1.82', EG='1.80', time_epoch_completed='1632969834.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.17', dlogl='1.63e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1535' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:43:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 904574: <4FGL_J2326.9-4130_daily_bin1535> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1535> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:30:20 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:30:22 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:30:22 2021
Terminated at Wed Sep 29 19:43:54 2021
Results reported at Wed Sep 29 19:43:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1535 351.737 -41.5089 637200001 637459201 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 :                                   664.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            814 sec.

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

