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


Performing analysis on: 4FGL_J1231.7+2847_daily_bin1780
RA = 187.935, Dec = 28.7917
tmin = 700704001, tmax = 700963201
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='62601', job_status='RUN', time_executed='2023-03-20 00:52:01.829795', time_epoch_executed='1679298721.83' WHERE source_name='4FGL J1231.7+2847' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62601

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/62601/ft1_4FGL_J1231.7+2847_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62601/ft1_4FGL_J1231.7+2847_daily_bin1780.fits outfile=/scratch/kocevski/62601/ft1_filteredMKT_4FGL_J1231.7+2847_daily_bin1780.fits ra=187.935 dec=28.7917 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.11
user 3.89
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.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/62601/ft1_filteredMKT_4FGL_J1231.7+2847_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.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.49
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62601/ltcube_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.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/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits
.....................!
real 12.57
user 12.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62601/ltcube_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.fits outfile=/scratch/kocevski/62601/expmap_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.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/62601/ltcube_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.fits
.....................!
real 191.03
user 185.09
sys 5.49

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

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits scfile=/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits outfile=/scratch/kocevski/62601/cmap_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.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.935 yref=28.7917 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.63
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits scfile=/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits outfile=/scratch/kocevski/62601/cmap_HighResolution_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.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.935 yref=28.7917 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.63
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62601/Model_4FGL_J1231.7+2847_daily_bin1780.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/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits.....................!
real 58.73
user 57.46
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits', '/scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits', expMap='/scratch/kocevski/62601/expmap_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.fits', expCube='/scratch/kocevski/62601/ltcube_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/62601/Model_4FGL_J1231.7+2847_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/62601/ft1_filtered_4FGL_J1231.7+2847_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/62601/ft2_4FGL_J1231.7+2847_daily_bin1780.fits
Exposure map: /scratch/kocevski/62601/expmap_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.fits
Exposure cube: /scratch/kocevski/62601/ltcube_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/62601/Model_4FGL_J1231.7+2847_daily_bin1780.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) = 6802.48080371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.566       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.3902       1.0000          .0000       .10000E+07
     3 'norm      '    21.157       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.6112       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3176       1.0000          .0000       .10000E+07
     6 'norm      '    3.8482       1.0000          .0000       .10000E+07
     7 'Prefactor '    .29747E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .32433E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4992       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4605       1.0000          .0000       .10000E+07
    11 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    12 'norm      '    1.4673       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10080       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17327E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .39520E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.4390       1.0000          .0000       .10000E+07
    17 'norm      '    10.361       1.0000          .0000       .10000E+07
    18 'Prefactor '    .40538       1.0000          .0000       .10000E+07
    19 'norm      '    .72092E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    10.943       1.0000          .0000       .10000E+07
    21 'norm      '    .95515E-04   1.0000          .0000       .10000E+07
    22 'norm      '    14.901       1.0000          .0000       .10000E+07
    23 'norm      '    9.4589       1.0000          .0000       .10000E+07
    24 'norm      '    .23613E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .74531E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .52938E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .33841       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.6473       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6802.433     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2559 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.478        1.9358       -.82404E-07    .12674E-01
   2  Prefactor     1.3922        1.8171       -.21119E-06   -.31038E-03
   3  norm          21.163        2.7796        .34062E-07    .88466E-03
   4  Prefactor     5.6161        2.8596       -.16036E-06   -.47631E-03
   5  Prefactor     2.3186        3.2979       -.14853E-06   -.15136E-02
   6  norm          3.8446        2.6462        .44147E-06    .27605E-02
   7  Prefactor     .19276E-05    30.257       -.12613E-05** at limit **
   8  Prefactor     .13134E-06    6.3200       -.16186E-05** at limit **
   9  Prefactor     2.5078        2.3149       -.16291E-06    .10323E-03
  10  Prefactor     1.4473        3.5382        .14097E-06    .20059E-03
  11  norm           .0000        .14363       -.84649E-08** at limit **
  12  norm          1.4458        3.3402       -.10347E-06    .12431E-03
  13  Prefactor     .77721E-06    39.499        .42748E-05** at limit **
  14  Prefactor     .41062E-06    10.794        .38390E-06** at limit **
  15  Prefactor     .55511E-10    3.3849       -.57869E-06** at limit **
  16  Prefactor     6.4496        5.6197       -.44505E-08   -.81269E-02
  17  norm          10.437        4.7340       -.13319E-06    .21337E-02
  18  Prefactor     .44956E-04    18.611        .13424E-05** at limit **
  19  norm          .27756E-09    1.3743        .45169E-06** at limit **
  20  Prefactor     11.022        8.2786       -.87621E-06    .66622E-01
  21  norm          .12634E-06    6.5663        .92806E-07** at limit **
  22  norm          14.943        4.2113       -.20836E-06    .14435E-02
  23  norm          9.3714        2.9850        .13692E-08    .51038E-02
  24  norm          .23764E-06    4.4961       -.27191E-06** at limit **
  25  Prefactor     .55511E-09    2.4684       -.25570E-06** at limit **
  26  Prefactor     .10830E-06    4.1591       -.48924E-06** at limit **
  27  Normalizat    .33822        .20628        .14973E-04    .71339E-04
  28  Prefactor     1.6478        .24387        .36811E-07    .78710E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4775
  Prefactor  = 1.39216
  norm       = 21.1633
  Prefactor  = 5.61609
  Prefactor  = 2.3186
  norm       = 3.84459
  Prefactor  = 1.92762e-06
  Prefactor  = 1.31339e-07
  Prefactor  = 2.50784
  Prefactor  = 1.44732
  norm       = 0
  norm       = 1.44579
  Prefactor  = 7.77212e-07
  Prefactor  = 4.10616e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 6.44961
  norm       = 10.4369
  Prefactor  = 4.49563e-05
  norm       = 2.77556e-10
  Prefactor  = 11.0224
  norm       = 1.26343e-07
  norm       = 14.9431
  norm       = 9.37137
  norm       = 2.37643e-07
  Prefactor  = 5.55112e-10
  Prefactor  = 1.08302e-07
  Normalizat = 0.338216
  Prefactor  = 1.64782
 **********
 **   18 **HESSE 
 **********

 FCN=   6802.433     FROM HESSE     STATUS=OK           595 CALLS     3154 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.478        25.780        .23870E-03   -1.5624    
   2  Prefactor     1.3922        1.9000        .92137E-03   -1.5684    
   3  norm          21.163        2.8348        .21747E-03   -1.5616    
   4  Prefactor     5.6161        5.9716        .42386E-03   -1.5661    
   5  Prefactor     2.3186        3.3915        .67355E-03   -1.5678    
   6  norm          3.8446        2.8077        .51420E-03   -1.5669    
   7  Prefactor     .19276E-05    33.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13134E-06    1.3172        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5078        2.3718        .64620E-03   -1.5676    
  10  Prefactor     1.4473        3.6126        .88999E-03   -1.5684    
  11  norm           .0000        .83209E-01    .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4458        3.4079        .88717E-03   -1.5684    
  13  Prefactor     .77721E-06    8.4798        .74506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .41062E-06    11.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    3.3884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4496        6.8263        .39529E-03   -1.5657    
  17  norm          10.437        4.7744        .31103E-03   -1.5643    
  18  Prefactor     .44956E-04    116.40        .88867E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .27756E-09    1.3789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.022        19.769        .30261E-03   -1.5642    
  21  norm          .12634E-06    6.7520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          14.943        8.7771        .25920E-03   -1.5631    
  23  norm          9.3714        14.728        .32561E-03   -1.5647    
  24  norm          .23764E-06    8.9771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55511E-09    2.4511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10830E-06    9.3154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .33822        .20637        .98822E-01   -1.2063    
  28  Prefactor     1.6478        .23213        .57211E-01   -.73480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2722e-07
