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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin914
RA = 187.56, Dec = 25.2983
tmin = 476236801, tmax = 476496001
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='741780', job_status='RUN', time_executed='2021-09-05 20:53:14.811934', time_epoch_executed='1630900394.81' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='914'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741780

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741780/ft1_4FGL_J1230.2+2517_daily_bin914.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741780/ft1_4FGL_J1230.2+2517_daily_bin914.fits outfile=/scratch/kocevski/741780/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin914.fits ra=187.56 dec=25.2983 rad=12.0 tmin=476236801.0 tmax=476496001.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.11
user 2.69
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.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/741780/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin914.fits evtable="EVENTS" outfile="/scratch/kocevski/741780/ft1_filtered_4FGL_J1230.2+2517_daily_bin914.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.47
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741780/ft1_filtered_4FGL_J1230.2+2517_daily_bin914.fits" evtable="EVENTS" scfile=/scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits sctable="SC_DATA" outfile=/scratch/kocevski/741780/ltcube_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.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/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits
.....................!
real 11.05
user 10.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741780/ft1_filtered_4FGL_J1230.2+2517_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits sctable="SC_DATA" expcube=/scratch/kocevski/741780/ltcube_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.fits outfile=/scratch/kocevski/741780/expmap_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.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/741780/ltcube_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.fits
.....................!
real 155.15
user 150.31
sys 4.26

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/741780/ft1_filtered_4FGL_J1230.2+2517_daily_bin914.fits scfile=/scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits outfile=/scratch/kocevski/741780/cmap_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.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.47
user 0.32
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741780/ft1_filtered_4FGL_J1230.2+2517_daily_bin914.fits scfile=/scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits outfile=/scratch/kocevski/741780/cmap_HighResolution_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.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.48
user 0.32
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/741780/ft1_filtered_4FGL_J1230.2+2517_daily_bin914.fits', '/scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits', expMap='/scratch/kocevski/741780/expmap_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.fits', expCube='/scratch/kocevski/741780/ltcube_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/741780/Model_4FGL_J1230.2+2517_daily_bin914.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/741780/ft1_filtered_4FGL_J1230.2+2517_daily_bin914.fits
Spacecraft file(s): /scratch/kocevski/741780/ft2_4FGL_J1230.2+2517_daily_bin914.fits
Exposure map: /scratch/kocevski/741780/expmap_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.fits
Exposure cube: /scratch/kocevski/741780/ltcube_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/741780/Model_4FGL_J1230.2+2517_daily_bin914.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) = 7424.33907321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36201E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .87124E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.785       1.0000         .10000E-03   10000.    
     5 'norm      '    3.3556       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2073       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2697       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11542E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.171       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5801       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.966       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11555E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .16064E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10605E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.558       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9888       1.0000         .10000E-03   10000.    
    21 'norm      '    2.5790       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.908       1.0000         .10000E-03   10000.    
    23 'norm      '    2.3282       1.0000         .10000E-03   10000.    
    24 'norm      '    .11213E-02   1.0000         .10000E-03   10000.    
    25 'norm      '    8.8186       1.0000         .10000E-03   10000.    
    26 'norm      '    31.547       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2422       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98510       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=   7424.229     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     3074 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12440E-03    862.90       -.32686E-03** at limit **
   2  Prefactor     .10000E-03    239.62        .17565E-03** at limit **
   3  Prefactor     .10000E-03    .88182        .23016E-05** at limit **
   4  Prefactor     17.788        5.4786       -.76666E-05   -.17797E-02
   5  norm          3.3566        1.4957        .97491E-06    .18201E-02
   6  Prefactor     2.2084        3.6137        .12390E-05   -.12535E-03
   7  Prefactor     .10002E-03    12.903       -.17440E-04** at limit **
   8  Prefactor     2.2707        2.4704       -.67476E-06   -.19770E-03
   9  Prefactor     .10000E-03    8.1772       -.48189E-05** at limit **
  10  norm          13.169        4.2028        .73003E-06    .15629E-03
  11  Prefactor     .10000E-03    4.3130        .26922E-05** at limit **
  12  Prefactor     1.5801        1.7122       -.10277E-05   -.13971E-03
  13  Prefactor     16.965        3.7237        .63971E-07    .19615E-03
  14  Prefactor     .10000E-03    7.7869        .70154E-07** at limit **
  15  norm          .10000E-03    .22490        .16585E-06** at limit **
  16  norm          .10003E-03    13.292        .12640E-04** at limit **
  17  Prefactor     .10008E-03    6.4496        .13003E-04** at limit **
  18  Prefactor     .10000E-03    27.485        .89797E-05** at limit **
  19  Prefactor     26.423        22.268       -.29598E-04    .36240E-02
  20  Prefactor     4.9887        6.5769        .13507E-04   -.79449E-04
  21  norm          2.5854        4.5616        .29751E-06   -.27348E-03
  22  Prefactor     12.908        1.5182       -.22346E-05   -.25128E-03
  23  norm          2.3281        2.6351       -.36389E-06    .40889E-04
  24  norm          .10001E-03    22.829       -.49869E-04** at limit **
  25  norm          8.8202        1.6473        .23845E-05    .19382E-02
  26  norm          31.575        18.863        .12792E-04    .15668E-04
  27  Normalizat    1.2418        .21494       -.25626E-05    .31238E-03
  28  Prefactor     .98555        .22760        .20607E-06    .14449E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000124405
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7882
  norm       = 3.35663
  Prefactor  = 2.2084
  Prefactor  = 0.000100023
  Prefactor  = 2.27075
  Prefactor  = 0.0001
  norm       = 13.169
  Prefactor  = 0.0001
  Prefactor  = 1.58006
  Prefactor  = 16.9653
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.00010003
  Prefactor  = 0.000100083
  Prefactor  = 0.0001
  Prefactor  = 26.4231
  Prefactor  = 4.9887
  norm       = 2.58539
  Prefactor  = 12.908
  norm       = 2.32806
  norm       = 0.000100008
  norm       = 8.82024
  norm       = 31.5747
  Normalizat = 1.24182
  Prefactor  = 0.985546
 **********
 **   18 **HESSE 
 **********

 FCN=   7424.229     FROM HESSE     STATUS=OK           623 CALLS     3697 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12440E-03    18.404        .11307       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.5286        .10425       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    .87231        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.788        25.881        .23743E-02   -1.4864    
   5  norm          3.3566        1.5235        .55231E-02   -1.5342    
   6  Prefactor     2.2084        3.6817        .69222E-02   -1.5411    
   7  Prefactor     .10002E-03    15.309        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2707        2.5624        .68151E-02   -1.5407    
   9  Prefactor     .10000E-03    1.4379        .59009E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.169        4.2183        .27593E-02   -1.4982    
  11  Prefactor     .10000E-03    4.2813        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5801        1.7135        .84472E-02   -1.5457    
  13  Prefactor     16.965        3.7362        .24309E-02   -1.4884    
  14  Prefactor     .10000E-03    3.2096        .55115E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .11428        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10003E-03    2.8687        .45939E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10008E-03    15.310        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.358        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.423        79.352        .19434E-02   -1.4679    
  20  Prefactor     4.9887        6.6764        .45012E-02   -1.5261    
  21  norm          2.5854        5.4503        .63534E-02   -1.5386    
  22  Prefactor     12.908        27.044        .27872E-02   -1.4989    
  23  norm          2.3281        2.6526        .67195E-02   -1.5403    
  24  norm          .10001E-03    2.4952        .70123E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.8202        6.7421        .33744E-02   -1.5114    
  26  norm          31.575        18.899        .17835E-02   -1.4584    
  27  Normalizat    1.2418        .18476        .58276E-01   -.85320    
  28  Prefactor     .98555        .19068        .69539E-01   -.93213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58471e-07
