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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin771
RA = 351.883, Dec = -32.9869
tmin = 439171201, tmax = 439430401
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='915801', job_status='RUN', time_executed='2021-09-29 20:06:00.981276', time_epoch_executed='1632971160.98' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915801/ft1_4FGL_J2327.5-3259_daily_bin771.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915801/ft2_4FGL_J2327.5-3259_daily_bin771.fits


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

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

Done.
real 5.61
user 5.28
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915801/ft1_filtered_4FGL_J2327.5-3259_daily_bin771.fits" evtable="EVENTS" scfile=/scratch/kocevski/915801/ft2_4FGL_J2327.5-3259_daily_bin771.fits sctable="SC_DATA" outfile=/scratch/kocevski/915801/ltcube_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.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/915801/ft2_4FGL_J2327.5-3259_daily_bin771.fits
.....................!
real 12.27
user 11.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915801/ft1_filtered_4FGL_J2327.5-3259_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/915801/ft2_4FGL_J2327.5-3259_daily_bin771.fits sctable="SC_DATA" expcube=/scratch/kocevski/915801/ltcube_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.fits outfile=/scratch/kocevski/915801/expmap_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.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/915801/ltcube_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.fits
.....................!
real 190.31
user 185.09
sys 4.83

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/915801/ft1_filtered_4FGL_J2327.5-3259_daily_bin771.fits scfile=/scratch/kocevski/915801/ft2_4FGL_J2327.5-3259_daily_bin771.fits outfile=/scratch/kocevski/915801/cmap_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915801/ft1_filtered_4FGL_J2327.5-3259_daily_bin771.fits scfile=/scratch/kocevski/915801/ft2_4FGL_J2327.5-3259_daily_bin771.fits outfile=/scratch/kocevski/915801/cmap_HighResolution_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915801/ft1_filtered_4FGL_J2327.5-3259_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/915801/ft2_4FGL_J2327.5-3259_daily_bin771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915801/Model_4FGL_J2327.5-3259_daily_bin771.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/915801/ft1_filtered_4FGL_J2327.5-3259_daily_bin771.fits.....................!
real 32.90
user 31.48
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.760       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0523       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.048       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.007       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.369       1.0000         .10000E-03   10000.    
    11 'norm      '    .10220E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.4294       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.1407       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    173.27       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    83.482       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .87404       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87674       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=   3510.049     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     3206 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.786        .22028E-05** at limit **
   2  Prefactor     .10000E-03    1.6946       -.46990E-07** at limit **
   3  Prefactor     .10000E-03    13.338       -.19405E-05** at limit **
   4  Prefactor     .10000E-03    10.798        .99066E-06** at limit **
   5  Prefactor     32.760        41.874        .15088E-06   -.92884E-05
   6  Prefactor     6.0544        13.663        .45965E-05   -.55484E-04
   7  Prefactor     .10000E-03    3.0968       -.99175E-07** at limit **
   8  norm          10.048        7.5813       -.23922E-07   -.19647E-04
   9  Prefactor     18.003        24.472        .18749E-06   -.10769E-04
  10  Prefactor     19.363        16.457       -.31652E-06   -.15889E-04
  11  norm          .10000E-03    .35253       -.87697E-08** at limit **
  12  Prefactor     .10000E-03    34.566       -.10622E-05** at limit **
  13  Prefactor     .10000E-03    6.1404       -.76786E-07** at limit **
  14  norm          .10000E-03    3.8072        .68393E-07** at limit **
  15  norm          .10000E-03    2.8041        .93903E-07** at limit **
  16  Prefactor     .10000E-03    20.018        .28824E-06** at limit **
  17  Prefactor     .10000E-03    35.140       -.15923E-05** at limit **
  18  norm          4.4303        4.4684        .14490E-06   -.44823E-05
  19  norm          .10000E-03    1.3619        .59110E-07** at limit **
  20  Prefactor     8.1454        28.368        .11650E-05    .28975E-04
  21  norm          .10000E-03    1.9050        .19751E-07** at limit **
  22  Prefactor     173.28        118.07        .58510E-06    .17536E-04
  23  Prefactor     .10000E-03    20.731        .67253E-06** at limit **
  24  Prefactor     .10000E-03    2.5679       -.51912E-07** at limit **
  25  Prefactor     83.477        52.446       -.37498E-06   -.40078E-04
  26  Normalizat    .87382        .21194       -.33765E-06   -.11911E-04
  27  Prefactor     .87690        .22468       -.62309E-06   -.76071E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 32.76
  Prefactor  = 6.05443
  Prefactor  = 0.0001
  norm       = 10.0478
  Prefactor  = 18.0031
  Prefactor  = 19.3628
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 4.43034
  norm       = 0.0001
  Prefactor  = 8.14537
  norm       = 0.0001
  Prefactor  = 173.276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 83.477
  Normalizat = 0.873815
  Prefactor  = 0.876905
 **********
 **   18 **HESSE 
 **********

 FCN=   3510.049     FROM HESSE     STATUS=OK           480 CALLS     3686 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7037        .75278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     32.760        41.935        .70008E-04   -1.4563    
   6  Prefactor     6.0544        13.880        .81602E-03   -1.5216    
   7  Prefactor     .10000E-03    3.1011        .10184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.048        7.5839        .11983E-03   -1.5074    
   9  Prefactor     18.003        24.568        .94385E-04   -1.4859    
  10  Prefactor     19.363        16.344        .91008E-04   -1.4828    
  11  norm          .10000E-03    .39536        .66235E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1552        .14327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.8142        .11272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.8080        .96912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.4303        4.4614        .11973E-03   -1.5287    
  19  norm          .10000E-03    1.3674        .67491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.1454        28.378        .14052E-03   -1.5137    
  21  norm          .10000E-03    1.9118        .79825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     173.28        118.13        .15327E-03   -1.3068    
  23  Prefactor     .10000E-03    20.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.5755        .92680E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     83.477        52.739        .43963E-04   -1.3878    
  26  Normalizat    .87382        .25431        .22552E-03   -.97386    
  27  Prefactor     .87690        .26813        .24737E-03   -.96953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49019e-10
