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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin579
RA = 351.19, Dec = 8.0282
tmin = 389404801, tmax = 389664001
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='840578', job_status='RUN', time_executed='2021-09-29 16:17:58.574884', time_epoch_executed='1632957478.57' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840578

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840578/ft1_4FGL_J2324.7+0801_daily_bin579.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840578/ft2_4FGL_J2324.7+0801_daily_bin579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840578/ft1_4FGL_J2324.7+0801_daily_bin579.fits outfile=/scratch/kocevski/840578/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin579.fits ra=351.19 dec=8.0282 rad=12.0 tmin=389404801.0 tmax=389664001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.04
user 3.80
sys 0.23

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840578/ft1_filtered_4FGL_J2324.7+0801_daily_bin579.fits" evtable="EVENTS" scfile=/scratch/kocevski/840578/ft2_4FGL_J2324.7+0801_daily_bin579.fits sctable="SC_DATA" outfile=/scratch/kocevski/840578/ltcube_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.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/840578/ft2_4FGL_J2324.7+0801_daily_bin579.fits
.....................!
real 12.16
user 11.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840578/ft1_filtered_4FGL_J2324.7+0801_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/840578/ft2_4FGL_J2324.7+0801_daily_bin579.fits sctable="SC_DATA" expcube=/scratch/kocevski/840578/ltcube_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.fits outfile=/scratch/kocevski/840578/expmap_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.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/840578/ltcube_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.fits
.....................!
real 190.53
user 185.15
sys 4.97

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/840578/ft1_filtered_4FGL_J2324.7+0801_daily_bin579.fits scfile=/scratch/kocevski/840578/ft2_4FGL_J2324.7+0801_daily_bin579.fits outfile=/scratch/kocevski/840578/cmap_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840578/ft1_filtered_4FGL_J2324.7+0801_daily_bin579.fits scfile=/scratch/kocevski/840578/ft2_4FGL_J2324.7+0801_daily_bin579.fits outfile=/scratch/kocevski/840578/cmap_HighResolution_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.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/840578/ft1_filtered_4FGL_J2324.7+0801_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/840578/ft2_4FGL_J2324.7+0801_daily_bin579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840578/Model_4FGL_J2324.7+0801_daily_bin579.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/840578/ft1_filtered_4FGL_J2324.7+0801_daily_bin579.fits.....................!
real 86.32
user 84.92
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .31012       1.0000         .10000E-03   10000.    
     3 'norm      '    .24995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.575       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5543       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5175       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.6696       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7482       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.1458       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.908       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    17.213       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22970E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.928       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.833       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.0972       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.5460       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93212       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=   7998.192     FROM MIGRAD    STATUS=CONVERGED    589 CALLS     2934 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.798        .89473E-06** at limit **
   2  Prefactor     .31010        .13755        .12935E-07    .36363E-03
   3  norm          .11180        12.163       -.26106E-05    .36347E-03
   4  Prefactor     .10000E-03    14.014       -.69767E-08** at limit **
   5  Prefactor     13.572        9.7390        .11448E-06    .13309E-03
   6  Prefactor     3.5515        12.018        .30619E-05   -.10068E-03
   7  Prefactor     3.5175        12.202        .23516E-05   -.10043E-03
   8  Prefactor     .10000E-03    3.2874       -.33654E-07** at limit **
   9  norm          5.6700        1.6841       -.19810E-07   -.19200E-02
  10  Prefactor     5.7451        12.834        .14573E-05   -.12628E-03
  11  Prefactor     .10000E-03    7.9830       -.29578E-07** at limit **
  12  Prefactor     .10000E-03    28.331        .22400E-06** at limit **
  13  norm          9.1431        8.7153       -.21304E-06   -.61561E-04
  14  Prefactor     .10000E-03    3.8610       -.47020E-07** at limit **
  15  Prefactor     .10004E-03    97.828        .26313E-05** at limit **
  16  Prefactor     21.934        23.262       -.19236E-05   -.84898E-03
  17  Prefactor     .10000E-03    21.143       -.89640E-06** at limit **
  18  norm          .10000E-03    3.5657       -.77020E-08** at limit **
  19  norm          17.215        36.334       -.58779E-06   -.36337E-03
  20  Prefactor     .10001E-03    6.1206        .42989E-05** at limit **
  21  Prefactor     34.924        34.980       -.15087E-06   -.20709E-03
  22  Prefactor     12.823        25.781        .19860E-06   -.12518E-03
  23  Prefactor     1.0951        14.401        .62157E-06   -.15707E-03
  24  Normalizat    1.5461        .22752       -.20354E-05   -.48070E-03
  25  Prefactor     .93221        .13517        .66392E-06   -.42060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 0.310099
  norm       = 0.111804
  Prefactor  = 0.0001
  Prefactor  = 13.5719
  Prefactor  = 3.55146
  Prefactor  = 3.51752
  Prefactor  = 0.0001
  norm       = 5.66995
  Prefactor  = 5.74506
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.14308
  Prefactor  = 0.0001
  Prefactor  = 0.000100041
  Prefactor  = 21.9342
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 17.2154
  Prefactor  = 0.000100007
  Prefactor  = 34.9244
  Prefactor  = 12.8226
  Prefactor  = 1.09505
  Normalizat = 1.54608
  Prefactor  = 0.932205
 **********
 **   18 **HESSE 
 **********

 FCN=   7998.192     FROM HESSE     STATUS=OK           429 CALLS     3363 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .31010        .13562        .21129E-04   -1.5597    
   3  norm          .11180        11.235        .91074E-01   -1.5641    
   4  Prefactor     .10000E-03    14.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.572        9.7252        .10871E-03   -1.4971    
   6  Prefactor     3.5515        12.344        .10719E-02   -1.5331    
   7  Prefactor     3.5175        12.396        .10778E-02   -1.5333    
   8  Prefactor     .10000E-03    3.3223        .15833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.6700        1.6861        .60053E-04   -1.5232    
  10  Prefactor     5.7451        12.961        .83763E-03   -1.5229    
  11  Prefactor     .10000E-03    8.0166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    28.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.1431        8.6973        .13253E-03   -1.5103    
  14  Prefactor     .10000E-03    3.9032        .17142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10004E-03    99.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.934        23.871        .85576E-04   -1.4771    
  17  Prefactor     .10000E-03    21.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.5669        .16493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.215        36.395        .96536E-04   -1.4878    
  20  Prefactor     .10001E-03    12.224        .33654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     34.924        35.056        .67808E-04   -1.4525    
  22  Prefactor     12.823        25.864        .11182E-03   -1.4992    
  23  Prefactor     1.0951        15.078        .45464E-03   -1.5499    
  24  Normalizat    1.5461        .26673        .30206E-03   -.76492    
  25  Prefactor     .93221        .15907        .23446E-03   -.95025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26886e-09
