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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin419
RA = 351.19, Dec = 8.0282
tmin = 347932801, tmax = 348192001
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='839234', job_status='RUN', time_executed='2021-09-29 16:11:10.919358', time_epoch_executed='1632957070.92' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='419'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839234

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839234/ft1_4FGL_J2324.7+0801_daily_bin419.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839234/ft1_4FGL_J2324.7+0801_daily_bin419.fits outfile=/scratch/kocevski/839234/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin419.fits ra=351.19 dec=8.0282 rad=12.0 tmin=347932801.0 tmax=348192001.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.41
user 3.19
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.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/839234/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin419.fits evtable="EVENTS" outfile="/scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits" evtable="EVENTS" scfile=/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits sctable="SC_DATA" outfile=/scratch/kocevski/839234/ltcube_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.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/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits
.....................!
real 11.77
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits sctable="SC_DATA" expcube=/scratch/kocevski/839234/ltcube_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.fits outfile=/scratch/kocevski/839234/expmap_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.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/839234/ltcube_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.fits
.....................!
real 190.04
user 184.91
sys 4.83

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

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits scfile=/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits outfile=/scratch/kocevski/839234/cmap_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.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.19 yref=8.0282 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits scfile=/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits outfile=/scratch/kocevski/839234/cmap_HighResolution_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.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.19 yref=8.0282 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839234/Model_4FGL_J2324.7+0801_daily_bin419.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/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits.....................!
real 66.84
user 65.59
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits', '/scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits', expMap='/scratch/kocevski/839234/expmap_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.fits', expCube='/scratch/kocevski/839234/ltcube_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/839234/Model_4FGL_J2324.7+0801_daily_bin419.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/839234/ft1_filtered_4FGL_J2324.7+0801_daily_bin419.fits
Spacecraft file(s): /scratch/kocevski/839234/ft2_4FGL_J2324.7+0801_daily_bin419.fits
Exposure map: /scratch/kocevski/839234/expmap_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.fits
Exposure cube: /scratch/kocevski/839234/ltcube_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/839234/Model_4FGL_J2324.7+0801_daily_bin419.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) = 6053.46662229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.996       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .58662E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3060       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.117       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1910       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.8434       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.8840       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.6648       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.686       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.5831       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    67.473       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.8567       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.2807       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79551       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6053.454     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2888 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.010        22.066       -.28474E-06   -.26462E-04
   2  Prefactor     .58513E-01    .12418        .88688E-07    .23769E-04
   3  norm          .10000E-03    7.6326        .77197E-07** at limit **
   4  Prefactor     .10000E-03    11.104        .61598E-07** at limit **
   5  Prefactor     2.3111        8.7122        .10013E-05   -.33560E-04
   6  Prefactor     10.116        10.885        .28224E-07   -.14612E-04
   7  Prefactor     .10000E-03    8.6784        .13133E-06** at limit **
   8  Prefactor     .10000E-03    2.9129       -.73169E-07** at limit **
   9  norm          3.1905        1.6972        .30234E-07   -.32177E-04
  10  Prefactor     4.8422        7.6299       -.15478E-06    .14159E-04
  11  Prefactor     5.8619        20.788        .99107E-06   -.10134E-04
  12  Prefactor     .10000E-03    22.280        .31203E-06** at limit **
  13  norm          .10000E-03    10.435       -.99673E-06** at limit **
  14  Prefactor     8.6628        7.1402        .21236E-05   -.18412E-05
  15  Prefactor     .10000E-03    77.524        .47238E-06** at limit **
  16  Prefactor     17.717        25.066        .11586E-05    .20634E-04
  17  Prefactor     .10000E-03    35.301       -.44431E-06** at limit **
  18  norm          .10000E-03    8.0928       -.33211E-07** at limit **
  19  norm          8.5077        44.728       -.24910E-05   -.51648E-04
  20  Prefactor     .10000E-03    1.7758        .42485E-06** at limit **
  21  Prefactor     67.459        43.680        .13842E-06   -.28379E-04
  22  Prefactor     3.8368        28.633        .10783E-05    .45886E-06
  23  Prefactor     2.2805        5.7117        .78603E-06   -.19463E-04
  24  Normalizat    .79584        .23838       -.45929E-05    .49071E-04
  25  Prefactor     1.0413        .14180        .13698E-05   -.22457E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0098
  Prefactor  = 0.0585126
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.31109
  Prefactor  = 10.1165
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.1905
  Prefactor  = 4.84218
  Prefactor  = 5.86191
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.66284
  Prefactor  = 0.0001
  Prefactor  = 17.7165
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.50766
  Prefactor  = 0.0001
  Prefactor  = 67.4593
  Prefactor  = 3.83678
  Prefactor  = 2.28046
  Normalizat = 0.795841
  Prefactor  = 1.04131
 **********
 **   18 **HESSE 
 **********

 FCN=   6053.454     FROM HESSE     STATUS=OK           427 CALLS     3315 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.010        21.574        .10706E-03   -1.4959    
   2  Prefactor     .58513E-01    .11999        .34688E-04   -1.5660    
   3  norm          .10000E-03    7.6513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3111        8.5207        .27021E-03   -1.5404    
   6  Prefactor     10.116        10.873        .12598E-03   -1.5072    
   7  Prefactor     .10000E-03    8.6942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.9226        .12946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1905        1.6945        .67948E-04   -1.5351    
  10  Prefactor     4.8422        7.6052        .18279E-03   -1.5268    
  11  Prefactor     5.8619        20.778        .16555E-03   -1.5224    
  12  Prefactor     .10000E-03    22.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.832        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.6628        7.2037        .68088E-03   -1.5119    
  15  Prefactor     .10000E-03    77.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.717        25.152        .95235E-04   -1.4866    
  17  Prefactor     .10000E-03    36.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.1137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.5077        45.413        .13683E-03   -1.5125    
  20  Prefactor     .10000E-03    1.7804        .10123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     67.459        43.685        .48863E-04   -1.4063    
  22  Prefactor     3.8368        28.541        .20549E-03   -1.5316    
  23  Prefactor     2.2805        5.6908        .27188E-03   -1.5406    
  24  Normalizat    .79584        .26369        .32693E-03   -1.0022    
  25  Prefactor     1.0413        .16181        .18634E-03   -.91365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52806e-10
