/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 224 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin622
RA = 351.19, Dec = 8.0282
tmin = 400550401, tmax = 400809601
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='840642', job_status='RUN', time_executed='2021-09-29 16:19:17.335744', time_epoch_executed='1632957557.34' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='622'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840642/ft1_4FGL_J2324.7+0801_daily_bin622.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840642/ft1_4FGL_J2324.7+0801_daily_bin622.fits outfile=/scratch/kocevski/840642/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin622.fits ra=351.19 dec=8.0282 rad=12.0 tmin=400550401.0 tmax=400809601.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.54
user 4.15
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.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/840642/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin622.fits evtable="EVENTS" outfile="/scratch/kocevski/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits" evtable="EVENTS" scfile=/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits sctable="SC_DATA" outfile=/scratch/kocevski/840642/ltcube_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.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/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits
.....................!
real 12.16
user 11.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits sctable="SC_DATA" expcube=/scratch/kocevski/840642/ltcube_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.fits outfile=/scratch/kocevski/840642/expmap_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.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/840642/ltcube_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.fits
.....................!
real 191.25
user 185.99
sys 4.90

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/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits scfile=/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits outfile=/scratch/kocevski/840642/cmap_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits scfile=/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits outfile=/scratch/kocevski/840642/cmap_HighResolution_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840642/Model_4FGL_J2324.7+0801_daily_bin622.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/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits.....................!
real 79.09
user 77.65
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits', '/scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits', expMap='/scratch/kocevski/840642/expmap_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.fits', expCube='/scratch/kocevski/840642/ltcube_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/840642/Model_4FGL_J2324.7+0801_daily_bin622.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/840642/ft1_filtered_4FGL_J2324.7+0801_daily_bin622.fits
Spacecraft file(s): /scratch/kocevski/840642/ft2_4FGL_J2324.7+0801_daily_bin622.fits
Exposure map: /scratch/kocevski/840642/expmap_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.fits
Exposure cube: /scratch/kocevski/840642/ltcube_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/840642/Model_4FGL_J2324.7+0801_daily_bin622.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) = 7132.49030513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0461       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.456       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .30284E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.8174       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.879       1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.778       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.089       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    33.206       1.0000         .10000E-03   10000.    
    18 'norm      '    10.226       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8109       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8341       1.0000         .10000E-03   10000.    
    22 'Prefactor '    42.211       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.3375       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .89665       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0134       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=   7132.467     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2921 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.525       -.55169E-08** at limit **
   2  Prefactor     2.0461        .28817        .17839E-07   -.22770E-03
   3  norm          .10000E-03    9.6434        .25605E-06** at limit **
   4  Prefactor     34.458        39.418        .99933E-06    .13724E-04
   5  Prefactor     .10000E-03    1.8062        .25780E-08** at limit **
   6  Prefactor     .10000E-03    3.5147        .77585E-08** at limit **
   7  Prefactor     .10000E-03    5.5284        .13779E-06** at limit **
   8  Prefactor     .10000E-03    4.4924        .15539E-06** at limit **
   9  norm          .10000E-03    .51459       -.12093E-07** at limit **
  10  Prefactor     8.8159        11.555        .28369E-06   -.20412E-05
  11  Prefactor     16.881        22.655        .53324E-06    .29073E-05
  12  Prefactor     43.817        64.774        .68147E-05    .26251E-03
  13  norm          .10000E-03    4.6436       -.14463E-06** at limit **
  14  Prefactor     12.091        9.8618        .36066E-06    .13231E-06
  15  Prefactor     .10000E-03    69.998        .39604E-07** at limit **
  16  Prefactor     .10000E-03    8.1102       -.27761E-09** at limit **
  17  Prefactor     33.206        28.938        .30416E-06    .86454E-05
  18  norm          10.225        14.955        .13765E-06    .19240E-06
  19  norm          .10000E-03    11.303       -.21293E-06** at limit **
  20  Prefactor     1.8112        4.6257        .76573E-06   -.25931E-03
  21  Prefactor     7.8368        38.226        .11573E-05    .18554E-04
  22  Prefactor     42.208        28.276        .19604E-06   -.66516E-04
  23  Prefactor     5.3379        11.954        .57618E-05   -.29910E-03
  24  Normalizat    .89641        .23168       -.28257E-05    .19399E-04
  25  Prefactor     1.0135        .13277       -.77732E-07   -.82756E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.04613
  norm       = 0.0001
  Prefactor  = 34.4581
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.81587
  Prefactor  = 16.8814
  Prefactor  = 43.8174
  norm       = 0.0001
  Prefactor  = 12.0906
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.2064
  norm       = 10.2252
  norm       = 0.0001
  Prefactor  = 1.81118
  Prefactor  = 7.83682
  Prefactor  = 42.2081
  Prefactor  = 5.33788
  Normalizat = 0.89641
  Prefactor  = 1.01349
 **********
 **   18 **HESSE 
 **********

 FCN=   7132.467     FROM HESSE     STATUS=OK           429 CALLS     3350 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0461        .28829        .16362E-04   -1.5422    
   3  norm          .10000E-03    9.7051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.458        39.449        .68269E-04   -1.4533    
   5  Prefactor     .10000E-03    1.8088        .11084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.5224        .15463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.5256        .17470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.3513        .11571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.8159        11.536        .13498E-03   -1.5114    
  11  Prefactor     16.881        22.648        .97487E-04   -1.4886    
  12  Prefactor     43.817        68.903        .60592E-04   -1.4383    
  13  norm          .10000E-03    4.6602        .17748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.091        9.8794        .11521E-03   -1.5012    
  15  Prefactor     .10000E-03    69.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.1570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     33.206        28.928        .69539E-04   -1.4555    
  18  norm          10.225        14.960        .12530E-03   -1.5068    
  19  norm          .10000E-03    11.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8112        4.6404        .27669E-03   -1.5439    
  21  Prefactor     7.8368        38.146        .14326E-03   -1.5148    
  22  Prefactor     42.208        28.316        .61702E-04   -1.4408    
  23  Prefactor     5.3379        12.162        .86979E-03   -1.5246    
  24  Normalizat    .89641        .26272        .35387E-03   -.96586    
  25  Prefactor     1.0135        .15338        .20991E-03   -.92281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12179e-09
