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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin738
RA = 351.19, Dec = 8.0282
tmin = 430617601, tmax = 430876801
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='840811', job_status='RUN', time_executed='2021-09-29 16:17:56.544938', time_epoch_executed='1632957476.54' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840811

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840811/ft1_4FGL_J2324.7+0801_daily_bin738.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840811/ft2_4FGL_J2324.7+0801_daily_bin738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840811/ft1_4FGL_J2324.7+0801_daily_bin738.fits outfile=/scratch/kocevski/840811/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin738.fits ra=351.19 dec=8.0282 rad=12.0 tmin=430617601.0 tmax=430876801.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.42
user 5.15
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840811/ft2_4FGL_J2324.7+0801_daily_bin738.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/840811/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin738.fits evtable="EVENTS" outfile="/scratch/kocevski/840811/ft1_filtered_4FGL_J2324.7+0801_daily_bin738.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/840811/ft1_filtered_4FGL_J2324.7+0801_daily_bin738.fits" evtable="EVENTS" scfile=/scratch/kocevski/840811/ft2_4FGL_J2324.7+0801_daily_bin738.fits sctable="SC_DATA" outfile=/scratch/kocevski/840811/ltcube_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.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/840811/ft2_4FGL_J2324.7+0801_daily_bin738.fits
.....................!
real 11.97
user 11.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840811/ft1_filtered_4FGL_J2324.7+0801_daily_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/840811/ft2_4FGL_J2324.7+0801_daily_bin738.fits sctable="SC_DATA" expcube=/scratch/kocevski/840811/ltcube_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.fits outfile=/scratch/kocevski/840811/expmap_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.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/840811/ltcube_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.fits
.....................!
real 190.68
user 185.66
sys 4.66

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/840811/ft1_filtered_4FGL_J2324.7+0801_daily_bin738.fits scfile=/scratch/kocevski/840811/ft2_4FGL_J2324.7+0801_daily_bin738.fits outfile=/scratch/kocevski/840811/cmap_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840811/ft1_filtered_4FGL_J2324.7+0801_daily_bin738.fits scfile=/scratch/kocevski/840811/ft2_4FGL_J2324.7+0801_daily_bin738.fits outfile=/scratch/kocevski/840811/cmap_HighResolution_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840811/ft1_filtered_4FGL_J2324.7+0801_daily_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/840811/ft2_4FGL_J2324.7+0801_daily_bin738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840811/Model_4FGL_J2324.7+0801_daily_bin738.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/840811/ft1_filtered_4FGL_J2324.7+0801_daily_bin738.fits.....................!
real 67.61
user 66.26
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3226       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.2711       1.0000         .10000E-03   10000.    
     3 'norm      '    39.632       1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.245       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.455       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.621       1.0000         .10000E-03   10000.    
     9 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0708       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.692       1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.923       1.0000         .10000E-03   10000.    
    13 'norm      '    .10271E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.863       1.0000         .10000E-03   10000.    
    15 'Prefactor '    144.43       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.981       1.0000         .10000E-03   10000.    
    18 'norm      '    18.127       1.0000         .10000E-03   10000.    
    19 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    77.802       1.0000         .10000E-03   10000.    
    22 'Prefactor '    88.070       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1205       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=   5415.440     FROM MIGRAD    STATUS=CONVERGED     65 CALLS     2916 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3253        1.1809        .82525E-06   -.11456E-02
   2  Prefactor     6.2711        .46549       -.29832E-07   -.74828E-03
   3  norm          39.631        1.0429       -.16822E-06    .12929E-02
   4  Prefactor     85.243        1.1161       -.19788E-06    .33692E-02
   5  Prefactor     .10000E-03    6.0836        .11151E-06** at limit **
   6  Prefactor     12.454        1.0010       -.11026E-08    .18744E-04
   7  Prefactor     .10004E-03    36.653       -.10466E-04** at limit **
   8  Prefactor     16.623        1.0023       -.33617E-07    .13377E-03
   9  norm          .10000E-03    .85921       -.54510E-06** at limit **
  10  Prefactor     5.0669        1.0211       -.13663E-06    .97826E-04
  11  Prefactor     33.692        1.0006       -.19913E-07    .15842E-03
  12  Prefactor     61.922        1.0278       -.11129E-06    .13861E-02
  13  norm          .10046E-03    11.191        .96855E-05** at limit **
  14  Prefactor     16.857        1.0164        .68574E-07   -.17841E-03
  15  Prefactor     144.43        1.0262       -.71478E-07    .20634E-02
  16  Prefactor     .10002E-03    7.5090        .17136E-04** at limit **
  17  Prefactor     51.979        1.0225       -.10402E-06    .10657E-02
  18  norm          18.129        1.0343        .17587E-06   -.46328E-03
  19  norm          .10028E-03    14.246       -.27475E-05** at limit **
  20  Prefactor     .10000E-03    6.8831       -.84612E-05** at limit **
  21  Prefactor     77.800        1.1044       -.19567E-06    .30158E-02
  22  Prefactor     88.069        1.0203       -.79274E-07    .13946E-02
  23  Prefactor     .10001E-03    8.4506       -.11678E-04** at limit **
  24  Normalizat    .10000E-01    .64577       -.14075E-04** at limit **
  25  Prefactor     1.1205        .99755E-01   -.53629E-06    .20524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.32525
  Prefactor  = 6.2711
  norm       = 39.6305
  Prefactor  = 85.2428
  Prefactor  = 0.0001
  Prefactor  = 12.4542
  Prefactor  = 0.000100042
  Prefactor  = 16.6229
  norm       = 0.0001
  Prefactor  = 5.06688
  Prefactor  = 33.692
  Prefactor  = 61.922
  norm       = 0.000100456
  Prefactor  = 16.8575
  Prefactor  = 144.432
  Prefactor  = 0.000100017
  Prefactor  = 51.9792
  norm       = 18.1291
  norm       = 0.000100275
  Prefactor  = 0.000100002
  Prefactor  = 77.8003
  Prefactor  = 88.0694
  Prefactor  = 0.000100008
  Normalizat = 0.01
  Prefactor  = 1.12048
 **********
 **   18 **HESSE 
 **********

 FCN=   5415.440     FROM HESSE     STATUS=OK           479 CALLS     3395 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3253        39.625        .37055E-02   -1.5167    
   2  Prefactor     6.2711        .48585        .29796E-02   -1.5207    
   3  norm          39.631        33.268        .15918E-02   -1.4448    
   4  Prefactor     85.243        67.437        .10878E-02   -1.3859    
   5  Prefactor     .10000E-03    6.0361        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.454        13.969        .28376E-02   -1.5002    
   7  Prefactor     .10004E-03    37.896        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.623        13.304        .24560E-02   -1.4892    
   9  norm          .10000E-03    .85310        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.0669        18.733        .44639E-02   -1.5258    
  11  Prefactor     33.692        35.510        .17259E-02   -1.4546    
  12  Prefactor     61.922        102.79        .12748E-02   -1.4133    
  13  norm          .10046E-03    24.168        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.857        14.446        .24383E-02   -1.4887    
  15  Prefactor     144.43        343.09        .83816E-03   -1.3299    
  16  Prefactor     .10002E-03    7.8317        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     51.979        61.862        .13907E-02   -1.4265    
  18  norm          18.129        17.443        .23518E-02   -1.4856    
  19  norm          .10028E-03    21.616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.8751        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     77.800        64.289        .11382E-02   -1.3942    
  22  Prefactor     88.069        65.161        .10703E-02   -1.3828    
  23  Prefactor     .10001E-03    8.6282        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .20358        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.1205        .14833        .36855E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67995e-07
