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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1010
RA = 346.922, Dec = 14.8644
tmin = 501120001, tmax = 501379201
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='669646', job_status='RUN', time_executed='2021-09-29 07:07:35.710822', time_epoch_executed='1632924455.71' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669646

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669646/ft1_4FGL_J2307.6+1451_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669646/ft1_4FGL_J2307.6+1451_daily_bin1010.fits outfile=/scratch/kocevski/669646/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1010.fits ra=346.922 dec=14.8644 rad=12.0 tmin=501120001.0 tmax=501379201.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.56
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.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/669646/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1010.fits evtable="EVENTS" outfile="/scratch/kocevski/669646/ft1_filtered_4FGL_J2307.6+1451_daily_bin1010.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669646/ft1_filtered_4FGL_J2307.6+1451_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/669646/ltcube_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.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/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits
.....................!
real 11.97
user 11.57
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669646/ft1_filtered_4FGL_J2307.6+1451_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/669646/ltcube_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.fits outfile=/scratch/kocevski/669646/expmap_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.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/669646/ltcube_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.fits
.....................!
real 190.64
user 184.96
sys 5.33

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/669646/ft1_filtered_4FGL_J2307.6+1451_daily_bin1010.fits scfile=/scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits outfile=/scratch/kocevski/669646/cmap_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669646/ft1_filtered_4FGL_J2307.6+1451_daily_bin1010.fits scfile=/scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits outfile=/scratch/kocevski/669646/cmap_HighResolution_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.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.65
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669646/ft1_filtered_4FGL_J2307.6+1451_daily_bin1010.fits', '/scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits', expMap='/scratch/kocevski/669646/expmap_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.fits', expCube='/scratch/kocevski/669646/ltcube_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669646/Model_4FGL_J2307.6+1451_daily_bin1010.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/669646/ft1_filtered_4FGL_J2307.6+1451_daily_bin1010.fits
Spacecraft file(s): /scratch/kocevski/669646/ft2_4FGL_J2307.6+1451_daily_bin1010.fits
Exposure map: /scratch/kocevski/669646/expmap_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.fits
Exposure cube: /scratch/kocevski/669646/ltcube_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669646/Model_4FGL_J2307.6+1451_daily_bin1010.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) = 9026.93836805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2136       1.0000         .10000E-03   10000.    
     2 'Prefactor '    47.236       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9297       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6003       1.0000         .10000E-03   10000.    
     5 'norm      '    1.8356       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.058       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8024       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8674       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.745       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .55335E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5907       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0738       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.5808       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3442       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    18.353       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6525       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85195       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92743       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=   9026.920     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2760 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2137        22.319        .88569E-05    .73207E-05
   2  Prefactor     47.235        21.223       -.12467E-06   -.60972E-04
   3  Prefactor     6.9296        .54019       -.25077E-07   -.13178E-03
   4  Prefactor     7.6006        8.0467        .13193E-06   -.58255E-07
   5  norm          1.8357        1.2626        .10503E-07    .81880E-05
   6  Prefactor     23.015        38.752        .42835E-05    .76031E-04
   7  Prefactor     .10000E-03    4.7852        .99215E-07** at limit **
   8  Prefactor     .10000E-03    14.759       -.31476E-06** at limit **
   9  Prefactor     1.8021        .27070       -.45296E-08    .35462E-02
  10  Prefactor     5.8680        11.839        .49801E-06   -.89309E-05
  11  Prefactor     17.706        34.485        .39020E-05    .66532E-04
  12  Prefactor     .95385E-01    4.2229       -.18475E-05    .44033E-03
  13  Prefactor     2.5908        9.0186        .54345E-05   -.79957E-05
  14  Prefactor     .10000E-03    21.887        .27921E-06** at limit **
  15  Prefactor     5.0726        6.6132        .21113E-05    .40249E-05
  16  Prefactor     .10000E-03    7.7626       -.72949E-07** at limit **
  17  Prefactor     .10000E-03    5.6995        .69088E-07** at limit **
  18  norm          3.5774        7.7152        .24732E-06   -.26887E-04
  19  Prefactor     2.3449        5.4111        .40164E-06    .18311E-05
  20  Prefactor     .10000E-03    13.588        .13421E-06** at limit **
  21  norm          18.351        15.532       -.89057E-07   -.44945E-04
  22  Prefactor     3.6508        7.4470        .54635E-06    .52871E-05
  23  Normalizat    .85233        .23138       -.24905E-05   -.68100E-04
  24  Prefactor     .92726        .12485       -.36701E-06   -.70533E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.21366
  Prefactor  = 47.2347
  Prefactor  = 6.92963
  Prefactor  = 7.60063
  norm       = 1.83566
  Prefactor  = 23.0149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.80206
  Prefactor  = 5.86799
  Prefactor  = 17.7062
  Prefactor  = 0.0953846
  Prefactor  = 2.59082
  Prefactor  = 0.0001
  Prefactor  = 5.07261
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.57741
  Prefactor  = 2.34487
  Prefactor  = 0.0001
  norm       = 18.3508
  Prefactor  = 3.65082
  Normalizat = 0.852335
  Prefactor  = 0.927259
 **********
 **   18 **HESSE 
 **********

 FCN=   9026.920     FROM HESSE     STATUS=OK           411 CALLS     3171 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2137        22.411        .13822E-02   -1.5410    
   2  Prefactor     47.235        21.228        .58341E-04   -1.4332    
   3  Prefactor     6.9296        .54107        .18297E-04   -1.5181    
   4  Prefactor     7.6006        8.0534        .72733E-03   -1.5157    
   5  norm          1.8357        1.2736        .86275E-04   -1.5437    
   6  Prefactor     23.015        38.857        .83417E-04   -1.4748    
   7  Prefactor     .10000E-03    4.8007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8021        .27230        .17304E-04   -1.5439    
  10  Prefactor     5.8680        11.847        .16579E-03   -1.5223    
  11  Prefactor     17.706        34.608        .95079E-04   -1.4866    
  12  Prefactor     .95385E-01    6.4721        .60880E-01   -1.5646    
  13  Prefactor     2.5908        9.0229        .12676E-02   -1.5386    
  14  Prefactor     .10000E-03    22.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0726        6.6183        .89252E-03   -1.5257    
  16  Prefactor     .10000E-03    7.8249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.7062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5774        7.6358        .21356E-03   -1.5330    
  19  Prefactor     2.3449        5.3394        .26776E-03   -1.5402    
  20  Prefactor     .10000E-03    13.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          18.351        15.538        .93490E-04   -1.4851    
  22  Prefactor     3.6508        7.4410        .21137E-03   -1.5326    
  23  Normalizat    .85233        .26706        .41606E-03   -.98156    
  24  Prefactor     .92726        .14550        .22781E-03   -.95195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12167e-09