Minuit parameter uncertainties:
  1  2.90802e-05
  2  0.288285
  3  3.82066e-05
  4  39.4784
  5  1.51701e-06
  6  3.15778e-06
  7  5.34759e-06
  8  1.60433e-05
  9  2.78189e-05
  10  11.5393
  11  22.6597
  12  69.0288
  13  1.68473e-05
  14  9.88074
  15  2.03375e-05
  16  3.67053e-05
  17  28.9402
  18  14.9658
  19  3.30639e-05
  20  4.64135
  21  34.6156
  22  28.3249
  23  12.168
  24  0.263091
  25  0.153447
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.816e+00  1.154e+01  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.013e+00  1.534e-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:  8.964e-01  2.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840642/likelihoodResults_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.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) = 7132.42772663
delta logL = 0.0389652630074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7132.40899152
delta logL = 0.0577003766202

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7132.409     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      271 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5034        13.479        .78730E-03   -.13357E-04
   2  Index         2.5132        1.0348        .68487E-02    .31363E-03
   3  Normalizat    .88663        .24269        .35556E-03    .12790E-06
   4  Prefactor     1.0169        .15241        .20957E-03   -.13616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.50338
  Index      = 2.51321
  Normalizat = 0.886634
  Prefactor  = 1.01694
 **********
 **   18 **HESSE 
 **********

 FCN=   7132.409     FROM HESSE     STATUS=OK            27 CALLS      298 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5034        11.622        .31492E-04   -1.5198    
   2  Index         2.5132        .89393        .13697E-02   -.52055    
   3  Normalizat    .88663        .24237        .14222E-04   -.96931    
   4  Prefactor     1.0169        .15219        .83828E-05   -.92167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05579e-12
Minuit parameter uncertainties:
  1  11.6259
  2  0.900379
  3  0.242664
  4  0.15225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840642': 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) = 7132.40898629
delta logL = 0.0577056109878

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  6.503e+00  1.163e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.513e+00  9.004e-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.017e+00  1.522e-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:  8.866e-01  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/840642/cmap_HighResolution_400550401_400809601_4FGL_J2324.7+0801_daily_bin622.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.56e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-09-29 16:31:24.626426', job_id='840642', GAL2='1.02', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1632958284.63', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.77e-02', ts2='0.94', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='622' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:31:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 840642: <4FGL_J2324.7+0801_daily_bin622> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin622> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:15:22 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:15:24 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:15:24 2021
Terminated at Wed Sep 29 16:31:25 2021
Results reported at Wed Sep 29 16:31:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin622 351.19 8.0282 400550401 400809601 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 :                                   727.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             269.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            963 sec.

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

