/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 = 7411
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2326.2+0113_daily_bin415
RA = 351.575, Dec = 1.2216
tmin = 346896001, tmax = 347155201
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='891298', job_status='RUN', time_executed='2021-09-29 18:53:04.853111', time_epoch_executed='1632966784.85' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891298

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891298/ft1_4FGL_J2326.2+0113_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891298/ft2_4FGL_J2326.2+0113_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891298/ft1_4FGL_J2326.2+0113_daily_bin415.fits outfile=/scratch/kocevski/891298/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin415.fits ra=351.575 dec=1.2216 rad=12.0 tmin=346896001.0 tmax=347155201.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.46
user 3.24
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891298/ft2_4FGL_J2326.2+0113_daily_bin415.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/891298/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin415.fits evtable="EVENTS" outfile="/scratch/kocevski/891298/ft1_filtered_4FGL_J2326.2+0113_daily_bin415.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.48
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891298/ft1_filtered_4FGL_J2326.2+0113_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/891298/ft2_4FGL_J2326.2+0113_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/891298/ltcube_346896001_347155201_4FGL_J2326.2+0113_daily_bin415.fits outfile=/scratch/kocevski/891298/expmap_346896001_347155201_4FGL_J2326.2+0113_daily_bin415.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/891298/ltcube_346896001_347155201_4FGL_J2326.2+0113_daily_bin415.fits
.....................!
real 189.93
user 185.08
sys 4.49

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/891298/ft1_filtered_4FGL_J2326.2+0113_daily_bin415.fits scfile=/scratch/kocevski/891298/ft2_4FGL_J2326.2+0113_daily_bin415.fits outfile=/scratch/kocevski/891298/cmap_346896001_347155201_4FGL_J2326.2+0113_daily_bin415.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.59
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891298/ft1_filtered_4FGL_J2326.2+0113_daily_bin415.fits scfile=/scratch/kocevski/891298/ft2_4FGL_J2326.2+0113_daily_bin415.fits outfile=/scratch/kocevski/891298/cmap_HighResolution_346896001_347155201_4FGL_J2326.2+0113_daily_bin415.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.50
user 0.36
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3978       1.0000         .10000E-03   10000.    
     2 'norm      '    25.111       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.991       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5817       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.444       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.203       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.769       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.674       1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.880       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4894       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .65094       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=   7176.018     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2675 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3951        18.121       -.14563E-05   -.38104E-04
   2  norm          25.107        16.330        .25507E-08    .75983E-05
   3  Prefactor     .10000E-03    22.570       -.13548E-04** at limit **
   4  Prefactor     .10000E-03    10.155        .36425E-05** at limit **
   5  Prefactor     49.986        25.876       -.12879E-05    .34757E-04
   6  Prefactor     .10000E-03    15.979        .40819E-05** at limit **
   7  Prefactor     .10000E-03    4.0965       -.36692E-07** at limit **
   8  norm          1.5813        .87125       -.94228E-09    .45472E-04
   9  norm          .10000E-03    3.6913       -.53568E-07** at limit **
  10  Prefactor     19.447        10.666       -.30799E-07    .16949E-04
  11  Prefactor     34.187        59.003       -.21482E-04    .42576E-05
  12  norm          .10000E-03    3.0325       -.57270E-07** at limit **
  13  Prefactor     .10000E-03    6.3680       -.70645E-07** at limit **
  14  Prefactor     .10000E-03    66.551       -.34645E-05** at limit **
  15  Prefactor     19.766        13.103        .92854E-06   -.21367E-04
  16  Prefactor     .10000E-03    10.549       -.13655E-05** at limit **
  17  norm          .10000E-03    16.634        .14960E-05** at limit **
  18  Prefactor     .10000E-03    28.465        .11405E-04** at limit **
  19  Prefactor     .10000E-03    2.3228       -.11796E-07** at limit **
  20  Prefactor     32.670        45.627       -.47642E-05    .12665E-04
  21  Prefactor     29.879        20.586       -.14826E-06    .17545E-04
  22  Prefactor     .10000E-03    10.816       -.37502E-05** at limit **
  23  Normalizat    1.4896        .20295        .15652E-05   -.76472E-05
  24  Prefactor     .65083        .12868        .60786E-06    .79563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.3951
  norm       = 25.1074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.9861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.58134
  norm       = 0.0001
  Prefactor  = 19.4467
  Prefactor  = 34.187
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7657
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.6696
  Prefactor  = 29.8792
  Prefactor  = 0.0001
  Normalizat = 1.48962
  Prefactor  = 0.650829
 **********
 **   18 **HESSE 
 **********

 FCN=   7176.018     FROM HESSE     STATUS=OK           395 CALLS     3070 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3951        18.143        .17297E-03   -1.5243    
   2  norm          25.107        16.369        .79940E-04   -1.4705    
   3  Prefactor     .10000E-03    22.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     49.986        25.891        .56719E-04   -1.4293    
   6  Prefactor     .10000E-03    15.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1141        .16740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5813        .87071        .55918E-04   -1.5456    
   9  norm          .10000E-03    3.7386        .15885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.447        10.664        .90831E-04   -1.4826    
  11  Prefactor     34.187        59.014        .68520E-04   -1.4538    
  12  norm          .10000E-03    3.0418        .14402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.4892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    66.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.766        13.091        .90082E-04   -1.4819    
  16  Prefactor     .10000E-03    10.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    16.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.3490        .12566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.670        45.675        .70101E-04   -1.4564    
  21  Prefactor     29.879        20.590        .73296E-04   -1.4614    
  22  Prefactor     .10000E-03    10.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4896        .23672        .26126E-03   -.78070    
  24  Prefactor     .65083        .14852        .24906E-03   -1.0549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95052e-11
