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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin245
RA = 351.19, Dec = 8.0282
tmin = 302832001, tmax = 303091201
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='837974', job_status='RUN', time_executed='2021-09-29 16:08:32.285995', time_epoch_executed='1632956912.29' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='245'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837974/ft1_4FGL_J2324.7+0801_daily_bin245.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837974/ft2_4FGL_J2324.7+0801_daily_bin245.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837974/ft1_4FGL_J2324.7+0801_daily_bin245.fits outfile=/scratch/kocevski/837974/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin245.fits ra=351.19 dec=8.0282 rad=12.0 tmin=302832001.0 tmax=303091201.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.53
user 3.30
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837974/ft1_filtered_4FGL_J2324.7+0801_daily_bin245.fits" evtable="EVENTS" scfile=/scratch/kocevski/837974/ft2_4FGL_J2324.7+0801_daily_bin245.fits sctable="SC_DATA" outfile=/scratch/kocevski/837974/ltcube_302832001_303091201_4FGL_J2324.7+0801_daily_bin245.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/837974/ft2_4FGL_J2324.7+0801_daily_bin245.fits
.....................!
real 12.11
user 11.61
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837974/ft1_filtered_4FGL_J2324.7+0801_daily_bin245.fits evtable="EVENTS" scfile=/scratch/kocevski/837974/ft2_4FGL_J2324.7+0801_daily_bin245.fits sctable="SC_DATA" expcube=/scratch/kocevski/837974/ltcube_302832001_303091201_4FGL_J2324.7+0801_daily_bin245.fits outfile=/scratch/kocevski/837974/expmap_302832001_303091201_4FGL_J2324.7+0801_daily_bin245.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/837974/ltcube_302832001_303091201_4FGL_J2324.7+0801_daily_bin245.fits
.....................!
real 190.74
user 184.85
sys 5.32

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/837974/ft1_filtered_4FGL_J2324.7+0801_daily_bin245.fits scfile=/scratch/kocevski/837974/ft2_4FGL_J2324.7+0801_daily_bin245.fits outfile=/scratch/kocevski/837974/cmap_302832001_303091201_4FGL_J2324.7+0801_daily_bin245.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837974/ft1_filtered_4FGL_J2324.7+0801_daily_bin245.fits scfile=/scratch/kocevski/837974/ft2_4FGL_J2324.7+0801_daily_bin245.fits outfile=/scratch/kocevski/837974/cmap_HighResolution_302832001_303091201_4FGL_J2324.7+0801_daily_bin245.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837974/ft1_filtered_4FGL_J2324.7+0801_daily_bin245.fits evtable="EVENTS" scfile=/scratch/kocevski/837974/ft2_4FGL_J2324.7+0801_daily_bin245.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837974/Model_4FGL_J2324.7+0801_daily_bin245.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/837974/ft1_filtered_4FGL_J2324.7+0801_daily_bin245.fits.....................!
real 95.08
user 93.58
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5305       1.0000         .10000E-03   10000.    
     3 'norm      '    8.5336       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6992       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2069       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.8316       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8497       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12607E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.4147       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.681       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .28296E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.767       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3626       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.662       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .93521       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98627       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=   8159.191     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2876 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.480        .39625E-06** at limit **
   2  Prefactor     7.5305        .46836        .50512E-08   -.34224E-04
   3  norm          8.5353        13.812        .20426E-06   -.32506E-05
   4  Prefactor     .10000E-03    11.893       -.96295E-07** at limit **
   5  Prefactor     .10000E-03    4.2416       -.37244E-07** at limit **
   6  Prefactor     .10000E-03    2.7718       -.19242E-07** at limit **
   7  Prefactor     .10000E-03    5.4060        .24502E-08** at limit **
   8  Prefactor     5.7007        7.7513        .17724E-06    .31901E-05
   9  norm          2.2071        1.3932       -.84423E-07   -.38498E-03
  10  Prefactor     7.8317        7.3869       -.56517E-07   -.63061E-05
  11  Prefactor     8.8462        12.777        .11636E-07   -.19673E-05
  12  Prefactor     .10000E-03    104.11       -.87196E-06** at limit **
  13  norm          4.4173        8.0261        .10167E-05    .17563E-04
  14  Prefactor     10.678        9.1144        .14350E-06    .53373E-05
  15  Prefactor     .10000E-03    989.26        .68890E-04** at limit **
  16  Prefactor     .10000E-03    15.159        .15834E-05** at limit **
  17  Prefactor     .10000E-03    24.293        .16311E-06** at limit **
  18  norm          13.770        12.778        .13015E-06    .23750E-05
  19  norm          .10000E-03    9.0253        .29522E-06** at limit **
  20  Prefactor     3.3621        5.0756        .15289E-05   -.15788E-03
  21  Prefactor     .10000E-03    15.753        .18013E-06** at limit **
  22  Prefactor     33.650        27.843        .56816E-06   -.34417E-05
  23  Prefactor     .10000E-03    11.937       -.43579E-06** at limit **
  24  Normalizat    .93528        .22887       -.18888E-05   -.20784E-04
  25  Prefactor     .98626        .13626        .50858E-06   -.12747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.53054
  norm       = 8.53528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.70067
  norm       = 2.20706
  Prefactor  = 7.83165
  Prefactor  = 8.84617
  Prefactor  = 0.0001
  norm       = 4.41734
  Prefactor  = 10.6784
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.7702
  norm       = 0.0001
  Prefactor  = 3.36205
  Prefactor  = 0.0001
  Prefactor  = 33.6504
  Prefactor  = 0.0001
  Normalizat = 0.935279
  Prefactor  = 0.98626
 **********
 **   18 **HESSE 
 **********

 FCN=   8159.191     FROM HESSE     STATUS=OK           425 CALLS     3301 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.5305        .46858        .14866E-04   -1.5159    
   3  norm          8.5353        13.812        .13722E-03   -1.5124    
   4  Prefactor     .10000E-03    11.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.7730        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.4091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7007        7.7367        .16826E-03   -1.5230    
   9  norm          2.2071        1.3899        .81116E-04   -1.5411    
  10  Prefactor     7.8317        7.3848        .14328E-03   -1.5148    
  11  Prefactor     8.8462        12.761        .13474E-03   -1.5113    
  12  Prefactor     .10000E-03    104.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.4173        7.9698        .95834E-03   -1.5288    
  14  Prefactor     10.678        9.0791        .61295E-03   -1.5054    
  15  Prefactor     .10000E-03    991.00        .19891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.770        12.781        .10795E-03   -1.4966    
  19  norm          .10000E-03    9.0353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3621        5.0904        .11034E-02   -1.5341    
  21  Prefactor     .10000E-03    15.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     33.650        27.952        .69067E-04   -1.4547    
  23  Prefactor     .10000E-03    12.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .93528        .26532        .38146E-03   -.95231    
  25  Prefactor     .98626        .15881        .23664E-03   -.93189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14272e-11
