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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1076
RA = 351.883, Dec = -32.9869
tmin = 518227201, tmax = 518486401
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='917306', job_status='RUN', time_executed='2021-09-29 20:14:16.703155', time_epoch_executed='1632971656.7' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1076'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917306

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917306/ft1_4FGL_J2327.5-3259_daily_bin1076.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917306/ft2_4FGL_J2327.5-3259_daily_bin1076.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917306/ft1_4FGL_J2327.5-3259_daily_bin1076.fits outfile=/scratch/kocevski/917306/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1076.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=518227201.0 tmax=518486401.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.61
user 3.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917306/ft1_filtered_4FGL_J2327.5-3259_daily_bin1076.fits" evtable="EVENTS" scfile=/scratch/kocevski/917306/ft2_4FGL_J2327.5-3259_daily_bin1076.fits sctable="SC_DATA" outfile=/scratch/kocevski/917306/ltcube_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.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/917306/ft2_4FGL_J2327.5-3259_daily_bin1076.fits
.....................!
real 14.07
user 13.68
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917306/ft1_filtered_4FGL_J2327.5-3259_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/917306/ft2_4FGL_J2327.5-3259_daily_bin1076.fits sctable="SC_DATA" expcube=/scratch/kocevski/917306/ltcube_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.fits outfile=/scratch/kocevski/917306/expmap_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.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/917306/ltcube_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.fits
.....................!
real 190.64
user 185.33
sys 4.91

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/917306/ft1_filtered_4FGL_J2327.5-3259_daily_bin1076.fits scfile=/scratch/kocevski/917306/ft2_4FGL_J2327.5-3259_daily_bin1076.fits outfile=/scratch/kocevski/917306/cmap_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917306/ft1_filtered_4FGL_J2327.5-3259_daily_bin1076.fits scfile=/scratch/kocevski/917306/ft2_4FGL_J2327.5-3259_daily_bin1076.fits outfile=/scratch/kocevski/917306/cmap_HighResolution_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917306/ft1_filtered_4FGL_J2327.5-3259_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/917306/ft2_4FGL_J2327.5-3259_daily_bin1076.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917306/Model_4FGL_J2327.5-3259_daily_bin1076.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/917306/ft1_filtered_4FGL_J2327.5-3259_daily_bin1076.fits.....................!
real 35.21
user 33.95
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4161       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17483E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.431       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.6381       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.436       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.287       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.1605       1.0000         .10000E-03   10000.    
    16 'Prefactor '    94.032       1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.178       1.0000         .10000E-03   10000.    
    18 'norm      '    10.961       1.0000         .10000E-03   10000.    
    19 'norm      '    1.1568       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.8522       1.0000         .10000E-03   10000.    
    21 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9256       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .79829       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0801       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=   4190.936     FROM MIGRAD    STATUS=CONVERGED    661 CALLS     3349 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3988        185.66       -.89554E-07   -.70815E-05
   2  Prefactor     .10006E-03    4.1270        .20847E-05** at limit **
   3  Prefactor     .10000E-03    24.854        .92555E-07** at limit **
   4  Prefactor     .10000E-03    15.838       -.11812E-07** at limit **
   5  Prefactor     38.439        42.574        .23278E-06    .41677E-05
   6  Prefactor     .10000E-03    11.814       -.30399E-06** at limit **
   7  Prefactor     .10000E-03    3.3586        .64426E-07** at limit **
   8  norm          2.6381        7.9242        .16427E-05    .20072E-03
   9  Prefactor     13.433        27.676       -.18157E-05   -.34059E-04
  10  Prefactor     23.294        14.593        .15578E-06   -.74660E-04
  11  norm          .10000E-03    .25044       -.80159E-07** at limit **
  12  Prefactor     .10000E-03    59.582       -.24080E-06** at limit **
  13  Prefactor     .10000E-03    5.5134       -.48620E-07** at limit **
  14  norm          .10000E-03    5.8772       -.31489E-05** at limit **
  15  norm          3.1619        11.689        .11012E-05    .69047E-04
  16  Prefactor     94.097        63.570        .66246E-06    .13564E-03
  17  Prefactor     34.199        55.618        .67119E-06    .17041E-04
  18  norm          10.956        7.8205        .18415E-06    .27165E-03
  19  norm          1.1567        3.0641        .77090E-06    .28752E-03
  20  Prefactor     7.8521        21.839       -.30125E-06   -.52686E-05
  21  norm          .10000E-03    1.6751        .29927E-06** at limit **
  22  Prefactor     .10000E-03    34.133       -.11785E-06** at limit **
  23  Prefactor     .10000E-03    134.06       -.64275E-06** at limit **
  24  Prefactor     3.9258        4.8919        .28619E-06   -.22082E-04
  25  Prefactor     .10000E-03    76.668        .60629E-06** at limit **
  26  Normalizat    .79790        .23120       -.46654E-05   -.17102E-03
  27  Prefactor     1.0804        .23792        .36080E-05   -.20451E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.39885
  Prefactor  = 0.000100064
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.4393
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.63806
  Prefactor  = 13.433
  Prefactor  = 23.2943
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 3.16187
  Prefactor  = 94.0971
  Prefactor  = 34.1995
  norm       = 10.956
  norm       = 1.1567
  Prefactor  = 7.85207
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.92581
  Prefactor  = 0.0001
  Normalizat = 0.797898
  Prefactor  = 1.08039
 **********
 **   18 **HESSE 
 **********

 FCN=   4190.936     FROM HESSE     STATUS=OK           486 CALLS     3835 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3988        186.46        .21887E-03   -1.5339    
   2  Prefactor     .10006E-03    12.688        .19968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.439        42.578        .64654E-04   -1.4467    
   6  Prefactor     .10000E-03    11.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3631        .11587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6381        7.8241        .23249E-03   -1.5383    
   9  Prefactor     13.433        27.426        .10928E-03   -1.4975    
  10  Prefactor     23.294        14.585        .83006E-04   -1.4742    
  11  norm          .10000E-03    .25322        .62490E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    59.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.5298        .14834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.2914        .31232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1619        11.654        .22799E-03   -1.5352    
  16  Prefactor     94.097        63.635        .41446E-04   -1.3765    
  17  Prefactor     34.199        55.649        .68545E-04   -1.4538    
  18  norm          10.956        7.8299        .12101E-03   -1.5046    
  19  norm          1.1567        3.0452        .17598E-03   -1.5493    
  20  Prefactor     7.8521        21.712        .14309E-03   -1.5147    
  21  norm          .10000E-03    1.6784        .81805E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    34.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    136.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.9258        4.8839        .15394E-03   -1.5312    
  25  Prefactor     .10000E-03    77.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .79790        .25923        .25899E-03   -1.0015    
  27  Prefactor     1.0804        .26629        .24292E-03   -.90096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.676e-09
