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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1318
RA = 351.19, Dec = 8.0282
tmin = 580953601, tmax = 581212801
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='843822', job_status='RUN', time_executed='2021-09-29 16:25:55.663976', time_epoch_executed='1632957955.66' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1318'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843822

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843822/ft1_4FGL_J2324.7+0801_daily_bin1318.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843822/ft2_4FGL_J2324.7+0801_daily_bin1318.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843822/ft1_4FGL_J2324.7+0801_daily_bin1318.fits outfile=/scratch/kocevski/843822/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1318.fits ra=351.19 dec=8.0282 rad=12.0 tmin=580953601.0 tmax=581212801.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.00
user 2.79
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843822/ft1_filtered_4FGL_J2324.7+0801_daily_bin1318.fits" evtable="EVENTS" scfile=/scratch/kocevski/843822/ft2_4FGL_J2324.7+0801_daily_bin1318.fits sctable="SC_DATA" outfile=/scratch/kocevski/843822/ltcube_580953601_581212801_4FGL_J2324.7+0801_daily_bin1318.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/843822/ft2_4FGL_J2324.7+0801_daily_bin1318.fits
.....................!
real 12.62
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843822/ft1_filtered_4FGL_J2324.7+0801_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/843822/ft2_4FGL_J2324.7+0801_daily_bin1318.fits sctable="SC_DATA" expcube=/scratch/kocevski/843822/ltcube_580953601_581212801_4FGL_J2324.7+0801_daily_bin1318.fits outfile=/scratch/kocevski/843822/expmap_580953601_581212801_4FGL_J2324.7+0801_daily_bin1318.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/843822/ltcube_580953601_581212801_4FGL_J2324.7+0801_daily_bin1318.fits
.....................!
real 191.69
user 185.97
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/843822/ft1_filtered_4FGL_J2324.7+0801_daily_bin1318.fits scfile=/scratch/kocevski/843822/ft2_4FGL_J2324.7+0801_daily_bin1318.fits outfile=/scratch/kocevski/843822/cmap_580953601_581212801_4FGL_J2324.7+0801_daily_bin1318.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843822/ft1_filtered_4FGL_J2324.7+0801_daily_bin1318.fits scfile=/scratch/kocevski/843822/ft2_4FGL_J2324.7+0801_daily_bin1318.fits outfile=/scratch/kocevski/843822/cmap_HighResolution_580953601_581212801_4FGL_J2324.7+0801_daily_bin1318.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/843822/ft1_filtered_4FGL_J2324.7+0801_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/843822/ft2_4FGL_J2324.7+0801_daily_bin1318.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843822/Model_4FGL_J2324.7+0801_daily_bin1318.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/843822/ft1_filtered_4FGL_J2324.7+0801_daily_bin1318.fits.....................!
real 106.10
user 104.62
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.464       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2635       1.0000         .10000E-03   10000.    
     3 'norm      '    5.6239       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.173       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.6581       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13935       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2827       1.0000         .10000E-03   10000.    
     9 'norm      '    3.2816       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.679       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11217E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6042       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24594E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9217       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11283E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    26.309       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5555       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.566       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .83968E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .84470       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1132       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=   10483.52     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2518 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.463        13.823       -.81528E-07   -.22761E-05
   2  Prefactor     1.2635        .18880       -.30499E-07    .90450E-03
   3  norm          5.6232        8.8013       -.17208E-06   -.10980E-03
   4  Prefactor     19.170        20.464        .17278E-06    .48829E-04
   5  Prefactor     6.6574        5.6587        .34388E-05   -.66711E-04
   6  Prefactor     .15882        3.7571       -.11866E-05    .16367E-03
   7  Prefactor     .10000E-03    8.3741       -.62725E-06** at limit **
   8  Prefactor     5.2833        6.9677        .65008E-06   -.33303E-03
   9  norm          3.2820        1.0258        .13563E-09    .74237E-04
  10  Prefactor     19.681        9.8810        .80915E-06    .69431E-03
  11  Prefactor     .10000E-03    9.6084        .52061E-05** at limit **
  12  Prefactor     .10000E-03    117.98       -.24426E-05** at limit **
  13  norm          3.6160        7.8025       -.49439E-06    .29004E-03
  14  Prefactor     .10003E-03    3.2269       -.10968E-05** at limit **
  15  Prefactor     .10000E-03    52.435        .37124E-04** at limit **
  16  Prefactor     4.8820        14.489       -.62280E-05   -.29102E-03
  17  Prefactor     .10000E-03    43.130       -.28921E-04** at limit **
  18  norm          .10000E-03    7.4073        .10700E-05** at limit **
  19  norm          26.349        27.560        .16175E-04    .44350E-04
  20  Prefactor     7.5589        4.1376       -.11913E-05   -.32875E-04
  21  Prefactor     13.569        16.430       -.43230E-06    .53111E-04
  22  Prefactor     .10000E-03    8.1326       -.15104E-05** at limit **
  23  Prefactor     .34868E-03    3.2353       -.15480E-05** at limit **
  24  Normalizat    .84476        .17806        .68438E-06    .59643E-03
  25  Prefactor     1.1132        .11164       -.60457E-06    .10396E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4633
  Prefactor  = 1.26345
  norm       = 5.62325
  Prefactor  = 19.1701
  Prefactor  = 6.65736
  Prefactor  = 0.158817
  Prefactor  = 0.0001
  Prefactor  = 5.28331
  norm       = 3.28203
  Prefactor  = 19.6808
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.61597
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 4.88204
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 26.3494
  Prefactor  = 7.55885
  Prefactor  = 13.569
  Prefactor  = 0.0001
  Prefactor  = 0.00034868
  Normalizat = 0.844757
  Prefactor  = 1.11321
 **********
 **   18 **HESSE 
 **********

 FCN=   10483.52     FROM HESSE     STATUS=OK           441 CALLS     2959 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.463        13.841        .10185E-03   -1.4921    
   2  Prefactor     1.2635        .18905        .16320E-04   -1.5483    
   3  norm          5.6232        8.7955        .16940E-03   -1.5234    
   4  Prefactor     19.170        20.472        .91469E-04   -1.4832    
   5  Prefactor     6.6574        5.6361        .15551E-03   -1.5192    
   6  Prefactor     .15882        51.455        .38165E-02   -1.5628    
   7  Prefactor     .10000E-03    8.4335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2833        6.9539        .17487E-03   -1.5248    
   9  norm          3.2820        1.0246        .22352E-04   -1.5346    
  10  Prefactor     19.681        9.8507        .90287E-04   -1.4820    
  11  Prefactor     .10000E-03    9.6490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    118.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6160        7.3239        .21284E-03   -1.5328    
  14  Prefactor     .10003E-03    10.259        .33006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    52.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.8820        14.229        .18130E-03   -1.5266    
  17  Prefactor     .10000E-03    43.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.6008        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          26.349        27.480        .78101E-04   -1.4681    
  20  Prefactor     7.5589        4.1178        .13907E-03   -1.5158    
  21  Prefactor     13.569        16.438        .10875E-03   -1.4971    
  22  Prefactor     .10000E-03    8.1548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .34868E-03    4.8677        .68882E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .84476        .20255        .34785E-03   -.98429    
  25  Prefactor     1.1132        .12829        .20113E-03   -.89046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.77298e-09
