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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin781
RA = 351.883, Dec = -32.9869
tmin = 441763201, tmax = 442022401
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='915816', job_status='RUN', time_executed='2021-09-29 20:09:30.048915', time_epoch_executed='1632971370.05' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='781'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915816

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915816/ft1_4FGL_J2327.5-3259_daily_bin781.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915816/ft2_4FGL_J2327.5-3259_daily_bin781.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915816/ft1_4FGL_J2327.5-3259_daily_bin781.fits outfile=/scratch/kocevski/915816/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin781.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=441763201.0 tmax=442022401.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.53
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915816/ft1_filtered_4FGL_J2327.5-3259_daily_bin781.fits" evtable="EVENTS" scfile=/scratch/kocevski/915816/ft2_4FGL_J2327.5-3259_daily_bin781.fits sctable="SC_DATA" outfile=/scratch/kocevski/915816/ltcube_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.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/915816/ft2_4FGL_J2327.5-3259_daily_bin781.fits
.....................!
real 12.19
user 11.86
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915816/ft1_filtered_4FGL_J2327.5-3259_daily_bin781.fits evtable="EVENTS" scfile=/scratch/kocevski/915816/ft2_4FGL_J2327.5-3259_daily_bin781.fits sctable="SC_DATA" expcube=/scratch/kocevski/915816/ltcube_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.fits outfile=/scratch/kocevski/915816/expmap_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.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/915816/ltcube_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.fits
.....................!
real 189.86
user 185.13
sys 4.29

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/915816/ft1_filtered_4FGL_J2327.5-3259_daily_bin781.fits scfile=/scratch/kocevski/915816/ft2_4FGL_J2327.5-3259_daily_bin781.fits outfile=/scratch/kocevski/915816/cmap_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915816/ft1_filtered_4FGL_J2327.5-3259_daily_bin781.fits scfile=/scratch/kocevski/915816/ft2_4FGL_J2327.5-3259_daily_bin781.fits outfile=/scratch/kocevski/915816/cmap_HighResolution_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.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/915816/ft1_filtered_4FGL_J2327.5-3259_daily_bin781.fits evtable="EVENTS" scfile=/scratch/kocevski/915816/ft2_4FGL_J2327.5-3259_daily_bin781.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915816/Model_4FGL_J2327.5-3259_daily_bin781.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/915816/ft1_filtered_4FGL_J2327.5-3259_daily_bin781.fits.....................!
real 41.08
user 39.74
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11358E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16028E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.874       1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.4124       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.423       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.1979       1.0000         .10000E-03   10000.    
    19 'norm      '    .37942E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10905E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.2873       1.0000         .10000E-03   10000.    
    22 'Prefactor '    89.221       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .43353E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    35.252       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .75480       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1063       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=   5475.243     FROM MIGRAD    STATUS=CONVERGED   1145 CALLS     3781 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.929        .18142E-02** at limit **
   2  Prefactor     .10000E-03    1.7288        .94001E-03** at limit **
   3  Prefactor     .10000E-03    159.70        .60922E-02** at limit **
   4  Prefactor     .10000E-03    15.199        .18142E-02** at limit **
   5  Prefactor     .10000E-03    11.580        .18142E-02** at limit **
   6  Prefactor     .10000E-03    7.9595        .18142E-02** at limit **
   7  Prefactor     .10000E-03    3.1181        .12738E-02** at limit **
   8  norm          .10000E-03    1.0667        .74411E-03** at limit **
   9  Prefactor     .10000E-03    10.441        .18142E-02** at limit **
  10  Prefactor     .10000E-03    12.716        .30042E-02** at limit **
  11  norm          .10000E-03    .15950        .56407E-04** at limit **
  12  Prefactor     .10000E-03    15.381        .18142E-02** at limit **
  13  Prefactor     10.864        9.1735        .60748E-03    .37988E-03
  14  norm          .10000E-03    1.7146        .94561E-03** at limit **
  15  norm          5.4137        5.8186        .17273E-03   -.70623E-04
  16  Prefactor     15.430        31.320        .10199E-03   -.27422E-04
  17  Prefactor     .10000E-03    11.773        .18142E-02** at limit **
  18  norm          8.1989        5.6301        .11594E-03   -.14219E-04
  19  norm          .10000E-03    21.943        .17788E-02** at limit **
  20  Prefactor     .10001E-03    54.038        .18142E-02** at limit **
  21  norm          7.2880        4.2824        .10812E-03   -.94000E-04
  22  Prefactor     89.226        79.376        .42538E-04   -.21969E-04
  23  Prefactor     .10000E-03    36.079        .18142E-02** at limit **
  24  Prefactor     .10001E-03    12.215        .24500E-02** at limit **
  25  Prefactor     35.192        41.142        .67496E-04   -.64173E-04
  26  Normalizat    .75484        .19517        .23863E-03    .65030E-04
  27  Prefactor     1.1060        .21554        .22718E-03   -.18627E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.864
  norm       = 0.0001
  norm       = 5.41367
  Prefactor  = 15.4304
  Prefactor  = 0.0001
  norm       = 8.19895
  norm       = 0.000100001
  Prefactor  = 0.000100005
  norm       = 7.28805
  Prefactor  = 89.2259
  Prefactor  = 0.000100002
  Prefactor  = 0.000100013
  Prefactor  = 35.1922
  Normalizat = 0.754844
  Prefactor  = 1.10596
 **********
 **   18 **HESSE 
 **********

 FCN=   5475.243     FROM HESSE     STATUS=OK           460 CALLS     4241 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.930        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7291        .18800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    165.78        .24369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.201        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.580        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.9620        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.1183        .25476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.0667        .14882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.800        .60084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .15950        .11281E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.381        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.864        9.1642        .24299E-04   -1.5049    
  14  norm          .10000E-03    1.7146        .18912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4137        5.8184        .69091E-05   -1.5243    
  16  Prefactor     15.430        31.315        .40795E-05   -1.4922    
  17  Prefactor     .10000E-03    11.774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.1989        5.6297        .46375E-05   -1.5135    
  19  norm          .10000E-03    22.319        .35576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    54.060        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.2880        4.2823        .43249E-05   -1.5168    
  22  Prefactor     89.226        79.372        .85076E-05   -1.3816    
  23  Prefactor     .10000E-03    36.085        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    12.275        .49001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     35.192        41.107        .13499E-04   -1.4521    
  26  Normalizat    .75484        .19535        .95453E-05   -1.0177    
  27  Prefactor     1.1060        .21575        .45437E-04   -.89276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99648e-09
