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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin825
RA = 351.575, Dec = 1.2216
tmin = 453168001, tmax = 453427201
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='892950', job_status='RUN', time_executed='2021-09-29 18:58:34.537155', time_epoch_executed='1632967114.54' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='825'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892950

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892950/ft1_4FGL_J2326.2+0113_daily_bin825.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892950/ft2_4FGL_J2326.2+0113_daily_bin825.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892950/ft1_4FGL_J2326.2+0113_daily_bin825.fits outfile=/scratch/kocevski/892950/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin825.fits ra=351.575 dec=1.2216 rad=12.0 tmin=453168001.0 tmax=453427201.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.62
user 3.38
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892950/ft2_4FGL_J2326.2+0113_daily_bin825.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/892950/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin825.fits evtable="EVENTS" outfile="/scratch/kocevski/892950/ft1_filtered_4FGL_J2326.2+0113_daily_bin825.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.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892950/ft1_filtered_4FGL_J2326.2+0113_daily_bin825.fits evtable="EVENTS" scfile=/scratch/kocevski/892950/ft2_4FGL_J2326.2+0113_daily_bin825.fits sctable="SC_DATA" expcube=/scratch/kocevski/892950/ltcube_453168001_453427201_4FGL_J2326.2+0113_daily_bin825.fits outfile=/scratch/kocevski/892950/expmap_453168001_453427201_4FGL_J2326.2+0113_daily_bin825.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/892950/ltcube_453168001_453427201_4FGL_J2326.2+0113_daily_bin825.fits
.....................!
real 189.89
user 185.15
sys 4.44

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/892950/ft1_filtered_4FGL_J2326.2+0113_daily_bin825.fits scfile=/scratch/kocevski/892950/ft2_4FGL_J2326.2+0113_daily_bin825.fits outfile=/scratch/kocevski/892950/cmap_453168001_453427201_4FGL_J2326.2+0113_daily_bin825.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892950/ft1_filtered_4FGL_J2326.2+0113_daily_bin825.fits scfile=/scratch/kocevski/892950/ft2_4FGL_J2326.2+0113_daily_bin825.fits outfile=/scratch/kocevski/892950/cmap_HighResolution_453168001_453427201_4FGL_J2326.2+0113_daily_bin825.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5631       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.804       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6398       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0294       1.0000         .10000E-03   10000.    
     8 'norm      '    1.7634       1.0000         .10000E-03   10000.    
     9 'norm      '    4.6000       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1626       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11197E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.2155       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23231E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .82427E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2572       1.0000         .10000E-03   10000.    
    17 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    94.886       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.801       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.3032       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.796       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4405       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63237       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=   6105.415     FROM MIGRAD    STATUS=CONVERGED    961 CALLS     3173 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5613        32.210        .25499E-03   -.67323E-05
   2  norm          .10000E-03    6.3676        .18142E-02** at limit **
   3  Prefactor     20.800        31.740        .87815E-04   -.76382E-05
   4  Prefactor     6.6396        12.206        .15573E-03   -.70813E-05
   5  Prefactor     .10000E-03    12.165        .18142E-02** at limit **
   6  Prefactor     .10000E-03    66.536        .18142E-02** at limit **
   7  Prefactor     2.0495        26.259        .29041E-03    .24350E-04
   8  norm          1.7620        1.0704        .31548E-04    .65694E-03
   9  norm          4.5863        11.445        .18767E-03    .10419E-03
  10  Prefactor     2.1672        11.229        .28009E-03    .35881E-04
  11  Prefactor     .10001E-03    116.37        .18142E-02** at limit **
  12  norm          4.2144        6.6682        .19627E-03   -.58445E-04
  13  Prefactor     .10000E-03    4.4185        .15941E-02** at limit **
  14  Prefactor     .10002E-03    236.41        .20090E-02** at limit **
  15  Prefactor     .10005E-03    18.475        .65857E-01** at limit **
  16  Prefactor     9.2598        20.661        .13172E-03   -.13378E-04
  17  norm          .10000E-03    28.515        .18142E-02** at limit **
  18  Prefactor     94.875        68.789        .41261E-04   -.17083E-04
  19  Prefactor     11.799        7.1780        .11661E-03    .10906E-02
  20  Prefactor     .10000E-03    31.605        .18142E-02** at limit **
  21  Prefactor     9.3045        15.904        .65698E-03   -.36149E-04
  22  Prefactor     33.795        23.710        .68930E-04    .38264E-04
  23  Normalizat    1.4408        .25732        .25637E-03    .82915E-04
  24  Prefactor     .63221        .15737        .24116E-03    .22378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56128
  norm       = 0.0001
  Prefactor  = 20.8003
  Prefactor  = 6.63963
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.04954
  norm       = 1.76201
  norm       = 4.58633
  Prefactor  = 2.16723
  Prefactor  = 0.000100007
  norm       = 4.21445
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.000100054
  Prefactor  = 9.25979
  norm       = 0.0001
  Prefactor  = 94.875
  Prefactor  = 11.7992
  Prefactor  = 0.0001
  Prefactor  = 9.30452
  Prefactor  = 33.7953
  Normalizat = 1.44075
  Prefactor  = 0.632209
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.415     FROM HESSE     STATUS=OK           383 CALLS     3556 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5613        32.198        .10200E-04   -1.5388    
   2  norm          .10000E-03    6.3685        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.800        31.745        .35126E-05   -1.4796    
   4  Prefactor     6.6396        12.206        .62292E-05   -1.5193    
   5  Prefactor     .10000E-03    12.167        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    66.538        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.0495        25.992        .11616E-04   -1.5422    
   8  norm          1.7620        1.0703        .12619E-05   -1.5442    
   9  norm          4.5863        11.388        .75069E-05   -1.5280    
  10  Prefactor     2.1672        11.213        .11204E-04   -1.5414    
  11  Prefactor     .10001E-03    116.41        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.2144        6.6651        .78508E-05   -1.5297    
  13  Prefactor     .10000E-03    4.4198        .31883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    236.43        .40179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10005E-03    15.479        .73579E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.2598        20.656        .52689E-05   -1.5099    
  17  norm          .10000E-03    28.519        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     94.875        68.784        .82521E-05   -1.3757    
  19  Prefactor     11.799        7.1473        .46645E-05   -1.5021    
  20  Prefactor     .10000E-03    31.611        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.3045        15.902        .26279E-04   -1.5098    
  22  Prefactor     33.795        23.707        .27572E-05   -1.4545    
  23  Normalizat    1.4408        .25753        .51275E-04   -.79457    
  24  Prefactor     .63221        .15752        .96466E-05   -1.0625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.06817e-10
