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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1260
RA = 346.922, Dec = 14.8644
tmin = 565920001, tmax = 566179201
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='671108', job_status='RUN', time_executed='2021-09-29 07:12:48.540571', time_epoch_executed='1632924768.54' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671108

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671108/ft1_4FGL_J2307.6+1451_daily_bin1260.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671108/ft2_4FGL_J2307.6+1451_daily_bin1260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671108/ft1_4FGL_J2307.6+1451_daily_bin1260.fits outfile=/scratch/kocevski/671108/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1260.fits ra=346.922 dec=14.8644 rad=12.0 tmin=565920001.0 tmax=566179201.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.36
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671108/ft1_filtered_4FGL_J2307.6+1451_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/671108/ft2_4FGL_J2307.6+1451_daily_bin1260.fits sctable="SC_DATA" expcube=/scratch/kocevski/671108/ltcube_565920001_566179201_4FGL_J2307.6+1451_daily_bin1260.fits outfile=/scratch/kocevski/671108/expmap_565920001_566179201_4FGL_J2307.6+1451_daily_bin1260.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/671108/ltcube_565920001_566179201_4FGL_J2307.6+1451_daily_bin1260.fits
.....................!
real 195.59
user 189.66
sys 5.53

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/671108/ft1_filtered_4FGL_J2307.6+1451_daily_bin1260.fits scfile=/scratch/kocevski/671108/ft2_4FGL_J2307.6+1451_daily_bin1260.fits outfile=/scratch/kocevski/671108/cmap_565920001_566179201_4FGL_J2307.6+1451_daily_bin1260.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671108/ft1_filtered_4FGL_J2307.6+1451_daily_bin1260.fits scfile=/scratch/kocevski/671108/ft2_4FGL_J2307.6+1451_daily_bin1260.fits outfile=/scratch/kocevski/671108/cmap_HighResolution_565920001_566179201_4FGL_J2307.6+1451_daily_bin1260.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10397E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.768       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0719       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .58828E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13736       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0128       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9446       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.126       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.431       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.615       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.1497       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1283       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8019       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    11.162       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.3800       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96769       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0947       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7050.714     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     2320 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    58.563        .61681E-05** at limit **
   2  Prefactor     14.771        2.0309       -.90405E-08   -.76182E-03
   3  Prefactor     1.0716        .29518        .20889E-08    .14849E-03
   4  Prefactor     .10000E-03    2.8863        .31012E-06** at limit **
   5  norm          .59422E-01    5.5207        .16686E-05   -.99373E-05
   6  Prefactor     .10001E-03    50.857        .52993E-05** at limit **
   7  Prefactor     .10000E-03    619.63       -.24427E-04** at limit **
   8  Prefactor     .10000E-03    19.646       -.53582E-05** at limit **
   9  Prefactor     1.0129        .23727       -.22198E-07    .19018E-03
  10  Prefactor     .10000E-03    3.2848       -.17184E-06** at limit **
  11  Prefactor     4.9336        2.0023       -.37233E-06    .83828E-03
  12  Prefactor     20.124        1.2936       -.16215E-07    .16787E-02
  13  Prefactor     14.425        1.6900       -.13013E-06   -.48661E-03
  14  Prefactor     14.606        1.3362       -.12982E-06   -.16041E-03
  15  Prefactor     .10000E-03    5.6178       -.51579E-06** at limit **
  16  Prefactor     .10000E-03    12.038        .16097E-05** at limit **
  17  Prefactor     9.1372        2.4854       -.39088E-07   -.54801E-03
  18  norm          5.1339        5.3843        .30530E-07    .83499E-03
  19  Prefactor     2.7974        7.1647        .29682E-06   -.69962E-03
  20  Prefactor     .10000E-03    21.883        .19680E-05** at limit **
  21  norm          11.158        1.6273       -.46133E-07   -.33418E-03
  22  Prefactor     2.3775        1.8957        .57562E-07    .89309E-03
  23  Normalizat    .96796        .28092       -.15510E-05    .25152E-04
  24  Prefactor     1.0947        .15842       -.40021E-06    .36511E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Prefactor  = 14.7711
  Prefactor  = 1.07163
  Prefactor  = 0.0001
  norm       = 0.0594224
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.01286
  Prefactor  = 0.0001
  Prefactor  = 4.93365
  Prefactor  = 20.1237
  Prefactor  = 14.4254
  Prefactor  = 14.6063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.13719
  norm       = 5.13386
  Prefactor  = 2.79737
  Prefactor  = 0.0001
  norm       = 11.1576
  Prefactor  = 2.37749
  Normalizat = 0.967956
  Prefactor  = 1.09473
 **********
 **   18 **HESSE 
 **********

 FCN=   7050.714     FROM HESSE     STATUS=OK           461 CALLS     2781 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    59.561        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.771        15.127        .26056E-02   -1.4939    
   3  Prefactor     1.0716        .29764        .51768E-02   -1.5501    
   4  Prefactor     .10000E-03    2.8862        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .59422E-01    .86832        .40483E-01   -1.5659    
   6  Prefactor     .10001E-03    53.358        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.8085        .96879E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.596        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0129        .24091        .42019E-02   -1.5507    
  10  Prefactor     .10000E-03    3.2823        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9336        67.791        .45217E-02   -1.5264    
  12  Prefactor     20.124        11.184        .22320E-02   -1.4810    
  13  Prefactor     14.425        20.190        .26359E-02   -1.4948    
  14  Prefactor     14.606        24.928        .26192E-02   -1.4943    
  15  Prefactor     .10000E-03    5.5546        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.994        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.1372        18.323        .33124E-02   -1.5103    
  18  norm          5.1339        12.892        .44383E-02   -1.5255    
  19  Prefactor     2.7974        10.588        .60759E-02   -1.5373    
  20  Prefactor     .10000E-03    21.902        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          11.158        17.310        .29979E-02   -1.5040    
  22  Prefactor     2.3775        8.7086        .66383E-02   -1.5400    
  23  Normalizat    .96796        .25911        .86505E-01   -.94112    
  24  Prefactor     1.0947        .13841        .37792E-01   -.89635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51853e-08
