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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin854
RA = 351.575, Dec = 1.2216
tmin = 460684801, tmax = 460944001
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='892995', job_status='RUN', time_executed='2021-09-29 18:59:21.221152', time_epoch_executed='1632967161.22' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892995

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892995/ft1_4FGL_J2326.2+0113_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892995/ft1_4FGL_J2326.2+0113_daily_bin854.fits outfile=/scratch/kocevski/892995/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin854.fits ra=351.575 dec=1.2216 rad=12.0 tmin=460684801.0 tmax=460944001.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.35
user 3.13
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.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/892995/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin854.fits evtable="EVENTS" outfile="/scratch/kocevski/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.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/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits" evtable="EVENTS" scfile=/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits sctable="SC_DATA" outfile=/scratch/kocevski/892995/ltcube_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.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/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits
.....................!
real 12.02
user 11.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/892995/ltcube_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.fits outfile=/scratch/kocevski/892995/expmap_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.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/892995/ltcube_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.fits
.....................!
real 190.58
user 184.66
sys 5.54

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2326.2+0113 @ 351.575 1.2216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits scfile=/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits outfile=/scratch/kocevski/892995/cmap_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.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.575 yref=1.2216 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits scfile=/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits outfile=/scratch/kocevski/892995/cmap_HighResolution_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.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.575 yref=1.2216 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892995/Model_4FGL_J2326.2+0113_daily_bin854.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/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits.....................!
real 71.39
user 70.03
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits', '/scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits', expMap='/scratch/kocevski/892995/expmap_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.fits', expCube='/scratch/kocevski/892995/ltcube_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892995/Model_4FGL_J2326.2+0113_daily_bin854.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.2+0113'

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.628e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892995/ft1_filtered_4FGL_J2326.2+0113_daily_bin854.fits
Spacecraft file(s): /scratch/kocevski/892995/ft2_4FGL_J2326.2+0113_daily_bin854.fits
Exposure map: /scratch/kocevski/892995/expmap_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.fits
Exposure cube: /scratch/kocevski/892995/ltcube_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892995/Model_4FGL_J2326.2+0113_daily_bin854.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) = 7564.13624856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.5827       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.698       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5624       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .86709       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.918       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.348       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5640       1.0000         .10000E-03   10000.    
     9 'norm      '    6.3566       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4407       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1774       1.0000         .10000E-03   10000.    
    12 'norm      '    18.402       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5981       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10486E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .93513       1.0000         .10000E-03   10000.    
    17 'norm      '    .10695E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.227       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11067E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12258E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .62487       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7564.130     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2702 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6467        .11129E-06** at limit **
   2  norm          5.5830        7.0560       -.14757E-06    .57058E-04
   3  Prefactor     19.741        29.526        .37851E-05    .26124E-04
   4  Prefactor     4.5621        10.372       -.76717E-06   -.38714E-05
   5  Prefactor     .87027        7.2594        .36028E-06    .10702E-03
   6  Prefactor     32.914        38.805       -.79896E-06    .13521E-04
   7  Prefactor     19.351        10.482       -.61322E-08    .16603E-04
   8  norm          2.5641        .87101       -.25769E-07    .24853E-03
   9  norm          6.3588        4.8590       -.10389E-06    .40186E-04
  10  Prefactor     3.4407        9.7680       -.44500E-05    .19800E-03
  11  Prefactor     9.1400        20.175       -.15403E-05    .53461E-04
  12  norm          18.396        12.242        .28759E-05    .67116E-03
  13  Prefactor     6.6013        8.5083       -.41501E-06    .27651E-03
  14  Prefactor     .10000E-03    45.650        .36561E-05** at limit **
  15  Prefactor     .10000E-03    3.0751        .11213E-06** at limit **
  16  Prefactor     .83513        165.86       -.61136E-04    .36025E-04
  17  norm          .10000E-03    5.3300        .61536E-07** at limit **
  18  Prefactor     10.225        33.519       -.11301E-05    .33062E-05
  19  Prefactor     .10000E-03    1.0201        .75908E-07** at limit **
  20  Prefactor     .10000E-03    21.970       -.15661E-05** at limit **
  21  Prefactor     .10000E-03    17.022        .97302E-06** at limit **
  22  Prefactor     .10000E-03    9.0838        .99452E-07** at limit **
  23  Normalizat    .62476        .17033        .72864E-06    .42118E-03
  24  Prefactor     1.1225        .12064        .11219E-05    .72437E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.58299
  Prefactor  = 19.7411
  Prefactor  = 4.56215
  Prefactor  = 0.870268
  Prefactor  = 32.9138
  Prefactor  = 19.3511
  norm       = 2.56409
  norm       = 6.35881
  Prefactor  = 3.44072
  Prefactor  = 9.14003
  norm       = 18.3958
  Prefactor  = 6.60131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.835131
  norm       = 0.0001
  Prefactor  = 10.2252
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.624763
  Prefactor  = 1.12248
 **********
 **   18 **HESSE 
 **********

 FCN=   7564.130     FROM HESSE     STATUS=OK           407 CALLS     3109 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.5830        7.0487        .17003E-03   -1.5235    
   3  Prefactor     19.741        29.496        .90244E-04   -1.4819    
   4  Prefactor     4.5621        10.374        .18846E-03   -1.5281    
   5  Prefactor     .87027        38.768        .44691E-02   -1.5521    
   6  Prefactor     32.914        38.824        .69841E-04   -1.4560    
   7  Prefactor     19.351        10.484        .91056E-04   -1.4828    
   8  norm          2.5641        .86938        .45481E-04   -1.5388    
   9  norm          6.3588        4.8533        .15526E-03   -1.5204    
  10  Prefactor     3.4407        9.8293        .10902E-02   -1.5337    
  11  Prefactor     9.1400        20.161        .13230E-03   -1.5103    
  12  norm          18.396        12.134        .93365E-04   -1.4850    
  13  Prefactor     6.6013        8.4573        .15623E-03   -1.5194    
  14  Prefactor     .10000E-03    45.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0901        .14892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .83513        173.93        .64739E-02   -1.5525    
  17  norm          .10000E-03    5.3393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.225        33.525        .12529E-03   -1.5068    
  19  Prefactor     .10000E-03    1.0274        .85744E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.1293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .62476        .18735        .33734E-03   -1.0694    
  24  Prefactor     1.1225        .13473        .18662E-03   -.88751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.16838e-10
