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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin455
RA = 351.883, Dec = -32.9869
tmin = 357264001, tmax = 357523201
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='914212', job_status='RUN', time_executed='2021-09-29 20:02:54.013348', time_epoch_executed='1632970974.01' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='455'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914212

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914212/ft1_4FGL_J2327.5-3259_daily_bin455.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914212/ft2_4FGL_J2327.5-3259_daily_bin455.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914212/ft1_4FGL_J2327.5-3259_daily_bin455.fits outfile=/scratch/kocevski/914212/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin455.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=357264001.0 tmax=357523201.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.67
user 3.45
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914212/ft1_filtered_4FGL_J2327.5-3259_daily_bin455.fits" evtable="EVENTS" scfile=/scratch/kocevski/914212/ft2_4FGL_J2327.5-3259_daily_bin455.fits sctable="SC_DATA" outfile=/scratch/kocevski/914212/ltcube_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.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/914212/ft2_4FGL_J2327.5-3259_daily_bin455.fits
.....................!
real 11.80
user 11.47
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914212/ft1_filtered_4FGL_J2327.5-3259_daily_bin455.fits evtable="EVENTS" scfile=/scratch/kocevski/914212/ft2_4FGL_J2327.5-3259_daily_bin455.fits sctable="SC_DATA" expcube=/scratch/kocevski/914212/ltcube_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.fits outfile=/scratch/kocevski/914212/expmap_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.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/914212/ltcube_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.fits
.....................!
real 190.76
user 184.87
sys 5.54

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/914212/ft1_filtered_4FGL_J2327.5-3259_daily_bin455.fits scfile=/scratch/kocevski/914212/ft2_4FGL_J2327.5-3259_daily_bin455.fits outfile=/scratch/kocevski/914212/cmap_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914212/ft1_filtered_4FGL_J2327.5-3259_daily_bin455.fits scfile=/scratch/kocevski/914212/ft2_4FGL_J2327.5-3259_daily_bin455.fits outfile=/scratch/kocevski/914212/cmap_HighResolution_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/914212/ft1_filtered_4FGL_J2327.5-3259_daily_bin455.fits evtable="EVENTS" scfile=/scratch/kocevski/914212/ft2_4FGL_J2327.5-3259_daily_bin455.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/914212/Model_4FGL_J2327.5-3259_daily_bin455.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/914212/ft1_filtered_4FGL_J2327.5-3259_daily_bin455.fits.....................!
real 42.36
user 40.97
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6837       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.073       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.687       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.0405       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.190       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8793       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.777       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.316       1.0000         .10000E-03   10000.    
    14 'norm      '    .10485E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    49.510       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    73.799       1.0000         .10000E-03   10000.    
    19 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.1027       1.0000         .10000E-03   10000.    
    22 'Prefactor '    99.621       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    28.827       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1865       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .70301       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=   5248.516     FROM MIGRAD    STATUS=CONVERGED    623 CALLS     3233 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4695        130.42       -.13718E-04   -.70696E-04
   2  Prefactor     .10000E-03    3.7331        .58386E-06** at limit **
   3  Prefactor     20.075        26.044       -.27527E-06   -.23988E-04
   4  Prefactor     .10000E-03    19.213        .75282E-06** at limit **
   5  Prefactor     .10000E-03    15.044        .37497E-06** at limit **
   6  Prefactor     26.684        17.164       -.46953E-06   -.82330E-05
   7  Prefactor     .10000E-03    3.6475        .27677E-06** at limit **
   8  norm          4.0405        4.2767        .10294E-06    .93380E-06
   9  Prefactor     .10000E-03    11.096       -.43696E-07** at limit **
  10  Prefactor     29.187        16.580       -.67669E-06   -.94415E-05
  11  norm          1.8793        1.1064        .12528E-06    .15031E-03
  12  Prefactor     16.775        34.507        .22483E-06   -.66192E-05
  13  Prefactor     19.316        14.740        .77024E-07   -.13450E-04
  14  norm          .10000E-03    8.9075        .29408E-06** at limit **
  15  norm          49.508        16.701       -.46376E-07    .59212E-05
  16  Prefactor     .10000E-03    19.790        .55250E-07** at limit **
  17  Prefactor     .10000E-03    58.295        .12336E-05** at limit **
  18  norm          73.796        11.608       -.14232E-06   -.72667E-04
  19  norm          .10000E-03    2.5022        .73801E-06** at limit **
  20  Prefactor     .10000E-03    17.993        .54568E-06** at limit **
  21  norm          4.1034        4.4681        .29558E-06    .14925E-03
  22  Prefactor     99.601        99.306       -.11939E-05   -.92755E-05
  23  Prefactor     .10000E-03    61.846        .64994E-06** at limit **
  24  Prefactor     .10000E-03    3.8352       -.96250E-07** at limit **
  25  Prefactor     28.818        57.035       -.24752E-05   -.16335E-04
  26  Normalizat    1.1867        .27660        .78056E-05   -.27960E-03
  27  Prefactor     .70285        .26873       -.98280E-05   -.79542E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.46955
  Prefactor  = 0.0001
  Prefactor  = 20.0746
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.6838
  Prefactor  = 0.0001
  norm       = 4.04046
  Prefactor  = 0.0001
  Prefactor  = 29.1867
  norm       = 1.87928
  Prefactor  = 16.7746
  Prefactor  = 19.3158
  norm       = 0.0001
  norm       = 49.508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 73.7955
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.10343
  Prefactor  = 99.6007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.8181
  Normalizat = 1.18673
  Prefactor  = 0.702854
 **********
 **   18 **HESSE 
 **********

 FCN=   5248.516     FROM HESSE     STATUS=OK           482 CALLS     3715 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4695        138.44        .12878E-03   -1.5092    
   2  Prefactor     .10000E-03    3.7885        .13670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.075        26.024        .89398E-04   -1.4812    
   4  Prefactor     .10000E-03    19.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.684        17.161        .77547E-04   -1.4674    
   7  Prefactor     .10000E-03    3.6612        .13520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.0405        4.2647        .14470E-03   -1.5306    
   9  Prefactor     .10000E-03    11.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.187        16.689        .74155E-04   -1.4627    
  11  norm          1.8793        1.1139        .45661E-04   -1.5434    
  12  Prefactor     16.775        34.510        .97784E-04   -1.4889    
  13  Prefactor     19.316        14.720        .91132E-04   -1.4829    
  14  norm          .10000E-03    8.9982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          49.508        16.698        .56992E-04   -1.4300    
  16  Prefactor     .10000E-03    19.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    58.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          73.796        11.576        .46736E-04   -1.3988    
  19  norm          .10000E-03    2.5779        .11248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.1034        4.4711        .76539E-03   -1.5303    
  22  Prefactor     99.601        99.319        .40278E-04   -1.3709    
  23  Prefactor     .10000E-03    62.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.8498        .13848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     28.818        57.018        .74620E-04   -1.4634    
  26  Normalizat    1.1867        .28068        .26177E-03   -.87014    
  27  Prefactor     .70285        .27372        .33996E-03   -1.0342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71167e-10
