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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin556
RA = 351.896, Dec = 9.6543
tmin = 383443201, tmax = 383702401
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='906544', job_status='RUN', time_executed='2021-09-29 19:38:39.528502', time_epoch_executed='1632969519.53' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='556'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906544

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906544/ft1_4FGL_J2327.5+0939_daily_bin556.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906544/ft1_4FGL_J2327.5+0939_daily_bin556.fits outfile=/scratch/kocevski/906544/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin556.fits ra=351.896 dec=9.6543 rad=12.0 tmin=383443201.0 tmax=383702401.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 2.71
user 2.50
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.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/906544/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin556.fits evtable="EVENTS" outfile="/scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.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.42
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits" evtable="EVENTS" scfile=/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits sctable="SC_DATA" outfile=/scratch/kocevski/906544/ltcube_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.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/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits
.....................!
real 9.41
user 9.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits evtable="EVENTS" scfile=/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits sctable="SC_DATA" expcube=/scratch/kocevski/906544/ltcube_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.fits outfile=/scratch/kocevski/906544/expmap_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.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/906544/ltcube_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.fits
.....................!
real 151.77
user 147.19
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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2327.5+0939 @ 351.896 9.6543

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits scfile=/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits outfile=/scratch/kocevski/906544/cmap_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.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.896 yref=9.6543 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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits scfile=/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits outfile=/scratch/kocevski/906544/cmap_HighResolution_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.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.896 yref=9.6543 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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits evtable="EVENTS" scfile=/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/906544/Model_4FGL_J2327.5+0939_daily_bin556.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/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits.....................!
real 70.94
user 69.75
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits', '/scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits', expMap='/scratch/kocevski/906544/expmap_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.fits', expCube='/scratch/kocevski/906544/ltcube_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906544/Model_4FGL_J2327.5+0939_daily_bin556.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5+0939'

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  8.298e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/906544/ft1_filtered_4FGL_J2327.5+0939_daily_bin556.fits
Spacecraft file(s): /scratch/kocevski/906544/ft2_4FGL_J2327.5+0939_daily_bin556.fits
Exposure map: /scratch/kocevski/906544/expmap_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.fits
Exposure cube: /scratch/kocevski/906544/ltcube_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906544/Model_4FGL_J2327.5+0939_daily_bin556.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) = 8038.79128992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.824       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.363       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7452       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.572       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.768       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.248       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.5040       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.3162       1.0000         .10000E-03   10000.    
    17 'norm      '    12.572       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.274       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86997       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0075       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8038.788     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2331 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.825        36.607       -.23690E-07    .12742E-04
   2  Prefactor     20.363        20.354        .13138E-06    .19485E-05
   3  Prefactor     1.7452        .25088        .31238E-08    .66327E-03
   4  Prefactor     35.573        32.855        .89409E-07    .53827E-06
   5  Prefactor     .10000E-03    1.7404        .21651E-07** at limit **
   6  Prefactor     .10000E-03    3.6962        .73810E-07** at limit **
   7  Prefactor     13.768        15.068        .14878E-06   -.21514E-04
   8  Prefactor     21.244        9.5080        .71119E-06    .82522E-03
   9  Prefactor     .10000E-03    3.8174        .66653E-07** at limit **
  10  Prefactor     .10001E-03    30.807       -.11023E-05** at limit **
  11  Prefactor     .10000E-03    16.535        .32998E-06** at limit **
  12  norm          2.5096        7.1388        .64630E-05   -.31074E-04
  13  Prefactor     .10000E-03    8.6895        .47840E-07** at limit **
  14  Prefactor     .10000E-03    3.7643       -.63796E-07** at limit **
  15  Prefactor     .10000E-03    8.3086        .20081E-06** at limit **
  16  norm          8.3173        15.317        .27353E-06    .59637E-04
  17  norm          12.571        15.183        .49009E-07   -.32588E-04
  18  Prefactor     .10001E-03    38.112        .16410E-05** at limit **
  19  Prefactor     21.271        21.388       -.62453E-07   -.12241E-03
  20  Prefactor     .10000E-03    3.3769        .37178E-07** at limit **
  21  Normalizat    .86993        .19369       -.10371E-05    .68828E-04
  22  Prefactor     1.0076        .11788       -.34917E-06    .70553E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.8252
  Prefactor  = 20.3631
  Prefactor  = 1.74523
  Prefactor  = 35.5729
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7677
  Prefactor  = 21.2439
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 2.50964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.31726
  norm       = 12.5709
  Prefactor  = 0.000100005
  Prefactor  = 21.2714
  Prefactor  = 0.0001
  Normalizat = 0.869927
  Prefactor  = 1.00755
 **********
 **   18 **HESSE 
 **********

 FCN=   8038.788     FROM HESSE     STATUS=OK           338 CALLS     2669 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.825        36.699        .67908E-04   -1.4527    
   2  Prefactor     20.363        20.384        .88759E-04   -1.4805    
   3  Prefactor     1.7452        .25207        .15976E-04   -1.5444    
   4  Prefactor     35.573        32.877        .67193E-04   -1.4514    
   5  Prefactor     .10000E-03    1.7484        .11551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7018        .16835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.768        15.072        .10795E-03   -1.4966    
   8  Prefactor     21.244        9.6056        .86893E-04   -1.4786    
   9  Prefactor     .10000E-03    3.8386        .17112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    31.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5096        7.1473        .12912E-02   -1.5391    
  13  Prefactor     .10000E-03    8.9269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7719        .16986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.3245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.3173        15.320        .13902E-03   -1.5131    
  17  norm          12.571        15.182        .11297E-03   -1.4999    
  18  Prefactor     .10001E-03    38.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.271        21.434        .86840E-04   -1.4785    
  20  Prefactor     .10000E-03    3.3917        .16088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86993        .22202        .34392E-03   -.97525    
  22  Prefactor     1.0076        .13581        .20190E-03   -.92478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79804e-10
