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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1120
RA = 346.922, Dec = 14.8644
tmin = 529632001, tmax = 529891201
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='670899', job_status='RUN', time_executed='2021-09-29 07:10:36.938024', time_epoch_executed='1632924636.94' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670899

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670899/ft1_4FGL_J2307.6+1451_daily_bin1120.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670899/ft2_4FGL_J2307.6+1451_daily_bin1120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670899/ft1_4FGL_J2307.6+1451_daily_bin1120.fits outfile=/scratch/kocevski/670899/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1120.fits ra=346.922 dec=14.8644 rad=12.0 tmin=529632001.0 tmax=529891201.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.60
user 3.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670899/ft2_4FGL_J2307.6+1451_daily_bin1120.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/670899/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1120.fits evtable="EVENTS" outfile="/scratch/kocevski/670899/ft1_filtered_4FGL_J2307.6+1451_daily_bin1120.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.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670899/ft1_filtered_4FGL_J2307.6+1451_daily_bin1120.fits evtable="EVENTS" scfile=/scratch/kocevski/670899/ft2_4FGL_J2307.6+1451_daily_bin1120.fits sctable="SC_DATA" expcube=/scratch/kocevski/670899/ltcube_529632001_529891201_4FGL_J2307.6+1451_daily_bin1120.fits outfile=/scratch/kocevski/670899/expmap_529632001_529891201_4FGL_J2307.6+1451_daily_bin1120.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/670899/ltcube_529632001_529891201_4FGL_J2307.6+1451_daily_bin1120.fits
.....................!
real 190.25
user 185.22
sys 4.71

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/670899/ft1_filtered_4FGL_J2307.6+1451_daily_bin1120.fits scfile=/scratch/kocevski/670899/ft2_4FGL_J2307.6+1451_daily_bin1120.fits outfile=/scratch/kocevski/670899/cmap_529632001_529891201_4FGL_J2307.6+1451_daily_bin1120.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.53
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9054       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8638       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9502       1.0000         .10000E-03   10000.    
     5 'norm      '    3.4011       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9754       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .65826       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.297       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3096       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2446       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0248       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10114E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8345       1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.567       1.0000         .10000E-03   10000.    
    21 'norm      '    9.0027       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .67345       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78330       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0655       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=   9458.736     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2711 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.428        .35742E-05** at limit **
   2  Prefactor     6.9026        15.916       -.26431E-05   -.38175E-05
   3  Prefactor     4.8638        .42508       -.28805E-08   -.50213E-03
   4  Prefactor     8.9498        7.2300        .26994E-08   -.35362E-04
   5  norm          3.4010        1.7795        .11125E-07    .62516E-05
   6  Prefactor     .10000E-03    20.856        .11082E-04** at limit **
   7  Prefactor     5.9752        12.618        .85652E-07    .37376E-05
   8  Prefactor     .10000E-03    14.397       -.28701E-05** at limit **
   9  Prefactor     .65828        .18171       -.41201E-08    .19829E-03
  10  Prefactor     12.297        14.269       -.21008E-06    .15655E-04
  11  Prefactor     .10000E-03    21.286        .93589E-05** at limit **
  12  Prefactor     3.3097        6.9691        .26672E-06   -.15271E-03
  13  Prefactor     .10000E-03    24.507       -.16034E-04** at limit **
  14  Prefactor     .10000E-03    13.505       -.58268E-05** at limit **
  15  Prefactor     1.2416        1.7738       -.13063E-09   -.73028E-03
  16  Prefactor     4.0226        10.003       -.10228E-05    .84400E-05
  17  Prefactor     .10000E-03    6.3236       -.11798E-06** at limit **
  18  norm          .10000E-03    5.0744        .21467E-07** at limit **
  19  Prefactor     9.8363        8.8951       -.37565E-06    .11375E-03
  20  Prefactor     18.570        26.143        .43336E-05    .21732E-04
  21  norm          9.0011        13.674       -.97892E-06    .10874E-04
  22  Prefactor     .68128        5.2878       -.38078E-06    .11582E-03
  23  Normalizat    .78327        .21732        .54242E-06    .13708E-03
  24  Prefactor     1.0656        .11760       -.13576E-06    .28329E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.90259
  Prefactor  = 4.86379
  Prefactor  = 8.9498
  norm       = 3.40105
  Prefactor  = 0.0001
  Prefactor  = 5.97517
  Prefactor  = 0.0001
  Prefactor  = 0.658276
  Prefactor  = 12.297
  Prefactor  = 0.0001
  Prefactor  = 3.30969
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.24161
  Prefactor  = 4.02259
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.83628
  Prefactor  = 18.5699
  norm       = 9.00106
  Prefactor  = 0.681283
  Normalizat = 0.78327
  Prefactor  = 1.06559
 **********
 **   18 **HESSE 
 **********

 FCN=   9458.736     FROM HESSE     STATUS=OK           405 CALLS     3116 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.9026        15.947        .15267E-03   -1.5182    
   3  Prefactor     4.8638        .42645        .17795E-04   -1.5267    
   4  Prefactor     8.9498        7.2374        .66987E-03   -1.5110    
   5  norm          3.4010        1.7791        .89800E-04   -1.5339    
   6  Prefactor     .10000E-03    20.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9752        12.573        .16427E-03   -1.5219    
   8  Prefactor     .10000E-03    14.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .65828        .18058        .20358E-04   -1.5546    
  10  Prefactor     12.297        14.278        .11423E-03   -1.5006    
  11  Prefactor     .10000E-03    21.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3097        7.0973        .11126E-02   -1.5344    
  13  Prefactor     .10000E-03    24.887        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2416        8.4577        .20075E-02   -1.5485    
  16  Prefactor     4.0226        9.9588        .20101E-03   -1.5307    
  17  Prefactor     .10000E-03    6.3311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.0871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.8363        8.9206        .12778E-03   -1.5081    
  20  Prefactor     18.570        26.093        .92951E-04   -1.4846    
  21  norm          9.0011        13.676        .13358E-03   -1.5108    
  22  Prefactor     .68128        19.209        .42451E-02   -1.5543    
  23  Normalizat    .78327        .24503        .41352E-03   -1.0069    
  24  Prefactor     1.0656        .13231        .20776E-03   -.90574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15189e-09
