/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 33 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 = 7494
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1432
RA = 346.922, Dec = 14.8644
tmin = 610502401, tmax = 610761601
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='671361', job_status='RUN', time_executed='2021-09-29 07:11:48.876623', time_epoch_executed='1632924708.88' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671361

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671361/ft1_4FGL_J2307.6+1451_daily_bin1432.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671361/ft1_4FGL_J2307.6+1451_daily_bin1432.fits outfile=/scratch/kocevski/671361/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1432.fits ra=346.922 dec=14.8644 rad=12.0 tmin=610502401.0 tmax=610761601.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.67
user 3.41
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.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/671361/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1432.fits evtable="EVENTS" outfile="/scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.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.52
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits" evtable="EVENTS" scfile=/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits sctable="SC_DATA" outfile=/scratch/kocevski/671361/ltcube_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.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/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits
.....................!
real 11.91
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits sctable="SC_DATA" expcube=/scratch/kocevski/671361/ltcube_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.fits outfile=/scratch/kocevski/671361/expmap_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.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/671361/ltcube_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.fits
.....................!
real 191.58
user 185.86
sys 5.32

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2307.6+1451 @ 346.922 14.8644

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits scfile=/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits outfile=/scratch/kocevski/671361/cmap_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.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=346.922 yref=14.8644 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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits scfile=/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits outfile=/scratch/kocevski/671361/cmap_HighResolution_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.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=346.922 yref=14.8644 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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/671361/Model_4FGL_J2307.6+1451_daily_bin1432.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/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits.....................!
real 77.82
user 76.40
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits', '/scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits', expMap='/scratch/kocevski/671361/expmap_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.fits', expCube='/scratch/kocevski/671361/ltcube_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/671361/Model_4FGL_J2307.6+1451_daily_bin1432.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2307.6+1451'

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.115e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/671361/ft1_filtered_4FGL_J2307.6+1451_daily_bin1432.fits
Spacecraft file(s): /scratch/kocevski/671361/ft2_4FGL_J2307.6+1451_daily_bin1432.fits
Exposure map: /scratch/kocevski/671361/expmap_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.fits
Exposure cube: /scratch/kocevski/671361/ltcube_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/671361/Model_4FGL_J2307.6+1451_daily_bin1432.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) = 7392.83266381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .44163       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31599       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4237       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8691       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .30930       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1953       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .20505E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4356       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1399       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2485       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5417       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.251       1.0000         .10000E-03   10000.    
    18 'norm      '    3.2662       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2105       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10711E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .56905E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72943       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1549       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7392.824     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2801 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9337       -.20303E-06** at limit **
   2  Prefactor     .10000E-03    9.0780       -.47818E-06** at limit **
   3  Prefactor     .44143        .18988       -.49207E-07    .13285E-02
   4  Prefactor     .35168        45.197        .19919E-04   -.43144E-04
   5  norm          2.4239        1.5661       -.51154E-08   -.46805E-04
   6  Prefactor     .10000E-03    9.1936       -.93046E-07** at limit **
   7  Prefactor     5.8684        6.3094        .44201E-07    .41671E-04
   8  Prefactor     .10000E-03    31.529       -.83905E-06** at limit **
   9  Prefactor     .30924        .13231       -.64092E-08   -.11752E-02
  10  Prefactor     5.1962        8.9860        .94190E-07    .58678E-04
  11  Prefactor     .10000E-03    11.823        .30139E-06** at limit **
  12  Prefactor     3.4329        5.4485       -.83610E-07   -.22490E-04
  13  Prefactor     .10000E-03    3.4509       -.81019E-07** at limit **
  14  Prefactor     6.1481        19.059       -.10002E-06    .13797E-04
  15  Prefactor     3.2383        6.2377       -.18166E-05    .13563E-03
  16  Prefactor     9.5468        10.331       -.40673E-06   -.15235E-03
  17  Prefactor     20.268        22.826        .52420E-06    .76846E-04
  18  norm          3.2635        5.8743        .42802E-06    .24138E-03
  19  Prefactor     4.2071        6.2881       -.65395E-07   -.19830E-04
  20  Prefactor     .10000E-03    8.0904       -.88842E-07** at limit **
  21  norm          .10000E-03    16.801        .15540E-06** at limit **
  22  Prefactor     .11081E-03    4.4879       -.14666E-05** at limit **
  23  Normalizat    .73026        .21098        .27111E-06    .22839E-04
  24  Prefactor     1.1544        .12157       -.47564E-07    .26991E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.441427
  Prefactor  = 0.351685
  norm       = 2.42388
  Prefactor  = 0.0001
  Prefactor  = 5.86845
  Prefactor  = 0.000100002
  Prefactor  = 0.309243
  Prefactor  = 5.19624
  Prefactor  = 0.0001
  Prefactor  = 3.43288
  Prefactor  = 0.0001
  Prefactor  = 6.14815
  Prefactor  = 3.23834
  Prefactor  = 9.5468
  Prefactor  = 20.2682
  norm       = 3.26354
  Prefactor  = 4.20709
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000110807
  Normalizat = 0.730257
  Prefactor  = 1.15444
 **********
 **   18 **HESSE 
 **********

 FCN=   7392.824     FROM HESSE     STATUS=OK           415 CALLS     3216 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.0111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.1358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44143        .18712        .22733E-04   -1.5575    
   4  Prefactor     .35168        45.080        .40721E-02   -1.5589    
   5  norm          2.4239        1.5716        .83761E-04   -1.5397    
   6  Prefactor     .10000E-03    9.1986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8684        6.3049        .16577E-03   -1.5223    
   8  Prefactor     .10000E-03    32.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .30924        .13077        .19328E-04   -1.5597    
  10  Prefactor     5.1962        8.9743        .17636E-03   -1.5252    
  11  Prefactor     .10000E-03    71.861        .57197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4329        5.4329        .21822E-03   -1.5337    
  13  Prefactor     .10000E-03    3.4581        .15599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1481        19.059        .16202E-03   -1.5212    
  15  Prefactor     3.2383        6.2546        .11236E-02   -1.5348    
  16  Prefactor     9.5468        10.328        .12973E-03   -1.5090    
  17  Prefactor     20.268        22.858        .89005E-04   -1.4807    
  18  norm          3.2635        5.8434        .22407E-03   -1.5347    
  19  Prefactor     4.2071        6.2627        .19639E-03   -1.5298    
  20  Prefactor     .10000E-03    8.0975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    17.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11081E-03    8.2159        .57526E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .73026        .23604        .36313E-03   -1.0271    
  24  Prefactor     1.1544        .13784        .17865E-03   -.87745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38149e-08
