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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1012
RA = 351.883, Dec = -32.9869
tmin = 501638401, tmax = 501897601
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='917205', job_status='RUN', time_executed='2021-09-29 20:12:35.477910', time_epoch_executed='1632971555.48' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917205

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917205/ft1_4FGL_J2327.5-3259_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917205/ft1_4FGL_J2327.5-3259_daily_bin1012.fits outfile=/scratch/kocevski/917205/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1012.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=501638401.0 tmax=501897601.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.53
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.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/917205/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1012.fits evtable="EVENTS" outfile="/scratch/kocevski/917205/ft1_filtered_4FGL_J2327.5-3259_daily_bin1012.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.52
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917205/ft1_filtered_4FGL_J2327.5-3259_daily_bin1012.fits" evtable="EVENTS" scfile=/scratch/kocevski/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.fits sctable="SC_DATA" outfile=/scratch/kocevski/917205/ltcube_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.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/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.fits
.....................!
real 15.83
user 15.45
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917205/ft1_filtered_4FGL_J2327.5-3259_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/917205/ltcube_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.fits outfile=/scratch/kocevski/917205/expmap_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.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/917205/ltcube_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.fits
.....................!
real 189.69
user 185.00
sys 4.39

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/917205/ft1_filtered_4FGL_J2327.5-3259_daily_bin1012.fits scfile=/scratch/kocevski/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.fits outfile=/scratch/kocevski/917205/cmap_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917205/ft1_filtered_4FGL_J2327.5-3259_daily_bin1012.fits scfile=/scratch/kocevski/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.fits outfile=/scratch/kocevski/917205/cmap_HighResolution_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917205/ft1_filtered_4FGL_J2327.5-3259_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/917205/ft2_4FGL_J2327.5-3259_daily_bin1012.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917205/Model_4FGL_J2327.5-3259_daily_bin1012.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/917205/ft1_filtered_4FGL_J2327.5-3259_daily_bin1012.fits.....................!
real 47.98
user 46.66
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.703       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5353       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.002       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.781       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.952       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.880       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12643       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6891       1.0000         .10000E-03   10000.    
    18 'norm      '    7.9471       1.0000         .10000E-03   10000.    
    19 'norm      '    5.0998       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.4466       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.3337       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.5756       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .83841       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .90917       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=   6276.558     FROM MIGRAD    STATUS=CONVERGED    672 CALLS     3371 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.702        37.212       -.25104E-05    .30411E-04
   2  Prefactor     3.5349        2.9648       -.43752E-06   -.14210E-03
   3  Prefactor     .10000E-03    8.6851       -.24425E-06** at limit **
   4  Prefactor     30.999        23.806       -.76679E-06    .21299E-04
   5  Prefactor     27.779        29.385       -.27949E-06    .27913E-04
   6  Prefactor     .10000E-03    2.5316       -.63918E-07** at limit **
   7  Prefactor     .10000E-03    6.9825       -.31280E-06** at limit **
   8  norm          .10000E-03    1.1412        .10455E-06** at limit **
   9  Prefactor     .10000E-03    6.4795        .25790E-06** at limit **
  10  Prefactor     10.949        6.7496       -.23319E-05   -.24687E-03
  11  norm          .10000E-03    .19643        .33053E-07** at limit **
  12  Prefactor     .10000E-03    13.612       -.87033E-06** at limit **
  13  Prefactor     .10000E-03    15.011        .15989E-05** at limit **
  14  norm          .10000E-03    1.3317        .26393E-07** at limit **
  15  norm          13.879        8.1752       -.22982E-06    .15603E-03
  16  Prefactor     .10007E-03    35.694       -.45640E-05** at limit **
  17  Prefactor     3.6859        49.026       -.62765E-05   -.14594E-04
  18  norm          7.9499        4.4468        .34197E-06    .19193E-02
  19  norm          5.1000        2.7476        .63749E-07    .36746E-04
  20  Prefactor     .10000E-03    30.754       -.45208E-06** at limit **
  21  norm          .10000E-03    1.5011       -.31073E-06** at limit **
  22  Prefactor     7.3809        173.00       -.13635E-03    .83803E-05
  23  Prefactor     9.3325        31.516       -.49704E-05    .12782E-04
  24  Prefactor     5.5748        5.7484        .21758E-06   -.23315E-03
  25  Prefactor     .10000E-03    22.959       -.37907E-06** at limit **
  26  Normalizat    .83853        .15896        .35079E-05    .45182E-03
  27  Prefactor     .90909        .16531        .21357E-05    .41574E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7019
  Prefactor  = 3.53488
  Prefactor  = 0.0001
  Prefactor  = 30.9986
  Prefactor  = 27.7789
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9491
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 13.8788
  Prefactor  = 0.000100073
  Prefactor  = 3.68593
  norm       = 7.94988
  norm       = 5.09998
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 7.38091
  Prefactor  = 9.33254
  Prefactor  = 5.57478
  Prefactor  = 0.0001
  Normalizat = 0.838525
  Prefactor  = 0.909093
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.558     FROM HESSE     STATUS=OK           492 CALLS     3863 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.702        37.220        .58056E-04   -1.4326    
   2  Prefactor     3.5349        2.9663        .11896E-03   -1.5332    
   3  Prefactor     .10000E-03    8.6950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.999        23.812        .71961E-04   -1.4594    
   5  Prefactor     27.779        29.387        .76008E-04   -1.4653    
   6  Prefactor     .10000E-03    2.5379        .12310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.1751        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.1493        .82593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.5060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.949        6.7412        .12106E-03   -1.5046    
  11  norm          .10000E-03    .19650        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.222        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3323        .89263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.879        8.1756        .10751E-03   -1.4963    
  16  Prefactor     .10007E-03    44.235        .10379       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.6859        49.128        .21027E-03   -1.5324    
  18  norm          7.9499        4.4888        .10349E-03   -1.5144    
  19  norm          5.1000        2.7458        .93494E-04   -1.5256    
  20  Prefactor     .10000E-03    31.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.6342        .18639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.3809        172.75        .14697E-03   -1.5165    
  23  Prefactor     9.3325        31.523        .13118E-03   -1.5097    
  24  Prefactor     5.5748        5.7677        .17014E-03   -1.5236    
  25  Prefactor     .10000E-03    22.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .83853        .19163        .22456E-03   -.98655    
  27  Prefactor     .90909        .19761        .24026E-03   -.95824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65488e-09