Minuit parameter uncertainties:
  1  0.00043394
  2  2.14477e-06
  3  0.000252987
  4  0.000121652
  5  41.9728
  6  13.8871
  7  6.15459e-06
  8  7.5846
  9  24.5822
  10  16.3474
  11  4.21514e-07
  12  0.000233705
  13  5.3551e-06
  14  3.29918e-06
  15  6.1403e-06
  16  4.57271e-05
  17  0.000348763
  18  4.46171
  19  6.10356e-07
  20  28.4248
  21  9.28382e-07
  22  118.292
  23  0.000120433
  24  8.41607e-07
  25  52.7688
  26  0.254656
  27  0.268534
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.488e-04  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.769e-01  2.685e-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.738e-01  2.547e-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: 9.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915801/likelihoodResults_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.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) = 3510.04896569
delta logL = -0.000134067491672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3510.04883165
delta logL = -2.84212546831e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4848       1.0000          .0000       10.000    
     3 'Normalizat'    .87383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87692       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=   3510.049     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8054.7        .90712E-02** at limit **
   2  Index         2.4827        6.0960        .50000        .49735E-06
   3  Normalizat    .87382        .14145        .44566E-01    .66130E-05
   4  Prefactor     .87690        .15556        .44710E-01    .71042E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.48271
  Normalizat = 0.873815
  Prefactor  = 0.876905
 **********
 **   18 **HESSE 
 **********

 FCN=   3510.049     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4827        6.2413        .50000       -.52760    
   3  Normalizat    .87382        .23695        .22552E-03   -.97386    
   4  Prefactor     .87690        .26174        .24737E-03   -.96953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78274e-13
Minuit parameter uncertainties:
  1  2.77669e-06
  2  4.47086
  3  0.237234
  4  0.262119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915801': 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) = 3510.04883162
delta logL = 8.18499756861e-09

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.777e-06  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.483e+00  4.471e+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:  8.769e-01  2.621e-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.738e-01  2.372e-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/915801/cmap_HighResolution_439171201_439430401_4FGL_J2327.5-3259_daily_bin771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.69e-03', job_status='DONE', photon_flux_upper_limit='9.85e-08', time_completed='2021-09-29 20:15:53.190784', job_id='915801', GAL2='0.88', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632971753.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='8.18e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='771' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:15:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 915801: <4FGL_J2327.5-3259_daily_bin771> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin771 351.883 -32.9869 439171201 439430401 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 :                                   583.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            611 sec.

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

