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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin938
RA = 351.883, Dec = -32.9869
tmin = 482457601, tmax = 482716801
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='917090', job_status='RUN', time_executed='2021-09-29 20:14:09.230302', time_epoch_executed='1632971649.23' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917090

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917090/ft1_4FGL_J2327.5-3259_daily_bin938.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917090/ft2_4FGL_J2327.5-3259_daily_bin938.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917090/ft1_4FGL_J2327.5-3259_daily_bin938.fits outfile=/scratch/kocevski/917090/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin938.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=482457601.0 tmax=482716801.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.52
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917090/ft1_filtered_4FGL_J2327.5-3259_daily_bin938.fits" evtable="EVENTS" scfile=/scratch/kocevski/917090/ft2_4FGL_J2327.5-3259_daily_bin938.fits sctable="SC_DATA" outfile=/scratch/kocevski/917090/ltcube_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.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/917090/ft2_4FGL_J2327.5-3259_daily_bin938.fits
.....................!
real 11.72
user 11.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917090/ft1_filtered_4FGL_J2327.5-3259_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/917090/ft2_4FGL_J2327.5-3259_daily_bin938.fits sctable="SC_DATA" expcube=/scratch/kocevski/917090/ltcube_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.fits outfile=/scratch/kocevski/917090/expmap_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.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/917090/ltcube_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.fits
.....................!
real 192.92
user 187.77
sys 4.83

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/917090/ft1_filtered_4FGL_J2327.5-3259_daily_bin938.fits scfile=/scratch/kocevski/917090/ft2_4FGL_J2327.5-3259_daily_bin938.fits outfile=/scratch/kocevski/917090/cmap_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.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/917090/ft1_filtered_4FGL_J2327.5-3259_daily_bin938.fits scfile=/scratch/kocevski/917090/ft2_4FGL_J2327.5-3259_daily_bin938.fits outfile=/scratch/kocevski/917090/cmap_HighResolution_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.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/917090/ft1_filtered_4FGL_J2327.5-3259_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/917090/ft2_4FGL_J2327.5-3259_daily_bin938.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917090/Model_4FGL_J2327.5-3259_daily_bin938.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/917090/ft1_filtered_4FGL_J2327.5-3259_daily_bin938.fits.....................!
real 39.66
user 38.45
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.958       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2633       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16803E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.496       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.042       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21746E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2889       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11721E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.667       1.0000         .10000E-03   10000.    
    14 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    26.318       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.763       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14261E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11539E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .13806E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.290       1.0000         .10000E-03   10000.    
    21 'norm      '    2.7573       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.6151       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1682       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .79016       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=   4685.504     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3843 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.985        45.007       -.83103E-06   -.59265E-04
   2  Prefactor     3.2652        3.8712       -.65693E-06   -.44803E-03
   3  Prefactor     .10000E-03    223.02        .75486E-05** at limit **
   4  Prefactor     39.505        33.624        .18251E-06    .27047E-04
   5  Prefactor     .10000E-03    33.401        .74393E-06** at limit **
   6  Prefactor     24.029        17.328        .15728E-06    .81864E-04
   7  Prefactor     .10037E-03    18.246       -.17766E-05** at limit **
   8  norm          2.2874        3.3529       -.46122E-07    .27874E-03
   9  Prefactor     .10000E-03    6.8452       -.54776E-07** at limit **
  10  Prefactor     .10007E-03    12.370       -.14811E-05** at limit **
  11  norm          .10000E-03    .34713       -.50027E-07** at limit **
  12  Prefactor     .10000E-03    56.783       -.33979E-06** at limit **
  13  Prefactor     14.650        13.136        .14518E-05    .35603E-03
  14  norm          .10000E-03    2.3143        .34881E-06** at limit **
  15  norm          26.308        12.323        .67065E-07   -.12645E-04
  16  Prefactor     28.730        42.477        .22613E-06   -.31883E-04
  17  Prefactor     .10000E-03    50.706        .85771E-06** at limit **
  18  norm          .10000E-03    3.4867        .16839E-05** at limit **
  19  norm          .10000E-03    1.6131        .12943E-06** at limit **
  20  Prefactor     26.298        23.946        .19032E-06    .47898E-04
  21  norm          2.7578        3.2725       -.66258E-07   -.11053E-03
  22  Prefactor     .10000E-03    34.619       -.55308E-06** at limit **
  23  Prefactor     5.6150        48.894       -.66007E-06    .53743E-06
  24  Prefactor     .10000E-03    4.4780       -.13833E-06** at limit **
  25  Prefactor     .10000E-03    20.835        .41956E-07** at limit **
  26  Normalizat    1.1685        .20894       -.76701E-06    .12527E-03
  27  Prefactor     .79003        .21217        .14875E-05   -.12868E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.9847
  Prefactor  = 3.26519
  Prefactor  = 0.000100005
  Prefactor  = 39.5054
  Prefactor  = 0.0001
  Prefactor  = 24.029
  Prefactor  = 0.000100368
  norm       = 2.28738
  Prefactor  = 0.0001
  Prefactor  = 0.00010007
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.6499
  norm       = 0.0001
  norm       = 26.3082
  Prefactor  = 28.7299
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 26.2977
  norm       = 2.75782
  Prefactor  = 0.0001
  Prefactor  = 5.61498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1685
  Prefactor  = 0.790029
 **********
 **   18 **HESSE 
 **********

 FCN=   4685.504     FROM HESSE     STATUS=OK           500 CALLS     4343 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.985        45.250        .70879E-04   -1.4576    
   2  Prefactor     3.2652        3.8000        .13727E-03   -1.5347    
   3  Prefactor     .10000E-03    235.40        .51998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     39.505        33.625        .63779E-04   -1.4450    
   5  Prefactor     .10000E-03    33.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.029        17.351        .81695E-04   -1.4727    
   7  Prefactor     .10037E-03    18.275        .64405E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2874        3.3325        .14571E-03   -1.5405    
   9  Prefactor     .10000E-03    6.8539        .17486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10007E-03    42.734        .36274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .45485        .74459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    56.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.650        13.399        .10458E-03   -1.4942    
  14  norm          .10000E-03    2.3142        .10160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          26.308        12.327        .78089E-04   -1.4682    
  16  Prefactor     28.730        42.490        .74703E-04   -1.4635    
  17  Prefactor     .10000E-03    51.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.4491        .12320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.8168        .16876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     26.298        23.949        .39065E-03   -1.4682    
  21  norm          2.7578        3.2606        .12844E-03   -1.5376    
  22  Prefactor     .10000E-03    34.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.6150        48.907        .16953E-03   -1.5234    
  24  Prefactor     .10000E-03    4.6054        .28269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    20.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1685        .24008        .22503E-03   -.87582    
  27  Prefactor     .79003        .24107        .28254E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02923e-09
