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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin525
RA = 351.19, Dec = 8.0282
tmin = 375408001, tmax = 375667201
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='839392', job_status='RUN', time_executed='2021-09-29 16:12:50.906579', time_epoch_executed='1632957170.91' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839392

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839392/ft1_4FGL_J2324.7+0801_daily_bin525.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839392/ft2_4FGL_J2324.7+0801_daily_bin525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839392/ft1_4FGL_J2324.7+0801_daily_bin525.fits outfile=/scratch/kocevski/839392/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin525.fits ra=351.19 dec=8.0282 rad=12.0 tmin=375408001.0 tmax=375667201.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.46
user 3.22
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839392/ft2_4FGL_J2324.7+0801_daily_bin525.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/839392/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin525.fits evtable="EVENTS" outfile="/scratch/kocevski/839392/ft1_filtered_4FGL_J2324.7+0801_daily_bin525.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/839392/ft1_filtered_4FGL_J2324.7+0801_daily_bin525.fits" evtable="EVENTS" scfile=/scratch/kocevski/839392/ft2_4FGL_J2324.7+0801_daily_bin525.fits sctable="SC_DATA" outfile=/scratch/kocevski/839392/ltcube_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.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/839392/ft2_4FGL_J2324.7+0801_daily_bin525.fits
.....................!
real 12.17
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839392/ft1_filtered_4FGL_J2324.7+0801_daily_bin525.fits evtable="EVENTS" scfile=/scratch/kocevski/839392/ft2_4FGL_J2324.7+0801_daily_bin525.fits sctable="SC_DATA" expcube=/scratch/kocevski/839392/ltcube_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.fits outfile=/scratch/kocevski/839392/expmap_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.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/839392/ltcube_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.fits
.....................!
real 190.45
user 185.67
sys 4.47

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/839392/ft1_filtered_4FGL_J2324.7+0801_daily_bin525.fits scfile=/scratch/kocevski/839392/ft2_4FGL_J2324.7+0801_daily_bin525.fits outfile=/scratch/kocevski/839392/cmap_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.19 yref=8.0282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839392/ft1_filtered_4FGL_J2324.7+0801_daily_bin525.fits scfile=/scratch/kocevski/839392/ft2_4FGL_J2324.7+0801_daily_bin525.fits outfile=/scratch/kocevski/839392/cmap_HighResolution_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.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/839392/ft1_filtered_4FGL_J2324.7+0801_daily_bin525.fits evtable="EVENTS" scfile=/scratch/kocevski/839392/ft2_4FGL_J2324.7+0801_daily_bin525.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839392/Model_4FGL_J2324.7+0801_daily_bin525.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/839392/ft1_filtered_4FGL_J2324.7+0801_daily_bin525.fits.....................!
real 62.47
user 61.26
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .40001       1.0000         .10000E-03   10000.    
     3 'norm      '    40.144       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.313       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1215       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.768       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16097E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1264       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2241       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.5889       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.659       1.0000         .10000E-03   10000.    
    18 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    25.327       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3066       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.458       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.2591       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .63662       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99569       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=   5806.805     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2926 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.728        .60219E-05** at limit **
   2  Prefactor     .40003        .16111       -.53564E-08    .54856E-03
   3  norm          40.143        19.597       -.31335E-07   -.21172E-05
   4  Prefactor     39.314        44.703        .53806E-06    .69123E-05
   5  Prefactor     2.1192        9.3161       -.41383E-06    .58166E-04
   6  Prefactor     1.3741        4.5876       -.83904E-06   -.55963E-03
   7  Prefactor     16.764        22.642       -.15106E-05   -.22859E-05
   8  Prefactor     .10002E-03    5.0210       -.19204E-05** at limit **
   9  norm          2.1264        1.1581        .17416E-07   -.85195E-04
  10  Prefactor     2.2248        4.8468        .96474E-06   -.58354E-03
  11  Prefactor     .10000E-03    25.098       -.91677E-05** at limit **
  12  Prefactor     .10000E-03    13.592       -.40205E-05** at limit **
  13  norm          3.5908        5.4635       -.34904E-06    .22048E-04
  14  Prefactor     .10000E-03    2.0060        .14874E-06** at limit **
  15  Prefactor     .10000E-03    79.099       -.15582E-06** at limit **
  16  Prefactor     .10000E-03    11.569        .29576E-05** at limit **
  17  Prefactor     48.647        29.162       -.55437E-05   -.11956E-04
  18  norm          .10000E-03    8.4312        .72216E-07** at limit **
  19  norm          25.323        20.909       -.39899E-06   -.69237E-04
  20  Prefactor     7.3053        5.7906       -.19500E-06   -.15275E-03
  21  Prefactor     .10000E-03    31.329        .89853E-05** at limit **
  22  Prefactor     33.459        24.491        .65789E-06   -.14120E-04
  23  Prefactor     2.2581        7.5077       -.38604E-06   -.16823E-05
  24  Normalizat    .63655        .21542        .21616E-05    .17223E-03
  25  Prefactor     .99582        .12752        .71690E-07    .31950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.400029
  norm       = 40.1427
  Prefactor  = 39.3139
  Prefactor  = 2.11916
  Prefactor  = 1.37406
  Prefactor  = 16.764
  Prefactor  = 0.000100023
  norm       = 2.1264
  Prefactor  = 2.22483
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.59083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.6467
  norm       = 0.0001
  norm       = 25.3226
  Prefactor  = 7.30533
  Prefactor  = 0.0001
  Prefactor  = 33.4595
  Prefactor  = 2.25812
  Normalizat = 0.636546
  Prefactor  = 0.995819
 **********
 **   18 **HESSE 
 **********

 FCN=   5806.805     FROM HESSE     STATUS=OK           431 CALLS     3357 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .40003        .15960        .18323E-04   -1.5581    
   3  norm          40.143        19.591        .63264E-04   -1.4440    
   4  Prefactor     39.314        44.709        .63927E-04   -1.4453    
   5  Prefactor     2.1192        9.1046        .28314E-03   -1.5417    
   6  Prefactor     1.3741        15.578        .18560E-02   -1.5474    
   7  Prefactor     16.764        22.671        .97808E-04   -1.4889    
   8  Prefactor     .10002E-03    12.528        .31922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1264        1.1571        .58360E-04   -1.5416    
  10  Prefactor     2.2248        5.3782        .13328E-02   -1.5410    
  11  Prefactor     .10000E-03    25.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5908        5.4451        .20992E-03   -1.5329    
  14  Prefactor     .10000E-03    2.0134        .10538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    79.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     48.647        29.284        .57486E-04   -1.4312    
  18  norm          .10000E-03    8.5639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          25.323        20.908        .79598E-04   -1.4701    
  20  Prefactor     7.3053        5.7923        .14838E-03   -1.5167    
  21  Prefactor     .10000E-03    31.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     33.459        24.475        .69277E-04   -1.4550    
  23  Prefactor     2.2581        7.4997        .27332E-03   -1.5407    
  24  Normalizat    .63655        .24240        .34860E-03   -1.0645    
  25  Prefactor     .99582        .14630        .18267E-03   -.92869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32874e-09