Minuit parameter uncertainties:
  1  0.0423996
  2  6.98225e-05
  3  2.64494e-06
  4  25.8977
  5  1.52353
  6  3.68209
  7  0.00118194
  8  2.56252
  9  5.86276e-06
  10  4.21841
  11  1.47183e-06
  12  1.71354
  13  3.73626
  14  3.43303e-05
  15  4.37966e-07
  16  0.000585141
  17  0.00225508
  18  5.03418e-05
  19  79.6711
  20  6.67738
  21  5.45138
  22  27.0701
  23  2.65271
  24  0.000288231
  25  6.74273
  26  18.9022
  27  0.184859
  28  0.19081
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.000e-04  5.851e-04  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:  9.855e-01  1.908e-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.242e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 187.560 25.298
Photon Flux Upper Limit: 5.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/741780/likelihoodResults_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.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): 102
logL (Free Index) = 7424.22936272
delta logL = -0.000294436771583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7423.8088779
delta logL = 0.420190384415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74071       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6424       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0166       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=   7423.809     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      448 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74042        13.173        .12217E-01    .14609E-02
   2  alpha         3.6426        4.2905        .48618        .59799E-04
   3  Normalizat    1.1873        .35281E-01    .59370E-01    .85800E-05
   4  Prefactor     1.0165        .38227E-01    .68567E-01    .14182E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.740415
  alpha      = 3.64256
  Normalizat = 1.18732
  Prefactor  = 1.01654
 **********
 **   18 **HESSE 
 **********

 FCN=   7423.809     FROM HESSE     STATUS=OK            33 CALLS      481 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74042        6.0925        .83104E-04   -1.5536    
   2  alpha         3.6426        4.1850        .20866E-01    .47465    
   3  Normalizat    1.1873        .22194        .26257E-03   -.86996    
   4  Prefactor     1.0165        .23456        .30333E-03   -.92180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28549e-10
Minuit parameter uncertainties:
  1  4.24812
  2  3.50027
  3  0.222117
  4  0.234796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741780': 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) = 7423.80887788
delta logL = 0.420190407652

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  7.404e-01  4.248e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  3.643e+00  3.500e+00  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.017e+00  2.348e-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.187e+00  2.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 187.560 25.298

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/741780/cmap_HighResolution_476236801_476496001_4FGL_J1230.2+2517_daily_bin914.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2021-09-05 21:05:30.791645', job_id='741780', GAL2='1.02', fit_tolerance='1e-08', EG2='1.19', EG='1.24', time_epoch_completed='1630901130.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.20e-01', ts2='0.88', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='914' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 21:05:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 741780: <4FGL_J1230.2+2517_daily_bin914> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin914> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 20:50:25 2021
Job was executed on host(s) <bullet0135>, 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:05:31 2021
Results reported at Sun Sep  5 21:05:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin914 187.56 25.2983 476236801 476496001 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 :                                   728.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            906 sec.

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

