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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin930
RA = 351.883, Dec = -32.9869
tmin = 480384001, tmax = 480643201
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='917078', job_status='RUN', time_executed='2021-09-29 20:14:18.206926', time_epoch_executed='1632971658.21' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917078/ft1_4FGL_J2327.5-3259_daily_bin930.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917078/ft1_4FGL_J2327.5-3259_daily_bin930.fits outfile=/scratch/kocevski/917078/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin930.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=480384001.0 tmax=480643201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.49
user 3.28
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.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/917078/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin930.fits evtable="EVENTS" outfile="/scratch/kocevski/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits" evtable="EVENTS" scfile=/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits sctable="SC_DATA" outfile=/scratch/kocevski/917078/ltcube_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.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/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits
.....................!
real 12.38
user 11.95
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits evtable="EVENTS" scfile=/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits sctable="SC_DATA" expcube=/scratch/kocevski/917078/ltcube_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.fits outfile=/scratch/kocevski/917078/expmap_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.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/917078/ltcube_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.fits
.....................!
real 190.93
user 185.14
sys 5.40

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J2327.5-3259 @ 351.883 -32.9869

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits scfile=/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits outfile=/scratch/kocevski/917078/cmap_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.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.883 yref=-32.9869 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/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits scfile=/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits outfile=/scratch/kocevski/917078/cmap_HighResolution_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.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.883 yref=-32.9869 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits evtable="EVENTS" scfile=/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917078/Model_4FGL_J2327.5-3259_daily_bin930.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/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits.....................!
real 41.42
user 40.11
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits', '/scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits', expMap='/scratch/kocevski/917078/expmap_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.fits', expCube='/scratch/kocevski/917078/ltcube_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/917078/Model_4FGL_J2327.5-3259_daily_bin930.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5-3259'

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.111e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/917078/ft1_filtered_4FGL_J2327.5-3259_daily_bin930.fits
Spacecraft file(s): /scratch/kocevski/917078/ft2_4FGL_J2327.5-3259_daily_bin930.fits
Exposure map: /scratch/kocevski/917078/expmap_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.fits
Exposure cube: /scratch/kocevski/917078/ltcube_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/917078/Model_4FGL_J2327.5-3259_daily_bin930.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) = 5145.27196653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    136.71       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .60263       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .14818       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.616       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21318E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .67251       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.824       1.0000         .10000E-03   10000.    
    14 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.2921       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.9746       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.5682       1.0000         .10000E-03   10000.    
    19 'norm      '    2.6452       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.7509       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.278       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .95473       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .80894       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5145.263     FROM MIGRAD    STATUS=CONVERGED    650 CALLS     3320 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     136.78        69.935       -.11010E-05   -.14549E-04
   2  Prefactor     .59941        2.0248        .14532E-06   -.21792E-04
   3  Prefactor     .10000E-03    13.513       -.76691E-07** at limit **
   4  Prefactor     .10000E-03    26.325        .50293E-06** at limit **
   5  Prefactor     .10000E-03    11.219        .12943E-06** at limit **
   6  Prefactor     .10000E-03    6.6040        .11291E-06** at limit **
   7  Prefactor     .10000E-03    7.8305        .86685E-07** at limit **
   8  norm          .15121        2.6694        .79284E-06   -.28319E-03
   9  Prefactor     17.587        16.378       -.19865E-05   -.44841E-04
  10  Prefactor     .10000E-03    8.2786        .33604E-05** at limit **
  11  norm          .67235        .65067       -.40419E-06   -.56438E-03
  12  Prefactor     .10000E-03    85.234        .65027E-06** at limit **
  13  Prefactor     14.828        9.6741       -.22514E-06    .91358E-04
  14  norm          .10000E-03    1.7767        .95284E-08** at limit **
  15  norm          1.2814        6.6336        .30200E-05   -.35944E-04
  16  Prefactor     8.9847        48.649        .39625E-06   -.13139E-04
  17  Prefactor     .10000E-03    12.207       -.45410E-08** at limit **
  18  norm          3.5688        5.2153       -.27521E-07    .16605E-03
  19  norm          2.6443        2.5965        .26826E-07   -.34787E-05
  20  Prefactor     .10000E-03    11.457        .97298E-07** at limit **
  21  norm          1.7516        2.6601       -.11338E-07    .24063E-03
  22  Prefactor     .10000E-03    50.733        .34997E-06** at limit **
  23  Prefactor     .10000E-03    15.181        .35472E-07** at limit **
  24  Prefactor     10.273        7.4162        .51852E-07    .28732E-03
  25  Prefactor     .10000E-03    38.724       -.43958E-06** at limit **
  26  Normalizat    .95473        .17240       -.90291E-06   -.24300E-04
  27  Prefactor     .80912        .18169        .15024E-06    .19858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 136.78
  Prefactor  = 0.599411
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.151213
  Prefactor  = 17.5874
  Prefactor  = 0.0001
  norm       = 0.672347
  Prefactor  = 0.000100001
  Prefactor  = 14.8279
  norm       = 0.0001
  norm       = 1.28137
  Prefactor  = 8.98469
  Prefactor  = 0.0001
  norm       = 3.56876
  norm       = 2.64433
  Prefactor  = 0.0001
  norm       = 1.75157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2726
  Prefactor  = 0.0001
  Normalizat = 0.954728
  Prefactor  = 0.809121
 **********
 **   18 **HESSE 
 **********

 FCN=   5145.263     FROM HESSE     STATUS=OK           496 CALLS     3816 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     136.78        69.925        .17224E-03   -1.3364    
   2  Prefactor     .59941        2.1258        .17987E-02   -1.5553    
   3  Prefactor     .10000E-03    13.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.6698        .17994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.9747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .15121        25.367        .19910E-02   -1.5630    
   9  Prefactor     17.587        17.755        .95426E-04   -1.4869    
  10  Prefactor     .10000E-03    28.942        .34733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .67235        .65583        .47024E-03   -1.5544    
  12  Prefactor     .10000E-03    85.831        .21465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.828        9.5978        .10403E-03   -1.4938    
  14  norm          .10000E-03    1.7779        .93330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2814        6.6889        .17820E-02   -1.5482    
  16  Prefactor     8.9847        47.129        .13379E-03   -1.5108    
  17  Prefactor     .10000E-03    12.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5688        5.1173        .14445E-03   -1.5330    
  19  norm          2.6443        2.5885        .11110E-03   -1.5383    
  20  Prefactor     .10000E-03    11.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.7516        2.6237        .13691E-03   -1.5443    
  22  Prefactor     .10000E-03    50.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.273        7.4339        .12498E-03   -1.5067    
  25  Prefactor     .10000E-03    38.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .95473        .20517        .21472E-03   -.94563    
  27  Prefactor     .80912        .21757        .25298E-03   -.99393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34533e-08
