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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1280
RA = 351.883, Dec = -32.9869
tmin = 571104001, tmax = 571363201
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='917630', job_status='RUN', time_executed='2021-09-29 20:14:47.585269', time_epoch_executed='1632971687.59' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917630

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917630/ft1_4FGL_J2327.5-3259_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917630/ft2_4FGL_J2327.5-3259_daily_bin1280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917630/ft1_4FGL_J2327.5-3259_daily_bin1280.fits outfile=/scratch/kocevski/917630/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1280.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=571104001.0 tmax=571363201.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.00
user 2.78
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917630/ft1_filtered_4FGL_J2327.5-3259_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/917630/ft2_4FGL_J2327.5-3259_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/917630/ltcube_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.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/917630/ft2_4FGL_J2327.5-3259_daily_bin1280.fits
.....................!
real 12.59
user 12.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917630/ft1_filtered_4FGL_J2327.5-3259_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/917630/ft2_4FGL_J2327.5-3259_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/917630/ltcube_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.fits outfile=/scratch/kocevski/917630/expmap_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.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/917630/ltcube_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.fits
.....................!
real 190.85
user 185.43
sys 5.04

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/917630/ft1_filtered_4FGL_J2327.5-3259_daily_bin1280.fits scfile=/scratch/kocevski/917630/ft2_4FGL_J2327.5-3259_daily_bin1280.fits outfile=/scratch/kocevski/917630/cmap_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917630/ft1_filtered_4FGL_J2327.5-3259_daily_bin1280.fits scfile=/scratch/kocevski/917630/ft2_4FGL_J2327.5-3259_daily_bin1280.fits outfile=/scratch/kocevski/917630/cmap_HighResolution_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917630/ft1_filtered_4FGL_J2327.5-3259_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/917630/ft2_4FGL_J2327.5-3259_daily_bin1280.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917630/Model_4FGL_J2327.5-3259_daily_bin1280.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/917630/ft1_filtered_4FGL_J2327.5-3259_daily_bin1280.fits.....................!
real 29.33
user 27.99
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11029E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9941       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12192E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.1215       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7491       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1864       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13411E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .32120       1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.811       1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.270       1.0000         .10000E-03   10000.    
    18 'norm      '    .14486E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.0623       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11262E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10593E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .17541E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .61895E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.417       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .60788       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3491       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=   2791.071     FROM MIGRAD    STATUS=CONVERGED    710 CALLS     3355 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.412       -.11343E-06** at limit **
   2  Prefactor     .10000E-03    2.3743        .83180E-07** at limit **
   3  Prefactor     .10000E-03    19.382        .12030E-07** at limit **
   4  Prefactor     .10000E-03    21.353        .10727E-06** at limit **
   5  Prefactor     4.9771        154.49        .11853E-05    .21595E-05
   6  Prefactor     .10000E-03    61.768        .11957E-05** at limit **
   7  Prefactor     .10000E-03    7.8602       -.48154E-08** at limit **
   8  norm          6.1282        12.005        .13393E-05    .12378E-05
   9  Prefactor     .10000E-03    15.690        .85211E-07** at limit **
  10  Prefactor     3.7423        81.349       -.46196E-05   -.72111E-05
  11  norm          1.1859        1.8094        .40930E-06    .82276E-05
  12  Prefactor     .10000E-03    46.158       -.51458E-07** at limit **
  13  Prefactor     .10000E-03    6.5555        .13190E-06** at limit **
  14  norm          .10000E-03    3.2242        .27116E-07** at limit **
  15  norm          .10356        18.465        .21355E-05   -.10265E-03
  16  Prefactor     62.820        61.689        .15123E-06   -.67936E-04
  17  Prefactor     34.473        68.751       -.12815E-05    .56132E-06
  18  norm          .10000E-03    14.388        .39907E-06** at limit **
  19  norm          5.0601        5.2845        .18665E-05   -.23428E-03
  20  Prefactor     .10000E-03    33.064       -.26000E-06** at limit **
  21  norm          .10000E-03    4.8585        .20633E-06** at limit **
  22  Prefactor     .10001E-03    862.25        .14039E-05** at limit **
  23  Prefactor     .10002E-03    267.60       -.51459E-05** at limit **
  24  Prefactor     .10000E-03    5.5586        .28594E-06** at limit **
  25  Prefactor     15.410        52.635       -.10764E-07    .20966E-04
  26  Normalizat    .60808        .25835       -.37301E-05   -.11488E-03
  27  Prefactor     1.3493        .27387        .54792E-06   -.23443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.97711
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.12818
  Prefactor  = 0.0001
  Prefactor  = 3.74225
  norm       = 1.18594
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.103557
  Prefactor  = 62.8196
  Prefactor  = 34.4735
  norm       = 0.0001
  norm       = 5.06006
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 15.4099
  Normalizat = 0.608078
  Prefactor  = 1.34934
 **********
 **   18 **HESSE 
 **********

 FCN=   2791.071     FROM HESSE     STATUS=OK           488 CALLS     3843 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4123        .79430E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.9771        155.03        .17995E-03   -1.5262    
   6  Prefactor     .10000E-03    62.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.8668        .14467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.1282        11.600        .16227E-03   -1.5213    
   9  Prefactor     .10000E-03    15.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7423        69.803        .20852E-03   -1.5321    
  11  norm          1.1859        1.7265        .41881E-04   -1.5490    
  12  Prefactor     .10000E-03    46.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5582        .13211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.2252        .92631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10356        53.347        .57511E-01   -1.5644    
  16  Prefactor     62.820        59.815        .50632E-04   -1.4121    
  17  Prefactor     34.473        70.101        .68453E-04   -1.4533    
  18  norm          .10000E-03    14.713        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.0601        5.2150        .58650E-03   -1.5258    
  20  Prefactor     .10000E-03    33.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    8.7603        .22032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    876.93        .20343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10002E-03    270.38        .21047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.6686        .12161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     15.410        52.713        .10200E-03   -1.4923    
  26  Normalizat    .60808        .30659        .27586E-03   -1.0764    
  27  Prefactor     1.3493        .33380        .22002E-03   -.81851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4963e-07
