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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1601
RA = 351.883, Dec = -32.9869
tmin = 654307201, tmax = 654566401
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='919064', job_status='RUN', time_executed='2021-09-29 20:17:17.325441', time_epoch_executed='1632971837.33' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919064

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919064/ft1_4FGL_J2327.5-3259_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919064/ft2_4FGL_J2327.5-3259_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919064/ft1_4FGL_J2327.5-3259_daily_bin1601.fits outfile=/scratch/kocevski/919064/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1601.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=654307201.0 tmax=654566401.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 4.33
user 4.08
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919064/ft1_filtered_4FGL_J2327.5-3259_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/919064/ft2_4FGL_J2327.5-3259_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/919064/ltcube_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.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/919064/ft2_4FGL_J2327.5-3259_daily_bin1601.fits
.....................!
real 12.06
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919064/ft1_filtered_4FGL_J2327.5-3259_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/919064/ft2_4FGL_J2327.5-3259_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/919064/ltcube_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.fits outfile=/scratch/kocevski/919064/expmap_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.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/919064/ltcube_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.fits
.....................!
real 190.92
user 186.37
sys 4.19

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/919064/ft1_filtered_4FGL_J2327.5-3259_daily_bin1601.fits scfile=/scratch/kocevski/919064/ft2_4FGL_J2327.5-3259_daily_bin1601.fits outfile=/scratch/kocevski/919064/cmap_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.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/919064/ft1_filtered_4FGL_J2327.5-3259_daily_bin1601.fits scfile=/scratch/kocevski/919064/ft2_4FGL_J2327.5-3259_daily_bin1601.fits outfile=/scratch/kocevski/919064/cmap_HighResolution_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/919064/ft1_filtered_4FGL_J2327.5-3259_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/919064/ft2_4FGL_J2327.5-3259_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/919064/Model_4FGL_J2327.5-3259_daily_bin1601.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/919064/ft1_filtered_4FGL_J2327.5-3259_daily_bin1601.fits.....................!
real 38.11
user 36.72
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3340       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    64.947       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.7412       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5469       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.1948       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10984E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .37537E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .47268       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10819E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.849       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11743E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10278E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .55615       1.0000         .10000E-03   10000.    
    20 'Prefactor '    55.933       1.0000         .10000E-03   10000.    
    21 'norm      '    6.3045       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10735E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.5130       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .88451       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .98777       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=   4430.989     FROM MIGRAD    STATUS=CONVERGED   1211 CALLS     3925 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    79.143        .18142E-02** at limit **
   2  Prefactor     4.3348        4.4262        .13521E-03   -.12276E-04
   3  Prefactor     .10000E-03    11.984        .18142E-02** at limit **
   4  Prefactor     64.960        28.152        .24899E-03    .89949E-05
   5  Prefactor     8.7454        29.333        .13557E-03   -.16771E-05
   6  Prefactor     5.5424        11.451        .17059E-03   -.59980E-05
   7  Prefactor     .10000E-03    3.2724        .11728E-02** at limit **
   8  norm          7.1955        5.5784        .11774E-03    .43452E-05
   9  Prefactor     .10000E-03    32.490        .18142E-02** at limit **
  10  Prefactor     .10000E-03    28.570        .42962E-01** at limit **
  11  norm          .47245        .92827        .61713E-04    .19638E-03
  12  Prefactor     .10000E-03    26.733        .18142E-02** at limit **
  13  Prefactor     .10000E-03    6.4704        .16471E-02** at limit **
  14  norm          .10000E-03    2.0400        .92802E-03** at limit **
  15  norm          .10000E-03    14.820        .36285E-03** at limit **
  16  Prefactor     17.876        48.194        .94802E-04   -.14390E-04
  17  Prefactor     .10000E-03    52.068        .13163    ** at limit **
  18  norm          .10000E-03    4.1509        .13088E-02** at limit **
  19  norm          .55715        3.5859        .23876E-03    .25712E-04
  20  Prefactor     55.944        37.893        .53637E-04    .61001E-04
  21  norm          6.3114        6.6952        .14753E-03   -.35448E-04
  22  Prefactor     .10000E-03    53.166        .18142E-02** at limit **
  23  Prefactor     .10000E-03    100.00        .18142E-02** at limit **
  24  Prefactor     6.5138        5.9859        .14969E-03   -.38884E-04
  25  Prefactor     .10000E-03    26.252        .18142E-02** at limit **
  26  Normalizat    .88383        .25354        .23927E-03   -.14772E-03
  27  Prefactor     .98839        .26216        .24798E-03   -.33467E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 4.3348
  Prefactor  = 0.0001
  Prefactor  = 64.9596
  Prefactor  = 8.74541
  Prefactor  = 5.5424
  Prefactor  = 0.0001
  norm       = 7.19547
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.472449
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.876
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.557148
  Prefactor  = 55.9441
  norm       = 6.31137
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.51378
  Prefactor  = 0.0001
  Normalizat = 0.883829
  Prefactor  = 0.988387
 **********
 **   18 **HESSE 
 **********

 FCN=   4430.989     FROM HESSE     STATUS=OK           480 CALLS     4405 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    79.153        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3348        4.4261        .54085E-05   -1.5292    
   3  Prefactor     .10000E-03    11.984        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     64.960        28.152        .99596E-05   -1.4094    
   5  Prefactor     8.7454        29.332        .54230E-05   -1.5116    
   6  Prefactor     5.5424        11.450        .68234E-05   -1.5237    
   7  Prefactor     .10000E-03    3.2727        .23455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.1955        5.5752        .47095E-05   -1.5171    
   9  Prefactor     .10000E-03    32.496        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.755        .56604E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .47245        .89957        .24685E-05   -1.5571    
  12  Prefactor     .10000E-03    26.733        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.4712        .32941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.0400        .18560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    14.821        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.876        48.162        .37921E-05   -1.4862    
  17  Prefactor     .10000E-03    52.077        .13162       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.1516        .26176E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55715        3.5840        .95505E-05   -1.5559    
  20  Prefactor     55.944        37.886        .10727E-04   -1.4211    
  21  norm          6.3114        6.6930        .59012E-05   -1.5205    
  22  Prefactor     .10000E-03    53.167        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    100.02        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.5138        5.9856        .29939E-04   -1.5197    
  25  Prefactor     .10000E-03    26.253        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .88383        .25351        .95708E-05   -.97031    
  27  Prefactor     .98839        .26224        .99193E-05   -.93118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00047e-10
