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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin636
RA = 351.19, Dec = 8.0282
tmin = 404179201, tmax = 404438401
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='840663', job_status='RUN', time_executed='2021-09-29 16:16:28.758840', time_epoch_executed='1632957388.76' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840663/ft1_4FGL_J2324.7+0801_daily_bin636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840663/ft2_4FGL_J2324.7+0801_daily_bin636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840663/ft1_4FGL_J2324.7+0801_daily_bin636.fits outfile=/scratch/kocevski/840663/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin636.fits ra=351.19 dec=8.0282 rad=12.0 tmin=404179201.0 tmax=404438401.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.64
user 3.42
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840663/ft2_4FGL_J2324.7+0801_daily_bin636.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/840663/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin636.fits evtable="EVENTS" outfile="/scratch/kocevski/840663/ft1_filtered_4FGL_J2324.7+0801_daily_bin636.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/840663/ft1_filtered_4FGL_J2324.7+0801_daily_bin636.fits" evtable="EVENTS" scfile=/scratch/kocevski/840663/ft2_4FGL_J2324.7+0801_daily_bin636.fits sctable="SC_DATA" outfile=/scratch/kocevski/840663/ltcube_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.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/840663/ft2_4FGL_J2324.7+0801_daily_bin636.fits
.....................!
real 11.94
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840663/ft1_filtered_4FGL_J2324.7+0801_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/840663/ft2_4FGL_J2324.7+0801_daily_bin636.fits sctable="SC_DATA" expcube=/scratch/kocevski/840663/ltcube_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.fits outfile=/scratch/kocevski/840663/expmap_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.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/840663/ltcube_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.fits
.....................!
real 192.17
user 186.50
sys 5.17

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/840663/ft1_filtered_4FGL_J2324.7+0801_daily_bin636.fits scfile=/scratch/kocevski/840663/ft2_4FGL_J2324.7+0801_daily_bin636.fits outfile=/scratch/kocevski/840663/cmap_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840663/ft1_filtered_4FGL_J2324.7+0801_daily_bin636.fits scfile=/scratch/kocevski/840663/ft2_4FGL_J2324.7+0801_daily_bin636.fits outfile=/scratch/kocevski/840663/cmap_HighResolution_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.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.71
user 0.37
sys 0.31

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7349       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.013       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11638E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11163E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9022       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11615E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11390E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.733       1.0000         .10000E-03   10000.    
    13 'norm      '    3.6228       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .20338E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    160.08       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.004       1.0000         .10000E-03   10000.    
    18 'norm      '    4.2479       1.0000         .10000E-03   10000.    
    19 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5296       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12145E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .39416E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97363       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92168       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=   6269.716     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2953 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.964        .11023E-05** at limit **
   2  Prefactor     2.7350        .31459       -.74269E-08   -.42691E-02
   3  norm          .10000E-03    11.071       -.47921E-07** at limit **
   4  Prefactor     11.029        25.584        .73240E-06    .18596E-05
   5  Prefactor     .10001E-03    7.7151        .77229E-06** at limit **
   6  Prefactor     .10000E-03    19.557        .52207E-06** at limit **
   7  Prefactor     .10000E-03    24.999       -.97080E-06** at limit **
   8  Prefactor     2.9044        5.6329        .42707E-05    .77841E-04
   9  norm          .10000E-03    .48857        .49802E-06** at limit **
  10  Prefactor     .10000E-03    13.145        .82248E-06** at limit **
  11  Prefactor     .10000E-03    13.947        .17930E-06** at limit **
  12  Prefactor     61.731        65.683        .10805E-05   -.15970E-04
  13  norm          3.6321        8.9442        .23562E-05   -.45750E-03
  14  Prefactor     .10050E-03    8.4452       -.24097E-05** at limit **
  15  Prefactor     160.18        189.65       -.74924E-05    .20304E-04
  16  Prefactor     .10000E-03    11.735        .65812E-06** at limit **
  17  Prefactor     20.025        27.496       -.10002E-05   -.99073E-04
  18  norm          4.2495        11.891        .22902E-05   -.22890E-04
  19  norm          .10000E-03    13.392       -.12750E-06** at limit **
  20  Prefactor     4.5288        5.9242        .24283E-05   -.86813E-04
  21  Prefactor     .10000E-03    62.597       -.14975E-05** at limit **
  22  Prefactor     .10000E-03    30.758        .36792E-06** at limit **
  23  Prefactor     .10000E-03    4.9715       -.83642E-07** at limit **
  24  Normalizat    .97349        .22278       -.35976E-05   -.42747E-03
  25  Prefactor     .92168        .13337        .72431E-07   -.71980E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 2.73504
  norm       = 0.0001
  Prefactor  = 11.0286
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.90437
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 61.7308
  norm       = 3.63212
  Prefactor  = 0.000100496
  Prefactor  = 160.175
  Prefactor  = 0.0001
  Prefactor  = 20.0254
  norm       = 4.24946
  norm       = 0.0001
  Prefactor  = 4.52878
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.973493
  Prefactor  = 0.921678
 **********
 **   18 **HESSE 
 **********

 FCN=   6269.716     FROM HESSE     STATUS=OK           437 CALLS     3390 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7350        .31543        .14222E-04   -1.5377    
   3  norm          .10000E-03    11.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.029        25.602        .12073E-03   -1.5044    
   5  Prefactor     .10001E-03    10.610        .57889E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.9044        5.6209        .11926E-02   -1.5367    
   9  norm          .10000E-03    .69923        .10723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     61.731        65.799        .51069E-04   -1.4135    
  13  norm          3.6321        9.4271        .10613E-02   -1.5327    
  14  Prefactor     .10050E-03    11.563        .52676E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     160.18        189.13        .15935E-03   -1.3170    
  16  Prefactor     .10000E-03    11.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.025        27.421        .89551E-04   -1.4813    
  18  norm          4.2495        11.913        .97749E-03   -1.5296    
  19  norm          .10000E-03    13.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.5288        5.8834        .94580E-03   -1.5282    
  21  Prefactor     .10000E-03    62.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    31.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.837        .34302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .97349        .26228        .31662E-03   -.93924    
  25  Prefactor     .92168        .15836        .20677E-03   -.95388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24953e-09
