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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1111
RA = 351.883, Dec = -32.9869
tmin = 527299201, tmax = 527558401
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='917360', job_status='RUN', time_executed='2021-09-29 20:13:30.565829', time_epoch_executed='1632971610.57' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917360/ft1_4FGL_J2327.5-3259_daily_bin1111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917360/ft2_4FGL_J2327.5-3259_daily_bin1111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917360/ft1_4FGL_J2327.5-3259_daily_bin1111.fits outfile=/scratch/kocevski/917360/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1111.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=527299201.0 tmax=527558401.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.82
user 4.55
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917360/ft1_filtered_4FGL_J2327.5-3259_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/917360/ft2_4FGL_J2327.5-3259_daily_bin1111.fits sctable="SC_DATA" expcube=/scratch/kocevski/917360/ltcube_527299201_527558401_4FGL_J2327.5-3259_daily_bin1111.fits outfile=/scratch/kocevski/917360/expmap_527299201_527558401_4FGL_J2327.5-3259_daily_bin1111.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/917360/ltcube_527299201_527558401_4FGL_J2327.5-3259_daily_bin1111.fits
.....................!
real 192.35
user 187.23
sys 4.73

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/917360/ft1_filtered_4FGL_J2327.5-3259_daily_bin1111.fits scfile=/scratch/kocevski/917360/ft2_4FGL_J2327.5-3259_daily_bin1111.fits outfile=/scratch/kocevski/917360/cmap_527299201_527558401_4FGL_J2327.5-3259_daily_bin1111.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/917360/ft1_filtered_4FGL_J2327.5-3259_daily_bin1111.fits scfile=/scratch/kocevski/917360/ft2_4FGL_J2327.5-3259_daily_bin1111.fits outfile=/scratch/kocevski/917360/cmap_HighResolution_527299201_527558401_4FGL_J2327.5-3259_daily_bin1111.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15712E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.165       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.9036       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    51.144       1.0000         .10000E-03   10000.    
    17 'Prefactor '    73.741       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8290       1.0000         .10000E-03   10000.    
    19 'norm      '    12.263       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10927E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    10.234       1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.196       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10582E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .68606       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3807       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=   2951.490     FROM MIGRAD    STATUS=CONVERGED    639 CALLS     3718 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    171.91        .12567E-03** at limit **
   2  Prefactor     .10000E-03    2.8778       -.75893E-08** at limit **
   3  Prefactor     .10000E-03    17.773       -.19061E-04** at limit **
   4  Prefactor     .10000E-03    28.035        .19034E-05** at limit **
   5  Prefactor     .10034E-03    272.34       -.25545E-03** at limit **
   6  Prefactor     19.162        22.779        .49617E-06    .17358E-03
   7  Prefactor     .10000E-03    8.5893        .19982E-06** at limit **
   8  norm          .10000E-03    2.4421       -.70311E-07** at limit **
   9  Prefactor     .10000E-03    15.922        .19051E-04** at limit **
  10  Prefactor     .10000E-03    12.380       -.51594E-05** at limit **
  11  norm          2.9034        1.1134       -.62236E-07   -.29388E-03
  12  Prefactor     .10000E-03    46.323       -.19905E-04** at limit **
  13  Prefactor     .10000E-03    12.463       -.26203E-05** at limit **
  14  norm          .10000E-03    3.9772        .10997E-06** at limit **
  15  norm          .10000E-03    9.2675       -.61257E-06** at limit **
  16  Prefactor     51.140        62.169       -.33668E-05    .95347E-05
  17  Prefactor     73.748        83.701        .59149E-05   -.78896E-05
  18  norm          3.8263        10.013        .16686E-06   -.21369E-03
  19  norm          12.265        7.7768        .27625E-07   -.70743E-04
  20  Prefactor     .10000E-03    32.018        .13800E-04** at limit **
  21  norm          10.235        8.9469        .13102E-06   -.72103E-04
  22  Prefactor     31.178        437.67       -.32358E-04   -.95601E-05
  23  Prefactor     .10000E-03    187.59        .77075E-04** at limit **
  24  Prefactor     .10000E-03    11.219        .37424E-05** at limit **
  25  Prefactor     .10000E-03    38.764       -.24296E-05** at limit **
  26  Normalizat    .68599        .28783       -.50904E-06    .30239E-03
  27  Prefactor     1.3808        .29691        .20542E-05    .38648E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100337
  Prefactor  = 19.1618
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.90338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 51.1395
  Prefactor  = 73.7485
  norm       = 3.82629
  norm       = 12.2649
  Prefactor  = 0.0001
  norm       = 10.2354
  Prefactor  = 31.178
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.685988
  Prefactor  = 1.38085
 **********
 **   18 **HESSE 
 **********

 FCN=   2951.490     FROM HESSE     STATUS=OK           472 CALLS     4190 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    172.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.8836        .89994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10034E-03    275.04        .36405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.162        22.829        .91491E-04   -1.4832    
   7  Prefactor     .10000E-03    8.6236        .15549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.4483        .82873E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9034        1.1108        .33801E-04   -1.5367    
  12  Prefactor     .10000E-03    46.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.9778        .10579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.3007        .16152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     51.140        61.577        .56079E-04   -1.4277    
  17  Prefactor     73.748        83.943        .46754E-04   -1.3988    
  18  norm          3.8263        9.8558        .20626E-03   -1.5317    
  19  norm          12.265        7.7775        .11439E-03   -1.5007    
  20  Prefactor     .10000E-03    32.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          10.235        8.9285        .12525E-03   -1.5068    
  22  Prefactor     31.178        439.74        .71737E-04   -1.4591    
  23  Prefactor     .10000E-03    188.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.312        .17763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    38.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .68599        .34764        .31572E-03   -1.0445    
  27  Prefactor     1.3808        .36201        .24667E-03   -.80934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95199e-09