Minuit parameter uncertainties:
  1  1.79546e-05
  2  1.22761e-05
  3  2.02337e-05
  4  4.37026e-05
  5  55.7138
  6  0.000266684
  7  5.16235e-06
  8  11.6045
  9  8.30138e-06
  10  32.3681
  11  1.72655
  12  3.70204e-05
  13  3.02799e-06
  14  6.66167e-07
  15  4.70276
  16  59.8725
  17  70.2693
  18  4.215e-05
  19  5.21549
  20  2.10647e-05
  21  7.39628e-05
  22  0.00614371
  23  0.00422181
  24  2.37468e-05
  25  52.8729
  26  0.307451
  27  0.334338
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.447e+01  7.027e+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:  1.349e+00  3.343e-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:  6.081e-01  3.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917630/likelihoodResults_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.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) = 2791.02984626
delta logL = 0.0415756642547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2791.02166332
delta logL = 0.0497586012225

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.799       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9922       1.0000          .0000       10.000    
     3 'Normalizat'    .59326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3605       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=   2791.022     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      264 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.794        65.657        .77385E-04    .12780E-03
   2  Index         2.9923        1.5799        .85973E-02    .60715E-04
   3  Normalizat    .59403        .29266        .27894E-03   -.29105E-03
   4  Prefactor     1.3596        .33080        .21930E-03   -.34774E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.7939
  Index      = 2.99229
  Normalizat = 0.594026
  Prefactor  = 1.35959
 **********
 **   18 **HESSE 
 **********

 FCN=   2791.022     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.794        60.451        .15477E-04   -1.4672    
   2  Index         2.9923        1.4564        .34389E-03   -.41320    
   3  Normalizat    .59403        .29284        .55788E-04   -1.0824    
   4  Prefactor     1.3596        .33083        .43859E-04   -.81552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91736e-10
Minuit parameter uncertainties:
  1  60.5896
  2  1.4821
  3  0.293609
  4  0.33135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917630': 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) = 2791.02165954
delta logL = 0.0497623822639

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.679e+01  6.059e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.992e+00  1.482e+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.360e+00  3.313e-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:  5.940e-01  2.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
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/917630/cmap_HighResolution_571104001_571363201_4FGL_J2327.5-3259_daily_bin1280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.59e-07', time_completed='2021-09-29 20:23:43.676499', job_id='917630', GAL2='1.36', fit_tolerance='1e-08', EG2='0.59', EG='0.61', time_epoch_completed='1632972223.68', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='4.98e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1280' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:23:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 917630: <4FGL_J2327.5-3259_daily_bin1280> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1280> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:11:05 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:11:06 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:11:06 2021
Terminated at Wed Sep 29 20:23:44 2021
Results reported at Wed Sep 29 20:23:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1280 351.883 -32.9869 571104001 571363201 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 :                                   522.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             232.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            759 sec.

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

