/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 194 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2327.5-3259_daily_bin282
RA = 351.883, Dec = -32.9869
tmin = 312422401, tmax = 312681601
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='912866', job_status='RUN', time_executed='2021-09-29 19:59:07.454872', time_epoch_executed='1632970747.45' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912866

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912866/ft1_4FGL_J2327.5-3259_daily_bin282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912866/ft2_4FGL_J2327.5-3259_daily_bin282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912866/ft1_4FGL_J2327.5-3259_daily_bin282.fits outfile=/scratch/kocevski/912866/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin282.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=312422401.0 tmax=312681601.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.83
user 3.63
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912866/ft1_filtered_4FGL_J2327.5-3259_daily_bin282.fits" evtable="EVENTS" scfile=/scratch/kocevski/912866/ft2_4FGL_J2327.5-3259_daily_bin282.fits sctable="SC_DATA" outfile=/scratch/kocevski/912866/ltcube_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.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/912866/ft2_4FGL_J2327.5-3259_daily_bin282.fits
.....................!
real 11.88
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912866/ft1_filtered_4FGL_J2327.5-3259_daily_bin282.fits evtable="EVENTS" scfile=/scratch/kocevski/912866/ft2_4FGL_J2327.5-3259_daily_bin282.fits sctable="SC_DATA" expcube=/scratch/kocevski/912866/ltcube_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.fits outfile=/scratch/kocevski/912866/expmap_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.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/912866/ltcube_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.fits
.....................!
real 190.23
user 184.72
sys 5.12

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/912866/ft1_filtered_4FGL_J2327.5-3259_daily_bin282.fits scfile=/scratch/kocevski/912866/ft2_4FGL_J2327.5-3259_daily_bin282.fits outfile=/scratch/kocevski/912866/cmap_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912866/ft1_filtered_4FGL_J2327.5-3259_daily_bin282.fits scfile=/scratch/kocevski/912866/ft2_4FGL_J2327.5-3259_daily_bin282.fits outfile=/scratch/kocevski/912866/cmap_HighResolution_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6268       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0999       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7238       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.847       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15812E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1635       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    41.497       1.0000         .10000E-03   10000.    
    16 'Prefactor '    66.483       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.964       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .35729       1.0000         .10000E-03   10000.    
    20 'Prefactor '    61.330       1.0000         .10000E-03   10000.    
    21 'norm      '    .13261E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12455E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .11006E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0535       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .94509       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=   5033.888     FROM MIGRAD    STATUS=CONVERGED    669 CALLS     3368 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.839        .13094E-05** at limit **
   2  Prefactor     1.6273        5.2175       -.17050E-05    .31842E-03
   3  Prefactor     2.1051        164.46        .15193E-04    .13809E-03
   4  Prefactor     3.7263        28.498        .37611E-06    .40031E-04
   5  Prefactor     .10000E-03    15.258       -.33470E-06** at limit **
   6  Prefactor     12.849        12.414        .10305E-06    .84646E-05
   7  Prefactor     .10000E-03    2.4469       -.69619E-08** at limit **
   8  norm          .10001E-03    9.3558       -.46656E-05** at limit **
   9  Prefactor     .10000E-03    8.3925        .22619E-07** at limit **
  10  Prefactor     .10002E-03    17.780        .58697E-05** at limit **
  11  norm          2.1649        .93846        .27692E-07   -.51129E-03
  12  Prefactor     .10000E-03    26.988        .59324E-07** at limit **
  13  Prefactor     .10000E-03    6.1834        .52808E-07** at limit **
  14  norm          .10000E-03    1.6065       -.97323E-08** at limit **
  15  norm          41.498        14.776        .35553E-07    .59402E-04
  16  Prefactor     66.467        41.044        .12534E-06    .15294E-03
  17  Prefactor     30.973        52.163        .52596E-07    .41261E-05
  18  norm          .10000E-03    1.3826       -.36382E-07** at limit **
  19  norm          .35392        3.2762        .69125E-06   -.16760E-03
  20  Prefactor     61.356        47.833       -.83283E-06   -.48856E-03
  21  norm          .10000E-03    3.7160       -.11632E-05** at limit **
  22  Prefactor     .10000E-03    167.34        .28999E-05** at limit **
  23  Prefactor     .10000E-03    81.746       -.11574E-05** at limit **
  24  Prefactor     .10000E-03    3.0197       -.18376E-08** at limit **
  25  Prefactor     .10000E-03    110.83       -.14168E-05** at limit **
  26  Normalizat    1.0534        .21379       -.51548E-06   -.16068E-03
  27  Prefactor     .94524        .21746        .32454E-06   -.28641E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.62727
  Prefactor  = 2.10509
  Prefactor  = 3.72633
  Prefactor  = 0.0001
  Prefactor  = 12.8494
  Prefactor  = 0.0001
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  norm       = 2.16485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 41.4977
  Prefactor  = 66.4666
  Prefactor  = 30.9731
  norm       = 0.0001
  norm       = 0.353925
  Prefactor  = 61.3559
  norm       = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05337
  Prefactor  = 0.945243
 **********
 **   18 **HESSE 
 **********

 FCN=   5033.888     FROM HESSE     STATUS=OK           486 CALLS     3854 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6273        5.1880        .21733E-03   -1.5453    
   3  Prefactor     2.1051        174.10        .28479E-03   -1.5418    
   4  Prefactor     3.7263        28.507        .20926E-03   -1.5322    
   5  Prefactor     .10000E-03    15.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.849        12.390        .11175E-03   -1.4991    
   7  Prefactor     .10000E-03    2.4485        .10839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10001E-03    14.978        .22077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.4061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    36.382        .32266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1649        .82484        .37947E-04   -1.5414    
  12  Prefactor     .10000E-03    26.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2041        .17216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6068        .87822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          41.498        14.778        .62228E-04   -1.4419    
  16  Prefactor     66.467        40.479        .49223E-04   -1.4076    
  17  Prefactor     30.973        52.334        .72005E-04   -1.4594    
  18  norm          .10000E-03    1.3850        .81421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .35392        14.694        .21694E-02   -1.5589    
  20  Prefactor     61.356        49.485        .51236E-04   -1.4140    
  21  norm          .10000E-03    6.8914        .25146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    167.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    81.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.0404        .12036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    111.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0534        .24956        .24231E-03   -.91263    
  27  Prefactor     .94524        .25368        .27423E-03   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10157e-09
