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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1177
RA = 351.19, Dec = 8.0282
tmin = 544406401, tmax = 544665601
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='843623', job_status='RUN', time_executed='2021-09-29 16:27:35.915866', time_epoch_executed='1632958055.92' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843623

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843623/ft1_4FGL_J2324.7+0801_daily_bin1177.fits


Retrieving the FT1 file...

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

Retrieving 36 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843623/ft2_4FGL_J2324.7+0801_daily_bin1177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843623/ft1_4FGL_J2324.7+0801_daily_bin1177.fits outfile=/scratch/kocevski/843623/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1177.fits ra=351.19 dec=8.0282 rad=12.0 tmin=544406401.0 tmax=544665601.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 7.66
user 7.34
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843623/ft1_filtered_4FGL_J2324.7+0801_daily_bin1177.fits" evtable="EVENTS" scfile=/scratch/kocevski/843623/ft2_4FGL_J2324.7+0801_daily_bin1177.fits sctable="SC_DATA" outfile=/scratch/kocevski/843623/ltcube_544406401_544665601_4FGL_J2324.7+0801_daily_bin1177.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/843623/ft2_4FGL_J2324.7+0801_daily_bin1177.fits
.....................!
real 7.67
user 7.26
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843623/ft1_filtered_4FGL_J2324.7+0801_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/843623/ft2_4FGL_J2324.7+0801_daily_bin1177.fits sctable="SC_DATA" expcube=/scratch/kocevski/843623/ltcube_544406401_544665601_4FGL_J2324.7+0801_daily_bin1177.fits outfile=/scratch/kocevski/843623/expmap_544406401_544665601_4FGL_J2324.7+0801_daily_bin1177.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/843623/ltcube_544406401_544665601_4FGL_J2324.7+0801_daily_bin1177.fits
.....................!
real 190.99
user 185.69
sys 4.88

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/843623/ft1_filtered_4FGL_J2324.7+0801_daily_bin1177.fits scfile=/scratch/kocevski/843623/ft2_4FGL_J2324.7+0801_daily_bin1177.fits outfile=/scratch/kocevski/843623/cmap_544406401_544665601_4FGL_J2324.7+0801_daily_bin1177.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843623/ft1_filtered_4FGL_J2324.7+0801_daily_bin1177.fits scfile=/scratch/kocevski/843623/ft2_4FGL_J2324.7+0801_daily_bin1177.fits outfile=/scratch/kocevski/843623/cmap_HighResolution_544406401_544665601_4FGL_J2324.7+0801_daily_bin1177.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.59
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843623/ft1_filtered_4FGL_J2324.7+0801_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/843623/ft2_4FGL_J2324.7+0801_daily_bin1177.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843623/Model_4FGL_J2324.7+0801_daily_bin1177.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/843623/ft1_filtered_4FGL_J2324.7+0801_daily_bin1177.fits.....................!
real 31.42
user 30.13
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .54906       1.0000         .10000E-03   10000.    
     3 'norm      '    30.354       1.0000         .10000E-03   10000.    
     4 'Prefactor '    68.712       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8495       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0990       1.0000         .10000E-03   10000.    
     7 'Prefactor '    44.267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.882       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.524       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .22076E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    150.49       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.171       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    31.027       1.0000         .10000E-03   10000.    
    19 'norm      '    31.786       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    45.490       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    63.614       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .69265       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93343       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=   2180.563     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     3493 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.280       -.27513E-04** at limit **
   2  Prefactor     .54913        .35808        .15732E-07    .69845E-03
   3  norm          30.349        21.673        .35965E-06    .67716E-05
   4  Prefactor     68.715        83.329        .26552E-05    .10160E-04
   5  Prefactor     9.8500        11.825        .31150E-06    .40431E-04
   6  Prefactor     2.0867        118.74       -.19659E-04   -.44170E-04
   7  Prefactor     44.258        51.865       -.90700E-05   -.17364E-04
   8  Prefactor     33.882        32.887        .22415E-06   -.84745E-05
   9  norm          .10000E-03    .55250       -.18340E-06** at limit **
  10  Prefactor     49.535        29.802        .31447E-05   -.96522E-04
  11  Prefactor     .10000E-03    37.689        .10542E-04** at limit **
  12  Prefactor     .10000E-03    93.430        .31573E-04** at limit **
  13  norm          .10001E-03    72.647        .23353E-04** at limit **
  14  Prefactor     .10000E-03    31.152       -.39702E-05** at limit **
  15  Prefactor     150.64        280.84        .12492E-03    .29536E-05
  16  Prefactor     15.164        28.182       -.12982E-04   -.28427E-04
  17  Prefactor     .10000E-03    122.49       -.43127E-04** at limit **
  18  norm          31.025        46.826       -.22184E-05   -.89863E-05
  19  norm          31.794        55.258        .96758E-05   -.15666E-04
  20  Prefactor     .10000E-03    4.5208       -.42924E-06** at limit **
  21  Prefactor     45.488        59.080       -.21359E-05    .34521E-05
  22  Prefactor     .10000E-03    15.028        .49331E-07** at limit **
  23  Prefactor     63.610        85.762       -.39224E-05   -.28227E-05
  24  Normalizat    .69319        .43629        .85692E-05   -.26068E-04
  25  Prefactor     .93315        .23626       -.27640E-05    .15854E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.54913
  norm       = 30.3491
  Prefactor  = 68.7148
  Prefactor  = 9.84996
  Prefactor  = 2.08671
  Prefactor  = 44.2576
  Prefactor  = 33.8822
  norm       = 0.0001
  Prefactor  = 49.5348
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 150.644
  Prefactor  = 15.1638
  Prefactor  = 0.0001
  norm       = 31.0248
  norm       = 31.7938
  Prefactor  = 0.0001
  Prefactor  = 45.4883
  Prefactor  = 0.0001
  Prefactor  = 63.6103
  Normalizat = 0.693186
  Prefactor  = 0.933153
 **********
 **   18 **HESSE 
 **********

 FCN=   2180.563     FROM HESSE     STATUS=OK           423 CALLS     3916 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .54913        .35570        .21831E-04   -1.5560    
   3  norm          30.349        21.706        .72723E-04   -1.4606    
   4  Prefactor     68.715        83.431        .48423E-04   -1.4048    
   5  Prefactor     9.8500        11.814        .12768E-03   -1.5080    
   6  Prefactor     2.0867        118.17        .28486E-03   -1.5419    
   7  Prefactor     44.258        51.997        .60258E-04   -1.4376    
   8  Prefactor     33.882        32.888        .68843E-04   -1.4543    
   9  norm          .10000E-03    .56115        .33867E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     49.535        29.712        .56984E-04   -1.4299    
  11  Prefactor     .10000E-03    37.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    93.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10001E-03    75.219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    31.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     150.64        280.72        .16428E-03   -1.3247    
  16  Prefactor     15.164        28.441        .10283E-03   -1.4929    
  17  Prefactor     .10000E-03    123.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          31.025        46.829        .71932E-04   -1.4593    
  19  norm          31.794        55.532        .71070E-04   -1.4580    
  20  Prefactor     .10000E-03    4.5415        .96852E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     45.488        59.090        .59445E-04   -1.4358    
  22  Prefactor     .10000E-03    15.032        .17684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     63.610        85.865        .50313E-04   -1.4111    
  24  Normalizat    .69319        .48836        .38613E-03   -1.0416    
  25  Prefactor     .93315        .26878        .20681E-03   -.94992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38965e-10
