/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 117 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_bin894
RA = 351.575, Dec = 1.2216
tmin = 471052801, tmax = 471312001
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='893056', job_status='RUN', time_executed='2021-09-29 18:57:47.805995', time_epoch_executed='1632967067.81' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='894'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893056

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893056/ft1_4FGL_J2326.2+0113_daily_bin894.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893056/ft1_4FGL_J2326.2+0113_daily_bin894.fits outfile=/scratch/kocevski/893056/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin894.fits ra=351.575 dec=1.2216 rad=12.0 tmin=471052801.0 tmax=471312001.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.05
user 3.83
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.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/893056/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin894.fits evtable="EVENTS" outfile="/scratch/kocevski/893056/ft1_filtered_4FGL_J2326.2+0113_daily_bin894.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.51
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893056/ft1_filtered_4FGL_J2326.2+0113_daily_bin894.fits" evtable="EVENTS" scfile=/scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits sctable="SC_DATA" outfile=/scratch/kocevski/893056/ltcube_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.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/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits
.....................!
real 11.76
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893056/ft1_filtered_4FGL_J2326.2+0113_daily_bin894.fits evtable="EVENTS" scfile=/scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits sctable="SC_DATA" expcube=/scratch/kocevski/893056/ltcube_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.fits outfile=/scratch/kocevski/893056/expmap_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.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/893056/ltcube_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.fits
.....................!
real 191.09
user 186.19
sys 4.51

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/893056/ft1_filtered_4FGL_J2326.2+0113_daily_bin894.fits scfile=/scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits outfile=/scratch/kocevski/893056/cmap_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.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.55
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893056/ft1_filtered_4FGL_J2326.2+0113_daily_bin894.fits scfile=/scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits outfile=/scratch/kocevski/893056/cmap_HighResolution_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.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.57
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/893056/ft1_filtered_4FGL_J2326.2+0113_daily_bin894.fits', '/scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits', expMap='/scratch/kocevski/893056/expmap_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.fits', expCube='/scratch/kocevski/893056/ltcube_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/893056/Model_4FGL_J2326.2+0113_daily_bin894.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/893056/ft1_filtered_4FGL_J2326.2+0113_daily_bin894.fits
Spacecraft file(s): /scratch/kocevski/893056/ft2_4FGL_J2326.2+0113_daily_bin894.fits
Exposure map: /scratch/kocevski/893056/expmap_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.fits
Exposure cube: /scratch/kocevski/893056/ltcube_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/893056/Model_4FGL_J2326.2+0113_daily_bin894.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) = 6351.98341188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.261       1.0000         .10000E-03   10000.    
     2 'norm      '    .17278       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1935       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7853       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7742       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1969       1.0000         .10000E-03   10000.    
     8 'norm      '    4.7889       1.0000         .10000E-03   10000.    
     9 'norm      '    3.7663       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.203       1.0000         .10000E-03   10000.    
    12 'norm      '    26.209       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    230.70       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6053       1.0000         .10000E-03   10000.    
    16 'Prefactor '    45.838       1.0000         .10000E-03   10000.    
    17 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19393E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.136       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57235       1.0000         .10000E-01   10.000    
    24 '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.

 FCN=   6351.964     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2759 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.269        17.427       -.10206E-05   -.19632E-03
   2  norm          .36944        9.2276        .18091E-06    .64692E-04
   3  Prefactor     7.1774        44.796        .16121E-05    .21743E-04
   4  Prefactor     4.7874        9.0755        .32947E-05   -.41846E-03
   5  Prefactor     5.7778        17.391        .18585E-05    .90599E-04
   6  Prefactor     .10000E-03    25.293       -.12011E-06** at limit **
   7  Prefactor     6.1978        6.3584        .29573E-07   -.16004E-04
   8  norm          4.7886        1.4137       -.16227E-06   -.17869E-03
   9  norm          3.7665        3.8803        .50645E-08   -.79607E-05
  10  Prefactor     .10000E-03    9.5134        .14499E-06** at limit **
  11  Prefactor     40.093        66.915       -.16175E-04   -.44363E-03
  12  norm          26.215        12.571       -.20305E-06   -.41036E-04
  13  Prefactor     .10000E-03    3.2109        .52596E-07** at limit **
  14  Prefactor     230.71        177.93       -.26826E-05    .25532E-04
  15  Prefactor     3.6216        10.824        .11829E-04   -.60164E-03
  16  Prefactor     45.852        37.624        .14867E-05    .11438E-03
  17  norm          .10000E-03    33.414       -.28359E-05** at limit **
  18  Prefactor     .10000E-03    167.52        .31657E-05** at limit **
  19  Prefactor     .10000E-03    2.1200       -.48938E-06** at limit **
  20  Prefactor     .10000E-03    13.590       -.21347E-06** at limit **
  21  Prefactor     20.144        19.694       -.10805E-05   -.24948E-03
  22  Prefactor     .10000E-03    19.742        .31752E-06** at limit **
  23  Normalizat    .57219        .21768       -.18947E-05   -.26312E-04
  24  Prefactor     1.1200        .14360        .20560E-06   -.73907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.269
  norm       = 0.369443
  Prefactor  = 7.17735
  Prefactor  = 4.78744
  Prefactor  = 5.77782
  Prefactor  = 0.0001
  Prefactor  = 6.19784
  norm       = 4.78864
  norm       = 3.76646
  Prefactor  = 0.0001
  Prefactor  = 40.0926
  norm       = 26.2155
  Prefactor  = 0.0001
  Prefactor  = 230.709
  Prefactor  = 3.62161
  Prefactor  = 45.8524
  norm       = 0.000100005
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1441
  Prefactor  = 0.0001
  Normalizat = 0.572193
  Prefactor  = 1.12003
 **********
 **   18 **HESSE 
 **********

 FCN=   6351.964     FROM HESSE     STATUS=OK           397 CALLS     3156 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.269        17.492        .11939E-03   -1.5036    
   2  norm          .36944        97.889        .44758E-02   -1.5586    
   3  Prefactor     7.1774        44.681        .14956E-03   -1.5172    
   4  Prefactor     4.7874        9.1145        .91959E-03   -1.5270    
   5  Prefactor     5.7778        17.401        .16714E-03   -1.5227    
   6  Prefactor     .10000E-03    25.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1978        6.3516        .16126E-03   -1.5210    
   8  norm          4.7886        1.4137        .47596E-04   -1.5270    
   9  norm          3.7665        3.8768        .15276E-03   -1.5320    
  10  Prefactor     .10000E-03    9.5463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     40.093        70.804        .63217E-04   -1.4441    
  12  norm          26.215        12.551        .78251E-04   -1.4683    
  13  Prefactor     .10000E-03    3.2199        .13936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     230.71        178.26        .13322E-03   -1.2658    
  15  Prefactor     3.6216        11.113        .10640E-02   -1.5327    
  16  Prefactor     45.852        37.644        .59221E-04   -1.4353    
  17  norm          .10000E-03    34.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    171.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1472        .11339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.144        19.770        .89258E-04   -1.4810    
  22  Prefactor     .10000E-03    19.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .57219        .23839        .37406E-03   -1.0918    
  24  Prefactor     1.1200        .15998        .19230E-03   -.88829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45068e-09