Minuit parameter uncertainties:
  1  6.34124e-06
  2  15.9564
  3  0.426453
  4  7.23812
  5  1.7791
  6  5.99085e-06
  7  12.5784
  8  6.58446e-06
  9  0.180585
  10  14.2815
  11  1.55643e-05
  12  7.09909
  13  0.000293983
  14  2.08118e-06
  15  6.48216
  16  9.9629
  17  8.75986e-07
  18  3.93258e-06
  19  8.92179
  20  26.1091
  21  13.6804
  22  7.23717
  23  0.245376
  24  0.132349
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.310e+00  7.099e+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.066e+00  1.323e-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.833e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670899/likelihoodResults_529632001_529891201_4FGL_J2307.6+1451_daily_bin1120.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) = 9458.38046483
delta logL = 0.355064368887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9458.35970593
delta logL = 0.375823268405

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80274       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3460       1.0000          .0000       10.000    
     3 'Normalizat'    .73263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0808       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=   9458.360     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      317 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80286        11.921        .12450E-01    .27031E-02
   2  Index         3.3462        2.2042        .11163        .21823E-03
   3  Normalizat    .73263        .42216E-01    .96128E-01    .40477E-04
   4  Prefactor     1.0808        .24363E-01    .38367E-01   -.76069E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.802857
  Index      = 3.3462
  Normalizat = 0.732632
  Prefactor  = 1.08078
 **********
 **   18 **HESSE 
 **********

 FCN=   9458.360     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      350 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80286        40.190        .87101E-04   -1.5529    
   2  Index         3.3462        6.6724        .61277E-02   -.33711    
   3  Normalizat    .73263        .21847        .42602E-03   -1.0262    
   4  Prefactor     1.0808        .12232        .20636E-03   -.90083    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21818e-06
Minuit parameter uncertainties:
  1  11.3682
  2  5.93558
  3  0.218733
  4  0.122355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670899': 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) = 9458.35970573
delta logL = 0.375823476112

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  8.029e-01  1.137e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  3.346e+00  5.936e+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.081e+00  1.224e-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.326e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.05
Ra Dec: 346.922 14.864
Photon Index (Free Index): 3.35 +/- 5.94
Photon Flux (Free Index): 6.85e-08 +/- 9.35e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.67e-05

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/670899/cmap_HighResolution_529632001_529891201_4FGL_J2307.6+1451_daily_bin1120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='3.76e-01', photon_flux2='6.85e-08', job_status='DONE', time_completed='2021-09-29 07:25:04.360186', photon_index_error2='5.94', photon_index2='3.35', ts='0.26', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.67e-05', EG='0.78', time_epoch_completed='1632925504.36', return_code='0', job_id='670899', GAL2='1.08', EG2='0.73', return_code2='102', photon_flux_error2='9.35e-08', ts2='1.05', photon_index='2.18' WHERE bin_id='1120' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:25:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 670899: <4FGL_J2307.6+1451_daily_bin1120> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1120 346.922 14.8644 529632001 529891201 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.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             341.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            885 sec.

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

