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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1008
RA = 351.19, Dec = 8.0282
tmin = 500601601, tmax = 500860801
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='842285', job_status='RUN', time_executed='2021-09-29 16:24:30.455053', time_epoch_executed='1632957870.46' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842285/ft1_4FGL_J2324.7+0801_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842285/ft2_4FGL_J2324.7+0801_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842285/ft1_4FGL_J2324.7+0801_daily_bin1008.fits outfile=/scratch/kocevski/842285/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1008.fits ra=351.19 dec=8.0282 rad=12.0 tmin=500601601.0 tmax=500860801.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.10
user 4.84
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/842285/ft1_filtered_4FGL_J2324.7+0801_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/842285/ft2_4FGL_J2324.7+0801_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/842285/ltcube_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.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/842285/ft2_4FGL_J2324.7+0801_daily_bin1008.fits
.....................!
real 11.90
user 11.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842285/ft1_filtered_4FGL_J2324.7+0801_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/842285/ft2_4FGL_J2324.7+0801_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/842285/ltcube_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.fits outfile=/scratch/kocevski/842285/expmap_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.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/842285/ltcube_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.fits
.....................!
real 191.87
user 186.76
sys 4.81

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/842285/ft1_filtered_4FGL_J2324.7+0801_daily_bin1008.fits scfile=/scratch/kocevski/842285/ft2_4FGL_J2324.7+0801_daily_bin1008.fits outfile=/scratch/kocevski/842285/cmap_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842285/ft1_filtered_4FGL_J2324.7+0801_daily_bin1008.fits scfile=/scratch/kocevski/842285/ft2_4FGL_J2324.7+0801_daily_bin1008.fits outfile=/scratch/kocevski/842285/cmap_HighResolution_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/842285/ft1_filtered_4FGL_J2324.7+0801_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/842285/ft2_4FGL_J2324.7+0801_daily_bin1008.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/842285/Model_4FGL_J2324.7+0801_daily_bin1008.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/842285/ft1_filtered_4FGL_J2324.7+0801_daily_bin1008.fits.....................!
real 52.12
user 50.87
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33920E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2577       1.0000         .10000E-03   10000.    
     3 'norm      '    6.6088       1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.910       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13982E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.493       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.919       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .23091E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10437E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .60677E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    55.206       1.0000         .10000E-03   10000.    
    13 'norm      '    9.3043       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    301.52       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10601E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .40775       1.0000         .10000E-03   10000.    
    21 'Prefactor '    150.25       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.752       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.0782       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .93202       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89452       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=   4037.682     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     2928 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    103.83        .24816E-05** at limit **
   2  Prefactor     4.2569        .51879        .60641E-08   -.34980E-02
   3  norm          6.6235        30.844       -.67107E-06    .56252E-04
   4  Prefactor     45.916        59.101        .59697E-06   -.21277E-04
   5  Prefactor     .10000E-03    26.493        .47207E-06** at limit **
   6  Prefactor     32.504        21.052       -.74819E-08   -.29405E-04
   7  Prefactor     27.907        29.919       -.69184E-07    .39871E-04
   8  Prefactor     .10000E-03    6.7717        .14394E-06** at limit **
   9  norm          .10000E-03    2.0184        .11866E-05** at limit **
  10  Prefactor     .10000E-03    10.477        .35615E-06** at limit **
  11  Prefactor     .10038E-03    126.55       -.24339E-04** at limit **
  12  Prefactor     55.226        88.248       -.47701E-06    .32448E-04
  13  norm          9.3060        9.9214        .11882E-06   -.10296E-03
  14  Prefactor     .10000E-03    5.6960        .23003E-06** at limit **
  15  Prefactor     302.10        319.29        .29783E-05    .34847E-04
  16  Prefactor     .10000E-03    12.635        .51657E-06** at limit **
  17  Prefactor     .10000E-03    10.823       -.15630E-06** at limit **
  18  norm          .10000E-03    4.7852        .26370E-07** at limit **
  19  norm          .10000E-03    25.501        .53835E-06** at limit **
  20  Prefactor     .41288        20.498       -.97338E-05   -.15474E-03
  21  Prefactor     150.25        79.316       -.88841E-07   -.29383E-05
  22  Prefactor     15.766        22.409       -.77317E-07   -.11056E-05
  23  Prefactor     1.0760        12.001       -.22702E-05   -.95678E-04
  24  Normalizat    .93224        .31452        .33726E-06   -.99328E-04
  25  Prefactor     .89456        .18226       -.19077E-05   -.30090E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 4.25694
  norm       = 6.62351
  Prefactor  = 45.9165
  Prefactor  = 0.000100003
  Prefactor  = 32.5044
  Prefactor  = 27.9072
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.00010038
  Prefactor  = 55.226
  norm       = 9.30603
  Prefactor  = 0.0001
  Prefactor  = 302.105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.412878
  Prefactor  = 150.254
  Prefactor  = 15.7659
  Prefactor  = 1.07605
  Normalizat = 0.932236
  Prefactor  = 0.894555
 **********
 **   18 **HESSE 
 **********

 FCN=   4037.682     FROM HESSE     STATUS=OK           425 CALLS     3353 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    105.26        .21337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2569        .51843        .15262E-04   -1.5295    
   3  norm          6.6235        30.634        .15610E-03   -1.5193    
   4  Prefactor     45.916        59.178        .59174E-04   -1.4352    
   5  Prefactor     .10000E-03    27.675        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.504        21.071        .70295E-04   -1.4567    
   7  Prefactor     27.907        29.906        .75821E-04   -1.4651    
   8  Prefactor     .10000E-03    6.8951        .16139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.4305        .16463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10038E-03    226.54        .59116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     55.226        88.147        .53987E-04   -1.4220    
  13  norm          9.3060        9.9188        .13139E-03   -1.5098    
  14  Prefactor     .10000E-03    5.7743        .14806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     302.10        322.80        .11696E-03   -1.2214    
  16  Prefactor     .10000E-03    12.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.7856        .13576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    25.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .41288        37.488        .29282E-02   -1.5579    
  21  Prefactor     150.25        79.368        .32881E-04   -1.3250    
  22  Prefactor     15.766        22.413        .10092E-03   -1.4914    
  23  Prefactor     1.0760        12.277        .21485E-02   -1.5501    
  24  Normalizat    .93224        .36307        .36247E-03   -.95336    
  25  Prefactor     .89456        .21277        .23002E-03   -.96332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37771e-09
