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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1432
RA = 351.883, Dec = -32.9869
tmin = 610502401, tmax = 610761601
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='918781', job_status='RUN', time_executed='2021-09-29 20:16:02.200769', time_epoch_executed='1632971762.2' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918781

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918781/ft1_4FGL_J2327.5-3259_daily_bin1432.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918781/ft2_4FGL_J2327.5-3259_daily_bin1432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918781/ft1_4FGL_J2327.5-3259_daily_bin1432.fits outfile=/scratch/kocevski/918781/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1432.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=610502401.0 tmax=610761601.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.59
user 3.37
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918781/ft1_filtered_4FGL_J2327.5-3259_daily_bin1432.fits" evtable="EVENTS" scfile=/scratch/kocevski/918781/ft2_4FGL_J2327.5-3259_daily_bin1432.fits sctable="SC_DATA" outfile=/scratch/kocevski/918781/ltcube_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.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/918781/ft2_4FGL_J2327.5-3259_daily_bin1432.fits
.....................!
real 11.76
user 11.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918781/ft1_filtered_4FGL_J2327.5-3259_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/918781/ft2_4FGL_J2327.5-3259_daily_bin1432.fits sctable="SC_DATA" expcube=/scratch/kocevski/918781/ltcube_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.fits outfile=/scratch/kocevski/918781/expmap_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.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/918781/ltcube_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.fits
.....................!
real 191.60
user 186.15
sys 5.15

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/918781/ft1_filtered_4FGL_J2327.5-3259_daily_bin1432.fits scfile=/scratch/kocevski/918781/ft2_4FGL_J2327.5-3259_daily_bin1432.fits outfile=/scratch/kocevski/918781/cmap_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/918781/ft1_filtered_4FGL_J2327.5-3259_daily_bin1432.fits scfile=/scratch/kocevski/918781/ft2_4FGL_J2327.5-3259_daily_bin1432.fits outfile=/scratch/kocevski/918781/cmap_HighResolution_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.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/918781/ft1_filtered_4FGL_J2327.5-3259_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/918781/ft2_4FGL_J2327.5-3259_daily_bin1432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/918781/Model_4FGL_J2327.5-3259_daily_bin1432.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/918781/ft1_filtered_4FGL_J2327.5-3259_daily_bin1432.fits.....................!
real 39.18
user 37.88
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.369       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.154       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.681       1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.003       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11227       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0972       1.0000         .10000E-03   10000.    
    11 'norm      '    2.7063       1.0000         .10000E-03   10000.    
    12 'Prefactor '    52.179       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9480       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.1879       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10815E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.2906       1.0000         .10000E-03   10000.    
    19 'norm      '    .65688E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.7455       1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.607       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .78450       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91217       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=   4783.697     FROM MIGRAD    STATUS=CONVERGED    659 CALLS     3343 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.375        55.791        .50200E-05    .31590E-05
   2  Prefactor     .10000E-03    2.3370       -.42019E-07** at limit **
   3  Prefactor     .10000E-03    10.177       -.48519E-07** at limit **
   4  Prefactor     37.154        26.868        .54973E-06    .17783E-04
   5  Prefactor     18.677        21.557        .32765E-05    .45871E-04
   6  Prefactor     41.005        18.191       -.41859E-07    .48020E-04
   7  Prefactor     .14142        6.7886       -.22226E-05    .43627E-03
   8  norm          .10000E-03    1.1989        .22822E-07** at limit **
   9  Prefactor     .10000E-03    8.8589        .10082E-06** at limit **
  10  Prefactor     4.1052        19.267       -.35901E-05   -.86188E-04
  11  norm          2.7059        1.1268        .24839E-06   -.17832E-03
  12  Prefactor     52.172        58.586       -.62785E-05    .18964E-04
  13  Prefactor     1.9530        29.790       -.14000E-05   -.14247E-03
  14  norm          .10000E-03    1.5957        .11498E-07** at limit **
  15  norm          8.1882        6.7369        .13288E-07   -.57280E-05
  16  Prefactor     .10000E-03    54.419       -.36297E-05** at limit **
  17  Prefactor     .10000E-03    16.250       -.39870E-06** at limit **
  18  norm          1.2938        3.0663       -.58864E-06   -.63836E-03
  19  norm          .55141E-01    2.0830       -.10525E-05    .95827E-03
  20  Prefactor     .10000E-03    28.991        .26595E-05** at limit **
  21  norm          .10000E-03    1.7306        .78604E-08** at limit **
  22  Prefactor     .10000E-03    173.04       -.39859E-05** at limit **
  23  Prefactor     .10000E-03    14.011        .31701E-06** at limit **
  24  Prefactor     5.7461        5.2694       -.29736E-06   -.19649E-03
  25  Prefactor     15.609        31.712        .80524E-06   -.14920E-05
  26  Normalizat    .78434        .18650        .97404E-06    .28828E-03
  27  Prefactor     .91230        .19628        .17899E-07    .29583E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.3753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.154
  Prefactor  = 18.6771
  Prefactor  = 41.005
  Prefactor  = 0.141417
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.10518
  norm       = 2.70588
  Prefactor  = 52.1721
  Prefactor  = 1.95299
  norm       = 0.0001
  norm       = 8.18815
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2938
  norm       = 0.0551408
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.74609
  Prefactor  = 15.6086
  Normalizat = 0.784342
  Prefactor  = 0.912296
 **********
 **   18 **HESSE 
 **********

 FCN=   4783.697     FROM HESSE     STATUS=OK           488 CALLS     3831 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.375        55.412        .55422E-04   -1.4259    
   2  Prefactor     .10000E-03    2.4427        .20621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.154        26.848        .65751E-04   -1.4488    
   5  Prefactor     18.677        21.484        .92667E-04   -1.4843    
   6  Prefactor     41.005        18.172        .62600E-04   -1.4426    
   7  Prefactor     .14142        59.811        .33803E-02   -1.5633    
   8  norm          .10000E-03    1.1997        .73936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.8694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1052        17.869        .19917E-03   -1.5303    
  11  norm          2.7059        1.1705        .34626E-04   -1.5379    
  12  Prefactor     52.172        58.412        .55522E-04   -1.4262    
  13  Prefactor     1.9530        25.754        .29737E-03   -1.5428    
  14  norm          .10000E-03    1.5960        .85304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.1882        6.7382        .14011E-03   -1.5136    
  16  Prefactor     .10000E-03    54.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.2938        3.0986        .18221E-03   -1.5480    
  19  norm          .55141E-01    35.677        .18617E-02   -1.5661    
  20  Prefactor     .10000E-03    29.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.7476        .88761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    173.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    14.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.7461        5.2925        .14327E-03   -1.5229    
  25  Prefactor     15.609        31.670        .10138E-03   -1.4918    
  26  Normalizat    .78434        .22174        .23963E-03   -1.0065    
  27  Prefactor     .91230        .23521        .24439E-03   -.95713    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99602e-08
