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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1537
RA = 351.737, Dec = -41.5089
tmin = 637718401, tmax = 637977601
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='904578', job_status='RUN', time_executed='2021-09-29 19:31:31.313246', time_epoch_executed='1632969091.31' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1537'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904578

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904578/ft1_4FGL_J2326.9-4130_daily_bin1537.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904578/ft2_4FGL_J2326.9-4130_daily_bin1537.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904578/ft1_4FGL_J2326.9-4130_daily_bin1537.fits outfile=/scratch/kocevski/904578/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1537.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=637718401.0 tmax=637977601.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 4.11
user 3.85
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904578/ft1_filtered_4FGL_J2326.9-4130_daily_bin1537.fits" evtable="EVENTS" scfile=/scratch/kocevski/904578/ft2_4FGL_J2326.9-4130_daily_bin1537.fits sctable="SC_DATA" outfile=/scratch/kocevski/904578/ltcube_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.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/904578/ft2_4FGL_J2326.9-4130_daily_bin1537.fits
.....................!
real 11.86
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904578/ft1_filtered_4FGL_J2326.9-4130_daily_bin1537.fits evtable="EVENTS" scfile=/scratch/kocevski/904578/ft2_4FGL_J2326.9-4130_daily_bin1537.fits sctable="SC_DATA" expcube=/scratch/kocevski/904578/ltcube_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.fits outfile=/scratch/kocevski/904578/expmap_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.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/904578/ltcube_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.fits
.....................!
real 190.61
user 184.85
sys 5.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/904578/ft1_filtered_4FGL_J2326.9-4130_daily_bin1537.fits scfile=/scratch/kocevski/904578/ft2_4FGL_J2326.9-4130_daily_bin1537.fits outfile=/scratch/kocevski/904578/cmap_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904578/ft1_filtered_4FGL_J2326.9-4130_daily_bin1537.fits scfile=/scratch/kocevski/904578/ft2_4FGL_J2326.9-4130_daily_bin1537.fits outfile=/scratch/kocevski/904578/cmap_HighResolution_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.986       1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.636       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .27970E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4348       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .41102       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .84687E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    56.722       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8378       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.252       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .65264       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8303       1.0000         .10000E-03   10000.    
    19 'norm      '    9.6217       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.8400       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .74720       1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.0099       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.5965       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10294E-02   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1409       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .79795       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=   4134.301     FROM MIGRAD    STATUS=CONVERGED    951 CALLS     4729 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.998        57.131        .99918E-07    .11956E-04
   2  Prefactor     29.643        24.823       -.49616E-07   -.19235E-04
   3  Prefactor     .10000E-03    18.924       -.36619E-07** at limit **
   4  Prefactor     .10000E-03    135.50       -.20457E-05** at limit **
   5  Prefactor     .10000E-03    8.1512       -.13220E-06** at limit **
   6  Prefactor     .10000E-03    2.0821        .92043E-07** at limit **
   7  Prefactor     2.4442        277.79        .24255E-05    .10123E-04
   8  Prefactor     .41887        5.5361        .54821E-06   -.23201E-03
   9  Prefactor     .24836        30.485        .61527E-06   -.69762E-04
  10  Prefactor     56.669        35.696       -.76810E-07   -.65679E-04
  11  Prefactor     1.8133        53.416        .30433E-05    .51436E-04
  12  Prefactor     .10000E-03    7.6099        .84848E-07** at limit **
  13  Prefactor     24.260        42.540        .43046E-07   -.29605E-04
  14  Prefactor     .10000E-03    25.007        .98255E-07** at limit **
  15  Prefactor     .10000E-03    12.909       -.96402E-07** at limit **
  16  norm          .10000E-03    4.5025       -.17228E-07** at limit **
  17  norm          .65163        10.502        .38673E-05   -.11339E-03
  18  norm          3.8305        3.8229       -.40120E-07    .21860E-04
  19  norm          9.6224        8.3560        .50637E-07    .66348E-05
  20  Prefactor     8.8444        8.5772       -.92083E-07   -.17696E-03
  21  Prefactor     .10000E-03    38.617       -.13743E-06** at limit **
  22  Prefactor     .10000E-03    26.990        .59901E-07** at limit **
  23  norm          .10000E-03    2.9509       -.38365E-07** at limit **
  24  Prefactor     .10000E-03    18.810       -.51100E-06** at limit **
  25  norm          .74713        1.3333       -.50079E-06   -.80755E-03
  26  norm          .10000E-03    3.1171       -.45214E-07** at limit **
  27  Prefactor     1.0109        3.8298        .13730E-05   -.79231E-05
  28  Prefactor     .10000E-03    23.896       -.41887E-06** at limit **
  29  Prefactor     3.5732        8.4713        .93939E-06   -.86712E-04
  30  Prefactor     .10000E-03    1.9859       -.53246E-07** at limit **
  31  Prefactor     .10001E-03    236.71        .17234E-05** at limit **
  32  Normalizat    1.1405        .22080       -.58656E-07   -.12162E-03
  33  Prefactor     .79829        .22819       -.42806E-06   -.94569E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.9981
  Prefactor  = 29.6434
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.44416
  Prefactor  = 0.418874
  Prefactor  = 0.248355
  Prefactor  = 56.669
  Prefactor  = 1.81331
  Prefactor  = 0.0001
  Prefactor  = 24.2605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.651633
  norm       = 3.83046
  norm       = 9.62239
  Prefactor  = 8.84439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.747126
  norm       = 0.0001
  Prefactor  = 1.01094
  Prefactor  = 0.0001
  Prefactor  = 3.5732
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Normalizat = 1.14051
  Prefactor  = 0.798289
 **********
 **   18 **HESSE 
 **********

 FCN=   4134.301     FROM HESSE     STATUS=OK           703 CALLS     5432 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.998        57.239        .59125E-04   -1.4350    
   2  Prefactor     29.643        24.840        .73596E-04   -1.4619    
   3  Prefactor     .10000E-03    18.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    139.80        .39806E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.2956        .17916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.1027        .90525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4442        276.15        .26223E-03   -1.5395    
   8  Prefactor     .41887        34.576        .28073E-02   -1.5579    
   9  Prefactor     .24836        37.008        .10172       -1.5608    
  10  Prefactor     56.669        35.645        .53264E-04   -1.4201    
  11  Prefactor     1.8133        53.941        .30774E-03   -1.5439    
  12  Prefactor     .10000E-03    7.8595        .34623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.260        42.572        .81341E-04   -1.4722    
  14  Prefactor     .10000E-03    25.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.5036        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .65163        10.487        .38517E-03   -1.5547    
  18  norm          3.8305        3.8297        .12255E-03   -1.5317    
  19  norm          9.6224        8.3554        .12919E-03   -1.5087    
  20  Prefactor     8.8444        8.3868        .13481E-03   -1.5113    
  21  Prefactor     .10000E-03    38.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.9897        .10778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    18.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .74713        1.2552        .89311E-03   -1.5535    
  26  norm          .10000E-03    3.1679        .11079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.0109        3.8449        .22799E-03   -1.5507    
  28  Prefactor     .10000E-03    24.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.5732        8.4304        .21307E-03   -1.5330    
  30  Prefactor     .10000E-03    1.9986        .88419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10001E-03    241.14        .20743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1405        .25840        .21608E-03   -.88462    
  33  Prefactor     .79829        .26715        .27581E-03   -.99791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53584e-10