Minuit parameter uncertainties:
  1  0.000524823
  2  4.42639
  3  1.26969e-05
  4  28.1577
  5  29.3802
  6  11.4547
  7  1.93634e-06
  8  5.57556
  9  6.95062e-06
  10  6.2539e-05
  11  0.899595
  12  3.07169e-05
  13  4.85835e-06
  14  1.48026e-06
  15  3.33036e-05
  16  48.2671
  17  0.000381117
  18  1.26647e-05
  19  2.82617
  20  37.9019
  21  6.69382
  22  0.000136465
  23  2.06078e-05
  24  5.98618
  25  4.64148e-06
  26  0.253848
  27  0.262575
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.811e-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:  9.884e-01  2.626e-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:  8.838e-01  2.538e-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.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919064/likelihoodResults_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.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) = 4430.98889245
delta logL = -9.2707841759e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4430.98889245
delta logL = -9.26958364289e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5571       1.0000          .0000       10.000    
     3 'Normalizat'    .88383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98839       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=   4430.949     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      293 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5026        114.87        .90712E-02    .45274E-03
   2  Index         4.2401        3.2995        .35249       -.44796E-05
   3  Normalizat    .86344        .24331E-01    .44695E-01    .26636E-03
   4  Prefactor     1.0021        .26666E-01    .46122E-01    .25090E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.50261
  Index      = 4.24006
  Normalizat = 0.863439
  Prefactor  = 1.00212
 **********
 **   18 **HESSE 
 **********

 FCN=   4430.949     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      322 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5026        884.42        .27429E-03   -1.5463    
   2  Index         4.2401        5.3902        .93353E-02   -.15258    
   3  Normalizat    .86344        .17577        .24193E-03   -.97757    
   4  Prefactor     1.0021        .19225        .24653E-03   -.92659    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.82775e-09
Minuit parameter uncertainties:
  1  74.0327
  2  30.2766
  3  0.175887
  4  0.192382
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919064': 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) = 4430.94903265
delta logL = 0.0398505348548

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.503e+00  7.403e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  4.240e+00  3.028e+01  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.002e+00  1.924e-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:  8.634e-01  1.759e-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/919064/cmap_HighResolution_654307201_654566401_4FGL_J2327.5-3259_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', job_status='DONE', photon_flux_upper_limit='9.15e-08', time_completed='2021-09-29 20:28:51.013810', job_id='919064', GAL2='1.00', fit_tolerance='1e-08', EG2='0.86', EG='0.88', time_epoch_completed='1632972531.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.99e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1601' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:28:51 PDT 2021


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

Job <4FGL_J2327.5-3259_daily_bin1601> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:15:41 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:15:42 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:15:42 2021
Terminated at Wed Sep 29 20:28:51 2021
Results reported at Wed Sep 29 20:28:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1601 351.883 -32.9869 654307201 654566401 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 :                                   680.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            790 sec.

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