Minuit parameter uncertainties:
  1  3.60661e-06
  2  7.04979
  3  29.5174
  4  10.3776
  5  11.6244
  6  38.854
  7  10.4854
  8  0.869384
  9  4.85356
  10  9.83389
  11  20.1764
  12  12.1361
  13  8.4588
  14  0.000152612
  15  7.78263e-06
  16  24.174
  17  4.84568e-06
  18  33.5869
  19  3.02252e-06
  20  0.000141493
  21  3.00766e-05
  22  1.88286e-05
  23  0.187546
  24  0.134773
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  9.140e+00  2.018e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.122e+00  1.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  6.248e-01  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 4.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892995/likelihoodResults_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.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) = 7563.9870879
delta logL = 0.142765621766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7563.98686761
delta logL = 0.142985913721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.558       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6076       1.0000          .0000       10.000    
     3 'Normalizat'    .62796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   7563.987     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.584        34.370        .90566E-04    .43182E-04
   2  Index         1.6073        .82299        .13695E-01   -.53760E-05
   3  Normalizat    .62781        .18150        .33655E-03   -.57528E-04
   4  Prefactor     1.1203        .13249        .18675E-03    .11335E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.5844
  Index      = 1.60733
  Normalizat = 0.627814
  Prefactor  = 1.12029
 **********
 **   18 **HESSE 
 **********

 FCN=   7563.987     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.584        33.858        .36226E-05   -1.4823    
   2  Index         1.6073        .81142        .54780E-03   -.74576    
   3  Normalizat    .62781        .18160        .13462E-04   -1.0682    
   4  Prefactor     1.1203        .13256        .37350E-04   -.88821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35997e-11
Minuit parameter uncertainties:
  1  33.8916
  2  0.818174
  3  0.181769
  4  0.132595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892995': 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) = 7563.98686697
delta logL = 0.142986549661

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.958e+01  3.389e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.607e+00  8.182e-01  0.000e+00  1.000e+01 (-1.000e+00)
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.120e+00  1.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  6.278e-01  1.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
Ra Dec: 351.575 1.222

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/892995/cmap_HighResolution_460684801_460944001_4FGL_J2326.2+0113_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.78e-08', time_completed='2021-09-29 19:11:14.150872', job_id='892995', GAL2='1.12', fit_tolerance='1e-08', EG2='0.63', EG='0.62', time_epoch_completed='1632967874.15', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.43e-01', ts2='0.58', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='854' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:11:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 892995: <4FGL_J2326.2+0113_daily_bin854> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin854> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 18:55:32 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:55:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:55:34 2021
Terminated at Wed Sep 29 19:11:14 2021
Results reported at Wed Sep 29 19:11:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin854 351.575 1.2216 460684801 460944001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.2+0113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   710.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

