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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin736
RA = 346.922, Dec = 14.8644
tmin = 430099201, tmax = 430358401
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='668093', job_status='RUN', time_executed='2021-09-29 07:04:34.792219', time_epoch_executed='1632924274.79' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668093

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668093/ft1_4FGL_J2307.6+1451_daily_bin736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668093/ft2_4FGL_J2307.6+1451_daily_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668093/ft1_4FGL_J2307.6+1451_daily_bin736.fits outfile=/scratch/kocevski/668093/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin736.fits ra=346.922 dec=14.8644 rad=12.0 tmin=430099201.0 tmax=430358401.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 11.12
user 10.74
sys 0.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668093/ft1_filtered_4FGL_J2307.6+1451_daily_bin736.fits" evtable="EVENTS" scfile=/scratch/kocevski/668093/ft2_4FGL_J2307.6+1451_daily_bin736.fits sctable="SC_DATA" outfile=/scratch/kocevski/668093/ltcube_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.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/668093/ft2_4FGL_J2307.6+1451_daily_bin736.fits
.....................!
real 11.06
user 10.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668093/ft1_filtered_4FGL_J2307.6+1451_daily_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/668093/ft2_4FGL_J2307.6+1451_daily_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/668093/ltcube_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.fits outfile=/scratch/kocevski/668093/expmap_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.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/668093/ltcube_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.fits
.....................!
real 191.16
user 185.83
sys 4.94

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/668093/ft1_filtered_4FGL_J2307.6+1451_daily_bin736.fits scfile=/scratch/kocevski/668093/ft2_4FGL_J2307.6+1451_daily_bin736.fits outfile=/scratch/kocevski/668093/cmap_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668093/ft1_filtered_4FGL_J2307.6+1451_daily_bin736.fits scfile=/scratch/kocevski/668093/ft2_4FGL_J2307.6+1451_daily_bin736.fits outfile=/scratch/kocevski/668093/cmap_HighResolution_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.183       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22972       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.796       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5122       1.0000         .10000E-03   10000.    
     8 'Prefactor '    57.226       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6995       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .88019       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1956       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .17080E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.387       1.0000         .10000E-03   10000.    
    18 'norm      '    8.9965       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4301       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91717       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=   4974.876     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2731 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.705        .36422E-04** at limit **
   2  Prefactor     12.185        24.228        .41280E-06   -.14679E-04
   3  Prefactor     .22946        .33632       -.12922E-06   -.30922E-02
   4  Prefactor     .10000E-03    6.2950       -.24114E-05** at limit **
   5  norm          .10000E-03    1.1040        .53536E-08** at limit **
   6  Prefactor     30.786        67.182       -.15808E-04    .86058E-06
   7  Prefactor     5.5117        19.865       -.12501E-05   -.56880E-04
   8  Prefactor     57.220        52.565       -.61938E-05    .16036E-04
   9  Prefactor     8.6999        .77078        .11345E-06   -.53090E-03
  10  Prefactor     .10000E-03    13.244        .92386E-05** at limit **
  11  Prefactor     .10000E-03    59.856       -.26220E-04** at limit **
  12  Prefactor     .87250        13.744       -.12684E-05   -.99622E-04
  13  Prefactor     7.1978        22.416        .13612E-05   -.24142E-05
  14  Prefactor     .10000E-03    20.675       -.29403E-04** at limit **
  15  Prefactor     .10001E-03    8.7064        .14618E-05** at limit **
  16  Prefactor     .10000E-03    7.3051        .54137E-05** at limit **
  17  Prefactor     19.375        24.259       -.74408E-05   -.43829E-04
  18  norm          8.9982        10.948       -.50274E-06   -.30027E-03
  19  Prefactor     .10000E-03    4.3036       -.40937E-08** at limit **
  20  Prefactor     .10000E-03    14.124        .28347E-05** at limit **
  21  norm          .10000E-03    8.9044       -.69047E-05** at limit **
  22  Prefactor     .10000E-03    5.5449        .47306E-06** at limit **
  23  Normalizat    1.4298        .35581        .67831E-06   -.59394E-04
  24  Prefactor     .91719        .19258        .82478E-06   -.11632E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.1845
  Prefactor  = 0.229464
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.7864
  Prefactor  = 5.51173
  Prefactor  = 57.2201
  Prefactor  = 8.6999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.872505
  Prefactor  = 7.19777
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 19.3748
  norm       = 8.99818
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.42982
  Prefactor  = 0.917192
 **********
 **   18 **HESSE 
 **********

 FCN=   4974.876     FROM HESSE     STATUS=OK           401 CALLS     3132 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.185        24.222        .11476E-03   -1.5010    
   3  Prefactor     .22946        .31162        .47049E-03   -1.5612    
   4  Prefactor     .10000E-03    6.3019        .17281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.1084        .72353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.786        67.284        .72200E-04   -1.4598    
   7  Prefactor     5.5117        19.851        .17113E-03   -1.5238    
   8  Prefactor     57.220        52.613        .53031E-04   -1.4194    
   9  Prefactor     8.6999        .77337        .16536E-04   -1.5118    
  10  Prefactor     .10000E-03    13.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    59.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .87250        61.291        .48920E-02   -1.5521    
  13  Prefactor     7.1978        22.374        .14953E-03   -1.5171    
  14  Prefactor     .10000E-03    20.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    33.541        .39597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.3109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.375        24.185        .90965E-04   -1.4827    
  18  norm          8.9982        10.957        .66813E-03   -1.5108    
  19  Prefactor     .10000E-03    4.3067        .14289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    8.9058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.5591        .16220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4298        .41459        .41148E-03   -.79770    
  24  Prefactor     .91719        .22561        .27201E-03   -.95543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44594e-10
