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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1520
RA = 346.922, Dec = 14.8644
tmin = 633312001, tmax = 633571201
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='672586', job_status='RUN', time_executed='2021-09-29 07:19:23.694678', time_epoch_executed='1632925163.69' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672586

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672586/ft1_4FGL_J2307.6+1451_daily_bin1520.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672586/ft2_4FGL_J2307.6+1451_daily_bin1520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672586/ft1_4FGL_J2307.6+1451_daily_bin1520.fits outfile=/scratch/kocevski/672586/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1520.fits ra=346.922 dec=14.8644 rad=12.0 tmin=633312001.0 tmax=633571201.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.69
user 3.47
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672586/ft1_filtered_4FGL_J2307.6+1451_daily_bin1520.fits" evtable="EVENTS" scfile=/scratch/kocevski/672586/ft2_4FGL_J2307.6+1451_daily_bin1520.fits sctable="SC_DATA" outfile=/scratch/kocevski/672586/ltcube_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.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/672586/ft2_4FGL_J2307.6+1451_daily_bin1520.fits
.....................!
real 12.54
user 12.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672586/ft1_filtered_4FGL_J2307.6+1451_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/672586/ft2_4FGL_J2307.6+1451_daily_bin1520.fits sctable="SC_DATA" expcube=/scratch/kocevski/672586/ltcube_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.fits outfile=/scratch/kocevski/672586/expmap_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.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/672586/ltcube_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.fits
.....................!
real 193.82
user 188.14
sys 5.04

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/672586/ft1_filtered_4FGL_J2307.6+1451_daily_bin1520.fits scfile=/scratch/kocevski/672586/ft2_4FGL_J2307.6+1451_daily_bin1520.fits outfile=/scratch/kocevski/672586/cmap_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672586/ft1_filtered_4FGL_J2307.6+1451_daily_bin1520.fits scfile=/scratch/kocevski/672586/ft2_4FGL_J2307.6+1451_daily_bin1520.fits outfile=/scratch/kocevski/672586/cmap_HighResolution_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.004       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.5561       1.0000         .10000E-03   10000.    
     5 'norm      '    5.6248       1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.567       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0773       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22576       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.561       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3635       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10582E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.069       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19265E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9420       1.0000         .10000E-03   10000.    
    18 'norm      '    9.0590       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11076E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8632       1.0000         .10000E-03   10000.    
    21 'norm      '    10.871       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .27706       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93311       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86712       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=   6431.916     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2837 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7934        .14844E-06** at limit **
   2  Prefactor     23.997        18.736        .66955E-07   -.32403E-04
   3  Prefactor     .10000E-03    .94590E-01    .94891E-07** at limit **
   4  Prefactor     9.5557        6.8100       -.61049E-07   -.10954E-03
   5  norm          5.6244        2.1986       -.11356E-06   -.18541E-03
   6  Prefactor     35.564        23.131        .22015E-07   -.24804E-04
   7  Prefactor     1.0752        10.231        .43698E-05   -.20263E-03
   8  Prefactor     .10000E-03    5.6679        .29792E-07** at limit **
   9  Prefactor     .22574        .12123        .43028E-08   -.10807E-02
  10  Prefactor     .10000E-03    2.6028        .55750E-07** at limit **
  11  Prefactor     32.483        38.064       -.32770E-06   -.20039E-03
  12  Prefactor     3.3630        6.5849        .50527E-06   -.15301E-03
  13  Prefactor     .10000E-03    24.529       -.11654E-06** at limit **
  14  Prefactor     11.065        18.002        .18100E-05   -.12185E-03
  15  Prefactor     .10006E-03    2.7362        .51614E-06** at limit **
  16  Prefactor     .10000E-03    6.4044        .25752E-06** at limit **
  17  Prefactor     6.9660        15.760        .37965E-06   -.16514E-03
  18  norm          9.0579        9.0561       -.21220E-05   -.11045E-02
  19  Prefactor     .10095E-03    7.8978        .35513E-05** at limit **
  20  Prefactor     6.8569        20.529        .46558E-06   -.10163E-03
  21  norm          10.868        14.212       -.19948E-06   -.10979E-03
  22  Prefactor     .25024        4.9224        .43798E-07    .74631E-04
  23  Normalizat    .93326        .20434       -.11923E-05   -.56710E-03
  24  Prefactor     .86725        .11408       -.62754E-06   -.71787E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.9973
  Prefactor  = 0.0001
  Prefactor  = 9.55574
  norm       = 5.62443
  Prefactor  = 35.5639
  Prefactor  = 1.07525
  Prefactor  = 0.0001
  Prefactor  = 0.225743
  Prefactor  = 0.0001
  Prefactor  = 32.4827
  Prefactor  = 3.36301
  Prefactor  = 0.0001
  Prefactor  = 11.0649
  Prefactor  = 0.00010006
  Prefactor  = 0.0001
  Prefactor  = 6.96596
  norm       = 9.05789
  Prefactor  = 0.000100953
  Prefactor  = 6.85688
  norm       = 10.8676
  Prefactor  = 0.250236
  Normalizat = 0.933256
  Prefactor  = 0.86725
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.916     FROM HESSE     STATUS=OK           413 CALLS     3250 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.997        18.806        .81758E-04   -1.4728    
   3  Prefactor     .10000E-03    .35878        .47037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.5557        6.7887        .12964E-03   -1.5090    
   5  norm          5.6244        2.1893        .71000E-04   -1.5234    
   6  Prefactor     35.564        23.136        .67198E-04   -1.4515    
   7  Prefactor     1.0752        9.6879        .46538E-03   -1.5501    
   8  Prefactor     .10000E-03    5.6704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22574        .11915        .19227E-04   -1.5613    
  10  Prefactor     .10000E-03    2.6068        .12636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.483        37.976        .70221E-04   -1.4567    
  12  Prefactor     3.3630        6.5544        .22065E-03   -1.5341    
  13  Prefactor     .10000E-03    25.140        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.065        17.929        .60208E-03   -1.5043    
  15  Prefactor     .10006E-03    32.336        .24628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9660        15.427        .15227E-03   -1.5180    
  18  norm          9.0579        10.114        .13316E-03   -1.5106    
  19  Prefactor     .10095E-03    10.533        .53167E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8569        20.488        .15315E-03   -1.5184    
  21  norm          10.868        14.219        .12151E-03   -1.5049    
  22  Prefactor     .25024        25.768        .34271E-02   -1.5608    
  23  Normalizat    .93326        .24232        .29862E-03   -.95301    
  24  Prefactor     .86725        .13612        .18137E-03   -.97295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84976e-09