Minuit parameter uncertainties:
  1  36.723
  2  20.391
  3  0.252074
  4  32.8937
  5  2.25217e-07
  6  4.29503e-06
  7  15.076
  8  9.6063
  9  6.16391e-06
  10  0.000895815
  11  8.38044e-05
  12  7.14975
  13  6.74729e-05
  14  5.56043e-06
  15  3.83346e-05
  16  15.3276
  17  15.1866
  18  0.000880025
  19  21.4421
  20  2.78106e-06
  21  0.222253
  22  0.135856
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  2.510e+00  7.150e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.008e+00  1.359e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.699e-01  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 351.896 9.654
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906544/likelihoodResults_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.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) = 8038.70136907
delta logL = 0.0867074028565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8038.67613075
delta logL = 0.111945723324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2510       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9014       1.0000          .0000       5.0000    
     3 'Normalizat'    .87870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8038.676     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2319        10.118        .48856E-02    .24946E-03
   2  alpha         1.8998        1.2647        .42751       -.32844E-04
   3  Normalizat    .87847        .18630        .77349E-01   -.29899E-04
   4  Prefactor     1.0020        .11784        .45026E-01   -.57319E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.23187
  alpha      = 1.89981
  Normalizat = 0.878466
  Prefactor  = 1.00197
 **********
 **   18 **HESSE 
 **********

 FCN=   8038.676     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2319        8.0137        .19542E-03   -1.5297    
   2  alpha         1.8998        1.2610        .37360E-01   -.24244    
   3  Normalizat    .87847        .21462        .34237E-03   -.97221    
   4  Prefactor     1.0020        .13575        .20237E-03   -.92664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81903e-11
Minuit parameter uncertainties:
  1  8.01575
  2  1.32605
  3  0.214826
  4  0.135799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906544': 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) = 8038.67612684
delta logL = 0.111949640078

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  4.232e+00  8.016e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  1.900e+00  1.326e+00  0.000e+00  5.000e+00 ( 1.000e+00)
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.002e+00  1.358e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.785e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 351.896 9.654

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/906544/cmap_HighResolution_383443201_383702401_4FGL_J2327.5+0939_daily_bin556.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-29 19:48:00.617240', job_id='906544', GAL2='1.00', fit_tolerance='1e-08', EG2='0.88', EG='0.87', time_epoch_completed='1632970080.62', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.12e-01', ts2='0.37', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='556' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:48:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 906544: <4FGL_J2327.5+0939_daily_bin556> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin556> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:35:54 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:35:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:35:56 2021
Terminated at Wed Sep 29 19:48:01 2021
Results reported at Wed Sep 29 19:48:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin556 351.896 9.6543 383443201 383702401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5+0939 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   557.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            727 sec.

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

