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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1450
RA = 351.883, Dec = -32.9869
tmin = 615168001, tmax = 615427201
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='918810', job_status='RUN', time_executed='2021-09-29 20:16:07.193030', time_epoch_executed='1632971767.19' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918810

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918810/ft1_4FGL_J2327.5-3259_daily_bin1450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918810/ft2_4FGL_J2327.5-3259_daily_bin1450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918810/ft1_4FGL_J2327.5-3259_daily_bin1450.fits outfile=/scratch/kocevski/918810/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1450.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=615168001.0 tmax=615427201.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.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918810/ft1_filtered_4FGL_J2327.5-3259_daily_bin1450.fits" evtable="EVENTS" scfile=/scratch/kocevski/918810/ft2_4FGL_J2327.5-3259_daily_bin1450.fits sctable="SC_DATA" outfile=/scratch/kocevski/918810/ltcube_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.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/918810/ft2_4FGL_J2327.5-3259_daily_bin1450.fits
.....................!
real 11.93
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918810/ft1_filtered_4FGL_J2327.5-3259_daily_bin1450.fits evtable="EVENTS" scfile=/scratch/kocevski/918810/ft2_4FGL_J2327.5-3259_daily_bin1450.fits sctable="SC_DATA" expcube=/scratch/kocevski/918810/ltcube_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.fits outfile=/scratch/kocevski/918810/expmap_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.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/918810/ltcube_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.fits
.....................!
real 192.09
user 186.82
sys 4.78

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/918810/ft1_filtered_4FGL_J2327.5-3259_daily_bin1450.fits scfile=/scratch/kocevski/918810/ft2_4FGL_J2327.5-3259_daily_bin1450.fits outfile=/scratch/kocevski/918810/cmap_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/918810/ft1_filtered_4FGL_J2327.5-3259_daily_bin1450.fits scfile=/scratch/kocevski/918810/ft2_4FGL_J2327.5-3259_daily_bin1450.fits outfile=/scratch/kocevski/918810/cmap_HighResolution_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.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.57
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/918810/ft1_filtered_4FGL_J2327.5-3259_daily_bin1450.fits evtable="EVENTS" scfile=/scratch/kocevski/918810/ft2_4FGL_J2327.5-3259_daily_bin1450.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/918810/Model_4FGL_J2327.5-3259_daily_bin1450.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/918810/ft1_filtered_4FGL_J2327.5-3259_daily_bin1450.fits.....................!
real 38.73
user 37.39
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6937       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3090       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.865       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3752       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.814       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8893       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13239E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.260       1.0000         .10000E-03   10000.    
    11 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27223E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .27554       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.6424       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21605E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    66.575       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14229E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.2252       1.0000         .10000E-03   10000.    
    25 'Prefactor '    63.990       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .91336       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .81021       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=   4794.358     FROM MIGRAD    STATUS=CONVERGED    674 CALLS     3326 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6904        62.572        .62695E-06    .50347E-05
   2  Prefactor     3.3088        3.1037        .13610E-06    .86699E-04
   3  Prefactor     .10000E-03    6.7148       -.46591E-08** at limit **
   4  Prefactor     20.892        27.945       -.77721E-07    .10552E-04
   5  Prefactor     7.3698        42.473        .11767E-05    .74269E-05
   6  Prefactor     21.818        14.935        .23932E-06    .10476E-04
   7  Prefactor     .10000E-03    2.6089       -.46942E-07** at limit **
   8  norm          1.8895        2.8301        .41439E-06    .94985E-03
   9  Prefactor     .10008E-03    9.4522       -.18659E-06** at limit **
  10  Prefactor     15.278        7.8785       -.11468E-05   -.82248E-04
  11  norm          .10000E-03    .22781        .20758E-06** at limit **
  12  Prefactor     .10000E-03    105.93       -.66798E-06** at limit **
  13  Prefactor     .10000E-03    5.4257        .12672E-06** at limit **
  14  norm          .10000E-03    1.5123       -.25772E-07** at limit **
  15  norm          .28070        8.0380        .19392E-05   -.35136E-03
  16  Prefactor     .10000E-03    18.517       -.23476E-06** at limit **
  17  Prefactor     .10000E-03    24.580       -.49509E-07** at limit **
  18  norm          .10000E-03    2.3509       -.10816E-05** at limit **
  19  norm          4.6428        4.0659        .18622E-06    .10136E-03
  20  Prefactor     .10000E-03    33.348        .14083E-05** at limit **
  21  norm          .10000E-03    1.0583       -.62139E-07** at limit **
  22  Prefactor     66.894        116.93       -.91810E-06    .57583E-05
  23  Prefactor     .10000E-03    106.43        .98785E-06** at limit **
  24  Prefactor     4.2234        5.8189        .24483E-06    .10113E-03
  25  Prefactor     64.012        49.892        .52975E-06    .23949E-04
  26  Normalizat    .91323        .21077       -.41370E-05    .71578E-04
  27  Prefactor     .81041        .20712        .42428E-05    .11114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.69043
  Prefactor  = 3.30879
  Prefactor  = 0.0001
  Prefactor  = 20.8915
  Prefactor  = 7.36982
  Prefactor  = 21.8179
  Prefactor  = 0.0001
  norm       = 1.88954
  Prefactor  = 0.000100078
  Prefactor  = 15.2783
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.280704
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.64277
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 66.8936
  Prefactor  = 0.000100001
  Prefactor  = 4.22338
  Prefactor  = 64.0123
  Normalizat = 0.913234
  Prefactor  = 0.810407
 **********
 **   18 **HESSE 
 **********

 FCN=   4794.358     FROM HESSE     STATUS=OK           494 CALLS     3820 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6904        62.520        .16834E-03   -1.5231    
   2  Prefactor     3.3088        3.0977        .11211E-03   -1.5344    
   3  Prefactor     .10000E-03    6.7170        .17524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.892        27.893        .87686E-04   -1.4794    
   5  Prefactor     7.3698        42.333        .14769E-03   -1.5165    
   6  Prefactor     21.818        14.926        .85760E-04   -1.4773    
   7  Prefactor     .10000E-03    2.6115        .10923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8895        2.8780        .69334E-03   -1.5433    
   9  Prefactor     .10008E-03    47.286        .36956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.278        8.1892        .10253E-03   -1.4926    
  11  norm          .10000E-03    .27769        .64880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    108.22        .21430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4635        .15754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.5129        .83153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .28070        28.939        .33738E-02   -1.5602    
  16  Prefactor     .10000E-03    18.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.4869        .19221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.6428        4.0545        .12452E-03   -1.5277    
  20  Prefactor     .10000E-03    33.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.0603        .69543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     66.894        116.87        .24594E-03   -1.4070    
  23  Prefactor     .10000E-03    107.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.2234        5.7898        .17820E-03   -1.5297    
  25  Prefactor     64.012        49.708        .50166E-04   -1.4106    
  26  Normalizat    .91323        .21946        .22094E-03   -.95997    
  27  Prefactor     .81041        .21992        .25034E-03   -.99346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14173e-09
