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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1273
RA = 351.883, Dec = -32.9869
tmin = 569289601, tmax = 569548801
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='917619', job_status='RUN', time_executed='2021-09-29 20:14:05.208906', time_epoch_executed='1632971645.21' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917619

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917619/ft1_4FGL_J2327.5-3259_daily_bin1273.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917619/ft2_4FGL_J2327.5-3259_daily_bin1273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917619/ft1_4FGL_J2327.5-3259_daily_bin1273.fits outfile=/scratch/kocevski/917619/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1273.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=569289601.0 tmax=569548801.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.60
user 3.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917619/ft1_filtered_4FGL_J2327.5-3259_daily_bin1273.fits" evtable="EVENTS" scfile=/scratch/kocevski/917619/ft2_4FGL_J2327.5-3259_daily_bin1273.fits sctable="SC_DATA" outfile=/scratch/kocevski/917619/ltcube_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.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/917619/ft2_4FGL_J2327.5-3259_daily_bin1273.fits
.....................!
real 11.73
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917619/ft1_filtered_4FGL_J2327.5-3259_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/917619/ft2_4FGL_J2327.5-3259_daily_bin1273.fits sctable="SC_DATA" expcube=/scratch/kocevski/917619/ltcube_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.fits outfile=/scratch/kocevski/917619/expmap_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.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/917619/ltcube_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.fits
.....................!
real 189.90
user 184.70
sys 4.86

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/917619/ft1_filtered_4FGL_J2327.5-3259_daily_bin1273.fits scfile=/scratch/kocevski/917619/ft2_4FGL_J2327.5-3259_daily_bin1273.fits outfile=/scratch/kocevski/917619/cmap_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917619/ft1_filtered_4FGL_J2327.5-3259_daily_bin1273.fits scfile=/scratch/kocevski/917619/ft2_4FGL_J2327.5-3259_daily_bin1273.fits outfile=/scratch/kocevski/917619/cmap_HighResolution_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917619/ft1_filtered_4FGL_J2327.5-3259_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/917619/ft2_4FGL_J2327.5-3259_daily_bin1273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917619/Model_4FGL_J2327.5-3259_daily_bin1273.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/917619/ft1_filtered_4FGL_J2327.5-3259_daily_bin1273.fits.....................!
real 36.04
user 34.74
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.721       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24231E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8577       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10443E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .14262       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8933       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3606       1.0000         .10000E-03   10000.    
    11 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8911       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.6432       1.0000         .10000E-03   10000.    
    16 'Prefactor '    80.449       1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.361       1.0000         .10000E-03   10000.    
    18 'norm      '    .10682E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.0677       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    104.69       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10518E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .77080       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1262       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=   4178.077     FROM MIGRAD    STATUS=CONVERGED   1161 CALLS     4312 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.700        45.947        .29330E-03    .11008E-04
   2  Prefactor     .10000E-03    1.9645        .87608E-03** at limit **
   3  Prefactor     .10000E-03    7.8715        .17709E-02** at limit **
   4  Prefactor     .10005E-03    198.68        .65449E-02** at limit **
   5  Prefactor     9.9681        38.840        .12763E-03    .43736E-04
   6  Prefactor     .10000E-03    16.292        .18142E-02** at limit **
   7  Prefactor     .10000E-03    4.0320        .12648E-02** at limit **
   8  norm          .14601        17.988        .19906E-02    .10077E-03
   9  Prefactor     1.9104        40.584        .30237E-03    .13686E-04
  10  Prefactor     1.3389        28.800        .37441E-03    .13206E-03
  11  norm          .10000E-03    .48900        .69531E-03** at limit **
  12  Prefactor     .10000E-03    38.913        .18142E-02** at limit **
  13  Prefactor     4.8847        13.785        .18187E-03    .35123E-03
  14  norm          .10000E-03    2.3551        .96812E-03** at limit **
  15  norm          7.6444        10.045        .14505E-03   -.12007E-03
  16  Prefactor     80.420        46.365        .44778E-04   -.20174E-03
  17  Prefactor     31.456        59.182        .71549E-04   -.73632E-04
  18  norm          .10002E-03    14.374        .23917E-02** at limit **
  19  norm          1.0688        2.9931        .18225E-03   -.26561E-03
  20  Prefactor     .10000E-03    13.945        .18142E-02** at limit **
  21  norm          .10000E-03    3.6546        .11973E-02** at limit **
  22  Prefactor     104.63        115.76        .19650E-03    .35061E-04
  23  Prefactor     .10000E-03    18.644        .18142E-02** at limit **
  24  Prefactor     .10000E-03    3.3662        .11502E-02** at limit **
  25  Prefactor     .10000E-03    16.299        .18142E-02** at limit **
  26  Normalizat    .77110        .24457        .24801E-03    .19014E-03
  27  Prefactor     1.1258        .25690        .22883E-03    .26694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.6999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100051
  Prefactor  = 9.96814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.146006
  Prefactor  = 1.91042
  Prefactor  = 1.33886
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.8847
  norm       = 0.0001
  norm       = 7.64445
  Prefactor  = 80.4198
  Prefactor  = 31.4562
  norm       = 0.00010002
  norm       = 1.06881
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 104.633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.771101
  Prefactor  = 1.12575
 **********
 **   18 **HESSE 
 **********

 FCN=   4178.077     FROM HESSE     STATUS=OK           462 CALLS     4774 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.700        45.946        .11732E-04   -1.4340    
   2  Prefactor     .10000E-03    1.9649        .17522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.8717        .35417E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10005E-03    203.69        .26180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9681        38.814        .51052E-05   -1.5076    
   6  Prefactor     .10000E-03    16.299        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0324        .25296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .14601        17.472        .79624E-04   -1.5632    
   9  Prefactor     1.9104        39.822        .12095E-04   -1.5432    
  10  Prefactor     1.3389        27.730        .14976E-04   -1.5477    
  11  norm          .10000E-03    .48902        .13906E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    38.915        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.8847        13.673        .72750E-05   -1.5266    
  14  norm          .10000E-03    2.3552        .19362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.6444        10.044        .58021E-05   -1.5155    
  16  Prefactor     80.420        46.322        .89555E-05   -1.3912    
  17  Prefactor     31.456        59.179        .14310E-04   -1.4586    
  18  norm          .10002E-03    14.411        .47835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0688        2.9928        .72901E-05   -1.5501    
  20  Prefactor     .10000E-03    13.945        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.6554        .23946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     104.63        115.75        .78600E-05   -1.3659    
  23  Prefactor     .10000E-03    18.644        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.3669        .23003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    16.299        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .77110        .24472        .99205E-05   -1.0115    
  27  Prefactor     1.1258        .25703        .45767E-04   -.88648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68575e-09
