aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 55 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7294
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.2+2517_daily_bin1760
RA = 187.56, Dec = 25.2983
tmin = 695520001, tmax = 695779201
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='736283', job_status='RUN', time_executed='2023-01-19 00:52:53.403536', time_epoch_executed='1674118373.4' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/736283

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/736283/ft1_4FGL_J1230.2+2517_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/736283/ft1_4FGL_J1230.2+2517_daily_bin1760.fits outfile=/scratch/kocevski/736283/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1760.fits ra=187.56 dec=25.2983 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.44
user 2.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.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/736283/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/736283/ft1_filtered_4FGL_J1230.2+2517_daily_bin1760.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

Number of photons that the gtmktime cut: 954

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/736283/ft1_filtered_4FGL_J1230.2+2517_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/736283/ltcube_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.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/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits
.....................!
real 15.59
user 15.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/736283/ft1_filtered_4FGL_J1230.2+2517_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/736283/ltcube_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.fits outfile=/scratch/kocevski/736283/expmap_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.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/736283/ltcube_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.fits
.....................!
real 191.73
user 186.11
sys 5.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/736283/ft1_filtered_4FGL_J1230.2+2517_daily_bin1760.fits scfile=/scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits outfile=/scratch/kocevski/736283/cmap_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.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.59
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/736283/ft1_filtered_4FGL_J1230.2+2517_daily_bin1760.fits scfile=/scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits outfile=/scratch/kocevski/736283/cmap_HighResolution_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.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.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/736283/ft1_filtered_4FGL_J1230.2+2517_daily_bin1760.fits', '/scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits', expMap='/scratch/kocevski/736283/expmap_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.fits', expCube='/scratch/kocevski/736283/ltcube_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/736283/Model_4FGL_J1230.2+2517_daily_bin1760.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  0.000e+00  1.000e+06 ( 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 -5.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/736283/ft1_filtered_4FGL_J1230.2+2517_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/736283/ft2_4FGL_J1230.2+2517_daily_bin1760.fits
Exposure map: /scratch/kocevski/736283/expmap_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.fits
Exposure cube: /scratch/kocevski/736283/ltcube_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/736283/Model_4FGL_J1230.2+2517_daily_bin1760.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) = 10083.4212784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41575E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21754E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.6097       1.0000          .0000       .10000E+07
     4 'norm      '    76.716       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3783       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10200E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.8502       1.0000          .0000       .10000E+07
     8 'norm      '    3.6021       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5778       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2223       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56460E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11538E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .64448E-07   1.0000          .0000       .10000E+07
    14 'norm      '    18.040       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.0592       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45925E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.5976       1.0000          .0000       .10000E+07
    18 'Prefactor '    .74315E-03   1.0000          .0000       .10000E+07
    19 'norm      '    6.1197       1.0000          .0000       .10000E+07
    20 'norm      '    58.605       1.0000          .0000       .10000E+07
    21 'norm      '    12.220       1.0000          .0000       .10000E+07
    22 'norm      '    34.547       1.0000          .0000       .10000E+07
    23 'Normalizat'    .95792       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0901       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=   10083.38     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1667 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23539E-05    5.8559       -.15841E-07** at limit **
   2  Prefactor     .31641E-08    6.0038        .97150E-07** at limit **
   3  Prefactor     1.6133        1.9191        .27580E-07    .42594E-02
   4  norm          76.690        5.0466        .21009E-08    .60199E-02
   5  Prefactor     1.3385        4.0546        .11842E-06    .29759E-02
   6  Prefactor     .55511E-10    1.4590        .33765E-07** at limit **
   7  Prefactor     1.8524        1.8953        .60921E-08    .61989E-03
   8  norm          3.5803        3.5164        .79175E-08    .39559E-03
   9  Prefactor     2.5950        7.7750        .12643E-06   -.12604E-01
  10  Prefactor     3.2367        2.8243       -.18574E-08   -.58186E-03
  11  Prefactor     .22204E-09    2.9882       -.65275E-07** at limit **
  12  Prefactor      .0000        4.4039        .29444E-07** at limit **
  13  norm           .0000        .21232       -.15772E-07** at limit **
  14  norm          18.005        5.9772        .27861E-07    .36142E-02
  15  Prefactor     9.0754        5.4746       -.38224E-07    .58888E-03
  16  Prefactor     .18008E-06    18.615       -.28446E-06** at limit **
  17  norm          1.5702        3.8467       -.45725E-08   -.17042E-02
  18  Prefactor     .18491E-05    6.6521        .57761E-07** at limit **
  19  norm          6.0637        3.8636        .15046E-07    .24875E-02
  20  norm          59.037        6.5979        .34852E-07    .12327    
  21  norm          11.335        7.3669       -.46701E-07    .18677E-01
  22  norm          35.473        28.044        .72085E-07   -.31980E-01
  23  Normalizat    .95755        .22455        .20754E-05    .12665E-04
  24  Prefactor     1.0904        .23728       -.33457E-05   -.18653E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35389e-06
  Prefactor  = 3.16414e-09
  Prefactor  = 1.61332
  norm       = 76.6901
  Prefactor  = 1.3385
  Prefactor  = 5.55112e-11
  Prefactor  = 1.85244
  norm       = 3.58032
  Prefactor  = 2.59504
  Prefactor  = 3.23667
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  norm       = 0
  norm       = 18.005
  Prefactor  = 9.07542
  Prefactor  = 1.80078e-07
  norm       = 1.57022
  Prefactor  = 1.84913e-06
  norm       = 6.06375
  norm       = 59.0373
  norm       = 11.3353
  norm       = 35.4733
  Normalizat = 0.957555
  Prefactor  = 1.09041
 **********
 **   18 **HESSE 
 **********

 FCN=   10083.38     FROM HESSE     STATUS=OK           461 CALLS     2128 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23539E-05    11.412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .31641E-08    6.0104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6133        1.9443        .83462E-03   -1.5683    
   4  norm          76.690        5.0495        .11418E-03   -1.5533    
   5  Prefactor     1.3385        4.0841        .92709E-03   -1.5685    
   6  Prefactor     .55511E-10    1.4520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8524        1.9062        .76619E-03   -1.5681    
   8  norm          3.5803        3.5166        .53215E-03   -1.5670    
   9  Prefactor     2.5950        7.8757        .63540E-03   -1.5676    
  10  Prefactor     3.2367        2.8267        .56408E-03   -1.5672    
  11  Prefactor     .22204E-09    2.9258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.4062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .10047        .10992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.005        5.9930        .23553E-03   -1.5623    
  15  Prefactor     9.0754        8.7541        .33275E-03   -1.5648    
  16  Prefactor     .18008E-06    21.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5702        3.9125        .83866E-03   -1.5683    
  18  Prefactor     .18491E-05    11.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.0637        3.8669        .40560E-03   -1.5659    
  20  norm          59.037        12.396        .13064E-03   -1.5554    
  21  norm          11.335        18.858        .28631E-03   -1.5641    
  22  norm          35.473        28.841        .17016E-03   -1.5589    
  23  Normalizat    .95755        .18574        .78226E-01   -.94466    
  24  Prefactor     1.0904        .19398        .78574E-01   -.89774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35362e-07