Minuit parameter uncertainties:
  1  18.1741
  2  8.51979e-07
  3  31.7709
  4  12.2101
  5  3.09744e-07
  6  0.000647207
  7  14.605
  8  1.07033
  9  11.3938
  10  9.86199
  11  0.00181713
  12  6.66623
  13  2.6135e-05
  14  0.00381313
  15  0.0018368
  16  20.6717
  17  1.11074e-06
  18  68.8423
  19  7.14778
  20  1.75392e-05
  21  15.9095
  22  23.7134
  23  0.257768
  24  0.157626
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.817e-03  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.322e-01  1.576e-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.441e+00  2.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/892950/likelihoodResults_453168001_453427201_4FGL_J2326.2+0113_daily_bin825.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): 102
logL (Free Index) = 6105.41541771
delta logL = -4.08179776059e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6105.23513151
delta logL = 0.180245379944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40174       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0751       1.0000          .0000       10.000    
     3 'Normalizat'    1.3975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64856       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.

 FCN=   6105.235     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      409 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39209        13.010        .10863E-01    .19196E-02
   2  Index         4.0838        2.7959        .10258        .18403E-03
   3  Normalizat    1.3976        .38126E-01    .58711E-01    .79359E-05
   4  Prefactor     .64824        .24950E-01    .41712E-01    .20787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.392085
  Index      = 4.08378
  Normalizat = 1.39759
  Prefactor  = 0.648238
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.235     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      442 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39209        55.333        .80186E-04   -1.5583    
   2  Index         4.0838        6.8591        .67240E-02   -.18428    
   3  Normalizat    1.3976        .18006        .25964E-03   -.80698    
   4  Prefactor     .64824        .11573        .23844E-03   -1.0559    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94619e-09
Minuit parameter uncertainties:
  1  9.32323
  2  8.70666
  3  0.180144
  4  0.115773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892950': 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): 102
logL (Free Index) = 6105.23512062
delta logL = 0.180256271265

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.921e-01  9.323e+00  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  4.084e+00  8.707e+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:  6.482e-01  1.158e-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.398e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.575 1.222

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/892950/cmap_HighResolution_453168001_453427201_4FGL_J2326.2+0113_daily_bin825.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', job_status='DONE', photon_flux_upper_limit='7.88e-08', time_completed='2021-09-29 19:10:00.874838', job_id='892950', GAL2='0.65', fit_tolerance='1e-08', EG2='1.40', EG='1.44', time_epoch_completed='1632967800.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='1.80e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='825' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:10:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 892950: <4FGL_J2326.2+0113_daily_bin825> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin825 351.575 1.2216 453168001 453427201 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 :                                   683.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            873 sec.

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