Minuit parameter uncertainties:
  1  5.09238e-06
  2  0.468585
  3  13.8176
  4  1.20886e-06
  5  2.94202e-07
  6  1.32969e-07
  7  8.11995e-07
  8  7.73808
  9  1.38989
  10  7.38568
  11  12.7648
  12  2.5319e-06
  13  7.97172
  14  9.08031
  15  0.0043302
  16  8.3649e-06
  17  3.24357e-06
  18  12.7837
  19  1.23157e-06
  20  5.09105
  21  1.97543e-06
  22  27.9633
  23  8.19868e-06
  24  0.265693
  25  0.158881
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  7.832e+00  7.386e+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.863e-01  1.589e-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.353e-01  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.62
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.82e-08 +/- 2.66e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.14e-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) = 8157.75526836
delta logL = 1.43617002422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8157.67165536
delta logL = 1.51978302777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4861       1.0000         .10000E-03   10000.    
     2 'Index     '    .95842       1.0000          .0000       10.000    
     3 'Normalizat'    .95753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98160       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=   8157.672     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      226 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4936        4.6457         .0000       -.72725E-02
   2  Index         .95810        .43656         .0000       -.11357E-03
   3  Normalizat    .95739        .21122         .0000        .20516E-04
   4  Prefactor     .98166        .13494         .0000        .79811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.49362
  Index      = 0.958105
  Normalizat = 0.95739
  Prefactor  = 0.981655
 **********
 **   18 **HESSE 
 **********

 FCN=   8157.672     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4936        6.5464        .93572E-03   -1.5284    
   2  Index         .95810        .63091        .12707E-01   -.94139    
   3  Normalizat    .95739        .24531        .37754E-03   -.94472    
   4  Prefactor     .98166        .15708        .23716E-03   -.93344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12639e-10
Minuit parameter uncertainties:
  1  6.54743
  2  0.635843
  3  0.245596
  4  0.157157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837974': 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) = 8157.67165261
delta logL = 1.51978577668

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.494e+00  6.547e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  9.581e-01  6.358e-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.817e-01  1.572e-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.574e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.63
Ra Dec: 351.190 8.028
Photon Index (Free Index): 0.96 +/- 0.64
Photon Flux (Free Index): 4.94e-09 +/- 5.52e-09
Energy Flux (Free Index): 7.90e-05 +/- 1.11e-04

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/837974/cmap_HighResolution_302832001_303091201_4FGL_J2324.7+0801_daily_bin245.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.82e-08', energy_flux2='7.90e-05', photon_flux_error='2.66e-08', dlogl='1.52e+00', energy_flux='1.20e-05', photon_flux2='4.94e-09', job_status='DONE', time_completed='2021-09-29 16:21:10.804687', photon_index_error2='0.64', photon_index2='0.96', ts='6.62', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.11e-04', EG='0.94', time_epoch_completed='1632957670.8', return_code='0', job_id='837974', GAL2='0.98', EG2='0.96', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='5.52e-09', ts2='9.63', photon_index='2.23' WHERE bin_id='245' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:21:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 837974: <4FGL_J2324.7+0801_daily_bin245> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin245> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:43 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:05:44 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:05:44 2021
Terminated at Wed Sep 29 16:21:11 2021
Results reported at Wed Sep 29 16:21:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin245 351.19 8.0282 302832001 303091201 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 :                                   756.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            928 sec.

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