Minuit parameter uncertainties:
  1  5.68914e-05
  2  2.97436e-05
  3  0.00142995
  4  0.000137204
  5  2.68985e-05
  6  5.0373e-05
  7  8.88944e-06
  8  2.38104e-06
  9  0.000116364
  10  0.000230697
  11  2.58379e-06
  12  9.59948e-05
  13  9.16533
  14  1.24579e-07
  15  5.81905
  16  31.3482
  17  4.23785e-05
  18  5.63011
  19  0.00029591
  20  0.00104158
  21  4.28244
  22  79.4661
  23  0.000490668
  24  0.000786228
  25  41.1402
  26  0.195531
  27  0.215922
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  4.238e-05  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.106e+00  2.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.548e-01  1.955e-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: 4.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915816/likelihoodResults_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.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) = 5475.24293833
delta logL = -0.000404150097893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5475.2425342
delta logL = -2.25654730457e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5527       1.0000          .0000       10.000    
     3 'Normalizat'    .75482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1060       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=   5475.243     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      202 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    18.981        .90712E-02** at limit **
   2  Index         2.5484        6.2173        .50000        .32618E-05
   3  Normalizat    .75485        .15978        .43018E-01    .50651E-04
   4  Prefactor     1.1060        .18182        .37363E-01   -.38809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.54841
  Normalizat = 0.754846
  Prefactor  = 1.10596
 **********
 **   18 **HESSE 
 **********

 FCN=   5475.243     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    12.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5484        6.2722        .50000       -.51246    
   3  Normalizat    .75485        .18667        .23863E-03   -1.0177    
   4  Prefactor     1.1060        .21253        .22719E-03   -.89276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39836e-09
Minuit parameter uncertainties:
  1  0.000542827
  2  4.4356
  3  0.186825
  4  0.212692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915816': 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) = 5475.24253417
delta logL = 6.02631189395e-09

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  5.428e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.548e+00  4.436e+00  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.106e+00  2.127e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.548e-01  1.868e-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/915816/cmap_HighResolution_441763201_442022401_4FGL_J2327.5-3259_daily_bin781.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.66e-08', time_completed='2021-09-29 20:21:56.746240', job_id='915816', GAL2='1.11', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632972116.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='6.03e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='781' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:21:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 915816: <4FGL_J2327.5-3259_daily_bin781> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin781> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:43 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:05:45 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:05:45 2021
Terminated at Wed Sep 29 20:21:57 2021
Results reported at Wed Sep 29 20:21:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin781 351.883 -32.9869 441763201 442022401 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 :                                   746.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            974 sec.

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