Minuit parameter uncertainties:
  1  4.44622e-05
  2  0.000113246
  3  0.187118
  4  7.96844
  5  1.57167
  6  2.59712e-05
  7  6.30563
  8  0.000459761
  9  0.130775
  10  8.97665
  11  4.67809e-06
  12  5.4337
  13  1.14605e-05
  14  19.0783
  15  6.25583
  16  10.3297
  17  22.8679
  18  5.84443
  19  6.2637
  20  2.05143e-05
  21  5.25622e-05
  22  0.0188483
  23  0.236373
  24  0.137879
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.433e+00  5.434e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.154e+00  1.379e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  7.303e-01  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.54
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 9.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/671361/likelihoodResults_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.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) = 7392.82045291
delta logL = 0.00328332629215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7392.81744443
delta logL = 0.00629180098713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8951       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3175       1.0000          .0000       10.000    
     3 'Normalizat'    .72720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1556       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7392.817     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      260 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8947        8.7507        .21967E-03   -.24335E-03
   2  Index         2.3174        1.5493        .10755E-01   -.35316E-04
   3  Normalizat    .72724        .22373        .36382E-03   -.16368E-03
   4  Prefactor     1.1556        .13566        .17858E-03   -.43018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.89468
  Index      = 2.31743
  Normalizat = 0.727235
  Prefactor  = 1.15556
 **********
 **   18 **HESSE 
 **********

 FCN=   7392.817     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8947        6.8667        .87867E-05   -1.5368    
   2  Index         2.3174        1.2261        .43018E-03   -.56630    
   3  Normalizat    .72724        .22242        .14553E-04   -1.0283    
   4  Prefactor     1.1556        .13516        .35716E-04   -.87710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65844e-10
Minuit parameter uncertainties:
  1  6.86858
  2  1.24409
  3  0.222695
  4  0.135199
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671361': 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) = 7392.81744437
delta logL = 0.00629186937203

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.895e+00  6.869e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.317e+00  1.244e+00  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.156e+00  1.352e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  7.272e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.54
Ra Dec: 346.922 14.864

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/671361/cmap_HighResolution_610502401_610761601_4FGL_J2307.6+1451_daily_bin1432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.30e-08', time_completed='2021-09-29 07:24:26.962255', job_id='671361', GAL2='1.16', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1632925466.96', return_code2='0', ts='0.54', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='6.29e-03', ts2='0.55', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1432' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:24:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 671361: <4FGL_J2307.6+1451_daily_bin1432> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1432> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 07:10:57 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:10:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:10:59 2021
Terminated at Wed Sep 29 07:24:27 2021
Results reported at Wed Sep 29 07:24:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1432 346.922 14.8644 610502401 610761601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2307.6+1451 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   737.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