Minuit parameter uncertainties:
  1  34.1092
  2  0.48585
  3  33.2838
  4  67.4978
  5  1.89485e-05
  6  13.9724
  7  0.00252711
  8  13.3062
  9  9.11613e-06
  10  18.7546
  11  35.532
  12  103.085
  13  0.00664227
  14  14.4487
  15  348.004
  16  0.000736976
  17  61.9389
  18  17.4476
  19  0.0048787
  20  0.00023493
  21  64.347
  22  65.2141
  23  0.000524379
  24  8.62985e-07
  25  0.148382
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.067e+00  1.875e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.120e+00  1.484e-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.000e-02  8.630e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840811/likelihoodResults_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.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) = 5415.42594787
delta logL = 0.0141079091227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5415.42275519
delta logL = 0.0173005900942

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7589       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5266       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1198       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5415.423     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      259 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7830        27.215        .10412E-02   -.23181E-04
   2  Index         2.5225        2.1150        .10860E-01    .18873E-03
   3  Normalizat    .10000E-01    .61397        .13748E-01** at limit **
   4  Prefactor     1.1195        .10074        .22426E-03    .80858E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.783
  Index      = 2.52252
  Normalizat = 0.01
  Prefactor  = 1.11953
 **********
 **   18 **HESSE 
 **********

 FCN=   5415.423     FROM HESSE     STATUS=OK            27 CALLS      286 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7830        16.315        .41648E-04   -1.5319    
   2  Index         2.5225        1.6684        .21719E-02   -.51841    
   3  Normalizat    .10000E-01    .61574        .27496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1195        .10017        .89703E-05   -.88845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56062e-11
Minuit parameter uncertainties:
  1  15.7195
  2  1.71245
  3  1.87003e-06
  4  0.100186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840811': 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) = 5415.42274877
delta logL = 0.0173070115416

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.783e+00  1.572e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.523e+00  1.712e+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:  1.120e+00  1.002e-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.000e-02  1.870e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/840811/cmap_HighResolution_430617601_430876801_4FGL_J2324.7+0801_daily_bin738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', job_status='DONE', photon_flux_upper_limit='1.88e-07', time_completed='2021-09-29 16:28:42.950642', job_id='840811', GAL2='1.12', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632958122.95', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.73e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='738' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:28:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 840811: <4FGL_J2324.7+0801_daily_bin738> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin738 351.19 8.0282 430617601 430876801 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 :                                   646.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            788 sec.

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