Minuit parameter uncertainties:
  1  0.000596545
  2  1.22061e-06
  3  3.81085e-06
  4  0.000123632
  5  0.0193533
  6  22.8393
  7  1.27679e-05
  8  2.53804e-06
  9  1.17977e-05
  10  1.44962e-05
  11  1.11084
  12  1.01527e-05
  13  5.20535e-06
  14  2.50285e-06
  15  1.94165e-05
  16  61.6537
  17  84.0787
  18  9.85995
  19  7.77817
  20  3.40525e-05
  21  8.92965
  22  236.313
  23  0.00029555
  24  3.94214e-05
  25  1.68315e-05
  26  0.348763
  27  0.362676
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.375e+01  8.408e+01  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.381e+00  3.627e-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:  6.860e-01  3.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 5.91e-08 +/- 6.73e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.84e-05

TS (Fixed Index): 1.16
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 2.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917360/likelihoodResults_527299201_527558401_4FGL_J2327.5-3259_daily_bin1111.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) = 2951.1640549
delta logL = 0.325524346911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2951.15586749
delta logL = 0.33371175488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.361       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4646       1.0000          .0000       10.000    
     3 'Normalizat'    .63616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4179       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=   2951.156     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      292 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.363        79.002        .65570E-04    .38058E-04
   2  Index         3.4645        1.4626        .57539E-02    .22510E-04
   3  Normalizat    .63609        .34323        .32680E-03    .69142E-04
   4  Prefactor     1.4179        .36330        .24384E-03    .87191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.3632
  Index      = 3.46446
  Normalizat = 0.636091
  Prefactor  = 1.41795
 **********
 **   18 **HESSE 
 **********

 FCN=   2951.156     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.363        66.514        .26228E-05   -1.4485    
   2  Index         3.4645        1.2356        .23016E-03   -.31215    
   3  Normalizat    .63609        .34334        .13072E-04   -1.0647    
   4  Prefactor     1.4179        .36324        .48768E-04   -.79864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92316e-11
Minuit parameter uncertainties:
  1  66.6469
  2  1.2499
  3  0.344506
  4  0.363895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917360': 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) = 2951.15586742
delta logL = 0.333711820974

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.736e+01  6.665e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.464e+00  1.250e+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.418e+00  3.639e-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:  6.361e-01  3.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.88
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 3.46 +/- 1.25
Photon Flux (Free Index): 1.05e-07 +/- 1.01e-07
Energy Flux (Free Index): 1.76e-05 +/- 1.60e-05

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/917360/cmap_HighResolution_527299201_527558401_4FGL_J2327.5-3259_daily_bin1111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-02', comment='SUCCESS', photon_flux='5.91e-08', energy_flux2='1.76e-05', photon_flux_error='6.73e-08', dlogl='3.34e-01', energy_flux='1.62e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-09-29 20:25:04.483542', photon_index_error2='1.25', photon_index2='3.46', ts='1.16', fit_tolerance='1e-08', GAL='1.38', photon_index_error='0.00', photon_flux_upper_limit='2.22e-07', energy_flux_error2='1.60e-05', EG='0.69', time_epoch_completed='1632972304.48', return_code='0', job_id='917360', GAL2='1.42', EG2='0.64', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='1.01e-07', ts2='1.88', photon_index='2.56' WHERE bin_id='1111' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:25:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 917360: <4FGL_J2327.5-3259_daily_bin1111> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1111 351.883 -32.9869 527299201 527558401 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 :                                   545.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            863 sec.

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

