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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin734
RA = 351.19, Dec = 8.0282
tmin = 429580801, tmax = 429840001
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='840806', job_status='RUN', time_executed='2021-09-29 16:16:19.550425', time_epoch_executed='1632957379.55' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840806

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840806/ft1_4FGL_J2324.7+0801_daily_bin734.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840806/ft2_4FGL_J2324.7+0801_daily_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840806/ft1_4FGL_J2324.7+0801_daily_bin734.fits outfile=/scratch/kocevski/840806/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin734.fits ra=351.19 dec=8.0282 rad=12.0 tmin=429580801.0 tmax=429840001.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 6.27
user 5.99
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840806/ft1_filtered_4FGL_J2324.7+0801_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/840806/ft2_4FGL_J2324.7+0801_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/840806/ltcube_429580801_429840001_4FGL_J2324.7+0801_daily_bin734.fits outfile=/scratch/kocevski/840806/expmap_429580801_429840001_4FGL_J2324.7+0801_daily_bin734.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/840806/ltcube_429580801_429840001_4FGL_J2324.7+0801_daily_bin734.fits
.....................!
real 189.42
user 184.59
sys 4.53

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/840806/ft1_filtered_4FGL_J2324.7+0801_daily_bin734.fits scfile=/scratch/kocevski/840806/ft2_4FGL_J2324.7+0801_daily_bin734.fits outfile=/scratch/kocevski/840806/cmap_429580801_429840001_4FGL_J2324.7+0801_daily_bin734.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/840806/ft1_filtered_4FGL_J2324.7+0801_daily_bin734.fits scfile=/scratch/kocevski/840806/ft2_4FGL_J2324.7+0801_daily_bin734.fits outfile=/scratch/kocevski/840806/cmap_HighResolution_429580801_429840001_4FGL_J2324.7+0801_daily_bin734.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840806/ft1_filtered_4FGL_J2324.7+0801_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/840806/ft2_4FGL_J2324.7+0801_daily_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840806/Model_4FGL_J2324.7+0801_daily_bin734.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/840806/ft1_filtered_4FGL_J2324.7+0801_daily_bin734.fits.....................!
real 72.33
user 71.05
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7154       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.797       1.0000         .10000E-03   10000.    
     3 'norm      '    5.0762       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13499E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.7112       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10500E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.688       1.0000         .10000E-03   10000.    
     9 'norm      '    .10398E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.447       1.0000         .10000E-03   10000.    
    13 'norm      '    8.5892       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.692       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19110E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.143       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10206E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9122       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.9960       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .55895E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .88866       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0441       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=   5767.641     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     2988 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6872        89.128       -.14550E-06    .53540E-05
   2  Prefactor     13.797        .97101       -.18919E-08    .17197E-03
   3  norm          5.0754        12.677       -.31577E-05    .57064E-04
   4  Prefactor     .10000E-03    194.46       -.21147E-05** at limit **
   5  Prefactor     .10000E-03    10.815       -.33196E-07** at limit **
   6  Prefactor     9.6969        18.759       -.18510E-06    .12874E-04
   7  Prefactor     .10000E-03    20.900        .58935E-06** at limit **
   8  Prefactor     20.686        14.505       -.32439E-07    .18483E-04
   9  norm          .10000E-03    .70184       -.47386E-07** at limit **
  10  Prefactor     .10000E-03    7.4303       -.66421E-07** at limit **
  11  Prefactor     .10000E-03    10.257       -.10675E-06** at limit **
  12  Prefactor     44.194        73.497        .25103E-05    .12785E-03
  13  norm          8.5749        18.402       -.22052E-06    .12238E-04
  14  Prefactor     11.697        18.334       -.78619E-07    .28813E-04
  15  Prefactor     .10000E-03    176.33       -.13361E-05** at limit **
  16  Prefactor     29.137        24.649        .19058E-06    .60203E-04
  17  Prefactor     .10000E-03    12.505       -.85682E-07** at limit **
  18  norm          .10000E-03    9.2611       -.72922E-07** at limit **
  19  norm          .10000E-03    15.426       -.18436E-06** at limit **
  20  Prefactor     3.9069        8.3244       -.59610E-06   -.10435E-04
  21  Prefactor     .10000E-03    65.795        .10083E-05** at limit **
  22  Prefactor     8.9749        30.572       -.43970E-06    .12804E-05
  23  Prefactor     .10000E-03    56.307        .20285E-04** at limit **
  24  Normalizat    .88884        .30168        .24542E-05    .14592E-03
  25  Prefactor     1.0441        .17987       -.27159E-06    .60132E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.68719
  Prefactor  = 13.7973
  norm       = 5.07541
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.69687
  Prefactor  = 0.0001
  Prefactor  = 20.6857
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.1945
  norm       = 8.57486
  Prefactor  = 11.6971
  Prefactor  = 0.000100001
  Prefactor  = 29.1374
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.90694
  Prefactor  = 0.0001
  Prefactor  = 8.97486
  Prefactor  = 0.000100001
  Normalizat = 0.888841
  Prefactor  = 1.0441
 **********
 **   18 **HESSE 
 **********

 FCN=   5767.641     FROM HESSE     STATUS=OK           429 CALLS     3417 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6872        89.390        .16801E-03   -1.5231    
   2  Prefactor     13.797        .97106        .18742E-04   -1.4965    
   3  norm          5.0754        12.672        .89231E-03   -1.5257    
   4  Prefactor     .10000E-03    196.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.6969        18.748        .12859E-03   -1.5085    
   7  Prefactor     .10000E-03    20.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.686        14.502        .88059E-04   -1.4798    
   9  norm          .10000E-03    1.1577        .12281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.4444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     44.194        74.112        .30068E-03   -1.4377    
  13  norm          8.5749        18.164        .13678E-03   -1.5122    
  14  Prefactor     11.697        18.170        .11716E-03   -1.5024    
  15  Prefactor     .10000E-03    176.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.137        24.356        .74215E-04   -1.4628    
  17  Prefactor     .10000E-03    12.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.2745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    15.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.9069        8.2478        .20397E-03   -1.5313    
  21  Prefactor     .10000E-03    65.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.9749        30.576        .13363E-03   -1.5109    
  23  Prefactor     .10000E-03    55.509        .49224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .88884        .34717        .43259E-03   -.96853    
  25  Prefactor     1.0441        .20775        .25206E-03   -.91273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94787e-10