Minuit parameter uncertainties:
  1  72.6177
  2  2.8167e-05
  3  26.0386
  4  8.601e-05
  5  4.5398e-05
  6  17.1645
  7  1.4307e-05
  8  4.26504
  9  4.15854e-06
  10  16.6917
  11  1.11393
  12  34.551
  13  14.7223
  14  3.89896e-05
  15  16.6996
  16  2.46641e-06
  17  0.000261321
  18  11.5768
  19  3.39572e-05
  20  5.49102e-05
  21  4.47151
  22  99.4852
  23  0.000170498
  24  6.59557e-06
  25  57.1261
  26  0.281039
  27  0.274246
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.613e-04  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:  7.029e-01  2.742e-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.187e+00  2.810e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/914212/likelihoodResults_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.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) = 5248.51657312
delta logL = -8.13560418464e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5248.5164919
delta logL = -1.39304574986e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0245       1.0000          .0000       10.000    
     3 'Normalizat'    1.1867       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70285       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=   5248.516     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      283 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10146E-03    506.73        .18142E-02** at limit **
   2  Index         2.9615        5.5611        .50000        .27696E-05
   3  Normalizat    1.1867        .16823E-01    .26176E-03    .16548E-04
   4  Prefactor     .70285        .17317E-01    .33996E-03    .71564E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101461
  Index      = 2.96151
  Normalizat = 1.18673
  Prefactor  = 0.702851
 **********
 **   18 **HESSE 
 **********

 FCN=   5248.516     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      312 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10146E-03    2037.8        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9615        7.6207        .50000       -.41993    
   3  Normalizat    1.1867        .35995E-01    .10470E-04   -.87014    
   4  Prefactor     .70285        .37052E-01    .13598E-04   -1.0342    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.68993e-09
Minuit parameter uncertainties:
  1  0.113237
  2  1794.16
  3  0.0359962
  4  0.037053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914212': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5248.51649187
delta logL = -1.11532244773e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.015e-04  1.132e-01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.962e+00  1.794e+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:  7.029e-01  3.705e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.187e+00  3.600e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.883 -32.987

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/914212/cmap_HighResolution_357264001_357523201_4FGL_J2327.5-3259_daily_bin455.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-29 20:14:33.849865', job_id='914212', GAL2='0.70', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632971673.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='-1.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='455' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:14:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 914212: <4FGL_J2327.5-3259_daily_bin455> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin455> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:00:36 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:00:37 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:00:37 2021
Terminated at Wed Sep 29 20:14:37 2021
Results reported at Wed Sep 29 20:14:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin455 351.883 -32.9869 357264001 357523201 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 :                                   697.10 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             286.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            841 sec.

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