Minuit parameter uncertainties:
  1  57.3074
  2  24.8482
  3  5.58082e-06
  4  0.000701672
  5  1.18688e-05
  6  2.56585e-06
  7  52.2075
  8  7.61494
  9  6.06595
  10  35.6589
  11  19.7991
  12  2.86621e-06
  13  42.6252
  14  2.13732e-05
  15  1.83521e-05
  16  1.08526e-06
  17  5.22893
  18  3.82991
  19  8.35641
  20  8.38787
  21  7.83655e-06
  22  2.81693e-05
  23  2.45322e-06
  24  5.5664e-05
  25  1.25521
  26  2.84788e-06
  27  3.84583
  28  9.3662e-05
  29  8.43318
  30  1.25826e-06
  31  0.00278421
  32  0.258684
  33  0.267584
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  7.837e-06  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:  7.983e-01  2.676e-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.141e+00  2.587e-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.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904578/likelihoodResults_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.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) = 4134.30123648
delta logL = -0.000122928646306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4134.30111358
delta logL = -2.88537194137e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8159       1.0000          .0000       10.000    
     3 'Normalizat'    1.1406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79828       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=   4134.301     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      195 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.430        .90712E-02** at limit **
   2  Index         2.8314        6.4012        .50000       -.36958E-05
   3  Normalizat    1.1405        .20545        .36547E-01    .16828E-04
   4  Prefactor     .79829        .22437        .43695E-01    .19775E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.83144
  Normalizat = 1.14051
  Prefactor  = 0.798289
 **********
 **   18 **HESSE 
 **********

 FCN=   4134.301     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8314        6.3993        .50000       -.44861    
   3  Normalizat    1.1405        .23958        .21608E-03   -.88462    
   4  Prefactor     .79829        .26154        .27581E-03   -.99791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42241e-11
Minuit parameter uncertainties:
  1  8.09087e-05
  2  4.53861
  3  0.239809
  4  0.261945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904578': 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) = 4134.30111351
delta logL = 4.36339178123e-08

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  8.091e-05  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.831e+00  4.539e+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:  7.983e-01  2.619e-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.141e+00  2.398e-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/904578/cmap_HighResolution_637718401_637977601_4FGL_J2326.9-4130_daily_bin1537.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-29 19:44:51.870896', job_id='904578', GAL2='0.80', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632969891.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='4.36e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1537' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:44:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 904578: <4FGL_J2326.9-4130_daily_bin1537> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1537> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:30:21 2021
Job was executed on host(s) <bullet0242>, 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:44:52 2021
Results reported at Wed Sep 29 19:44:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1537 351.737 -41.5089 637718401 637977601 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 :                                   731.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            871 sec.

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

