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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1194
RA = 351.19, Dec = 8.0282
tmin = 548812801, tmax = 549072001
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='843648', job_status='RUN', time_executed='2021-09-29 16:27:50.060208', time_epoch_executed='1632958070.06' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843648

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843648/ft1_4FGL_J2324.7+0801_daily_bin1194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843648/ft2_4FGL_J2324.7+0801_daily_bin1194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843648/ft1_4FGL_J2324.7+0801_daily_bin1194.fits outfile=/scratch/kocevski/843648/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1194.fits ra=351.19 dec=8.0282 rad=12.0 tmin=548812801.0 tmax=549072001.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 2.86
user 2.61
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843648/ft1_filtered_4FGL_J2324.7+0801_daily_bin1194.fits" evtable="EVENTS" scfile=/scratch/kocevski/843648/ft2_4FGL_J2324.7+0801_daily_bin1194.fits sctable="SC_DATA" outfile=/scratch/kocevski/843648/ltcube_548812801_549072001_4FGL_J2324.7+0801_daily_bin1194.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/843648/ft2_4FGL_J2324.7+0801_daily_bin1194.fits
.....................!
real 12.66
user 12.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843648/ft1_filtered_4FGL_J2324.7+0801_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/843648/ft2_4FGL_J2324.7+0801_daily_bin1194.fits sctable="SC_DATA" expcube=/scratch/kocevski/843648/ltcube_548812801_549072001_4FGL_J2324.7+0801_daily_bin1194.fits outfile=/scratch/kocevski/843648/expmap_548812801_549072001_4FGL_J2324.7+0801_daily_bin1194.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/843648/ltcube_548812801_549072001_4FGL_J2324.7+0801_daily_bin1194.fits
.....................!
real 192.54
user 186.17
sys 4.80

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/843648/ft1_filtered_4FGL_J2324.7+0801_daily_bin1194.fits scfile=/scratch/kocevski/843648/ft2_4FGL_J2324.7+0801_daily_bin1194.fits outfile=/scratch/kocevski/843648/cmap_548812801_549072001_4FGL_J2324.7+0801_daily_bin1194.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843648/ft1_filtered_4FGL_J2324.7+0801_daily_bin1194.fits scfile=/scratch/kocevski/843648/ft2_4FGL_J2324.7+0801_daily_bin1194.fits outfile=/scratch/kocevski/843648/cmap_HighResolution_548812801_549072001_4FGL_J2324.7+0801_daily_bin1194.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843648/ft1_filtered_4FGL_J2324.7+0801_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/843648/ft2_4FGL_J2324.7+0801_daily_bin1194.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843648/Model_4FGL_J2324.7+0801_daily_bin1194.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/843648/ft1_filtered_4FGL_J2324.7+0801_daily_bin1194.fits.....................!
real 101.46
user 99.97
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .81596       1.0000         .10000E-03   10000.    
     3 'norm      '    23.966       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2079       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7598       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7955       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0517       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .88962       1.0000         .10000E-03   10000.    
     9 'norm      '    .67621       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.005       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9127       1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.377       1.0000         .10000E-03   10000.    
    13 'norm      '    .54092       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    238.18       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.9267       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.6548       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.8666       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.2047       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .95531       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91848       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=   9971.521     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2912 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4779        .91034E-06** at limit **
   2  Prefactor     .81597        .15912        .94119E-08    .21145E-03
   3  norm          23.965        12.032       -.13397E-06   -.21433E-04
   4  Prefactor     3.2061        52.259        .12328E-05    .19109E-04
   5  Prefactor     1.7600        4.2502       -.86505E-06    .18513E-03
   6  Prefactor     3.7959        8.2168       -.98258E-08    .66934E-04
   7  Prefactor     7.0513        11.290       -.41453E-06   -.99149E-05
   8  Prefactor     .88918        4.8912        .18445E-05    .49994E-04
   9  norm          .67626        .59173        .36081E-08    .14057E-04
  10  Prefactor     11.008        6.5979        .44329E-06    .14159E-03
  11  Prefactor     5.9132        13.365       -.75941E-06   -.21605E-04
  12  Prefactor     41.378        27.715       -.51705E-07   -.12552E-04
  13  norm          .51344        7.8750       -.29368E-05    .13073E-03
  14  Prefactor     .10000E-03    2.2814       -.15789E-06** at limit **
  15  Prefactor     238.19        176.93       -.30095E-05   -.52977E-04
  16  Prefactor     .10000E-03    11.876        .12229E-05** at limit **
  17  Prefactor     .10000E-03    44.396        .58949E-06** at limit **
  18  norm          .10000E-03    3.2266       -.29744E-07** at limit **
  19  norm          1.9430        22.034        .21496E-05    .49302E-04
  20  Prefactor     2.6556        3.6646       -.39250E-06   -.11455E-03
  21  Prefactor     4.8634        19.067        .92120E-06    .25870E-04
  22  Prefactor     .10000E-03    6.5365       -.11360E-05** at limit **
  23  Prefactor     6.2046        5.7777       -.19524E-06   -.27453E-04
  24  Normalizat    .95537        .15862        .19719E-06    .18243E-04
  25  Prefactor     .91846        .97483E-01    .19006E-06    .13827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.815971
  norm       = 23.9653
  Prefactor  = 3.20612
  Prefactor  = 1.76005
  Prefactor  = 3.79595
  Prefactor  = 7.05129
  Prefactor  = 0.889177
  norm       = 0.676263
  Prefactor  = 11.008
  Prefactor  = 5.91319
  Prefactor  = 41.3777
  norm       = 0.513442
  Prefactor  = 0.0001
  Prefactor  = 238.194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.94296
  Prefactor  = 2.65559
  Prefactor  = 4.86344
  Prefactor  = 0.0001
  Prefactor  = 6.20456
  Normalizat = 0.955367
  Prefactor  = 0.918462
 **********
 **   18 **HESSE 
 **********

 FCN=   9971.521     FROM HESSE     STATUS=OK           439 CALLS     3351 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .81597        .15881        .16843E-04   -1.5527    
   3  norm          23.965        12.041        .81824E-04   -1.4728    
   4  Prefactor     3.2061        52.684        .22621E-03   -1.5350    
   5  Prefactor     1.7600        4.2952        .31090E-03   -1.5443    
   6  Prefactor     3.7959        8.1934        .20720E-03   -1.5318    
   7  Prefactor     7.0513        11.289        .15107E-03   -1.5177    
   8  Prefactor     .88918        9.8149        .29718E-02   -1.5519    
   9  norm          .67626        .59331        .68530E-04   -1.5544    
  10  Prefactor     11.008        6.5771        .12077E-03   -1.5044    
  11  Prefactor     5.9132        13.443        .16515E-03   -1.5222    
  12  Prefactor     41.378        27.723        .62318E-04   -1.4421    
  13  norm          .51344        10.880        .29225E-02   -1.5565    
  14  Prefactor     .10000E-03    2.3037        .14701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     238.19        178.56        .13116E-03   -1.2609    
  16  Prefactor     .10000E-03    12.166        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    45.570        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.2306        .17518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9430        22.556        .29928E-03   -1.5429    
  20  Prefactor     2.6556        3.6075        .19079E-03   -1.5382    
  21  Prefactor     4.8634        19.132        .18234E-03   -1.5267    
  22  Prefactor     .10000E-03    6.6251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.2046        5.7784        .16116E-03   -1.5210    
  24  Normalizat    .95537        .18314        .29594E-03   -.94541    
  25  Prefactor     .91846        .11344        .19511E-03   -.95499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24562e-10
