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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin769
RA = 351.883, Dec = -32.9869
tmin = 438652801, tmax = 438912001
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='915798', job_status='RUN', time_executed='2021-09-29 20:08:20.059239', time_epoch_executed='1632971300.06' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915798

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915798/ft1_4FGL_J2327.5-3259_daily_bin769.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915798/ft1_4FGL_J2327.5-3259_daily_bin769.fits outfile=/scratch/kocevski/915798/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin769.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=438652801.0 tmax=438912001.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 6.33
user 6.08
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.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/915798/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin769.fits evtable="EVENTS" outfile="/scratch/kocevski/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.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.48
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits" evtable="EVENTS" scfile=/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits sctable="SC_DATA" outfile=/scratch/kocevski/915798/ltcube_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.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/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits
.....................!
real 12.63
user 12.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits evtable="EVENTS" scfile=/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits sctable="SC_DATA" expcube=/scratch/kocevski/915798/ltcube_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.fits outfile=/scratch/kocevski/915798/expmap_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.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/915798/ltcube_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.fits
.....................!
real 192.69
user 187.54
sys 4.84

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/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits scfile=/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits outfile=/scratch/kocevski/915798/cmap_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits scfile=/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits outfile=/scratch/kocevski/915798/cmap_HighResolution_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits evtable="EVENTS" scfile=/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915798/Model_4FGL_J2327.5-3259_daily_bin769.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/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits.....................!
real 37.61
user 35.66
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits', '/scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits', expMap='/scratch/kocevski/915798/expmap_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.fits', expCube='/scratch/kocevski/915798/ltcube_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/915798/Model_4FGL_J2327.5-3259_daily_bin769.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/915798/ft1_filtered_4FGL_J2327.5-3259_daily_bin769.fits
Spacecraft file(s): /scratch/kocevski/915798/ft2_4FGL_J2327.5-3259_daily_bin769.fits
Exposure map: /scratch/kocevski/915798/expmap_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.fits
Exposure cube: /scratch/kocevski/915798/ltcube_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/915798/Model_4FGL_J2327.5-3259_daily_bin769.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) = 4489.32301153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.470       1.0000         .10000E-03   10000.    
    10 'Prefactor '    75.977       1.0000         .10000E-03   10000.    
    11 'norm      '    .32569       1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.237       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2681       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.3033       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    8.2497       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.290       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.8131       1.0000         .10000E-03   10000.    
    25 'Prefactor '    23.506       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .49014       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3903       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=   4489.320     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     4063 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.702        .81755E-05** at limit **
   2  Prefactor     .10000E-03    3.9308        .11005E-07** at limit **
   3  Prefactor     .10000E-03    11.304       -.60544E-06** at limit **
   4  Prefactor     .10000E-03    27.953        .14565E-04** at limit **
   5  Prefactor     .10000E-03    65.824       -.33082E-05** at limit **
   6  Prefactor     .10000E-03    2.6867        .11530E-07** at limit **
   7  Prefactor     .10000E-03    3.3511       -.48510E-07** at limit **
   8  norm          .10000E-03    3.1905       -.59354E-06** at limit **
   9  Prefactor     37.484        37.880        .10305E-04    .13890E-03
  10  Prefactor     75.983        27.168       -.25880E-05    .55040E-03
  11  norm          .32508        1.4242       -.40850E-06   -.86171E-03
  12  Prefactor     40.241        50.963        .50394E-05   -.23232E-05
  13  Prefactor     .10000E-03    6.1464        .95463E-07** at limit **
  14  norm          .10000E-03    3.2278        .74220E-06** at limit **
  15  norm          .10000E-03    2.9613        .42976E-07** at limit **
  16  Prefactor     1.2605        254.38       -.29491E-04   -.51693E-04
  17  Prefactor     .10000E-03    25.190       -.61369E-05** at limit **
  18  norm          4.3032        4.3388        .13104E-05    .57193E-03
  19  norm          .10000E-03    1.2497       -.23809E-07** at limit **
  20  Prefactor     .10000E-03    18.292       -.84117E-05** at limit **
  21  norm          8.2494        5.3513       -.34256E-06   -.22415E-02
  22  Prefactor     21.314        122.59        .47728E-04    .82157E-05
  23  Prefactor     .10000E-03    25.280       -.57450E-05** at limit **
  24  Prefactor     4.8132        4.6858        .21575E-08   -.72375E-04
  25  Prefactor     23.506        41.862        .24373E-07    .39540E-05
  26  Normalizat    .49007        .19661       -.12218E-05    .12666E-03
  27  Prefactor     1.3904        .21973       -.23073E-06    .17492E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.4844
  Prefactor  = 75.9832
  norm       = 0.325082
  Prefactor  = 40.2414
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.26047
  Prefactor  = 0.0001
  norm       = 4.30323
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.24942
  Prefactor  = 21.3139
  Prefactor  = 0.0001
  Prefactor  = 4.81325
  Prefactor  = 23.5062
  Normalizat = 0.490072
  Prefactor  = 1.39038
 **********
 **   18 **HESSE 
 **********

 FCN=   4489.320     FROM HESSE     STATUS=OK           478 CALLS     4541 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0617        .25871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    66.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.6884        .10726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3570        .11979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.2033        .11675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.484        37.778        .65474E-04   -1.4483    
  10  Prefactor     75.983        23.069        .46066E-04   -1.3962    
  11  norm          .32508        1.2565        .90546E-03   -1.5594    
  12  Prefactor     40.241        50.889        .63191E-04   -1.4438    
  13  Prefactor     .10000E-03    6.1757        .16213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.2393        .11749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.9676        .11260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2605        235.26        .39535E-03   -1.5483    
  17  Prefactor     .10000E-03    25.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3032        4.1881        .11774E-03   -1.5293    
  19  norm          .10000E-03    1.2587        .73142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.2494        5.3525        .57965E-03   -1.5133    
  22  Prefactor     21.314        120.23        .86807E-04   -1.4784    
  23  Prefactor     .10000E-03    25.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.8132        4.6796        .13591E-03   -1.5269    
  25  Prefactor     23.506        41.870        .82619E-04   -1.4738    
  26  Normalizat    .49007        .22994        .30678E-03   -1.1288    
  27  Prefactor     1.3904        .25949        .22290E-03   -.80658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87195e-09