Minuit parameter uncertainties:
  1  9.33642e-05
  2  24.2416
  3  0.311623
  4  8.91839e-07
  5  1.11833e-07
  6  67.4508
  7  19.8746
  8  52.656
  9  0.773372
  10  2.60127e-05
  11  1.21503e-05
  12  14.6403
  13  22.3996
  14  8.34925e-06
  15  0.00114046
  16  2.47983e-06
  17  24.1974
  18  10.9592
  19  1.06753e-07
  20  1.94039e-06
  21  8.91274e-07
  22  7.53886e-07
  23  0.41557
  24  0.225836
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  8.725e-01  1.464e+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:  9.172e-01  2.258e-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:  1.430e+00  4.156e-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: 2.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668093/likelihoodResults_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.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) = 4974.8764531
delta logL = 2.26240817938e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4974.87644542
delta logL = 3.030541302e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87251       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1998       1.0000          .0000       10.000    
     3 'Normalizat'    1.4298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91717       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=   4974.876     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      239 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85663        20.704        .87963E-01    .28875E-03
   2  Index         2.2080        .56997        .50000        .61979E-05
   3  Normalizat    1.4298        .12084E-01    .92913E-01    .15222E-04
   4  Prefactor     .91721        .66094E-02    .45224E-01    .64381E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.856631
  Index      = 2.20802
  Normalizat = 1.42975
  Prefactor  = 0.917205
 **********
 **   18 **HESSE 
 **********

 FCN=   4974.876     FROM HESSE     STATUS=OK            35 CALLS      274 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85663        74.798        .48410E-02   -1.5523    
   2  Index         2.2080        2.9439        .73298E-02   -.59245    
   3  Normalizat    1.4298        .40414        .41149E-03   -.79772    
   4  Prefactor     .91721        .22459        .27201E-03   -.95542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85359e-11
Minuit parameter uncertainties:
  1  16.0291
  2  3.27312
  3  0.405046
  4  0.224816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668093': 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) = 4974.87644126
delta logL = 3.44683212461e-05

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  8.566e-01  1.603e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.208e+00  3.273e+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.172e-01  2.248e-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:  1.430e+00  4.050e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/668093/cmap_HighResolution_430099201_430358401_4FGL_J2307.6+1451_daily_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-02', job_status='DONE', photon_flux_upper_limit='2.13e-07', time_completed='2021-09-29 07:15:30.372588', job_id='668093', GAL2='0.92', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1632924930.37', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.45e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='736' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:15:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 668093: <4FGL_J2307.6+1451_daily_bin736> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin736> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 07:00:30 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:00:31 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:00:31 2021
Terminated at Wed Sep 29 07:15:30 2021
Results reported at Wed Sep 29 07:15:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin736 346.922 14.8644 430099201 430358401 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 :                                   653.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             224.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                22
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