Minuit parameter uncertainties:
  1  8.81616e-05
  2  0.355698
  3  21.7112
  4  83.5735
  5  11.8166
  6  31.4706
  7  52.0508
  8  32.9059
  9  1.13652e-05
  10  29.7206
  11  5.75458e-06
  12  0.000174261
  13  0.00136783
  14  0.000230187
  15  283.268
  16  28.4668
  17  9.31375e-05
  18  46.8847
  19  55.6228
  20  8.9789e-05
  21  59.1663
  22  3.24712e-06
  23  86.0326
  24  0.491468
  25  0.269162
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.953e+01  2.972e+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:  9.332e-01  2.692e-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:  6.932e-01  4.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.02
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 1.78e-07 +/- 1.07e-07
Energy Flux (Fixed Index): 7.61e-05 +/- 4.57e-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) = 2180.55757966
delta logL = 0.00565992822794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2180.55203004
delta logL = 0.0112095522545

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.594       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2964       1.0000          .0000       10.000    
     3 'Normalizat'    .68643       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93533       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=   2180.552     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      257 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.603        39.388        .59378E-04   -.79132E-04
   2  Index         2.2964        .47669        .32639E-02   -.28463E-04
   3  Normalizat    .68587        .42384        .38797E-03   -.94224E-04
   4  Prefactor     .93569        .26237        .20654E-03   -.99243E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.6034
  Index      = 2.29639
  Normalizat = 0.685875
  Prefactor  = 0.93569
 **********
 **   18 **HESSE 
 **********

 FCN=   2180.552     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.603        38.159        .11876E-04   -1.4356    
   2  Index         2.2964        .46163        .13056E-03   -.57130    
   3  Normalizat    .68587        .42386        .15519E-04   -1.0445    
   4  Prefactor     .93569        .26242        .41308E-04   -.94905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.93381e-11
Minuit parameter uncertainties:
  1  38.1791
  2  0.462563
  3  0.425898
  4  0.262775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843623': 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) = 2180.552029
delta logL = 0.0112105959656

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.560e+01  3.818e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.296e+00  4.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:  9.357e-01  2.628e-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:  6.859e-01  4.259e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.94
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.30 +/- 0.46
Photon Flux (Free Index): 1.87e-07 +/- 1.26e-07
Energy Flux (Free Index): 7.14e-05 +/- 5.16e-05

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/843623/cmap_HighResolution_544406401_544665601_4FGL_J2324.7+0801_daily_bin1177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.78e-07', energy_flux2='7.14e-05', photon_flux_error='1.07e-07', dlogl='1.12e-02', energy_flux='7.61e-05', photon_flux2='1.87e-07', job_status='DONE', time_completed='2021-09-29 16:34:55.217910', photon_index_error2='0.46', photon_index2='2.30', ts='7.02', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='5.16e-05', EG='0.69', time_epoch_completed='1632958495.22', return_code='0', job_id='843623', GAL2='0.94', EG2='0.69', return_code2='0', energy_flux_error='4.57e-05', photon_flux_error2='1.26e-07', ts2='6.94', photon_index='2.23' WHERE bin_id='1177' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:34:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 843623: <4FGL_J2324.7+0801_daily_bin1177> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1177 351.19 8.0282 544406401 544665601 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 :                                   437.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            567 sec.

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