Minuit parameter uncertainties:
  1  0.000663718
  2  0.135623
  3  2.24091
  4  2.94459e-06
  5  9.72631
  6  12.3529
  7  12.4047
  8  1.91981e-06
  9  1.68611
  10  12.9673
  11  1.40207e-06
  12  0.000108672
  13  8.69854
  14  1.02382e-06
  15  0.00406372
  16  23.8817
  17  0.000649924
  18  8.67897e-07
  19  36.4416
  20  0.000564589
  21  35.0765
  22  25.8866
  23  8.12884
  24  0.266972
  25  0.159146
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.745e+00  1.297e+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.322e-01  1.591e-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:  1.546e+00  2.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/840578/likelihoodResults_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7997.85809959
delta logL = 0.333437749764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7997.84657299
delta logL = 0.344964347203

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5229       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9294       1.0000          .0000       10.000    
     3 'Normalizat'    1.5136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94070       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=   7997.847     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      287 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5229        9.4623        .17487E-03   -.40424E-03
   2  Index         2.9307        1.1724        .57452E-02   -.11414E-03
   3  Normalizat    1.5136        .25551        .30456E-03   -.12132E-03
   4  Prefactor     .94059        .15768        .23341E-03   -.80852E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.52287
  Index      = 2.9307
  Normalizat = 1.51363
  Prefactor  = 0.940586
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.847     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5229        7.0149        .69949E-05   -1.5333    
   2  Index         2.9307        .87239        .22981E-03   -.42669    
   3  Normalizat    1.5136        .25540        .12182E-04   -.77396    
   4  Prefactor     .94059        .15744        .93366E-05   -.94737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43305e-10
Minuit parameter uncertainties:
  1  7.01658
  2  0.877822
  3  0.255617
  4  0.157518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840578': 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) = 7997.84656926
delta logL = 0.344968080459

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.523e+00  7.017e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.931e+00  8.778e-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.406e-01  1.575e-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:  1.514e+00  2.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/840578/cmap_HighResolution_389404801_389664001_4FGL_J2324.7+0801_daily_bin579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.88e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-29 16:31:14.158445', job_id='840578', GAL2='0.94', fit_tolerance='1e-08', EG2='1.51', EG='1.55', time_epoch_completed='1632958274.16', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.45e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='579' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:31:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 840578: <4FGL_J2324.7+0801_daily_bin579> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin579> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:15:17 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:15:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:15:18 2021
Terminated at Wed Sep 29 16:31:14 2021
Results reported at Wed Sep 29 16:31:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin579 351.19 8.0282 389404801 389664001 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 :                                   795.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            957 sec.

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