Minuit parameter uncertainties:
  1  0.0103657
  2  0.000276248
  3  1.94435
  4  5.04952
  5  4.08412
  6  1.48549e-05
  7  1.90623
  8  3.51661
  9  7.87569
  10  2.82668
  11  4.79246e-05
  12  1.56405e-05
  13  1.79874e-06
  14  5.99296
  15  8.75407
  16  0.00392688
  17  3.91252
  18  0.00902367
  19  3.8669
  20  12.3963
  21  18.8584
  22  28.8406
  23  0.185866
  24  0.194106
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.801e+01  5.993e+00  0.000e+00  1.000e+06 ( 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 -5.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.090e+00  1.941e-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:  9.576e-01  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 28.56
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 3.52e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 2.09e-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) = 10083.378889
delta logL = 5.16280488227e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10083.378889
delta logL = 5.24940878677e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.005       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0001       1.0000          .0000       5.0000    
     3 'Normalizat'    .95758       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0904       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=   10083.38     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      201 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.008        9.7436        .23576E-03    .27769E-02
   2  alpha         2.0000        .40494        .23702        .19514E-04
   3  Normalizat    .95764        .18200        .78223E-01    .22607E-04
   4  Prefactor     1.0904        .19337        .78576E-01    .13921E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.0083
  alpha      = 2.00002
  Normalizat = 0.957642
  Prefactor  = 1.09036
 **********
 **   18 **HESSE 
 **********

 FCN=   10083.38     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.008        6.0822        .47153E-04   -1.5623    
   2  alpha         2.0000        .27035        .97778E-02   -.20135    
   3  Normalizat    .95764        .22136        .34623E-03   -.94463    
   4  Prefactor     1.0904        .23545        .34777E-03   -.89775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.66581e-11
Minuit parameter uncertainties:
  1  6.08219
  2  0.270901
  3  0.221571
  4  0.235672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/736283': 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) = 10083.3788888
delta logL = 5.44102840649e-06

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.801e+01  6.082e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.000e+00  2.709e-01  0.000e+00  5.000e+00 ( 1.000e+00)
327         beta:  5.434e-02  0.000e+00 -5.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.090e+00  2.357e-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:  9.576e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 28.07
Ra Dec: 187.560 25.298
Photon Index (Free Index): 2.00 +/- 0.27
Photon Flux (Free Index): 1.06e-07 +/- 4.24e-08
Energy Flux (Free Index): 6.30e-05 +/- 2.82e-05

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/736283/cmap_HighResolution_695520001_695779201_4FGL_J1230.2+2517_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='6.30e-05', photon_flux_error='3.52e-08', dlogl='5.44e-06', energy_flux='6.29e-05', photon_flux2='1.06e-07', job_status='DONE', time_completed='2023-01-19 01:04:47.344931', photon_index_error2='0.27', photon_index2='2.00', ts='28.56', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.82e-05', EG='0.96', time_epoch_completed='1674119087.35', return_code='0', job_id='736283', GAL2='1.09', EG2='0.96', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='4.24e-08', ts2='28.07', photon_index='2.00' WHERE bin_id='1760' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:04:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 736283: <4FGL_J1230.2+2517_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:50:17 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:51:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:51:48 2023
Terminated at Thu Jan 19 01:04:48 2023
Results reported at Thu Jan 19 01:04:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin1760 187.56 25.2983 695520001 695779201 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 :                                   716.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            871 sec.

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