Minuit parameter uncertainties:
  1  14.0935
  2  21.2316
  3  0.541066
  4  8.05457
  5  1.27366
  6  38.8994
  7  1.37196e-05
  8  4.01444e-05
  9  0.272296
  10  11.852
  11  34.6469
  12  1.57077
  13  9.02761
  14  7.18928e-05
  15  6.61924
  16  1.27813e-05
  17  8.63196e-06
  18  7.63788
  19  5.34045
  20  1.19294e-05
  21  15.5412
  22  7.44293
  23  0.267474
  24  0.145557
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  9.538e-02  1.571e+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:  9.273e-01  1.456e-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:  8.523e-01  2.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/669646/likelihoodResults_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.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) = 9026.6610756
delta logL = 0.259256298217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9026.57350969
delta logL = 0.346822204812

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47366       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4550       1.0000          .0000       10.000    
     3 'Normalizat'    .81095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93648       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.

 FCN=   9026.574     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      245 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47823        10.294        .11163E-01    .21092E-02
   2  Index         3.4526        2.4489        .11572        .22164E-03
   3  Normalizat    .81076        .42783E-01    .95872E-01   -.96982E-04
   4  Prefactor     .93669        .24493E-01    .45468E-01   -.26119E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.478233
  Index      = 3.45256
  Normalizat = 0.810758
  Prefactor  = 0.93669
 **********
 **   18 **HESSE 
 **********

 FCN=   9026.574     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47823        39.480        .82287E-04   -1.5570    
   2  Index         3.4526        6.6470        .69370E-02   -.31466    
   3  Normalizat    .81076        .22286        .42486E-03   -.99671    
   4  Prefactor     .93669        .12822        .22652E-03   -.94871    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.93782e-06
Minuit parameter uncertainties:
  1  8.69544
  2  7.17322
  3  0.223114
  4  0.128257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669646': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9026.57350176
delta logL = 0.346830134742

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  4.782e-01  8.695e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  3.453e+00  7.173e+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:  9.367e-01  1.283e-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:  8.108e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/669646/cmap_HighResolution_501120001_501379201_4FGL_J2307.6+1451_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.29e-03', job_status='DONE', photon_flux_upper_limit='9.58e-08', time_completed='2021-09-29 07:22:02.063028', job_id='669646', GAL2='0.94', fit_tolerance='1e-08', EG2='0.81', EG='0.85', time_epoch_completed='1632925322.06', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.47e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1010' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:22:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 669646: <4FGL_J2307.6+1451_daily_bin1010> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1010> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:05:32 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:05:34 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:05:34 2021
Terminated at Wed Sep 29 07:22:02 2021
Results reported at Wed Sep 29 07:22:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1010 346.922 14.8644 501120001 501379201 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 :                                   863.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