Minuit parameter uncertainties:
  1  0.00143666
  2  15.1309
  3  0.297638
  4  9.00068e-07
  5  0.453928
  6  0.0010649
  7  9.63051e-06
  8  5.73347e-05
  9  0.240908
  10  1.16782e-06
  11  36.6264
  12  11.1851
  13  20.2
  14  24.9462
  15  5.1661e-06
  16  2.18423e-05
  17  18.3345
  18  12.8994
  19  10.595
  20  6.84944e-05
  21  17.3182
  22  8.71324
  23  0.259445
  24  0.138459
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.012e+01  1.119e+01  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.095e+00  1.385e-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:  9.680e-01  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.16
Ra Dec: 346.922 14.864
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 6.05e-08
Energy Flux (Fixed Index): 5.04e-05 +/- 2.80e-05

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) = 7050.64669069
delta logL = 0.0668834823291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7050.64046503
delta logL = 0.0731091454318

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.792       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3734       1.0000          .0000       10.000    
     3 'Normalizat'    .95266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0989       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=   7050.640     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      301 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.783        16.114        .50394E-03    .49239E-04
   2  Index         2.3738        .56360        .43176E-02    .61997E-03
   3  Normalizat    .95248        .28040        .38561E-03    .50119E-06
   4  Prefactor     1.0993        .15817        .20495E-03    .83206E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7828
  Index      = 2.37382
  Normalizat = 0.952481
  Prefactor  = 1.09928
 **********
 **   18 **HESSE 
 **********

 FCN=   7050.640     FROM HESSE     STATUS=OK            27 CALLS      328 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.783        14.485        .10079E-03   -1.4913    
   2  Index         2.3738        .50646        .86353E-03   -.55299    
   3  Normalizat    .95248        .27987        .15425E-04   -.94640    
   4  Prefactor     1.0993        .15805        .81980E-05   -.89490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34057e-12
Minuit parameter uncertainties:
  1  14.488
  2  0.507667
  3  0.280302
  4  0.158115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671108': 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) = 7050.64045875
delta logL = 0.0731154250898

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.578e+01  1.449e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.374e+00  5.077e-01  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.099e+00  1.581e-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:  9.525e-01  2.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.32
Ra Dec: 346.922 14.864
Photon Index (Free Index): 2.37 +/- 0.51
Photon Flux (Free Index): 1.29e-07 +/- 8.46e-08
Energy Flux (Free Index): 4.39e-05 +/- 2.71e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/671108/cmap_HighResolution_565920001_566179201_4FGL_J2307.6+1451_daily_bin1260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='4.39e-05', photon_flux_error='6.05e-08', dlogl='7.31e-02', energy_flux='5.04e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-09-29 07:24:40.951097', photon_index_error2='0.51', photon_index2='2.37', ts='6.16', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.71e-05', EG='0.97', time_epoch_completed='1632925480.95', return_code='0', job_id='671108', GAL2='1.10', EG2='0.95', return_code2='0', energy_flux_error='2.80e-05', photon_flux_error2='8.46e-08', ts2='6.32', photon_index='2.18' WHERE bin_id='1260' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:24:40 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1260 346.922 14.8644 565920001 566179201 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 :                                   623.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             247.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

