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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin906
RA = 187.56, Dec = 25.2983
tmin = 474163201, tmax = 474422401
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='741767', job_status='RUN', time_executed='2021-09-05 20:54:22.924490', time_epoch_executed='1630900462.92' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741767/ft1_4FGL_J1230.2+2517_daily_bin906.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741767/ft1_4FGL_J1230.2+2517_daily_bin906.fits outfile=/scratch/kocevski/741767/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin906.fits ra=187.56 dec=25.2983 rad=12.0 tmin=474163201.0 tmax=474422401.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 5.91
user 5.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.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/741767/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin906.fits evtable="EVENTS" outfile="/scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits" evtable="EVENTS" scfile=/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits sctable="SC_DATA" outfile=/scratch/kocevski/741767/ltcube_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.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/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits
.....................!
real 16.39
user 15.97
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits evtable="EVENTS" scfile=/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits sctable="SC_DATA" expcube=/scratch/kocevski/741767/ltcube_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.fits outfile=/scratch/kocevski/741767/expmap_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.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/741767/ltcube_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.fits
.....................!
real 191.62
user 186.53
sys 4.48

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1230.2+2517 @ 187.56 25.2983

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits scfile=/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits outfile=/scratch/kocevski/741767/cmap_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.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=187.56 yref=25.2983 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits scfile=/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits outfile=/scratch/kocevski/741767/cmap_HighResolution_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.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=187.56 yref=25.2983 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits evtable="EVENTS" scfile=/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/741767/Model_4FGL_J1230.2+2517_daily_bin906.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/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits.....................!
real 28.87
user 27.46
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits', '/scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits', expMap='/scratch/kocevski/741767/expmap_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.fits', expCube='/scratch/kocevski/741767/ltcube_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/741767/Model_4FGL_J1230.2+2517_daily_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.2+2517'

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.557e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/741767/ft1_filtered_4FGL_J1230.2+2517_daily_bin906.fits
Spacecraft file(s): /scratch/kocevski/741767/ft2_4FGL_J1230.2+2517_daily_bin906.fits
Exposure map: /scratch/kocevski/741767/expmap_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.fits
Exposure cube: /scratch/kocevski/741767/ltcube_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/741767/Model_4FGL_J1230.2+2517_daily_bin906.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) = 2239.42435017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    49.458       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.598       1.0000         .10000E-03   10000.    
     5 'norm      '    4.2727       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10914E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2171       1.0000         .10000E-03   10000.    
    10 'norm      '    .77382       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0414       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.006       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .17656       1.0000         .10000E-03   10000.    
    16 'norm      '    7.1067       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.592       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.203       1.0000         .10000E-03   10000.    
    19 'Prefactor '    239.46       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    15.830       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    16.178       1.0000         .10000E-03   10000.    
    26 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.5056       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .13268       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2239.360     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     2994 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10117E-03    16.389       -.15552E-04** at limit **
   2  Prefactor     49.470        2.8689        .18469E-05   -.53308E-02
   3  Prefactor     .10004E-03    9.6566       -.23705E-04** at limit **
   4  Prefactor     40.600        1.0715        .29983E-06   -.84425E-03
   5  norm          4.2725        2.7614       -.21578E-07    .72399E-04
   6  Prefactor     .10050E-03    92.565       -.48917E-04** at limit **
   7  Prefactor     .10087E-03    13.147       -.12737E-04** at limit **
   8  Prefactor     .10000E-03    4.9342        .36746E-05** at limit **
   9  Prefactor     7.2198        1.1195        .91950E-06    .16213E-02
  10  norm          .76881        2.9878        .34414E-05    .33774E-05
  11  Prefactor     .10000E-03    6.8242       -.77261E-05** at limit **
  12  Prefactor     7.0466        2.5232        .64068E-06    .13556E-03
  13  Prefactor     10.008        1.5265        .30412E-06   -.61235E-04
  14  Prefactor     .10013E-03    12.525        .17327E-04** at limit **
  15  norm          .17659        .36334       -.26190E-06    .50002E-03
  16  norm          7.1070        1.0121        .17617E-06   -.49279E-04
  17  Prefactor     14.590        1.0148        .14911E-06   -.77375E-05
  18  Prefactor     17.200        1.2120       -.83746E-06    .10002E-02
  19  Prefactor     239.46        1.3683        .31583E-06   -.54861E-02
  20  Prefactor     .10000E-03    4.8045       -.44901E-05** at limit **
  21  norm          15.825        1.0156        .63005E-08   -.29236E-03
  22  Prefactor     .10069E-03    42.569        .45163E-04** at limit **
  23  norm          .10000E-03    1.9448        .75885E-06** at limit **
  24  norm          .10000E-03    4.1355       -.40812E-06** at limit **
  25  norm          16.177        1.0021        .14022E-07   -.11947E-03
  26  norm          .10001E-03    8.0921        .17275E-04** at limit **
  27  Normalizat    1.5057        .33116       -.40955E-05    .10202E-03
  28  Prefactor     .13305        .32412       -.68873E-05    .26449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101167
  Prefactor  = 49.4698
  Prefactor  = 0.000100039
  Prefactor  = 40.5997
  norm       = 4.27253
  Prefactor  = 0.000100496
  Prefactor  = 0.000100865
  Prefactor  = 0.0001
  Prefactor  = 7.21984
  norm       = 0.768805
  Prefactor  = 0.0001
  Prefactor  = 7.04656
  Prefactor  = 10.0079
  Prefactor  = 0.000100127
  norm       = 0.176587
  norm       = 7.107
  Prefactor  = 14.5899
  Prefactor  = 17.2003
  Prefactor  = 239.462
  Prefactor  = 0.0001
  norm       = 15.8254
  Prefactor  = 0.000100687
  norm       = 0.0001
  norm       = 0.0001
  norm       = 16.1766
  norm       = 0.000100009
  Normalizat = 1.5057
  Prefactor  = 0.133048
 **********
 **   18 **HESSE 
 **********

 FCN=   2239.360     FROM HESSE     STATUS=OK           593 CALLS     3587 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10117E-03    25.424        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     49.470        37.146        .14256E-02   -1.4300    
   3  Prefactor     .10004E-03    3.9810        .28934E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     40.600        61.437        .15728E-02   -1.4433    
   5  norm          4.2725        2.8339        .48729E-02   -1.5295    
   6  Prefactor     .10050E-03    8.2029        .76393E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10087E-03    19.936        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8722        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.2198        5.3454        .37328E-02   -1.5171    
  10  norm          .76881        20.116        .12342E-01   -1.5533    
  11  Prefactor     .10000E-03    6.8146        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.0466        7.8111        .37795E-02   -1.5177    
  13  Prefactor     10.008        5.4209        .31669E-02   -1.5075    
  14  Prefactor     .10013E-03    13.185        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .17659        .38484        .87044E-02   -1.5624    
  16  norm          7.1070        6.8659        .37619E-02   -1.5175    
  17  Prefactor     14.590        14.268        .26213E-02   -1.4944    
  18  Prefactor     17.200        60.675        .24141E-02   -1.4878    
  19  Prefactor     239.46        167.52        .65411E-03   -1.2601    
  20  Prefactor     .10000E-03    4.8015        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          15.825        9.7635        .25167E-02   -1.4912    
  22  Prefactor     .10069E-03    48.460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.9405        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    4.1083        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          16.177        11.205        .24894E-02   -1.4903    
  26  norm          .10001E-03    8.2129        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.5057        .57022        .45259E-01   -.77618    
  28  Prefactor     .13305        .59865        .14331       -1.3396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88734e-07
