/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 9 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin310
RA = 346.922, Dec = 14.8644
tmin = 319680001, tmax = 319939201
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='665237', job_status='RUN', time_executed='2021-09-29 06:51:08.392931', time_epoch_executed='1632923468.39' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='310'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/665237

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/665237/ft1_4FGL_J2307.6+1451_daily_bin310.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/665237/ft2_4FGL_J2307.6+1451_daily_bin310.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/665237/ft1_4FGL_J2307.6+1451_daily_bin310.fits outfile=/scratch/kocevski/665237/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin310.fits ra=346.922 dec=14.8644 rad=12.0 tmin=319680001.0 tmax=319939201.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.45
user 3.24
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/665237/ft1_filtered_4FGL_J2307.6+1451_daily_bin310.fits evtable="EVENTS" scfile=/scratch/kocevski/665237/ft2_4FGL_J2307.6+1451_daily_bin310.fits sctable="SC_DATA" expcube=/scratch/kocevski/665237/ltcube_319680001_319939201_4FGL_J2307.6+1451_daily_bin310.fits outfile=/scratch/kocevski/665237/expmap_319680001_319939201_4FGL_J2307.6+1451_daily_bin310.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/665237/ltcube_319680001_319939201_4FGL_J2307.6+1451_daily_bin310.fits
.....................!
real 191.11
user 185.24
sys 5.54

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/665237/ft1_filtered_4FGL_J2307.6+1451_daily_bin310.fits scfile=/scratch/kocevski/665237/ft2_4FGL_J2307.6+1451_daily_bin310.fits outfile=/scratch/kocevski/665237/cmap_319680001_319939201_4FGL_J2307.6+1451_daily_bin310.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/665237/ft1_filtered_4FGL_J2307.6+1451_daily_bin310.fits scfile=/scratch/kocevski/665237/ft2_4FGL_J2307.6+1451_daily_bin310.fits outfile=/scratch/kocevski/665237/cmap_HighResolution_319680001_319939201_4FGL_J2307.6+1451_daily_bin310.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .61898       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26752       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .90172       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6672       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6555       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5392       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12064E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8085       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6213       1.0000         .10000E-03   10000.    
    18 'norm      '    .11024E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9246       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.141       1.0000         .10000E-03   10000.    
    21 'norm      '    15.390       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12677E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3936       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83748       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=   11169.60     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2377 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2328       -.16073E-05** at limit **
   2  Prefactor     .69984        11.882       -.29811E-05    .46948E-03
   3  Prefactor     .26749        .15828       -.56253E-08    .25408E-03
   4  Prefactor     .10000E-03    2.1411       -.10814E-07** at limit **
   5  norm          .90208        1.0336       -.33585E-07    .11219E-03
   6  Prefactor     .10000E-03    34.755        .62053E-05** at limit **
   7  Prefactor     1.6603        5.0714        .66385E-06   -.64527E-03
   8  Prefactor     .10000E-03    16.933        .81860E-05** at limit **
   9  Prefactor     8.6555        .46626       -.64789E-08    .98959E-03
  10  Prefactor     .10000E-03    6.8741        .18219E-06** at limit **
  11  Prefactor     .10000E-03    22.952       -.10292E-04** at limit **
  12  Prefactor     2.5399        4.6694       -.75550E-06   -.93631E-04
  13  Prefactor     .10011E-03    7.3239       -.93915E-06** at limit **
  14  Prefactor     2.8080        34.638        .56479E-06   -.13959E-03
  15  Prefactor     .10000E-03    2.5046       -.24591E-07** at limit **
  16  Prefactor     .10000E-03    4.3428       -.12973E-08** at limit **
  17  Prefactor     6.6176        20.268        .38166E-06    .22049E-04
  18  norm          .10000E-03    9.0349        .28866E-05** at limit **
  19  Prefactor     8.9250        9.0595        .38156E-06   -.32123E-03
  20  Prefactor     22.128        27.105       -.61220E-05   -.13243E-03
  21  norm          15.390        13.072       -.10271E-06    .17508E-04
  22  Prefactor     .10002E-03    3.0414       -.11586E-05** at limit **
  23  Normalizat    1.3937        .23163        .67787E-06    .27107E-03
  24  Prefactor     .83743        .12032        .39483E-06    .33538E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.699844
  Prefactor  = 0.267495
  Prefactor  = 0.0001
  norm       = 0.902076
  Prefactor  = 0.0001
  Prefactor  = 1.66028
  Prefactor  = 0.000100001
  Prefactor  = 8.65553
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.5399
  Prefactor  = 0.000100113
  Prefactor  = 2.80802
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.6176
  norm       = 0.0001
  Prefactor  = 8.92503
  Prefactor  = 22.128
  norm       = 15.3897
  Prefactor  = 0.000100024
  Normalizat = 1.39371
  Prefactor  = 0.83743
 **********
 **   18 **HESSE 
 **********

 FCN=   11169.60     FROM HESSE     STATUS=OK           411 CALLS     2788 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .69984        83.858        .68245E-02   -1.5541    
   3  Prefactor     .26749        .15827        .31170E-04   -1.5605    
   4  Prefactor     .10000E-03    2.1433        .15102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .90208        1.0270        .11199E-03   -1.5518    
   6  Prefactor     .10000E-03    34.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6603        18.509        .16329E-02   -1.5450    
   8  Prefactor     .10000E-03    16.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.6555        .46801        .15750E-04   -1.5119    
  10  Prefactor     .10000E-03    6.9123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5399        4.6524        .25629E-03   -1.5389    
  13  Prefactor     .10011E-03    6.9594        .94923E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8080        37.755        .12136E-02   -1.5373    
  15  Prefactor     .10000E-03    2.5128        .16324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.6176        20.314        .15595E-03   -1.5193    
  18  norm          .10000E-03    9.2268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.9250        9.2314        .67083E-03   -1.5110    
  20  Prefactor     22.128        27.231        .85124E-04   -1.4767    
  21  norm          15.390        13.073        .10209E-03   -1.4923    
  22  Prefactor     .10002E-03    12.302        .35283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3937        .27229        .39672E-03   -.80811    
  24  Prefactor     .83743        .14024        .26910E-03   -.98363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54697e-08
