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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1470
RA = 351.883, Dec = -32.9869
tmin = 620352001, tmax = 620611201
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='918844', job_status='RUN', time_executed='2021-09-29 20:16:19.630849', time_epoch_executed='1632971779.63' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1470'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918844

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918844/ft1_4FGL_J2327.5-3259_daily_bin1470.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918844/ft2_4FGL_J2327.5-3259_daily_bin1470.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918844/ft1_4FGL_J2327.5-3259_daily_bin1470.fits outfile=/scratch/kocevski/918844/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1470.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=620352001.0 tmax=620611201.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 4.86
user 4.61
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918844/ft1_filtered_4FGL_J2327.5-3259_daily_bin1470.fits" evtable="EVENTS" scfile=/scratch/kocevski/918844/ft2_4FGL_J2327.5-3259_daily_bin1470.fits sctable="SC_DATA" outfile=/scratch/kocevski/918844/ltcube_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.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/918844/ft2_4FGL_J2327.5-3259_daily_bin1470.fits
.....................!
real 11.88
user 11.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918844/ft1_filtered_4FGL_J2327.5-3259_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/918844/ft2_4FGL_J2327.5-3259_daily_bin1470.fits sctable="SC_DATA" expcube=/scratch/kocevski/918844/ltcube_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.fits outfile=/scratch/kocevski/918844/expmap_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.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/918844/ltcube_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.fits
.....................!
real 190.21
user 184.89
sys 5.01

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/918844/ft1_filtered_4FGL_J2327.5-3259_daily_bin1470.fits scfile=/scratch/kocevski/918844/ft2_4FGL_J2327.5-3259_daily_bin1470.fits outfile=/scratch/kocevski/918844/cmap_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.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/918844/ft1_filtered_4FGL_J2327.5-3259_daily_bin1470.fits scfile=/scratch/kocevski/918844/ft2_4FGL_J2327.5-3259_daily_bin1470.fits outfile=/scratch/kocevski/918844/cmap_HighResolution_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/918844/ft1_filtered_4FGL_J2327.5-3259_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/918844/ft2_4FGL_J2327.5-3259_daily_bin1470.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/918844/Model_4FGL_J2327.5-3259_daily_bin1470.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/918844/ft1_filtered_4FGL_J2327.5-3259_daily_bin1470.fits.....................!
real 45.20
user 43.88
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3011       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.0905       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3307       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.320       1.0000         .10000E-03   10000.    
    11 'norm      '    .80749       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.701       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10625E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.660       1.0000         .10000E-03   10000.    
    18 'norm      '    8.8073       1.0000         .10000E-03   10000.    
    19 'norm      '    13.784       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    88.866       1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.483       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .72800E-02   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .76109       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .97861       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=   6097.637     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     3301 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.409        .10564E-04** at limit **
   2  Prefactor     4.3016        3.1352        .20310E-06    .56223E-03
   3  Prefactor     .10000E-03    38.694       -.22175E-04** at limit **
   4  Prefactor     .10000E-03    6.6776        .71237E-07** at limit **
   5  Prefactor     .10000E-03    16.025       -.12997E-04** at limit **
   6  Prefactor     .10000E-03    2.4190       -.74407E-07** at limit **
   7  Prefactor     .10000E-03    5.2036        .33984E-07** at limit **
   8  norm          6.0905        3.6598        .12504E-06    .12976E-03
   9  Prefactor     1.3287        28.508       -.57480E-05   -.45323E-03
  10  Prefactor     12.325        12.213        .11798E-05    .13412E-03
  11  norm          .80726        .79391       -.83866E-07   -.65756E-04
  12  Prefactor     15.699        45.107       -.35349E-05   -.35751E-05
  13  Prefactor     .10000E-03    2.8929       -.99538E-07** at limit **
  14  norm          .10000E-03    1.6933       -.19361E-07** at limit **
  15  norm          .10000E-03    3.6926       -.19667E-07** at limit **
  16  Prefactor     .10000E-03    57.043        .25902E-04** at limit **
  17  Prefactor     10.665        51.307        .69854E-05   -.76838E-05
  18  norm          8.8053        4.0476        .65863E-06   -.11915E-02
  19  norm          13.784        4.0796       -.18532E-06    .27773E-04
  20  Prefactor     .10000E-03    11.843       -.16168E-05** at limit **
  21  norm          .10000E-03    .95944       -.25966E-07** at limit **
  22  Prefactor     88.872        77.235        .47476E-05    .87942E-06
  23  Prefactor     14.488        32.559        .26860E-05   -.85244E-05
  24  Prefactor     .10129E-03    2.2685       -.36219E-06** at limit **
  25  Prefactor     .10000E-03    23.991        .11382E-04** at limit **
  26  Normalizat    .76093        .15894       -.17003E-05    .96573E-04
  27  Prefactor     .97882        .16885        .46762E-06    .46135E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.3016
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.09052
  Prefactor  = 1.32872
  Prefactor  = 12.3252
  norm       = 0.807262
  Prefactor  = 15.6988
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 10.6649
  norm       = 8.80526
  norm       = 13.7841
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 88.8724
  Prefactor  = 14.4877
  Prefactor  = 0.000101293
  Prefactor  = 0.0001
  Normalizat = 0.760927
  Prefactor  = 0.978815
 **********
 **   18 **HESSE 
 **********

 FCN=   6097.637     FROM HESSE     STATUS=OK           496 CALLS     3797 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3016        3.1331        .11274E-03   -1.5293    
   3  Prefactor     .10000E-03    39.229        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4253        .11860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.3402        .34787E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.0905        3.6511        .10731E-03   -1.5214    
   9  Prefactor     1.3287        26.189        .38069E-03   -1.5477    
  10  Prefactor     12.325        11.954        .11412E-03   -1.5006    
  11  norm          .80726        .77807        .49302E-03   -1.5528    
  12  Prefactor     15.699        45.138        .10108E-03   -1.4915    
  13  Prefactor     .10000E-03    2.8966        .12961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6968        .99205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.7349        .14646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    56.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.665        52.002        .12272E-03   -1.5055    
  18  norm          8.8053        4.0185        .10098E-03   -1.5114    
  19  norm          13.784        4.0800        .83101E-04   -1.4965    
  20  Prefactor     .10000E-03    11.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .96408        .74650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     88.872        77.311        .42622E-04   -1.3820    
  23  Prefactor     14.488        32.540        .10525E-03   -1.4947    
  24  Prefactor     .10129E-03    4.5291        .39584E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    23.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .76093        .19045        .23408E-03   -1.0153    
  27  Prefactor     .97882        .20159        .23527E-03   -.93439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45998e-09
