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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1393
RA = 351.883, Dec = -32.9869
tmin = 600393601, tmax = 600652801
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='918722', job_status='RUN', time_executed='2021-09-29 20:17:32.614316', time_epoch_executed='1632971852.61' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918722

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918722/ft1_4FGL_J2327.5-3259_daily_bin1393.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918722/ft2_4FGL_J2327.5-3259_daily_bin1393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918722/ft1_4FGL_J2327.5-3259_daily_bin1393.fits outfile=/scratch/kocevski/918722/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1393.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=600393601.0 tmax=600652801.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.65
user 3.41
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918722/ft1_filtered_4FGL_J2327.5-3259_daily_bin1393.fits" evtable="EVENTS" scfile=/scratch/kocevski/918722/ft2_4FGL_J2327.5-3259_daily_bin1393.fits sctable="SC_DATA" outfile=/scratch/kocevski/918722/ltcube_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.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/918722/ft2_4FGL_J2327.5-3259_daily_bin1393.fits
.....................!
real 11.82
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918722/ft1_filtered_4FGL_J2327.5-3259_daily_bin1393.fits evtable="EVENTS" scfile=/scratch/kocevski/918722/ft2_4FGL_J2327.5-3259_daily_bin1393.fits sctable="SC_DATA" expcube=/scratch/kocevski/918722/ltcube_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.fits outfile=/scratch/kocevski/918722/expmap_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.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/918722/ltcube_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.fits
.....................!
real 191.03
user 184.98
sys 5.69

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/918722/ft1_filtered_4FGL_J2327.5-3259_daily_bin1393.fits scfile=/scratch/kocevski/918722/ft2_4FGL_J2327.5-3259_daily_bin1393.fits outfile=/scratch/kocevski/918722/cmap_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/918722/ft1_filtered_4FGL_J2327.5-3259_daily_bin1393.fits scfile=/scratch/kocevski/918722/ft2_4FGL_J2327.5-3259_daily_bin1393.fits outfile=/scratch/kocevski/918722/cmap_HighResolution_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.987       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    76.811       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.726       1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.049       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.111       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.306       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1701       1.0000         .10000E-03   10000.    
    12 'Prefactor '    180.91       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6098       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.166       1.0000         .10000E-03   10000.    
    18 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.5426       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.0450       1.0000         .10000E-03   10000.    
    23 'Prefactor '    74.363       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.2612       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .81445       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=   3853.263     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     3367 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.973        44.306       -.43383E-06    .19045E-05
   2  Prefactor     .10000E-03    7.4326       -.48847E-06** at limit **
   3  Prefactor     76.812        42.801       -.67965E-07    .25290E-04
   4  Prefactor     14.683        36.682       -.95444E-07   -.43063E-05
   5  Prefactor     49.056        47.199        .33822E-07   -.36560E-05
   6  Prefactor     22.116        17.450        .28055E-07    .30275E-05
   7  Prefactor     .10000E-03    3.6643       -.12860E-06** at limit **
   8  norm          .10000E-03    2.0162       -.96763E-07** at limit **
   9  Prefactor     .10000E-03    7.4104       -.27065E-07** at limit **
  10  Prefactor     19.314        16.015        .37952E-06    .20334E-05
  11  norm          1.1695        .93803       -.79294E-07    .11373E-03
  12  Prefactor     180.93        113.13        .15637E-06    .23070E-05
  13  Prefactor     3.6032        16.327        .30243E-06    .18739E-04
  14  norm          .10000E-03    2.8749       -.18572E-06** at limit **
  15  norm          .10000E-03    2.7815       -.10099E-06** at limit **
  16  Prefactor     .10000E-03    30.775       -.92726E-06** at limit **
  17  Prefactor     52.167        50.977        .57586E-06    .93981E-05
  18  norm          .10000E-03    3.3998       -.66693E-06** at limit **
  19  norm          5.5423        4.4320        .18513E-06    .69939E-04
  20  Prefactor     .10000E-03    20.440        .16266E-05** at limit **
  21  norm          .10000E-03    1.7403       -.23255E-06** at limit **
  22  Prefactor     7.3402        531.47       -.35215E-04   -.23123E-04
  23  Prefactor     74.355        83.668        .17625E-05    .19271E-04
  24  Prefactor     5.2680        8.9926        .69210E-06    .39330E-04
  25  Prefactor     .10000E-03    57.218       -.14083E-06** at limit **
  26  Normalizat    1.0582        .28479       -.49294E-05    .17912E-03
  27  Prefactor     .81546        .28417        .66650E-05   -.20830E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9734
  Prefactor  = 0.0001
  Prefactor  = 76.8121
  Prefactor  = 14.6827
  Prefactor  = 49.0557
  Prefactor  = 22.1159
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3144
  norm       = 1.16952
  Prefactor  = 180.929
  Prefactor  = 3.60321
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.1672
  norm       = 0.0001
  norm       = 5.54228
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.34017
  Prefactor  = 74.3552
  Prefactor  = 5.268
  Prefactor  = 0.0001
  Normalizat = 1.05825
  Prefactor  = 0.815465
 **********
 **   18 **HESSE 
 **********

 FCN=   3853.263     FROM HESSE     STATUS=OK           482 CALLS     3849 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.973        44.325        .11571E-03   -1.5016    
   2  Prefactor     .10000E-03    7.6133        .32915E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     76.812        42.622        .45817E-04   -1.3953    
   4  Prefactor     14.683        36.652        .10437E-03   -1.4941    
   5  Prefactor     49.056        47.204        .57258E-04   -1.4306    
   6  Prefactor     22.116        17.455        .85183E-04   -1.4767    
   7  Prefactor     .10000E-03    3.6662        .11605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.0220        .86042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.4125        .16498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.314        16.181        .91154E-04   -1.4829    
  11  norm          1.1695        .95031        .43303E-04   -1.5492    
  12  Prefactor     180.93        113.29        .30012E-04   -1.3010    
  13  Prefactor     3.6032        15.818        .21266E-03   -1.5328    
  14  norm          .10000E-03    2.8823        .10281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7832        .10111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    30.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     52.167        50.998        .55529E-04   -1.4262    
  18  norm          .10000E-03    3.4524        .11184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.5423        4.4294        .11307E-03   -1.5237    
  20  Prefactor     .10000E-03    20.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.7504        .79994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.3402        569.48        .15114E-02   -1.5166    
  23  Prefactor     74.355        83.665        .46560E-04   -1.3981    
  24  Prefactor     5.2680        8.9849        .17524E-03   -1.5249    
  25  Prefactor     .10000E-03    57.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0582        .31101        .24651E-03   -.91104    
  27  Prefactor     .81546        .30543        .28841E-03   -.99161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07855e-10
