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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin1709
RA = 187.56, Dec = 25.2983
tmin = 682300801, tmax = 682560001
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='119209', job_status='RUN', time_executed='2022-09-16 16:50:35.801033', time_epoch_executed='1663372235.8' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119209

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119209/ft1_4FGL_J1230.2+2517_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119209/ft2_4FGL_J1230.2+2517_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119209/ft1_4FGL_J1230.2+2517_daily_bin1709.fits outfile=/scratch/kocevski/119209/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1709.fits ra=187.56 dec=25.2983 rad=12.0 tmin=682300801.0 tmax=682560001.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.73
user 3.51
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/119209/ft2_4FGL_J1230.2+2517_daily_bin1709.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/119209/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/119209/ft1_filtered_4FGL_J1230.2+2517_daily_bin1709.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.51
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 573

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119209/ft1_filtered_4FGL_J1230.2+2517_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/119209/ft2_4FGL_J1230.2+2517_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/119209/ltcube_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.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/119209/ft2_4FGL_J1230.2+2517_daily_bin1709.fits
.....................!
real 13.04
user 12.62
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119209/ft1_filtered_4FGL_J1230.2+2517_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/119209/ft2_4FGL_J1230.2+2517_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/119209/ltcube_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.fits outfile=/scratch/kocevski/119209/expmap_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.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/119209/ltcube_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.fits
.....................!
real 192.22
user 185.80
sys 6.05

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/119209/ft1_filtered_4FGL_J1230.2+2517_daily_bin1709.fits scfile=/scratch/kocevski/119209/ft2_4FGL_J1230.2+2517_daily_bin1709.fits outfile=/scratch/kocevski/119209/cmap_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.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.54
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119209/ft1_filtered_4FGL_J1230.2+2517_daily_bin1709.fits scfile=/scratch/kocevski/119209/ft2_4FGL_J1230.2+2517_daily_bin1709.fits outfile=/scratch/kocevski/119209/cmap_HighResolution_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.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.58
user 0.39
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.4292       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59897E-07   1.0000          .0000       .10000E+07
     4 'norm      '    17.945       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49907       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32549E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12357E-06   1.0000          .0000       .10000E+07
     8 'norm      '    10.518       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7183       1.0000          .0000       .10000E+07
    11 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21664E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .10729       1.0000          .0000       .10000E+07
    14 'norm      '    3.5092       1.0000          .0000       .10000E+07
    15 'Prefactor '    .83854E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .60710       1.0000          .0000       .10000E+07
    17 'norm      '    9.5501       1.0000          .0000       .10000E+07
    18 'Prefactor '    29.657       1.0000          .0000       .10000E+07
    19 'norm      '    1.2035       1.0000          .0000       .10000E+07
    20 'norm      '    28.923       1.0000          .0000       .10000E+07
    21 'norm      '    .82439E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .28298E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .82184       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1141       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=   6550.304     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1652 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-09    28.462        .48504E-06** at limit **
   2  Prefactor     7.5529        2.1287       -.15737E-07    .15412E-01
   3  Prefactor      .0000        .75374        .71114E-07** at limit **
   4  norm          17.946        2.5785       -.10632E-07    .96408E-04
   5  Prefactor     .50765        8.2520       -.18569E-06   -.75811E-03
   6  Prefactor     .38858E-09    7.6931        .16024E-06** at limit **
   7  Prefactor      .0000        .97548       -.23783E-07** at limit **
   8  norm          10.530        4.0584       -.48399E-07   -.57893E-04
   9  Prefactor      .0000        2.1158       -.23219E-07** at limit **
  10  Prefactor     1.7167        1.8111       -.32885E-07    .21831E-03
  11  Prefactor      .0000        5.2913        .20688E-06** at limit **
  12  Prefactor     .16770E-06    4.5487       -.47410E-07** at limit **
  13  norm          .10759        .25867        .16594E-07** at limit **
  14  norm          3.5179        5.3711        .77197E-07    .28107E-03
  15  Prefactor     .58398E-07    6.6809        .33901E-07** at limit **
  16  Prefactor     .63496        .96336       -.35693E-08    .49476E-02
  17  norm          9.5405        5.6011       -.18668E-07    .48118E-03
  18  Prefactor     29.773        1.1048       -.24441E-08   -.15390E-02
  19  norm          1.2090        4.1288        .71806E-08   -.10207E-04
  20  norm          28.926        7.5609       -.40303E-08    .60605E-04
  21  norm          .69778E-07    10.355       -.13249E-06** at limit **
  22  norm          .14821E-07    16.292        .26652E-07** at limit **
  23  Normalizat    .82181        .21404        .23920E-05   -.26092E-04
  24  Prefactor     1.1136        .22529       -.26207E-06   -.17562E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-10
  Prefactor  = 7.55292
  Prefactor  = 0
  norm       = 17.9461
  Prefactor  = 0.507649
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  norm       = 10.5298
  Prefactor  = 0
  Prefactor  = 1.71666
  Prefactor  = 0
  Prefactor  = 1.67699e-07
  norm       = 0.107589
  norm       = 3.51795
  Prefactor  = 5.83977e-08
  Prefactor  = 0.634956
  norm       = 9.54048
  Prefactor  = 29.7727
  norm       = 1.20902
  norm       = 28.9255
  norm       = 6.97775e-08
  norm       = 1.48215e-08
  Normalizat = 0.821808
  Prefactor  = 1.11361
 **********
 **   18 **HESSE 
 **********

 FCN=   6550.304     FROM HESSE     STATUS=OK           453 CALLS     2105 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-09    28.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.5529        12.206        .36772E-03   -1.5653    
   3  Prefactor      .0000        .75466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.946        2.5800        .23615E-03   -1.5623    
   5  Prefactor     .50765        8.7240        .78803E-03   -1.5694    
   6  Prefactor     .38858E-09    7.6674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .97427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.530        4.0642        .30869E-03   -1.5643    
   9  Prefactor      .0000        2.1116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7167        1.8111        .80121E-03   -1.5682    
  11  Prefactor      .0000        5.1035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16770E-06    10.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10759        .23470        .13330E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5179        5.4325        .53944E-03   -1.5670    
  15  Prefactor     .58398E-07    9.0962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63496        18.331        .68595E-03   -1.5692    
  17  norm          9.5405        5.7632        .32404E-03   -1.5646    
  18  Prefactor     29.773        29.478        .18366E-03   -1.5599    
  19  norm          1.2090        4.2339        .10333E-02   -1.5686    
  20  norm          28.926        7.6759        .18597E-03   -1.5600    
  21  norm          .69778E-07    12.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .14821E-07    16.697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .82181        .18329        .65824E-01   -.99265    
  24  Prefactor     1.1136        .19103        .61886E-01   -.89033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34721e-06