Minuit parameter uncertainties:
  1  3.80028e-06
  2  18.811
  3  6.63619e-06
  4  6.78926
  5  2.18933
  6  23.1422
  7  6.45612
  8  1.13523e-06
  9  0.119154
  10  2.32637e-06
  11  38.0045
  12  6.55579
  13  9.58008e-05
  14  17.9374
  15  0.00278729
  16  2.44617e-05
  17  15.4357
  18  10.1156
  19  0.00633891
  20  20.5092
  21  14.2237
  22  5.07986
  23  0.242603
  24  0.136175
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.363e+00  6.556e+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.672e-01  1.362e-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.333e-01  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/672586/likelihoodResults_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.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) = 6431.64447423
delta logL = 0.271724148687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6431.63241919
delta logL = 0.283779189391

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4654       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9138       1.0000          .0000       10.000    
     3 'Normalizat'    .90727       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87460       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=   6431.632     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      256 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4593        32.223        .88806E-02    .67382E-03
   2  Index         2.9154        2.3636        .14884        .97478E-04
   3  Normalizat    .90766        .43724E-01    .68327E-01    .12131E-04
   4  Prefactor     .87438        .25485E-01    .44680E-01    .52111E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45929
  Index      = 2.91542
  Normalizat = 0.907656
  Prefactor  = 0.874377
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.632     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4593        7.2209        .11028E-03   -1.5466    
   2  Index         2.9154        1.7856        .53072E-02   -.43005    
   3  Normalizat    .90766        .23359        .30228E-03   -.96192    
   4  Prefactor     .87438        .13658        .18064E-03   -.97042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45864e-08
Minuit parameter uncertainties:
  1  6.49329
  2  1.83508
  3  0.233849
  4  0.136637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672586': 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) = 6431.63241613
delta logL = 0.283782253702

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.459e+00  6.493e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.915e+00  1.835e+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.744e-01  1.366e-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.077e-01  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/672586/cmap_HighResolution_633312001_633571201_4FGL_J2307.6+1451_daily_bin1520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.83e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 07:31:06.617260', job_id='672586', GAL2='0.87', fit_tolerance='1e-08', EG2='0.91', EG='0.93', time_epoch_completed='1632925866.62', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.84e-01', ts2='0.90', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1520' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:31:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 672586: <4FGL_J2307.6+1451_daily_bin1520> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1520 346.922 14.8644 633312001 633571201 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 :                                   693.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             234.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            954 sec.

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