Minuit parameter uncertainties:
  1  25.7799
  2  1.90003
  3  2.83476
  4  5.97158
  5  3.39148
  6  2.80773
  7  0.0159879
  8  0.000831928
  9  2.37176
  10  3.61257
  11  7.00017e-07
  12  3.40791
  13  0.00513448
  14  0.0044025
  15  2.14223e-05
  16  6.82636
  17  4.77442
  18  0.144683
  19  3.98478e-05
  20  19.7688
  21  0.0018473
  22  8.7771
  23  14.7281
  24  0.0029211
  25  7.22978e-05
  26  0.00200863
  27  0.206835
  28  0.232286
Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.772e-07  5.134e-03  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.648e+00  2.323e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  3.382e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 6.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/62601/likelihoodResults_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.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) = 6802.44922141
delta logL = -0.0163290408855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6802.42909097
delta logL = 0.00380139464869

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64690       1.0000          .0000       .10000E+07
     2 'Index     '    1.4739       1.0000          .0000       10.000    
     3 'Normalizat'    .33899       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6459       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6802.429     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64560        22.783        .26051E-04    .12180E-02
   2  Index         1.4735        2.2838        .37883E-01   -.19773E-04
   3  Normalizat    .33883        .20083        .43751E-03    .21511E-03
   4  Prefactor     1.6461        .24329        .25302E-03    .24310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.6456
  Index      = 1.47352
  Normalizat = 0.33883
  Prefactor  = 1.64608
 **********
 **   18 **HESSE 
 **********

 FCN=   6802.429     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64560        22.979        .10420E-05   -1.5692    
   2  Index         1.4735        2.3000        .15153E-02   -.78284    
   3  Normalizat    .33883        .20080        .17500E-04   -1.2059    
   4  Prefactor     1.6461        .24324        .50605E-04   -.73527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44185e-10
Minuit parameter uncertainties:
  1  7.70326
  2  2.5028
  3  0.201227
  4  0.243416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62601': 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) = 6802.42909059
delta logL = 0.00380177224361

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  6.456e-01  7.703e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.474e+00  2.503e+00  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.646e+00  2.434e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  3.388e-01  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 187.935 28.792

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/62601/cmap_HighResolution_700704001_700963201_4FGL_J1231.7+2847_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.96e-03', job_status='DONE', photon_flux_upper_limit='6.62e-08', time_completed='2023-03-20 01:04:30.037898', job_id='62601', GAL2='1.65', fit_tolerance='1e-08', EG2='0.34', EG='0.34', time_epoch_completed='1679299470.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.65', dlogl='3.80e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1780' AND source_name='4FGL J1231.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:04:30 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 62601: <4FGL_J1231.7+2847_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1231.7+2847_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:18 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:50:19 2023
Terminated at Mon Mar 20 01:04:31 2023
Results reported at Mon Mar 20 01:04:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1231.7+2847_daily_bin1780 187.935 28.7917 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1231.7+2847 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   743.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            853 sec.

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