Minuit parameter uncertainties:
  1  1.72694e-05
  2  0.159599
  3  19.5946
  4  44.7468
  5  8.78706
  6  9.25575
  7  22.6828
  8  0.00106684
  9  1.15714
  10  5.37939
  11  8.19097e-05
  12  3.46401e-06
  13  5.44582
  14  6.00975e-06
  15  1.16398e-06
  16  9.30974e-07
  17  29.2923
  18  3.62647e-06
  19  20.9139
  20  5.79277
  21  1.76958e-05
  22  24.4825
  23  7.50284
  24  0.242802
  25  0.146362
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.225e+00  5.379e+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.958e-01  1.464e-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:  6.365e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/839392/likelihoodResults_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.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) = 5806.79937079
delta logL = 0.00590831930003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5806.7965562
delta logL = 0.00872290144707

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7821       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4537       1.0000          .0000       10.000    
     3 'Normalizat'    .63443       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99654       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.

 FCN=   5806.797     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7798        155.39        .78368E-02    .46684E-03
   2  Index         2.4547        6.0399        .23702        .34066E-04
   3  Normalizat    .63443        .49568E-01    .78848E-01    .78331E-05
   4  Prefactor     .99654        .29238E-01    .46224E-01   -.12095E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77985
  Index      = 2.45468
  Normalizat = 0.634435
  Prefactor  = 0.996535
 **********
 **   18 **HESSE 
 **********

 FCN=   5806.797     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7798        6.8410        .22994E-03   -1.5441    
   2  Index         2.4547        2.0750        .13107E-01   -.53410    
   3  Normalizat    .63443        .22389        .34914E-03   -1.0654    
   4  Prefactor     .99654        .14500        .18261E-03   -.92845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14649e-09
Minuit parameter uncertainties:
  1  6.84399
  2  2.16525
  3  0.224211
  4  0.145055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839392': 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) = 5806.79655606
delta logL = 0.00872304247787

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.780e+00  6.844e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.455e+00  2.165e+00  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.965e-01  1.451e-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:  6.344e-01  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/839392/cmap_HighResolution_375408001_375667201_4FGL_J2324.7+0801_daily_bin525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.59e-03', job_status='DONE', photon_flux_upper_limit='7.33e-08', time_completed='2021-09-29 16:23:33.428337', job_id='839392', GAL2='1.00', fit_tolerance='1e-08', EG2='0.63', EG='0.64', time_epoch_completed='1632957813.43', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.72e-03', ts2='0.26', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='525' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:23:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 839392: <4FGL_J2324.7+0801_daily_bin525> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin525> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:10:28 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:10:29 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:10:29 2021
Terminated at Wed Sep 29 16:23:34 2021
Results reported at Wed Sep 29 16:23:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin525 351.19 8.0282 375408001 375667201 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 :                                   642.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            786 sec.

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