Minuit parameter uncertainties:
  1  69.9672
  2  2.12609
  3  1.53512e-05
  4  0.000187949
  5  2.04162e-05
  6  4.67171e-05
  7  4.3008e-05
  8  3.91743
  9  17.76
  10  1.91351e-05
  11  0.655834
  12  0.000507884
  13  9.59883
  14  6.64908e-07
  15  5.85604
  16  41.206
  17  1.82038e-05
  18  5.11789
  19  2.58862
  20  2.23215e-05
  21  2.62391
  22  7.95589e-05
  23  1.4324e-05
  24  7.43458
  25  8.44183e-05
  26  0.205341
  27  0.217802
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.820e-05  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.091e-01  2.178e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.547e-01  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 4.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917078/likelihoodResults_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.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) = 5145.26375661
delta logL = -0.000389745296161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5145.26336684
delta logL = 2.84262569039e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5291       1.0000          .0000       10.000    
     3 'Normalizat'    .95474       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+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=   5145.263     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      258 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.892        .18142E-01** at limit **
   2  Index         1.9405        5.8580        .50000       -.64119E-08
   3  Normalizat    .95473        .68370E-02    .21472E-03    .10166E-04
   4  Prefactor     .80912        .75143E-02    .25298E-03    .74599E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.94048
  Normalizat = 0.954731
  Prefactor  = 0.809117
 **********
 **   18 **HESSE 
 **********

 FCN=   5145.263     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      287 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    314.52        .30210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9405        5.3588        .50000       -.65847    
   3  Normalizat    .95473        .16817E-01    .85887E-05   -.94563    
   4  Prefactor     .80912        .18484E-01    .10119E-04   -.99393    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.14084e-11
Minuit parameter uncertainties:
  1  0.000219362
  2  794.455
  3  0.0168175
  4  0.0184838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917078': 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): 102
logL (Free Index) = 5145.26336546
delta logL = 1.40926931635e-06

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.194e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.940e+00  7.945e+02  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.091e-01  1.848e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.547e-01  1.682e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.883 -32.987

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/917078/cmap_HighResolution_480384001_480643201_4FGL_J2327.5-3259_daily_bin930.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-03', job_status='DONE', photon_flux_upper_limit='4.62e-08', time_completed='2021-09-29 20:26:00.408032', job_id='917078', GAL2='0.81', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1632972360.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='930' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:26:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 917078: <4FGL_J2327.5-3259_daily_bin930> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin930> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:17 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 20:10:18 2021
Terminated at Wed Sep 29 20:26:00 2021
Results reported at Wed Sep 29 20:26:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin930 351.883 -32.9869 480384001 480643201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5-3259 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   698.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            943 sec.

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

