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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin260
RA = 351.19, Dec = 8.0282
tmin = 306720001, tmax = 306979201
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='837997', job_status='RUN', time_executed='2021-09-29 16:06:12.102027', time_epoch_executed='1632956772.1' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837997

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837997/ft1_4FGL_J2324.7+0801_daily_bin260.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837997/ft2_4FGL_J2324.7+0801_daily_bin260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837997/ft1_4FGL_J2324.7+0801_daily_bin260.fits outfile=/scratch/kocevski/837997/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin260.fits ra=351.19 dec=8.0282 rad=12.0 tmin=306720001.0 tmax=306979201.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 5.04
user 4.78
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837997/ft1_filtered_4FGL_J2324.7+0801_daily_bin260.fits" evtable="EVENTS" scfile=/scratch/kocevski/837997/ft2_4FGL_J2324.7+0801_daily_bin260.fits sctable="SC_DATA" outfile=/scratch/kocevski/837997/ltcube_306720001_306979201_4FGL_J2324.7+0801_daily_bin260.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/837997/ft2_4FGL_J2324.7+0801_daily_bin260.fits
.....................!
real 13.32
user 12.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837997/ft1_filtered_4FGL_J2324.7+0801_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/837997/ft2_4FGL_J2324.7+0801_daily_bin260.fits sctable="SC_DATA" expcube=/scratch/kocevski/837997/ltcube_306720001_306979201_4FGL_J2324.7+0801_daily_bin260.fits outfile=/scratch/kocevski/837997/expmap_306720001_306979201_4FGL_J2324.7+0801_daily_bin260.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/837997/ltcube_306720001_306979201_4FGL_J2324.7+0801_daily_bin260.fits
.....................!
real 191.72
user 185.72
sys 5.64

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/837997/ft1_filtered_4FGL_J2324.7+0801_daily_bin260.fits scfile=/scratch/kocevski/837997/ft2_4FGL_J2324.7+0801_daily_bin260.fits outfile=/scratch/kocevski/837997/cmap_306720001_306979201_4FGL_J2324.7+0801_daily_bin260.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837997/ft1_filtered_4FGL_J2324.7+0801_daily_bin260.fits scfile=/scratch/kocevski/837997/ft2_4FGL_J2324.7+0801_daily_bin260.fits outfile=/scratch/kocevski/837997/cmap_HighResolution_306720001_306979201_4FGL_J2324.7+0801_daily_bin260.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837997/ft1_filtered_4FGL_J2324.7+0801_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/837997/ft2_4FGL_J2324.7+0801_daily_bin260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837997/Model_4FGL_J2324.7+0801_daily_bin260.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/837997/ft1_filtered_4FGL_J2324.7+0801_daily_bin260.fits.....................!
real 112.25
user 110.57
sys 1.40

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.221       1.0000         .10000E-03   10000.    
     3 'norm      '    37.306       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.685       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8124       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.565       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.077       1.0000         .10000E-03   10000.    
    12 'Prefactor '    221.74       1.0000         .10000E-03   10000.    
    13 'norm      '    .23142E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.1305       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.5626       1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.153       1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.755       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.604       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.7417       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0881       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96318       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=   9380.621     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2868 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.132        .42860E-06** at limit **
   2  Prefactor     11.221        .57328        .17311E-08    .89219E-03
   3  norm          37.314        23.083        .27513E-06    .69389E-04
   4  Prefactor     19.668        29.022       -.52802E-06   -.14921E-03
   5  Prefactor     .10000E-03    4.3701       -.69898E-07** at limit **
   6  Prefactor     9.8131        13.415        .36300E-05    .72811E-03
   7  Prefactor     .10000E-03    11.037        .14622E-06** at limit **
   8  Prefactor     .10000E-03    3.9597       -.40956E-07** at limit **
   9  norm          .10000E-03    .48463        .95884E-07** at limit **
  10  Prefactor     12.570        9.4041        .35889E-07    .35892E-03
  11  Prefactor     23.082        18.488        .13527E-06    .53242E-05
  12  Prefactor     221.77        112.14        .18689E-05    .27369E-03
  13  norm          .10023E-03    9.8776       -.37389E-05** at limit **
  14  Prefactor     8.1442        7.9553        .24240E-06    .79980E-03
  15  Prefactor     .10000E-03    88.297        .37513E-08** at limit **
  16  Prefactor     .10000E-03    7.9682        .35947E-06** at limit **
  17  Prefactor     .10000E-03    45.358        .53000E-06** at limit **
  18  norm          3.5611        12.689        .82897E-06    .64573E-04
  19  norm          .10000E-03    8.2201        .88304E-07** at limit **
  20  Prefactor     10.153        5.5725       -.63661E-07   -.27573E-03
  21  Prefactor     53.768        47.836        .10380E-05    .26162E-03
  22  Prefactor     13.611        25.706        .75912E-06    .91997E-04
  23  Prefactor     3.7446        8.7921        .82762E-06    .91102E-04
  24  Normalizat    1.0872        .25818       -.22531E-05    .24883E-03
  25  Prefactor     .96371        .14750        .49603E-06    .31680E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.2207
  norm       = 37.314
  Prefactor  = 19.6681
  Prefactor  = 0.0001
  Prefactor  = 9.81309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.5701
  Prefactor  = 23.0823
  Prefactor  = 221.771
  norm       = 0.000100229
  Prefactor  = 8.14422
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.56106
  norm       = 0.0001
  Prefactor  = 10.1533
  Prefactor  = 53.7681
  Prefactor  = 13.6106
  Prefactor  = 3.7446
  Normalizat = 1.08723
  Prefactor  = 0.963709
 **********
 **   18 **HESSE 
 **********

 FCN=   9380.621     FROM HESSE     STATUS=OK           421 CALLS     3289 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.221        .57366        .15951E-04   -1.5038    
   3  norm          37.314        23.113        .65618E-04   -1.4486    
   4  Prefactor     19.668        29.231        .90274E-04   -1.4821    
   5  Prefactor     .10000E-03    4.3871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.8131        14.093        .63962E-03   -1.5081    
   7  Prefactor     .10000E-03    11.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .49712        .13162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.570        9.3400        .11301E-03   -1.4999    
  11  Prefactor     23.082        18.490        .83383E-04   -1.4747    
  12  Prefactor     221.77        113.93        .13582E-03   -1.2718    
  13  norm          .10023E-03    24.473        .36841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.1442        7.6257        .14061E-03   -1.5137    
  15  Prefactor     .10000E-03    88.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.0000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    46.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5611        12.700        .21413E-03   -1.5331    
  19  norm          .10000E-03    8.2219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.153        5.5895        .12575E-03   -1.5071    
  21  Prefactor     53.768        48.144        .54706E-04   -1.4240    
  22  Prefactor     13.611        25.757        .10860E-03   -1.4970    
  23  Prefactor     3.7446        8.8095        .20874E-03   -1.5321    
  24  Normalizat    1.0872        .29989        .41634E-03   -.90163    
  25  Prefactor     .96371        .17228        .27205E-03   -.93949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12775e-08