Minuit parameter uncertainties:
  1  0.000273604
  2  0.31543
  3  2.70175e-05
  4  25.627
  5  0.000567204
  6  1.87211e-05
  7  0.000264088
  8  5.62187
  9  1.70598e-05
  10  0.000257074
  11  3.84999e-05
  12  65.877
  13  9.43093
  14  0.00478931
  15  189.855
  16  2.56261e-05
  17  27.4379
  18  11.9194
  19  1.21059e-05
  20  5.88413
  21  0.000571105
  22  8.65679e-05
  23  0.000147092
  24  0.262629
  25  0.15844
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  2.571e-04  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.217e-01  1.584e-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.735e-01  2.626e-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: 9.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840663/likelihoodResults_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.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) = 6269.71591924
delta logL = -0.000357557793905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6269.71556121
delta logL = 4.75529304822e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2825       1.0000          .0000       10.000    
     3 'Normalizat'    .97350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92168       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=   6269.716     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      219 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    141.24        .90712E-02** at limit **
   2  Index         2.3520        6.7697        .50000       -.45571E-04
   3  Normalizat    .97349        .15013E-01    .71563E-01    .37391E-04
   4  Prefactor     .92168        .96207E-02    .45281E-01    .14582E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Index      = 2.35204
  Normalizat = 0.973494
  Prefactor  = 0.921679
 **********
 **   18 **HESSE 
 **********

 FCN=   6269.716     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    229.54        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3520        8.2573        .50000       -.55812    
   3  Normalizat    .97349        .24289        .31662E-03   -.93924    
   4  Prefactor     .92168        .15595        .20677E-03   -.95388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2113e-08
Minuit parameter uncertainties:
  1  0.00439435
  2  14.7067
  3  0.243169
  4  0.15603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840663': 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) = 6269.71556051
delta logL = 1.16818409879e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.217e-01  1.560e-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.735e-01  2.432e-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/840663/cmap_HighResolution_404179201_404438401_4FGL_J2324.7+0801_daily_bin636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.15e-03', job_status='DONE', photon_flux_upper_limit='9.36e-08', time_completed='2021-09-29 16:28:10.866732', job_id='840663', GAL2='0.92', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632958090.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.17e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='636' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:28:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 840663: <4FGL_J2324.7+0801_daily_bin636> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin636 351.19 8.0282 404179201 404438401 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 :                                   700.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            767 sec.

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