Minuit parameter uncertainties:
  1  0.000257272
  2  12.2063
  3  9.38903e-07
  4  2.58001
  5  4.20891
  6  0.000105579
  7  2.64292e-06
  8  4.06423
  9  2.98249e-06
  10  1.81107
  11  1.4663e-05
  12  0.00260311
  13  0.2347
  14  5.43249
  15  0.00145792
  16  6.82333
  17  5.76323
  18  29.4779
  19  4.23393
  20  7.67589
  21  0.00185834
  22  0.000994055
  23  0.183428
  24  0.191145
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  3.518e+00  5.432e+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.114e+00  1.911e-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:  8.218e-01  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/119209/likelihoodResults_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.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) = 6549.9538504
delta logL = 0.350183666821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6549.91860708
delta logL = 0.385426981246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8304       1.0000          .0000       .10000E+07
     2 'alpha     '    3.2707       1.0000          .0000       5.0000    
     3 'Normalizat'    .75650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1612       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=   6549.919     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      232 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8259        34.295        .77112E-03    .68854E-02
   2  alpha         3.2722        4.1317        .33587        .59815E-04
   3  Normalizat    .75655        .50008E-01    .68371E-01    .30949E-05
   4  Prefactor     1.1612        .53395E-01    .60777E-01    .29416E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.82588
  alpha      = 3.27218
  Normalizat = 0.756546
  Prefactor  = 1.16118
 **********
 **   18 **HESSE 
 **********

 FCN=   6549.919     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8259        71.301        .96934E-05   -1.5681    
   2  alpha         3.2722        2.8282        .16288E-01    .31401    
   3  Normalizat    .75655        .24918        .30254E-03   -1.0170    
   4  Prefactor     1.1612        .27810        .26878E-03   -.87534    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.16851e-07
Minuit parameter uncertainties:
  1  22.8201
  2  8.32681
  3  0.249557
  4  0.278447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119209': 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): 102
logL (Free Index) = 6549.91860676
delta logL = 0.385427307897

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.826e+00  2.282e+01  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  3.272e+00  8.327e+00  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.161e+00  2.784e-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:  7.565e-01  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 187.560 25.298
Photon Index (Free Index): 3.27 +/- 8.33
Photon Flux (Free Index): 6.49e-08 +/- 9.30e-08
Energy Flux (Free Index): 1.20e-05 +/- 2.53e-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/119209/cmap_HighResolution_682300801_682560001_4FGL_J1230.2+2517_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.45e-05', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='3.85e-01', photon_flux2='6.49e-08', job_status='DONE', time_completed='2022-09-16 17:00:46.785539', photon_index_error2='8.33', photon_index2='3.27', ts='0.53', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='9.16e-08', energy_flux_error2='2.53e-05', EG='0.82', time_epoch_completed='1663372846.79', return_code='0', job_id='119209', GAL2='1.16', EG2='0.76', return_code2='102', photon_flux_error2='9.30e-08', ts2='1.36', photon_index='2.00' WHERE bin_id='1709' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:00:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 119209: <4FGL_J1230.2+2517_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin1709> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:45:24 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:48:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:48:17 2022
Terminated at Fri Sep 16 17:00:47 2022
Results reported at Fri Sep 16 17:00:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin1709 187.56 25.2983 682300801 682560001 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 :                                   613.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            923 sec.

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