Minuit parameter uncertainties:
  1  17.4998
  2  12.0457
  3  35.8552
  4  9.11713
  5  17.4163
  6  6.03607e-05
  7  6.35232
  8  1.41375
  9  3.87705
  10  1.32991e-05
  11  70.9529
  12  12.5527
  13  1.29891e-06
  14  178.685
  15  11.1193
  16  37.663
  17  0.000805722
  18  0.000766865
  19  3.92304e-05
  20  2.10021e-05
  21  19.7768
  22  1.15553e-05
  23  0.238819
  24  0.160049
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.009e+01  7.095e+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.120e+00  1.600e-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:  5.722e-01  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.39
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/893056/likelihoodResults_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.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) = 6351.22998872
delta logL = 0.733523309144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6351.20726087
delta logL = 0.756251158067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2234       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2580       1.0000          .0000       10.000    
     3 'Normalizat'    .49875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1483       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6351.207     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      377 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1876        259.49        .65982E-03   -.20324E-03
   2  Index         3.2605        3.6384        .41198E-02   -.34450E-04
   3  Normalizat    .49811        .21625        .39873E-03   -.35552E-03
   4  Prefactor     1.1484        .15292        .19001E-03   -.72857E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.18764
  Index      = 3.26049
  Normalizat = 0.498108
  Prefactor  = 1.14841
 **********
 **   18 **HESSE 
 **********

 FCN=   6351.207     FROM HESSE     STATUS=OK            25 CALLS      402 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1876        25.917        .26393E-04   -1.5102    
   2  Index         3.2605        1.0917        .16479E-03   -.35533    
   3  Normalizat    .49811        .23317        .15949E-04   -1.1250    
   4  Prefactor     1.1484        .16056        .38002E-04   -.87934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47905e-10
Minuit parameter uncertainties:
  1  25.9487
  2  1.10187
  3  0.233629
  4  0.160624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893056': 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) = 6351.20724994
delta logL = 0.756262085464

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  9.188e+00  2.595e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  3.260e+00  1.102e+00  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.148e+00  1.606e-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:  4.981e-01  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 351.575 1.222
Photon Index (Free Index): 3.26 +/- 1.10
Photon Flux (Free Index): 9.28e-08 +/- 7.76e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.39e-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/893056/cmap_HighResolution_471052801_471312001_4FGL_J2326.2+0113_daily_bin894.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.00e-03', comment='SUCCESS', energy_flux2='1.66e-05', dlogl='7.56e-01', photon_flux2='9.28e-08', job_status='DONE', time_completed='2021-09-29 19:08:50.595990', photon_index_error2='1.10', photon_index2='3.26', ts='0.39', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.39e-05', EG='0.57', time_epoch_completed='1632967730.6', return_code='0', job_id='893056', GAL2='1.15', EG2='0.50', return_code2='0', photon_flux_error2='7.76e-08', ts2='2.02', photon_index='2.12' WHERE bin_id='894' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:08:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 893056: <4FGL_J2326.2+0113_daily_bin894> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin894> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 18:55:39 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:55:40 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:40 2021
Terminated at Wed Sep 29 19:08:51 2021
Results reported at Wed Sep 29 19:08:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin894 351.575 1.2216 471052801 471312001 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 :                                   656.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            792 sec.

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