Minuit parameter uncertainties:
  1  37.7735
  2  3.09786
  3  8.16303e-07
  4  27.9103
  5  35.364
  6  14.9285
  7  4.10231e-06
  8  2.8782
  9  0.00384818
  10  8.1898
  11  3.14467e-06
  12  0.00038766
  13  9.23288e-06
  14  8.8289e-07
  15  5.70208
  16  2.58271e-05
  17  3.90598e-06
  18  5.42968e-05
  19  4.05478
  20  0.000473988
  21  1.78106e-06
  22  117.271
  23  0.000686381
  24  5.79055
  25  49.7401
  26  0.219679
  27  0.220159
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.906e-06  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:  8.104e-01  2.202e-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:  9.132e-01  2.197e-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: 6.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/918810/likelihoodResults_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.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) = 4794.35863535
delta logL = -0.000193543105524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4794.35844342
delta logL = -1.61335992743e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1681       1.0000          .0000       10.000    
     3 'Normalizat'    .91323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81041       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=   4794.358     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      283 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    177.36        .18142E-01** at limit **
   2  Index         1.9829        5.6130        .50000        .18917E-07
   3  Normalizat    .91323        .98308E-02    .22095E-03   -.27787E-03
   4  Prefactor     .81041        .10610E-01    .25033E-03   -.23764E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 1.98294
  Normalizat = 0.913234
  Prefactor  = 0.810405
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    902.19        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9829        7.4449        .50000       -.64777    
   3  Normalizat    .91323        .22930E-01    .44191E-04   -.95997    
   4  Prefactor     .81041        .24747E-01    .50066E-04   -.99346    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.86876e-09
Minuit parameter uncertainties:
  1  0.0049927
  2  1314.18
  3  0.0229306
  4  0.0247476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918810': 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) = 4794.3584413
delta logL = 5.08691300638e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  4.993e-03  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.983e+00  1.314e+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:  8.104e-01  2.475e-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:  9.132e-01  2.293e-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/918810/cmap_HighResolution_615168001_615427201_4FGL_J2327.5-3259_daily_bin1450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.83e-08', time_completed='2021-09-29 20:27:32.027301', job_id='918810', GAL2='0.81', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632972452.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='5.09e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1450' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:27:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 918810: <4FGL_J2327.5-3259_daily_bin1450> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1450> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:15:22 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:15:24 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:24 2021
Terminated at Wed Sep 29 20:27:32 2021
Results reported at Wed Sep 29 20:27:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1450 351.883 -32.9869 615168001 615427201 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 :                                   670.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            730 sec.

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