Minuit parameter uncertainties:
  1  45.299
  2  3.80032
  3  0.00212421
  4  33.6412
  5  0.000144678
  6  17.3545
  7  0.00518535
  8  3.33273
  9  9.4012e-06
  10  0.00345268
  11  2.16452e-06
  12  9.91007e-05
  13  13.402
  14  1.53388e-06
  15  12.3285
  16  42.5345
  17  0.000286532
  18  1.20069e-05
  19  2.82173e-05
  20  23.9579
  21  3.26082
  22  0.000146262
  23  33.1789
  24  5.59298e-06
  25  1.79398e-05
  26  0.240307
  27  0.241395
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.865e-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.900e-01  2.414e-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.169e+00  2.403e-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: 9.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917090/likelihoodResults_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.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) = 4685.50371507
delta logL = -9.3290789664e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4685.50362254
delta logL = -7.61569026508e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79003       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=   4685.504     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      278 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11281E-03    37.845        .18142E-01** at limit **
   2  Index         2.7557        5.2381        .50000        .10276E-04
   3  Normalizat    1.1685        .48094E-02    .22503E-03    .13231E-03
   4  Prefactor     .79003        .50855E-02    .28254E-03    .61281E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000112805
  Index      = 2.75574
  Normalizat = 1.1685
  Prefactor  = 0.79003
 **********
 **   18 **HESSE 
 **********

 FCN=   4685.504     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11281E-03    203.89        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7557        7.9808        .50000       -.46548    
   3  Normalizat    1.1685        .11182E-01    .45007E-04   -.87582    
   4  Prefactor     .79003        .11824E-01    .11302E-04   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.18504e-08
Minuit parameter uncertainties:
  1  0.102542
  2  521.025
  3  0.0111823
  4  0.0118245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917090': 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) = 4685.50362227
delta logL = -4.90172169521e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.128e-04  1.025e-01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.756e+00  5.210e+02  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.900e-01  1.182e-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.169e+00  1.118e-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/917090/cmap_HighResolution_482457601_482716801_4FGL_J2327.5-3259_daily_bin938.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-03', job_status='DONE', photon_flux_upper_limit='9.17e-08', time_completed='2021-09-29 20:25:50.808894', job_id='917090', GAL2='0.79', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632972350.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-4.90e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='938' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:25:50 PDT 2021


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

Job <4FGL_J2327.5-3259_daily_bin938> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:18 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:19 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:10:19 2021
Terminated at Wed Sep 29 20:25:51 2021
Results reported at Wed Sep 29 20:25:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin938 351.883 -32.9869 482457601 482716801 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 :                                   699.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            933 sec.

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

