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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1642
RA = 351.883, Dec = -32.9869
tmin = 664934401, tmax = 665193601
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='445153', job_status='RUN', time_executed='2022-01-30 00:39:06.538013', time_epoch_executed='1643531946.54' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1642'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445153/ft1_4FGL_J2327.5-3259_daily_bin1642.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445153/ft2_4FGL_J2327.5-3259_daily_bin1642.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445153/ft1_4FGL_J2327.5-3259_daily_bin1642.fits outfile=/scratch/kocevski/445153/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1642.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=664934401.0 tmax=665193601.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.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445153/ft2_4FGL_J2327.5-3259_daily_bin1642.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/445153/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1642.fits evtable="EVENTS" outfile="/scratch/kocevski/445153/ft1_filtered_4FGL_J2327.5-3259_daily_bin1642.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445153/ft1_filtered_4FGL_J2327.5-3259_daily_bin1642.fits" evtable="EVENTS" scfile=/scratch/kocevski/445153/ft2_4FGL_J2327.5-3259_daily_bin1642.fits sctable="SC_DATA" outfile=/scratch/kocevski/445153/ltcube_664934401_665193601_4FGL_J2327.5-3259_daily_bin1642.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/445153/ft2_4FGL_J2327.5-3259_daily_bin1642.fits
.....................!
real 11.98
user 11.66
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445153/ft1_filtered_4FGL_J2327.5-3259_daily_bin1642.fits evtable="EVENTS" scfile=/scratch/kocevski/445153/ft2_4FGL_J2327.5-3259_daily_bin1642.fits sctable="SC_DATA" expcube=/scratch/kocevski/445153/ltcube_664934401_665193601_4FGL_J2327.5-3259_daily_bin1642.fits outfile=/scratch/kocevski/445153/expmap_664934401_665193601_4FGL_J2327.5-3259_daily_bin1642.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/445153/ltcube_664934401_665193601_4FGL_J2327.5-3259_daily_bin1642.fits
.....................!
real 189.29
user 184.88
sys 4.11

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/445153/ft1_filtered_4FGL_J2327.5-3259_daily_bin1642.fits scfile=/scratch/kocevski/445153/ft2_4FGL_J2327.5-3259_daily_bin1642.fits outfile=/scratch/kocevski/445153/cmap_664934401_665193601_4FGL_J2327.5-3259_daily_bin1642.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.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.029       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1681       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    61.711       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1727       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .25848E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .18571       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3214       1.0000         .10000E-03   10000.    
    11 'norm      '    .71066       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1916       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.645       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .32268E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.1734       1.0000         .10000E-03   10000.    
    19 'norm      '    2.5728       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .15327       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    96.165       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11285E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2282       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .63265       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=   3830.332     FROM MIGRAD    STATUS=CONVERGED   1228 CALLS     3923 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.044        65.169        .46051E-04   -.36858E-04
   2  Prefactor     4.1708        4.5525        .13212E-03   -.25040E-04
   3  Prefactor     .10000E-03    24.585        .18142E-02** at limit **
   4  Prefactor     61.726        37.441        .25539E-03    .53440E-04
   5  Prefactor     1.0588        376.44        .79327E-02    .17340E-04
   6  Prefactor     .10000E-03    28.105        .66664E-01** at limit **
   7  Prefactor     .10000E-03    2.9812        .10434E-02** at limit **
   8  norm          .22409        22.327        .21746E-02    .12502E-02
   9  Prefactor     .10000E-03    12.296        .18142E-02** at limit **
  10  Prefactor     7.3202        14.691        .14823E-03   -.45365E-04
  11  norm          .70902        .92437        .49302E-03    .28601E-03
  12  Prefactor     7.2022        54.525        .14958E-03   -.80186E-05
  13  Prefactor     .10000E-03    10.204        .18142E-02** at limit **
  14  norm          .10000E-03    2.2964        .91500E-03** at limit **
  15  norm          .10000E-03    5.9534        .14664E-02** at limit **
  16  Prefactor     15.648        25.916        .10126E-03   -.17907E-04
  17  Prefactor     .10000E-03    238.33        .21359E-02** at limit **
  18  norm          3.1739        3.3132        .10930E-03   -.10141E-03
  19  norm          2.5761        4.2679        .15788E-03    .16785E-03
  20  Prefactor     .10000E-03    57.894        .18142E-02** at limit **
  21  norm          .15644        8.8201        .20719E-02    .13865E-03
  22  Prefactor     .10000E-03    174.94        .18142E-02** at limit **
  23  Prefactor     96.157        59.695        .40988E-04   -.17003E-04
  24  Prefactor     .10000E-03    11.490        .36285E-02** at limit **
  25  Prefactor     .10000E-03    23.845        .18142E-02** at limit **
  26  Normalizat    1.2280        .25603        .21238E-03   -.17831E-03
  27  Prefactor     .63245        .26245        .29737E-03   -.98463E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.0439
  Prefactor  = 4.17076
  Prefactor  = 0.0001
  Prefactor  = 61.7265
  Prefactor  = 1.05879
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.224091
  Prefactor  = 0.0001
  Prefactor  = 7.32019
  norm       = 0.709018
  Prefactor  = 7.20221
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.6483
  Prefactor  = 0.000100002
  norm       = 3.17388
  norm       = 2.57607
  Prefactor  = 0.0001
  norm       = 0.156443
  Prefactor  = 0.000100001
  Prefactor  = 96.1574
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22799
  Prefactor  = 0.63245
 **********
 **   18 **HESSE 
 **********

 FCN=   3830.332     FROM HESSE     STATUS=OK           478 CALLS     4401 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.044        65.162        .92101E-05   -1.3962    
   2  Prefactor     4.1708        4.5513        .52848E-05   -1.5299    
   3  Prefactor     .10000E-03    24.588        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     61.726        37.146        .10216E-04   -1.4135    
   5  Prefactor     1.0588        378.74        .31731E-03   -1.5502    
   6  Prefactor     .10000E-03    22.468        .76118E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9812        .20868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .22409        21.869        .43493E-03   -1.5613    
   9  Prefactor     .10000E-03    12.296        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3202        14.741        .59293E-05   -1.5167    
  11  norm          .70902        .92442        .19721E-04   -1.5540    
  12  Prefactor     7.2022        54.512        .59830E-05   -1.5171    
  13  Prefactor     .10000E-03    10.207        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.2964        .18300E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.9551        .29327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.648        25.898        .40504E-05   -1.4917    
  17  Prefactor     .10000E-03    238.45        .42718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1739        3.3112        .43720E-05   -1.5352    
  19  norm          2.5761        4.2666        .63153E-05   -1.5387    
  20  Prefactor     .10000E-03    57.903        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .15644        8.8479        .82876E-04   -1.5629    
  22  Prefactor     .10000E-03    174.96        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     96.157        59.690        .81976E-05   -1.3744    
  24  Prefactor     .10000E-03    11.574        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    23.846        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2280        .25598        .42476E-04   -.85742    
  27  Prefactor     .63245        .26225        .11895E-04   -1.0624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78209e-10