Minuit parameter uncertainties:
  1  55.4668
  2  6.51785e-06
  3  6.6485e-06
  4  26.8569
  5  21.4933
  6  18.1748
  7  5.82044
  8  2.4701e-06
  9  2.66333e-05
  10  17.1382
  11  1.17052
  12  58.4765
  13  14.1913
  14  1.42472e-06
  15  6.73884
  16  9.08945e-05
  17  9.56468e-07
  18  3.09903
  19  2.8043
  20  2.66987e-05
  21  9.47846e-07
  22  4.23932e-05
  23  3.06291e-06
  24  5.29295
  25  31.704
  26  0.221996
  27  0.235472
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  9.565e-07  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.123e-01  2.355e-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.843e-01  2.220e-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: 5.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/918781/likelihoodResults_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.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): 102
logL (Free Index) = 4783.69685517
delta logL = -0.000292903588161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4783.69656559
delta logL = -3.32264153258e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2209       1.0000          .0000       10.000    
     3 'Normalizat'    .78434       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91230       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=   4783.697     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      291 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    223.80        .18142E-01** at limit **
   2  Index         1.6752        6.6029        .50000        .29672E-07
   3  Normalizat    .78434        .11475E-01    .23963E-03    .42463E-03
   4  Prefactor     .91230        .12616E-01    .24439E-03    .42391E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.67524
  Normalizat = 0.784342
  Prefactor  = 0.912296
 **********
 **   18 **HESSE 
 **********

 FCN=   4783.697     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      320 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1056.1        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6752        5.3842        .50000       -.72743    
   3  Normalizat    .78434        .25935E-01    .47925E-04   -1.0065    
   4  Prefactor     .91230        .28514E-01    .48879E-04   -.95713    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42863e-09
Minuit parameter uncertainties:
  1  0.00178858
  2  1125.57
  3  0.0259354
  4  0.0285149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918781': 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) = 4783.69656079
delta logL = 1.4849301806e-06

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.789e-03  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.675e+00  1.126e+03  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.123e-01  2.851e-02  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.843e-01  2.594e-02  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/918781/cmap_HighResolution_610502401_610761601_4FGL_J2327.5-3259_daily_bin1432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.48e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2021-09-29 20:27:36.613836', job_id='918781', GAL2='0.91', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1632972456.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.48e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1432' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:27:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 918781: <4FGL_J2327.5-3259_daily_bin1432> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1432 351.883 -32.9869 610502401 610761601 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 :                                   676.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            737 sec.

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