Minuit parameter uncertainties:
  1  0.000178787
  2  5.18938
  3  38.4034
  4  20.6268
  5  4.23059e-05
  6  12.3924
  7  1.80642e-06
  8  0.00063156
  9  9.59936e-07
  10  0.00169425
  11  0.824845
  12  2.94658e-06
  13  4.6018e-06
  14  3.36422e-06
  15  14.7792
  16  40.4957
  17  52.4118
  18  1.0688e-05
  19  4.5615
  20  49.5179
  21  0.000209362
  22  0.000862161
  23  0.000171214
  24  3.4824e-07
  25  3.97108e-05
  26  0.249838
  27  0.253995
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.097e+01  5.241e+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.452e-01  2.540e-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.053e+00  2.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/912866/likelihoodResults_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.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) = 5033.48948171
delta logL = 0.398926491676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5033.48007611
delta logL = 0.40833209443

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.047       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8801       1.0000          .0000       10.000    
     3 'Normalizat'    1.0128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97441       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=   5033.480     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      279 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.047        320.08        .30134E-02    .50991E-03
   2  Index         3.8799        6.9031        .14201        .10063E-03
   3  Normalizat    1.0131        .67232E-01    .44744E-01    .41451E-05
   4  Prefactor     .97416        .71142E-01    .45946E-01    .51842E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0472
  Index      = 3.87989
  Normalizat = 1.01307
  Prefactor  = 0.974156
 **********
 **   18 **HESSE 
 **********

 FCN=   5033.480     FROM HESSE     STATUS=OK            33 CALLS      312 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.047        52.407        .12054E-03   -1.5043    
   2  Index         3.8799        2.6272        .72501E-02   -.22594    
   3  Normalizat    1.0131        .23928        .24630E-03   -.92594    
   4  Prefactor     .97416        .25458        .27052E-03   -.93596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81408e-08
Minuit parameter uncertainties:
  1  48.1916
  2  2.77478
  3  0.239538
  4  0.254897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912866': 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) = 5033.48007557
delta logL = 0.408332640798

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.105e+01  4.819e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.880e+00  2.775e+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:  9.742e-01  2.549e-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.013e+00  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.34
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 3.88 +/- 2.77
Photon Flux (Free Index): 5.83e-08 +/- 5.88e-08
Energy Flux (Free Index): 8.91e-06 +/- 9.97e-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/912866/cmap_HighResolution_312422401_312681601_4FGL_J2327.5-3259_daily_bin282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.67e-03', comment='SUCCESS', energy_flux2='8.91e-06', dlogl='4.08e-01', photon_flux2='5.83e-08', job_status='DONE', time_completed='2021-09-29 20:10:44.969713', photon_index_error2='2.77', photon_index2='3.88', ts='0.47', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='9.97e-06', EG='1.05', time_epoch_completed='1632971444.97', return_code='0', job_id='912866', GAL2='0.97', EG2='1.01', return_code2='0', photon_flux_error2='5.88e-08', ts2='1.34', photon_index='2.56' WHERE bin_id='282' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:10:44 PDT 2021


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

Job <4FGL_J2327.5-3259_daily_bin282> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:55:42 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:55:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:55:44 2021
Terminated at Wed Sep 29 20:10:45 2021
Results reported at Wed Sep 29 20:10:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin282 351.883 -32.9869 312422401 312681601 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 :                                   695.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             231.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