Minuit parameter uncertainties:
  1  18.1612
  2  16.3721
  3  2.42629e-06
  4  2.61932e-05
  5  25.8971
  6  1.53042e-05
  7  1.05984e-05
  8  0.870718
  9  1.3335e-05
  10  10.6648
  11  59.1152
  12  3.12013e-06
  13  1.83738e-05
  14  8.0093e-06
  15  13.0926
  16  5.44925e-08
  17  1.06739e-05
  18  3.50453e-05
  19  5.24343e-06
  20  45.724
  21  20.5953
  22  8.89443e-06
  23  0.236897
  24  0.148606
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.419e+01  5.912e+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:  6.508e-01  1.486e-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:  1.490e+00  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891298/likelihoodResults_346896001_347155201_4FGL_J2326.2+0113_daily_bin415.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) = 7175.33965418
delta logL = 0.678100715813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7175.31943882
delta logL = 0.698316072529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.160       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1351       1.0000          .0000       10.000    
     3 'Normalizat'    1.4308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67135       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=   7175.319     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      295 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.154        216.49        .11993E-03   -.38658E-03
   2  Index         3.1354        3.2525        .46914E-02   -.15946E-03
   3  Normalizat    1.4308        .24627        .26515E-03    .48985E-03
   4  Prefactor     .67136        .15958        .24526E-03    .47840E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1535
  Index      = 3.13537
  Normalizat = 1.43082
  Prefactor  = 0.671358
 **********
 **   18 **HESSE 
 **********

 FCN=   7175.319     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.154        24.013        .47971E-05   -1.5040    
   2  Index         3.1354        .87095        .18766E-03   -.38216    
   3  Normalizat    1.4308        .23047        .53030E-04   -.79741    
   4  Prefactor     .67136        .14915        .49052E-04   -1.0466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37237e-10
Minuit parameter uncertainties:
  1  24.0338
  2  0.876152
  3  0.230641
  4  0.149235
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891298': 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) = 7175.31943877
delta logL = 0.698316125732

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.115e+01  2.403e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  3.135e+00  8.762e-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:  6.714e-01  1.492e-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:  1.431e+00  2.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 351.575 1.222
Photon Index (Free Index): 3.14 +/- 0.88
Photon Flux (Free Index): 8.11e-08 +/- 7.18e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.27e-05

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/891298/cmap_HighResolution_346896001_347155201_4FGL_J2326.2+0113_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-03', comment='SUCCESS', energy_flux2='1.52e-05', dlogl='6.98e-01', photon_flux2='8.11e-08', job_status='DONE', time_completed='2021-09-29 19:04:40.757709', photon_index_error2='0.88', photon_index2='3.14', ts='0.43', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.27e-05', EG='1.49', time_epoch_completed='1632967480.76', return_code='0', job_id='891298', GAL2='0.67', EG2='1.43', return_code2='0', photon_flux_error2='7.18e-08', ts2='1.87', photon_index='2.12' WHERE bin_id='415' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:04:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 891298: <4FGL_J2326.2+0113_daily_bin415> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin415> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:50:19 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:50:20 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:50:20 2021
Terminated at Wed Sep 29 19:04:41 2021
Results reported at Wed Sep 29 19:04:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin415 351.575 1.2216 346896001 347155201 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 :                                   695.40 sec.
    Max Memory :                                 1246 MB
    Average Memory :                             296.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            862 sec.

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