Minuit parameter uncertainties:
  1  2.70258e-05
  2  0.158806
  3  12.0424
  4  26.0199
  5  4.29599
  6  8.19585
  7  11.2919
  8  5.90926
  9  0.593312
  10  6.57755
  11  13.4495
  12  27.7316
  13  4.72759
  14  3.83617e-06
  15  178.97
  16  0.000125643
  17  0.000115913
  18  7.68888e-07
  19  13.2461
  20  3.60782
  21  19.1559
  22  3.64414e-05
  23  5.77893
  24  0.183264
  25  0.113465
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.101e+01  6.578e+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:  9.185e-01  1.135e-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:  9.554e-01  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.37
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.96e-08 +/- 2.37e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.01e-05

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) = 9971.19058522
delta logL = 0.330697267233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9971.19036312
delta logL = 0.33091936456

Fit tolerance = 1e-08

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

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

 FCN=   9971.190     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      246 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.949        270.16        .27827E-02    .91441E-04
   2  Index         1.7721        5.1868        .19850       -.26203E-05
   3  Normalizat    .97465        .23589        .66311E-01   -.42208E-04
   4  Prefactor     .91356        .68799E-01    .45178E-01    .48679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.949
  Index      = 1.77205
  Normalizat = 0.97465
  Prefactor  = 0.913562
 **********
 **   18 **HESSE 
 **********

 FCN=   9971.190     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.949        8.4029        .11131E-03   -1.4988    
   2  Index         1.7721        .54195        .10968E-01   -.70180    
   3  Normalizat    .97465        .17348        .29331E-03   -.93885    
   4  Prefactor     .91356        .11258        .19562E-03   -.95669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5167e-11
Minuit parameter uncertainties:
  1  8.40363
  2  0.54379
  3  0.173577
  4  0.11261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843648': 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) = 9971.19036311
delta logL = 0.330919377218

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.295e+01  8.404e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.772e+00  5.438e-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:  9.136e-01  1.126e-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:  9.747e-01  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.01
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.77 +/- 0.54
Photon Flux (Free Index): 2.12e-08 +/- 2.24e-08
Energy Flux (Free Index): 2.76e-05 +/- 2.92e-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/843648/cmap_HighResolution_548812801_549072001_4FGL_J2324.7+0801_daily_bin1194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.96e-08', energy_flux2='2.76e-05', photon_flux_error='2.37e-08', dlogl='3.31e-01', energy_flux='1.69e-05', photon_flux2='2.12e-08', job_status='DONE', time_completed='2021-09-29 16:41:20.452489', photon_index_error2='0.54', photon_index2='1.77', ts='12.37', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.92e-05', EG='0.96', time_epoch_completed='1632958880.45', return_code='0', job_id='843648', GAL2='0.91', EG2='0.97', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.24e-08', ts2='13.01', photon_index='2.23' WHERE bin_id='1194' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:41:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 843648: <4FGL_J2324.7+0801_daily_bin1194> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1194> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:31 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:33 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:25:33 2021
Terminated at Wed Sep 29 16:41:21 2021
Results reported at Wed Sep 29 16:41:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1194 351.19 8.0282 548812801 549072001 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 :                                   803.01 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