Minuit parameter uncertainties:
  1  65.2236
  2  4.55172
  3  7.81826e-05
  4  37.1598
  5  40.3076
  6  0.000379832
  7  1.61889e-06
  8  4.42819
  9  3.66981e-05
  10  14.7488
  11  0.92444
  12  39.6788
  13  3.04906e-05
  14  5.07826e-06
  15  3.56138e-05
  16  25.9164
  17  0.00149158
  18  3.31136
  19  4.26714
  20  9.93872e-05
  21  2.35265
  22  0.000986177
  23  59.7271
  24  0.000109428
  25  0.000123519
  26  0.256247
  27  0.262755
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.492e-03  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:  6.324e-01  2.628e-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.228e+00  2.562e-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: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445153/likelihoodResults_664934401_665193601_4FGL_J2327.5-3259_daily_bin1642.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) = 3830.33228545
delta logL = -1.98461602849e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3830.33226562
delta logL = -2.26018528338e-08

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     '    2.5279       1.0000          .0000       10.000    
     3 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3830.332     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      243 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    8957.8        .90712E-02** at limit **
   2  Index         2.5958        5.9501        .50000       -.28944E-05
   3  Normalizat    1.2280        .94702E-01    .34238E-01   -.34864E-03
   4  Prefactor     .63246        .97057E-01    .67198E-01    .10649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.59579
  Normalizat = 1.22799
  Prefactor  = 0.632455
 **********
 **   18 **HESSE 
 **********

 FCN=   3830.332     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    314.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5958        6.2923        .50000       -.50161    
   3  Normalizat    1.2280        .24308        .21238E-03   -.85742    
   4  Prefactor     .63246        .25260        .29737E-03   -1.0624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.7261e-10
Minuit parameter uncertainties:
  1  0.00276434
  2  4.98102
  3  0.2433
  4  0.253057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445153': 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) = 3830.33226557
delta logL = 2.47919160756e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.764e-03  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.596e+00  4.981e+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:  6.325e-01  2.531e-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.228e+00  2.433e-01  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/445153/cmap_HighResolution_664934401_665193601_4FGL_J2327.5-3259_daily_bin1642.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.79e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2022-01-30 00:49:20.039563', job_id='445153', GAL2='0.63', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1643532560.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='2.48e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1642' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 30 00:49:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 445153: <4FGL_J2327.5-3259_daily_bin1642> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1642> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan 30 00:36:02 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 30 00:36:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 30 00:36:03 2022
Terminated at Sun Jan 30 00:49:20 2022
Results reported at Sun Jan 30 00:49:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1642 351.883 -32.9869 664934401 665193601 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 :                                   615.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            798 sec.

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