Minuit parameter uncertainties:
  1  21.586
  2  0.119986
  3  5.22291e-06
  4  1.65227e-05
  5  8.52516
  6  10.8753
  7  1.20457e-05
  8  2.65799e-07
  9  1.69456
  10  7.60676
  11  20.8041
  12  1.1068e-05
  13  0.000137059
  14  7.20447
  15  0.000150685
  16  25.1674
  17  8.21449e-05
  18  2.43097e-07
  19  39.3583
  20  3.14325e-07
  21  43.7056
  22  20.9427
  23  5.69218
  24  0.264119
  25  0.161889
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.842e+00  7.607e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.041e+00  1.619e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  7.958e-01  2.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.62
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 9.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/839234/likelihoodResults_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.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) = 6053.45049669
delta logL = 0.00363140184345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6053.44909299
delta logL = 0.0050351023674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4093       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3234       1.0000          .0000       10.000    
     3 'Normalizat'    .79402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0419       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   6053.449     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      237 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4084        8.9425        .19179E-03    .69763E-03
   2  Index         2.3235        1.0237        .10116E-01    .16375E-03
   3  Normalizat    .79404        .24553        .32728E-03   -.21367E-03
   4  Prefactor     1.0419        .15893        .18628E-03   -.43722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.40842
  Index      = 2.32351
  Normalizat = 0.794043
  Prefactor  = 1.04191
 **********
 **   18 **HESSE 
 **********

 FCN=   6053.449     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4084        8.3245        .76716E-05   -1.5288    
   2  Index         2.3235        .95425        .40462E-03   -.56486    
   3  Normalizat    .79404        .24557        .13091E-04   -1.0029    
   4  Prefactor     1.0419        .15899        .37257E-04   -.91345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06263e-09
Minuit parameter uncertainties:
  1  8.32673
  2  0.962566
  3  0.245917
  4  0.159062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839234': 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) = 6053.44909298
delta logL = 0.0050351124919

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.408e+00  8.327e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.324e+00  9.626e-01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.042e+00  1.591e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  7.940e-01  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
Ra Dec: 351.190 8.028

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/839234/cmap_HighResolution_347932801_348192001_4FGL_J2324.7+0801_daily_bin419.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.29e-08', time_completed='2021-09-29 16:22:05.757311', job_id='839234', GAL2='1.04', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1632957725.76', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='5.04e-03', ts2='0.63', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='419' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:22:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 839234: <4FGL_J2324.7+0801_daily_bin419> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin419> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:10:16 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:10:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:10:18 2021
Terminated at Wed Sep 29 16:22:06 2021
Results reported at Wed Sep 29 16:22:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin419 351.19 8.0282 347932801 348192001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            710 sec.

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