Minuit parameter uncertainties:
  1  6.23877e-06
  2  3.89849e-06
  3  4.08287e-06
  4  4.85707e-05
  5  1.28212e-05
  6  1.62012e-06
  7  2.7008e-06
  8  3.34827e-06
  9  37.8016
  10  23.0719
  11  1.25664
  12  50.9437
  13  1.41926e-05
  14  2.43044e-05
  15  2.86489e-06
  16  34.5779
  17  4.68686e-06
  18  4.18837
  19  1.69392e-06
  20  7.48565e-05
  21  5.3528
  22  101.557
  23  2.9023e-05
  24  4.67999
  25  41.9223
  26  0.23039
  27  0.259732
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  4.687e-06  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:  1.390e+00  2.597e-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:  4.901e-01  2.304e-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: 6.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915798/likelihoodResults_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.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) = 4489.31994555
delta logL = -0.000188950458323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4489.31975666
delta logL = -6.71625457471e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4778       1.0000          .0000       10.000    
     3 'Normalizat'    .49008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3904       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.

 FCN=   4489.320     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      239 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.631        .90712E-02** at limit **
   2  Index         2.4864        5.9567        .50000       -.31346E-05
   3  Normalizat    .49007        .18347        .69298E-01    .29371E-04
   4  Prefactor     1.3904        .21609        .50423E-01    .12118E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.48643
  Normalizat = 0.490072
  Prefactor  = 1.39038
 **********
 **   18 **HESSE 
 **********

 FCN=   4489.320     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4864        6.2427        .50000       -.52674    
   3  Normalizat    .49007        .21479        .30678E-03   -1.1288    
   4  Prefactor     1.3904        .25356        .22290E-03   -.80658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03778e-11
Minuit parameter uncertainties:
  1  2.84009e-06
  2  4.42211
  3  0.215155
  4  0.253791
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915798': 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) = 4489.31975665
delta logL = -5.10153768118e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.840e-06  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.486e+00  4.422e+00  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:  1.390e+00  2.538e-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:  4.901e-01  2.152e-01  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/915798/cmap_HighResolution_438652801_438912001_4FGL_J2327.5-3259_daily_bin769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-03', job_status='DONE', photon_flux_upper_limit='6.92e-08', time_completed='2021-09-29 20:20:20.299107', job_id='915798', GAL2='1.39', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1632972020.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='-5.10e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='769' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:20:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 915798: <4FGL_J2327.5-3259_daily_bin769> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:41 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:05:42 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:05:42 2021
Terminated at Wed Sep 29 20:20:21 2021
Results reported at Wed Sep 29 20:20:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin769 351.883 -32.9869 438652801 438912001 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 :                                   717.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