Minuit parameter uncertainties:
  1  0.000792253
  2  0.518432
  3  28.5129
  4  59.2537
  5  0.000598454
  6  21.0762
  7  29.9223
  8  5.52064e-05
  9  0.000278498
  10  3.29514e-05
  11  0.0186199
  12  88.3561
  13  9.92051
  14  5.83459e-05
  15  324.748
  16  4.88228e-05
  17  4.82667e-05
  18  6.95848e-06
  19  8.32224e-05
  20  7.87253
  21  79.4242
  22  22.425
  23  7.27077
  24  0.364033
  25  0.212971
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  3.295e-05  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:  8.946e-01  2.130e-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.322e-01  3.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/842285/likelihoodResults_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.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): 102
logL (Free Index) = 4037.68288822
delta logL = -0.000451540553968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4037.68243685
delta logL = -1.72562067746e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2332       1.0000          .0000       10.000    
     3 'Normalizat'    .93215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89462       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=   4037.682     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    373.48        .90712E-02** at limit **
   2  Index         2.2384        5.5954        .50000       -.43205E-05
   3  Normalizat    .93223        .47189E-01    .81878E-01    .17209E-04
   4  Prefactor     .89456        .29581E-01    .44936E-01    .96722E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23842
  Normalizat = 0.932233
  Prefactor  = 0.894558
 **********
 **   18 **HESSE 
 **********

 FCN=   4037.682     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1761.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2384        6.0673        .50000       -.58514    
   3  Normalizat    .93223        .14213        .36247E-03   -.95337    
   4  Prefactor     .89456        .89262E-01    .23002E-03   -.96332    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.71166e-09
Minuit parameter uncertainties:
  1  6.87325e-05
  2  55.6361
  3  0.142192
  4  0.0892767
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842285': 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): 102
logL (Free Index) = 4037.68243667
delta logL = 1.07374944491e-08

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  6.873e-05  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.238e+00  5.564e+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:  8.946e-01  8.928e-02  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.322e-01  1.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/842285/cmap_HighResolution_500601601_500860801_4FGL_J2324.7+0801_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.48e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-29 16:34:02.827690', job_id='842285', GAL2='0.89', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1632958442.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1008' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:34:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 842285: <4FGL_J2324.7+0801_daily_bin1008> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1008> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 16:20:37 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:20:39 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:20:39 2021
Terminated at Wed Sep 29 16:34:03 2021
Results reported at Wed Sep 29 16:34:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1008 351.19 8.0282 500601601 500860801 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 :                                   570.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             230.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            806 sec.

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