Minuit parameter uncertainties:
  1  2.52946e-06
  2  3.13324
  3  0.000492293
  4  6.44116e-06
  5  2.64473e-05
  6  2.00448e-06
  7  7.48031e-06
  8  3.65123
  9  11.8034
  10  11.9561
  11  0.778082
  12  45.2364
  13  8.89894e-07
  14  4.96826e-06
  15  7.83244e-06
  16  0.000682222
  17  47.1659
  18  4.01865
  19  4.08012
  20  2.69752e-06
  21  3.63768e-06
  22  77.3992
  23  32.5795
  24  0.00483974
  25  9.01674e-06
  26  0.190612
  27  0.201747
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.066e+01  4.717e+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:  9.788e-01  2.017e-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.609e-01  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 8.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/918844/likelihoodResults_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.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) = 6096.25370527
delta logL = 1.38368236538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6096.0575411
delta logL = 1.57984653675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35739E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9001       1.0000          .0000       10.000    
     3 'Normalizat'    .68600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0397       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=   6096.057     FROM MIGRAD    STATUS=CONVERGED    223 CALLS      620 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29843E-03    .22846E-03    .11290E-04** at limit **
   2  Index        10.0000        .61713        .50000       -.34421E-05
   3  Normalizat    .68623        .18315        .24511E-03    .23432E-03
   4  Prefactor     1.0397        .20383        .22901E-03    .13486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00029843
  Index      = 9.99999
  Normalizat = 0.686234
  Prefactor  = 1.03967
 **********
 **   18 **HESSE 
 **********

 FCN=   6096.057     FROM HESSE     STATUS=OK            33 CALLS      653 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29843E-03    .22425E-03    .45162E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .59572        .50000        1.5689    
   3  Normalizat    .68623        .18348        .98044E-05   -1.0444    
   4  Prefactor     1.0397        .20412        .45802E-04   -.91419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18192e-11
Minuit parameter uncertainties:
  1  0.000224251
  2  0.00479689
  3  0.183648
  4  0.204273
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918844': 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) = 6096.0574724
delta logL = 1.57991523842

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.984e-04  2.243e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.000e+01  4.797e-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:  1.040e+00  2.043e-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.862e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.41
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 5.38e-08 +/- 3.93e-08
Energy Flux (Free Index): 6.01e-06 +/- 4.42e-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/918844/cmap_HighResolution_620352001_620611201_4FGL_J2327.5-3259_daily_bin1470.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-03', comment='SUCCESS', energy_flux2='6.01e-06', dlogl='1.58e+00', photon_flux2='5.38e-08', job_status='DONE', time_completed='2021-09-29 20:29:56.617503', photon_index_error2='0.00', photon_index2='10.00', ts='0.06', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='8.89e-08', energy_flux_error2='4.42e-06', EG='0.76', time_epoch_completed='1632972596.62', return_code='0', job_id='918844', GAL2='1.04', EG2='0.69', return_code2='0', photon_flux_error2='3.93e-08', ts2='3.41', photon_index='2.56' WHERE bin_id='1470' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:29:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 918844: <4FGL_J2327.5-3259_daily_bin1470> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1470 351.883 -32.9869 620352001 620611201 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 :                                   802.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            872 sec.

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

