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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin697
RA = 351.19, Dec = 8.0282
tmin = 419990401, tmax = 420249601
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='840753', job_status='RUN', time_executed='2021-09-29 16:16:03.803544', time_epoch_executed='1632957363.8' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840753

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840753/ft1_4FGL_J2324.7+0801_daily_bin697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840753/ft2_4FGL_J2324.7+0801_daily_bin697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840753/ft1_4FGL_J2324.7+0801_daily_bin697.fits outfile=/scratch/kocevski/840753/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin697.fits ra=351.19 dec=8.0282 rad=12.0 tmin=419990401.0 tmax=420249601.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.44
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840753/ft2_4FGL_J2324.7+0801_daily_bin697.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/840753/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin697.fits evtable="EVENTS" outfile="/scratch/kocevski/840753/ft1_filtered_4FGL_J2324.7+0801_daily_bin697.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840753/ft1_filtered_4FGL_J2324.7+0801_daily_bin697.fits" evtable="EVENTS" scfile=/scratch/kocevski/840753/ft2_4FGL_J2324.7+0801_daily_bin697.fits sctable="SC_DATA" outfile=/scratch/kocevski/840753/ltcube_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.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/840753/ft2_4FGL_J2324.7+0801_daily_bin697.fits
.....................!
real 12.67
user 12.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840753/ft1_filtered_4FGL_J2324.7+0801_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/840753/ft2_4FGL_J2324.7+0801_daily_bin697.fits sctable="SC_DATA" expcube=/scratch/kocevski/840753/ltcube_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.fits outfile=/scratch/kocevski/840753/expmap_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.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/840753/ltcube_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.fits
.....................!
real 191.99
user 186.72
sys 4.94

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/840753/ft1_filtered_4FGL_J2324.7+0801_daily_bin697.fits scfile=/scratch/kocevski/840753/ft2_4FGL_J2324.7+0801_daily_bin697.fits outfile=/scratch/kocevski/840753/cmap_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840753/ft1_filtered_4FGL_J2324.7+0801_daily_bin697.fits scfile=/scratch/kocevski/840753/ft2_4FGL_J2324.7+0801_daily_bin697.fits outfile=/scratch/kocevski/840753/cmap_HighResolution_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.540       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3432       1.0000         .10000E-03   10000.    
     3 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.699       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0772       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.256       1.0000         .10000E-03   10000.    
     9 'norm      '    .12325       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.5901       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3397       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    92.147       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.340       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11672E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .14579E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10297E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11897       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .96361       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0548       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9268.705     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     2470 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.560        12.575       -.22962E-04    .98301E-02
   2  Prefactor     2.3432        .27274        .12482E-07    .29893E-03
   3  norm          .10000E-03    3.7023       -.25046E-05** at limit **
   4  Prefactor     29.713        3.4866       -.36976E-05    .58454E-02
   5  Prefactor     .10002E-03    14.892       -.19832E-04** at limit **
   6  Prefactor     .10000E-03    2.9388        .30585E-05** at limit **
   7  Prefactor     9.0795        4.1717       -.97639E-05   -.10790E-03
   8  Prefactor     10.254        1.1019        .45528E-06    .10373E-02
   9  norm          .12305        .80264       -.11058E-05   -.24947E-03
  10  Prefactor     5.5882        1.1567       -.14540E-06   -.23478E-03
  11  Prefactor     .10000E-03    8.0405        .30346E-06** at limit **
  12  Prefactor     2.3512        1.7663        .24978E-05    .97955E-04
  13  norm          .10000E-03    2.1960       -.86846E-06** at limit **
  14  Prefactor     .10000E-03    6.6521       -.11831E-04** at limit **
  15  Prefactor     92.129        2.2859       -.55519E-06    .29525E-02
  16  Prefactor     27.330        6.7907        .93454E-05    .10805E-01
  17  Prefactor     .10213E-03    18.981       -.20652E-04** at limit **
  18  norm          .10188E-03    18.600        .38773E-04** at limit **
  19  norm          .10003E-03    15.788       -.35913E-05** at limit **
  20  Prefactor     .10000E-03    3.8975       -.59698E-05** at limit **
  21  Prefactor     .11002E-03    1527.8       -.10181E-03** at limit **
  22  Prefactor     .10000E-03    7.8346       -.14320E-04** at limit **
  23  Prefactor     .10000E-03    3.0368        .35795E-05** at limit **
  24  Normalizat    .96363        .21215        .15700E-04   -.25619E-04
  25  Prefactor     1.0549        .13622        .16434E-06   -.40750E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.56
  Prefactor  = 2.34319
  norm       = 0.0001
  Prefactor  = 29.713
  Prefactor  = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 9.07949
  Prefactor  = 10.2539
  norm       = 0.123054
  Prefactor  = 5.58817
  Prefactor  = 0.000100001
  Prefactor  = 2.35121
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 92.1293
  Prefactor  = 27.3298
  Prefactor  = 0.000102128
  norm       = 0.000101876
  norm       = 0.000100032
  Prefactor  = 0.0001
  Prefactor  = 0.000110018
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.963629
  Prefactor  = 1.05489
 **********
 **   18 **HESSE 
 **********

 FCN=   9268.705     FROM HESSE     STATUS=OK           489 CALLS     2959 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.560        20.752        .26260E-02   -1.4945    
   2  Prefactor     2.3432        .27940        .37035E-02   -1.5402    
   3  norm          .10000E-03    3.6987        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.713        33.377        .18380E-02   -1.4617    
   5  Prefactor     .10002E-03    3.4221        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.9362        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.0795        16.396        .33257E-02   -1.5105    
   8  Prefactor     10.254        8.1578        .31279E-02   -1.5067    
   9  norm          .12305        .49168        .23684E-01   -1.5638    
  10  Prefactor     5.5882        8.3257        .42479E-02   -1.5235    
  11  Prefactor     .10000E-03    8.0415        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.3512        234.69        .67012E-02   -1.5401    
  13  norm          .10000E-03    2.1925        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4467        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     92.129        175.17        .10466E-02   -1.3785    
  16  Prefactor     27.330        13.866        .19154E-02   -1.4662    
  17  Prefactor     .10213E-03    27.928        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10188E-03    28.244        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10003E-03    15.883        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.8457        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11002E-03    28.203        .13254       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.8266        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.0338        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .96363        .19354        .76629E-01   -.94259    
  25  Prefactor     1.0549        .11796        .39639E-01   -.90922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97937e-07