Minuit parameter uncertainties:
  1  50.5141
  2  0.00179627
  3  1.89742e-06
  4  2.28207e-05
  5  42.612
  6  4.12002e-05
  7  4.6393e-06
  8  7.82715
  9  27.4521
  10  14.5875
  11  1.05437e-06
  12  0.000156992
  13  2.32366e-07
  14  0.000219573
  15  11.6621
  16  63.6813
  17  55.7333
  18  7.83066
  19  3.04558
  20  21.7335
  21  1.04032e-05
  22  5.69542e-05
  23  0.000381832
  24  4.88438
  25  0.000385602
  26  0.259627
  27  0.26662
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.420e+01  5.573e+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.080e+00  2.666e-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:  7.979e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/917306/likelihoodResults_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.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) = 4190.14872056
delta logL = 0.787156039613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4189.91623647
delta logL = 1.01964013412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52272E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    7.4378       1.0000          .0000       10.000    
     3 'Normalizat'    .68500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1756       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=   4189.916     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      339 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51896E-01    .69115        .22894E-02   -.10479E-01
   2  Index         7.4424        3.2832        .12901       -.13594E-03
   3  Normalizat    .68509        .58280E-01    .62734E-01   -.14905E-03
   4  Prefactor     1.1756        .63021E-01    .52976E-01   -.14034E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0518956
  Index      = 7.44239
  Normalizat = 0.685094
  Prefactor  = 1.17555
 **********
 **   18 **HESSE 
 **********

 FCN=   4189.916     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      370 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51896E-01    1.3465        .10323E-04   -1.5662    
   2  Index         7.4424        8.0180        .52884E-02    .51035    
   3  Normalizat    .68509        .21231        .27753E-03   -1.0448    
   4  Prefactor     1.1756        .22411        .23422E-03   -.87087    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.55646e-10
Minuit parameter uncertainties:
  1  0.528197
  2  5.72539
  3  0.212562
  4  0.224289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917306': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4189.9162353
delta logL = 1.01964130183

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  5.190e-02  5.282e-01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  7.442e+00  5.725e+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.176e+00  2.243e-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.851e-01  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 7.44 +/- 5.73
Photon Flux (Free Index): 1.03e-07 +/- 7.62e-08
Energy Flux (Free Index): 1.21e-05 +/- 9.82e-06

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/917306/cmap_HighResolution_518227201_518486401_4FGL_J2327.5-3259_daily_bin1076.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='1.02e+00', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-09-29 20:26:57.311345', photon_index_error2='5.73', photon_index2='7.44', ts='0.55', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='9.82e-06', EG='0.80', time_epoch_completed='1632972417.31', return_code='0', job_id='917306', GAL2='1.18', EG2='0.69', return_code2='102', photon_flux_error2='7.62e-08', ts2='2.86', photon_index='2.56' WHERE bin_id='1076' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:26:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 917306: <4FGL_J2327.5-3259_daily_bin1076> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1076> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:37 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:38 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:38 2021
Terminated at Wed Sep 29 20:26:58 2021
Results reported at Wed Sep 29 20:26:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1076 351.883 -32.9869 518227201 518486401 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 :                                   627.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             204.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