Minuit parameter uncertainties:
  1  13.8436
  2  0.189049
  3  8.79749
  4  20.4799
  5  5.63654
  6  5.72046
  7  3.56147e-06
  8  6.95491
  9  1.02458
  10  9.85149
  11  3.38838e-05
  12  0.000113337
  13  7.32567
  14  0.00112874
  15  2.93684e-05
  16  14.2393
  17  0.000300182
  18  2.99728e-06
  19  27.4935
  20  4.11792
  21  16.4435
  22  8.00266e-06
  23  0.0695903
  24  0.202735
  25  0.128331
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.113e+00  1.283e-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.448e-01  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.21
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 7.08e-08 +/- 3.54e-08
Energy Flux (Fixed Index): 3.02e-05 +/- 1.51e-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) = 10483.5182242
delta logL = 0.000565202064536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10483.51779
delta logL = 0.000999358617264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.347       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2492       1.0000          .0000       10.000    
     3 'Normalizat'    .84283       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1136       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=   10483.52     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      272 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.328        12.887        .91059E-04    .16230E-04
   2  Index         2.2475        .45888        .62166E-02    .40072E-04
   3  Normalizat    .84308        .19774        .34816E-03    .75104E-05
   4  Prefactor     1.1138        .12797        .20109E-03    .81638E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3281
  Index      = 2.24751
  Normalizat = 0.843085
  Prefactor  = 1.11378
 **********
 **   18 **HESSE 
 **********

 FCN=   10483.52     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.328        12.173        .36424E-05   -1.4828    
   2  Index         2.2475        .43286        .24866E-03   -.58296    
   3  Normalizat    .84308        .19739        .13926E-04   -.98490    
   4  Prefactor     1.1138        .12793        .40217E-04   -.89027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72461e-13
Minuit parameter uncertainties:
  1  12.1748
  2  0.433639
  3  0.197562
  4  0.127969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843822': 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) = 10483.5177625
delta logL = 0.00102687050457

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.933e+01  1.217e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.248e+00  4.336e-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.114e+00  1.280e-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.431e-01  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.19
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.25 +/- 0.43
Photon Flux (Free Index): 7.22e-08 +/- 4.63e-08
Energy Flux (Free Index): 2.98e-05 +/- 1.71e-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/843822/cmap_HighResolution_580953601_581212801_4FGL_J2324.7+0801_daily_bin1318.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.08e-08', energy_flux2='2.98e-05', photon_flux_error='3.54e-08', dlogl='1.03e-03', energy_flux='3.02e-05', photon_flux2='7.22e-08', job_status='DONE', time_completed='2021-09-29 16:38:59.962186', photon_index_error2='0.43', photon_index2='2.25', ts='12.21', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='0.84', time_epoch_completed='1632958739.96', return_code='0', job_id='843822', GAL2='1.11', EG2='0.84', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='4.63e-08', ts2='12.19', photon_index='2.23' WHERE bin_id='1318' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:38:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 843822: <4FGL_J2324.7+0801_daily_bin1318> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1318 351.19 8.0282 580953601 581212801 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 :                                   780.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            796 sec.

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