Minuit parameter uncertainties:
  1  3.33184e-05
  2  15.3425
  3  0.158269
  4  8.06714e-07
  5  1.02703
  6  0.000231122
  7  11.0911
  8  0.000206994
  9  0.468011
  10  2.58693e-06
  11  0.000320159
  12  4.65306
  13  0.00176994
  14  20.6085
  15  3.08426e-06
  16  9.68198e-06
  17  20.3353
  18  8.02105e-05
  19  9.23285
  20  27.2466
  21  13.0757
  22  0.00108001
  23  0.272577
  24  0.140301
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.540e+00  4.653e+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:  8.374e-01  1.403e-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.394e+00  2.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/665237/likelihoodResults_319680001_319939201_4FGL_J2307.6+1451_daily_bin310.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) = 11169.56725
delta logL = 0.033289831048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11169.5608504
delta logL = 0.0396894193855

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1234       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8317       1.0000          .0000       10.000    
     3 'Normalizat'    1.3973       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83633       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=   11169.56     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      222 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1250        51.464        .57352E-02    .22336E-03
   2  Index         1.8321        1.1366        .50000       -.12501E-05
   3  Normalizat    1.3973        .29087E-01    .89509E-01    .11090E-04
   4  Prefactor     .83631        .15445E-01    .44188E-01    .13480E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12497
  Index      = 1.83207
  Normalizat = 1.39735
  Prefactor  = 0.836312
 **********
 **   18 **HESSE 
 **********

 FCN=   11169.56     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1250        5.5145        .22941E-03   -1.5354    
   2  Index         1.8321        1.1389        .66206E-02   -.68618    
   3  Normalizat    1.3973        .25493        .39636E-03   -.80705    
   4  Prefactor     .83631        .13913        .26927E-03   -.98403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21923e-13
Minuit parameter uncertainties:
  1  5.51536
  2  1.15608
  3  0.255158
  4  0.139191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/665237': 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) = 11169.5608503
delta logL = 0.039689537185

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.125e+00  5.515e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  1.832e+00  1.156e+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:  8.363e-01  1.392e-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.397e+00  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/665237/cmap_HighResolution_319680001_319939201_4FGL_J2307.6+1451_daily_bin310.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-03', job_status='DONE', photon_flux_upper_limit='9.56e-08', time_completed='2021-09-29 07:07:24.972981', job_id='665237', GAL2='0.84', fit_tolerance='1e-08', EG2='1.40', EG='1.39', time_epoch_completed='1632924444.97', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.97e-02', ts2='0.54', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='310' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:07:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 665237: <4FGL_J2307.6+1451_daily_bin310> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin310> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 06:50:50 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 06:50:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 06:50:51 2021
Terminated at Wed Sep 29 07:07:25 2021
Results reported at Wed Sep 29 07:07:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin310 346.922 14.8644 319680001 319939201 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 :                                   972.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             364.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