Minuit parameter uncertainties:
  1  37.2386
  2  2.96647
  3  1.14354e-05
  4  23.8188
  5  29.402
  6  4.89604e-06
  7  5.1713e-05
  8  3.31168e-06
  9  5.06113e-05
  10  6.74167
  11  7.47463e-07
  12  1.72419e-05
  13  0.000315487
  14  1.59016e-06
  15  8.17623
  16  0.00359302
  17  26.9401
  18  4.48896
  19  2.74585
  20  0.000307087
  21  4.06996e-05
  22  71.6494
  23  31.5795
  24  5.76829
  25  1.7808e-05
  26  0.191786
  27  0.197763
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.686e+00  2.694e+01  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:  9.091e-01  1.978e-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:  8.385e-01  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/917205/likelihoodResults_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.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) = 6276.54498396
delta logL = 0.0132706850245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6276.54477074
delta logL = 0.013483902103

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9867       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9676       1.0000          .0000       10.000    
     3 'Normalizat'    .83581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91063       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=   6276.545     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0045        422.89        .50499E-02    .50951E-04
   2  Index         2.9625        2.6149        .50000        .11572E-04
   3  Normalizat    .83550        .16177E-01    .44076E-01    .23721E-04
   4  Prefactor     .91075        .18044E-01    .45140E-01    .16289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00455
  Index      = 2.96249
  Normalizat = 0.8355
  Prefactor  = 0.910749
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.545     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0045        31.883        .20200E-03   -1.5308    
   2  Index         2.9625        2.4072        .10650E-01   -.41972    
   3  Normalizat    .83550        .17669        .22493E-03   -.98765    
   4  Prefactor     .91075        .19514        .24006E-03   -.95767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40021e-12
Minuit parameter uncertainties:
  1  22.6152
  2  2.53551
  3  0.176809
  4  0.195292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917205': 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) = 6276.54476426
delta logL = 0.0134903869503

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.005e+00  2.262e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.962e+00  2.536e+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:  9.107e-01  1.953e-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:  8.355e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/917205/cmap_HighResolution_501638401_501897601_4FGL_J2327.5-3259_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-03', job_status='DONE', photon_flux_upper_limit='6.47e-08', time_completed='2021-09-29 20:25:59.571734', job_id='917205', GAL2='0.91', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632972359.57', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.35e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1012' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:25:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 917205: <4FGL_J2327.5-3259_daily_bin1012> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1012> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:28 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:30 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:30 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_bin1012 351.883 -32.9869 501638401 501897601 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 :                                   794.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            932 sec.

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