Minuit parameter uncertainties:
  1  0.000191541
  2  0.57366
  3  23.1184
  4  29.2523
  5  6.53728e-06
  6  14.0974
  7  1.67122e-05
  8  1.36194e-06
  9  2.89771e-06
  10  9.34107
  11  18.4943
  12  114.044
  13  0.00474021
  14  7.62658
  15  1.89448e-05
  16  3.85499e-05
  17  0.000343707
  18  12.7093
  19  1.22065e-05
  20  5.58978
  21  48.1789
  22  25.7782
  23  8.81252
  24  0.300361
  25  0.172379
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.257e+01  9.341e+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.637e-01  1.724e-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.087e+00  3.004e-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): 4.52e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.44e-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) = 9380.27035597
delta logL = 0.350225601669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9380.26996702
delta logL = 0.350614549774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.388       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7945       1.0000          .0000       10.000    
     3 'Normalizat'    1.1033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95891       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=   9380.270     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      303 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.350        13.577        .96049E-04    .78452E-04
   2  Index         1.7926        .49905        .10163E-01    .17307E-03
   3  Normalizat    1.1034        .27304        .41369E-03    .86675E-04
   4  Prefactor     .95895        .17036        .27267E-03    .14868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3496
  Index      = 1.79264
  Normalizat = 1.10341
  Prefactor  = 0.958947
 **********
 **   18 **HESSE 
 **********

 FCN=   9380.270     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.350        13.506        .19210E-04   -1.4875    
   2  Index         1.7926        .49651        .20325E-02   -.69642    
   3  Normalizat    1.1034        .27330        .16548E-04   -.89642    
   4  Prefactor     .95895        .17054        .10907E-04   -.94111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90044e-11
Minuit parameter uncertainties:
  1  13.5084
  2  0.497909
  3  0.273646
  4  0.170632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837997': 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) = 9380.2699542
delta logL = 0.350627365378

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.735e+01  1.351e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.793e+00  4.979e-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.589e-01  1.706e-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.103e+00  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.32
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.79 +/- 0.50
Photon Flux (Free Index): 2.93e-08 +/- 2.93e-08
Energy Flux (Free Index): 3.59e-05 +/- 4.15e-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/837997/cmap_HighResolution_306720001_306979201_4FGL_J2324.7+0801_daily_bin260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.52e-08', energy_flux2='3.59e-05', photon_flux_error='3.36e-08', dlogl='3.51e-01', energy_flux='1.93e-05', photon_flux2='2.93e-08', job_status='DONE', time_completed='2021-09-29 16:20:32.845490', photon_index_error2='0.50', photon_index2='1.79', ts='6.62', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.15e-05', EG='1.09', time_epoch_completed='1632957632.85', return_code='0', job_id='837997', GAL2='0.96', EG2='1.10', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='2.93e-08', ts2='7.32', photon_index='2.23' WHERE bin_id='260' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:20:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 837997: <4FGL_J2324.7+0801_daily_bin260> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin260> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:45 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:05: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:05:46 2021
Terminated at Wed Sep 29 16:20:33 2021
Results reported at Wed Sep 29 16:20:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin260 351.19 8.0282 306720001 306979201 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 :                                   855.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            888 sec.

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