Minuit parameter uncertainties:
  1  20.7622
  2  0.279401
  3  5.31242e-06
  4  33.3976
  5  0.000545131
  6  1.02326e-07
  7  16.4042
  8  8.15866
  9  0.491691
  10  8.32744
  11  0.00013124
  12  47.1718
  13  2.88133e-06
  14  1.64072e-05
  15  176.166
  16  13.8675
  17  0.0154238
  18  0.0145669
  19  0.00142907
  20  1.77627e-05
  21  0.0336336
  22  0.000160029
  23  1.32115e-06
  24  0.193685
  25  0.117988
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.588e+00  8.327e+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.055e+00  1.180e-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.636e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.63
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 9.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840753/likelihoodResults_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.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) = 9268.70467346
delta logL = 0.000463293676148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9268.70452456
delta logL = 0.0006121920851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4414       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2633       1.0000          .0000       10.000    
     3 'Normalizat'    .96292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0549       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=   9268.705     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      256 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4396        9.7531        .17226E-03   -.11880E-04
   2  Index         2.2625        1.0363        .92974E-02    .21465E-03
   3  Normalizat    .96270        .21233        .33927E-03   -.61686E-03
   4  Prefactor     1.0552        .13566        .20806E-03   -.13321E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.43961
  Index      = 2.26247
  Normalizat = 0.9627
  Prefactor  = 1.05518
 **********
 **   18 **HESSE 
 **********

 FCN=   9268.705     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4396        9.2983        .68904E-05   -1.5241    
   2  Index         2.2625        .98855        .18595E-02   -.57938    
   3  Normalizat    .96270        .21225        .67855E-04   -.94291    
   4  Prefactor     1.0552        .13567        .41613E-04   -.90912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.31554e-10
Minuit parameter uncertainties:
  1  9.30073
  2  0.997985
  3  0.212433
  4  0.135718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840753': 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) = 9268.70452144
delta logL = 0.000615310878857

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.440e+00  9.301e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.262e+00  9.980e-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.055e+00  1.357e-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.627e-01  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
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/840753/cmap_HighResolution_419990401_420249601_4FGL_J2324.7+0801_daily_bin697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='9.26e-08', time_completed='2021-09-29 16:29:54.250492', job_id='840753', GAL2='1.06', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632958194.25', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.15e-04', ts2='0.63', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='697' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:29:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 840753: <4FGL_J2324.7+0801_daily_bin697> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin697> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:15:31 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:15:32 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:32 2021
Terminated at Wed Sep 29 16:29:55 2021
Results reported at Wed Sep 29 16:29:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin697 351.19 8.0282 419990401 420249601 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 :                                   829.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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