Minuit parameter uncertainties:
  1  44.447
  2  2.53156e-05
  3  42.6391
  4  36.7081
  5  47.2399
  6  17.4592
  7  2.88862e-06
  8  3.11562e-06
  9  4.70102e-06
  10  16.1849
  11  0.950327
  12  113.423
  13  15.1054
  14  5.28209e-06
  15  2.33812e-06
  16  5.54187e-05
  17  51.0407
  18  1.51385e-05
  19  4.42968
  20  0.000106824
  21  4.45285e-06
  22  130.616
  23  83.7981
  24  8.98724
  25  2.80066e-05
  26  0.311545
  27  0.306071
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  5.217e+01  5.104e+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:  8.155e-01  3.061e-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:  1.058e+00  3.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.65
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.18e-08 +/- 4.09e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.12e-05

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

Saving results to:
/scratch/kocevski/918722/likelihoodResults_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.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) = 3853.05738222
delta logL = 0.205314079007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3853.05451623
delta logL = 0.208180068981

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.310       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0117       1.0000          .0000       10.000    
     3 'Normalizat'    1.0800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80154       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=   3853.055     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      253 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.324        56.287        .54933E-04   -.73883E-04
   2  Index         2.0120        .79698        .92771E-02   -.26830E-04
   3  Normalizat    1.0802        .28611        .24425E-03   -.55914E-03
   4  Prefactor     .80161        .29735        .29060E-03   -.40566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.3241
  Index      = 2.01205
  Normalizat = 1.0802
  Prefactor  = 0.801613
 **********
 **   18 **HESSE 
 **********

 FCN=   3853.055     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.324        56.743        .10987E-04   -1.4246    
   2  Index         2.0120        .80339        .37109E-03   -.64049    
   3  Normalizat    1.0802        .28641        .48851E-04   -.90390    
   4  Prefactor     .80161        .29765        .58120E-04   -.99669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35451e-10
Minuit parameter uncertainties:
  1  56.8003
  2  0.808871
  3  0.286821
  4  0.298252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918722': 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) = 3853.054514
delta logL = 0.208182301148

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  5.332e+01  5.680e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.012e+00  8.089e-01  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.016e-01  2.983e-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:  1.080e+00  2.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.06
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 2.01 +/- 0.81
Photon Flux (Free Index): 2.35e-08 +/- 3.45e-08
Energy Flux (Free Index): 1.58e-05 +/- 2.13e-05

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/918722/cmap_HighResolution_600393601_600652801_4FGL_J2327.5-3259_daily_bin1393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='4.18e-08', energy_flux2='1.58e-05', photon_flux_error='4.09e-08', dlogl='2.08e-01', energy_flux='1.14e-05', photon_flux2='2.35e-08', job_status='DONE', time_completed='2021-09-29 20:28:11.541360', photon_index_error2='0.81', photon_index2='2.01', ts='3.65', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='2.13e-05', EG='1.06', time_epoch_completed='1632972491.54', return_code='0', job_id='918722', GAL2='0.80', EG2='1.08', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='3.45e-08', ts2='4.06', photon_index='2.56' WHERE bin_id='1393' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:28:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 918722: <4FGL_J2327.5-3259_daily_bin1393> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1393> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:15:16 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:15:17 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:15:17 2021
Terminated at Wed Sep 29 20:28:12 2021
Results reported at Wed Sep 29 20:28:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1393 351.883 -32.9869 600393601 600652801 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 :                                   595.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            776 sec.

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