Minuit parameter uncertainties:
  1  45.9807
  2  4.16373e-06
  3  2.08557e-06
  4  0.00646175
  5  38.9121
  6  6.43693e-05
  7  2.28315e-05
  8  3.19424
  9  17.4572
  10  12.1923
  11  1.75416e-05
  12  6.47624e-05
  13  13.6815
  14  2.341e-08
  15  10.0461
  16  46.3427
  17  59.2895
  18  0.00107442
  19  2.99324
  20  3.64433e-05
  21  2.02219e-06
  22  116.001
  23  5.68479e-06
  24  1.69252e-05
  25  3.18213e-06
  26  0.245073
  27  0.257314
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.146e+01  5.929e+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.126e+00  2.573e-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.711e-01  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/917619/likelihoodResults_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.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) = 4177.8012212
delta logL = 0.276276710531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4177.79248062
delta logL = 0.285017294208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.828       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6030       1.0000          .0000       10.000    
     3 'Normalizat'    .73052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1554       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=   4177.792     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      315 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.882        79.683        .10067E-03    .44635E-03
   2  Index         3.6019        2.7268        .76334E-02    .16705E-03
   3  Normalizat    .73058        .23969        .25417E-03   -.23728E-03
   4  Prefactor     1.1552        .25767        .22633E-03   -.38885E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8822
  Index      = 3.60194
  Normalizat = 0.730582
  Prefactor  = 1.15522
 **********
 **   18 **HESSE 
 **********

 FCN=   4177.792     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.882        40.771        .20135E-04   -1.4911    
   2  Index         3.6019        1.6249        .30533E-03   -.28339    
   3  Normalizat    .73058        .23950        .10167E-04   -1.0270    
   4  Prefactor     1.1552        .25636        .45265E-04   -.87721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58965e-10
Minuit parameter uncertainties:
  1  40.8422
  2  1.65767
  3  0.23984
  4  0.256636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917619': 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) = 4177.79247874
delta logL = 0.285019171979

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.588e+01  4.084e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.602e+00  1.658e+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.155e+00  2.566e-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.306e-01  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
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/917619/cmap_HighResolution_569289601_569548801_4FGL_J2327.5-3259_daily_bin1273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2021-09-29 20:25:15.106284', job_id='917619', GAL2='1.16', fit_tolerance='1e-08', EG2='0.73', EG='0.77', time_epoch_completed='1632972315.11', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.85e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1273' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:25:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 917619: <4FGL_J2327.5-3259_daily_bin1273> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1273> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:11:04 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:11:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 20:11:06 2021
Terminated at Wed Sep 29 20:25:15 2021
Results reported at Wed Sep 29 20:25:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1273 351.883 -32.9869 569289601 569548801 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 :                                   663.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