Minuit parameter uncertainties:
  1  45.1744
  2  0.971058
  3  12.6782
  4  0.00094571
  5  9.34603e-06
  6  18.759
  7  5.19563e-05
  8  14.5044
  9  1.11883e-06
  10  1.07428e-05
  11  1.59228e-05
  12  74.267
  13  18.1761
  14  18.1781
  15  0.000730434
  16  24.3643
  17  2.14194e-05
  18  4.95931e-06
  19  2.11875e-05
  20  8.25021
  21  5.91528e-05
  22  30.6298
  23  0.000436718
  24  0.348046
  25  0.207912
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  1.074e-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:  1.044e+00  2.079e-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:  8.888e-01  3.480e-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.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840806/likelihoodResults_429580801_429840001_4FGL_J2324.7+0801_daily_bin734.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) = 5767.64148626
delta logL = -0.000638756197986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5767.64084751
delta logL = -3.26599547407e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2250       1.0000          .0000       10.000    
     3 'Normalizat'    .88883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0441       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=   5767.641     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    302.02        .90712E-02** at limit **
   2  Index         2.2221        5.2656        .50000        .32139E-05
   3  Normalizat    .88884        .49464E-01    .97605E-01    .22108E-04
   4  Prefactor     1.0441        .31180E-01    .40267E-01    .45680E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.22213
  Normalizat = 0.888836
  Prefactor  = 1.04411
 **********
 **   18 **HESSE 
 **********

 FCN=   5767.641     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2221        6.1106        .50000       -.58905    
   3  Normalizat    .88884        .32109        .43258E-03   -.96854    
   4  Prefactor     1.0441        .20335        .25206E-03   -.91273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03528e-11
Minuit parameter uncertainties:
  1  9.83611e-07
  2  4.16179
  3  0.321788
  4  0.203496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840806': 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) = 5767.6408475
delta logL = 4.6657078201e-09

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  9.836e-07  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.222e+00  4.162e+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.044e+00  2.035e-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:  8.888e-01  3.218e-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/840806/cmap_HighResolution_429580801_429840001_4FGL_J2324.7+0801_daily_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.29e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-29 16:28:00.687024', job_id='840806', GAL2='1.04', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632958080.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='4.67e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='734' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:28:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 840806: <4FGL_J2324.7+0801_daily_bin734> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin734 351.19 8.0282 429580801 429840001 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 :                                   698.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