Minuit parameter uncertainties:
  1  0.0108979
  2  37.1636
  3  0.000792162
  4  61.533
  5  2.83395
  6  0.00403349
  7  0.0083089
  8  6.4135e-05
  9  5.34574
  10  7.8677
  11  9.31957e-05
  12  7.81218
  13  5.42116
  14  0.00258551
  15  0.384844
  16  6.86669
  17  14.2715
  18  60.894
  19  167.859
  20  2.66154e-05
  21  9.76449
  22  0.0115513
  23  1.819e-06
  24  1.90947e-05
  25  11.206
  26  0.000530322
  27  0.572681
  28  0.574281
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  7.107e+00  6.867e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.330e-01  5.743e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.506e+00  5.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.23
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 4.18e-08 +/- 4.03e-08
Energy Flux (Fixed Index): 2.48e-05 +/- 2.40e-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) = 2239.32556303
delta logL = 0.0343687650311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2239.32360233
delta logL = 0.036329464976

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7262       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7840       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .12842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2239.324     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7262        7.0060        .38679E-02   -.26920E-02
   2  alpha         1.7841        .69803        .32889       -.78648E-05
   3  Normalizat    1.5156        .58582        .45142E-01   -.36135E-05
   4  Prefactor     .12846        .65311        .14582        .44864E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.72621
  alpha      = 1.78415
  Normalizat = 1.51558
  Prefactor  = 0.128463
 **********
 **   18 **HESSE 
 **********

 FCN=   2239.324     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7262        7.0158        .11737E-03   -1.5189    
   2  alpha         1.7841        .78899        .12762E-01   -.29041    
   3  Normalizat    1.5156        .32477        .19953E-03   -.77341    
   4  Prefactor     .12846        .32471        .63597E-03   -1.3436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24973e-09
Minuit parameter uncertainties:
  1  7.01669
  2  0.804004
  3  0.325214
  4  0.329386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741767': 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) = 2239.32360227
delta logL = 0.0363295267098

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.726e+00  7.017e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  1.784e+00  8.040e-01  0.000e+00  5.000e+00 ( 1.000e+00)
327         beta:  5.434e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.285e-01  3.294e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.516e+00  3.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 187.560 25.298
Photon Index (Free Index): 1.78 +/- 0.80
Photon Flux (Free Index): 3.20e-08 +/- 4.56e-08
Energy Flux (Free Index): 3.07e-05 +/- 4.16e-05

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/741767/cmap_HighResolution_474163201_474422401_4FGL_J1230.2+2517_daily_bin906.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.18e-08', energy_flux2='3.07e-05', photon_flux_error='4.03e-08', dlogl='3.63e-02', energy_flux='2.48e-05', photon_flux2='3.20e-08', job_status='DONE', time_completed='2021-09-05 21:02:17.599979', photon_index_error2='0.80', photon_index2='1.78', ts='4.23', fit_tolerance='1e-08', GAL='0.13', photon_index_error='0.00', energy_flux_error2='4.16e-05', EG='1.51', time_epoch_completed='1630900937.6', return_code='0', job_id='741767', GAL2='0.13', EG2='1.52', return_code2='0', energy_flux_error='2.40e-05', photon_flux_error2='4.56e-08', ts2='4.30', photon_index='2.00' WHERE bin_id='906' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 21:02:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 741767: <4FGL_J1230.2+2517_daily_bin906> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin906> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 20:50:24 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 20:50:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 20:50:30 2021
Terminated at Sun Sep  5 21:02:18 2021
Results reported at Sun Sep  5 21:02:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin906 187.56 25.2983 474163201 474422401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1230.2+2517 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   472.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            714 sec.

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

