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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1757
RA = 157.077, Dec = 31.1389
tmin = 694742401, tmax = 695001601
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='191850', job_status='RUN', time_executed='2023-01-10 00:41:35.606148', time_epoch_executed='1673340095.61' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191850

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191850/ft1_4FGL_J1028.3+3108_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191850/ft1_4FGL_J1028.3+3108_daily_bin1757.fits outfile=/scratch/kocevski/191850/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1757.fits ra=157.077 dec=31.1389 rad=12.0 tmin=694742401.0 tmax=695001601.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.90
user 2.66
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.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/191850/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.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.50
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 382

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/191850/ltcube_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.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/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits
.....................!
real 16.88
user 16.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/191850/ltcube_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.fits outfile=/scratch/kocevski/191850/expmap_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.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/191850/ltcube_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.fits
.....................!
real 192.55
user 186.97
sys 5.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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J1028.3+3108 @ 157.077 31.1389

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits scfile=/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits outfile=/scratch/kocevski/191850/cmap_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.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=157.077 yref=31.1389 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits scfile=/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits outfile=/scratch/kocevski/191850/cmap_HighResolution_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.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=157.077 yref=31.1389 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191850/Model_4FGL_J1028.3+3108_daily_bin1757.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/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits.....................!
real 41.96
user 40.63
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits', '/scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits', expMap='/scratch/kocevski/191850/expmap_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.fits', expCube='/scratch/kocevski/191850/ltcube_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191850/Model_4FGL_J1028.3+3108_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.3+3108'

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  4.572e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/191850/ft1_filtered_4FGL_J1028.3+3108_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/191850/ft2_4FGL_J1028.3+3108_daily_bin1757.fits
Exposure map: /scratch/kocevski/191850/expmap_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.fits
Exposure cube: /scratch/kocevski/191850/ltcube_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191850/Model_4FGL_J1028.3+3108_daily_bin1757.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) = 4230.64638061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.074       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.9456       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44222E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .16193E-05   1.0000          .0000       .10000E+07
     5 'norm      '    5.7172       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.8983       1.0000          .0000       .10000E+07
     7 'Prefactor '    .24533E-03   1.0000          .0000       .10000E+07
     8 'norm      '    5.3473       1.0000          .0000       .10000E+07
     9 'Prefactor '    .52972E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    48.339       1.0000          .0000       .10000E+07
    11 'Prefactor '    .31322E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .67835E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29715E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9100       1.0000          .0000       .10000E+07
    15 'Prefactor '    .25522E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    20.586       1.0000          .0000       .10000E+07
    17 'Prefactor '    .26893E-02   1.0000          .0000       .10000E+07
    18 'norm      '    2.0617       1.0000          .0000       .10000E+07
    19 'Prefactor '    8.7417       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.4754       1.0000          .0000       .10000E+07
    21 'Prefactor '    .38621E-02   1.0000          .0000       .10000E+07
    22 'norm      '    5.3247       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1422       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75867       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4230.530     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2041 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.252        40.613        .39961E-07    .34192E-01
   2  Prefactor     9.9860        10.395       -.49725E-06   -.43613E-01
   3  Prefactor     .27756E-09    13.591       -.18213E-05** at limit **
   4  Prefactor      .0000        1.1303       -.23669E-06** at limit **
   5  norm          5.7144        9.6175        .38473E-06    .17496E-01
   6  Prefactor     3.8323        6.2160        .60085E-06    .15642E-02
   7  Prefactor     .63283E-08    8.9948       -.89057E-06** at limit **
   8  norm          5.0727        4.8682        .14807E-06    .24026E-01
   9  Prefactor     .27627E-03    54.021        .62564E-06** at limit **
  10  Prefactor     54.183        50.582        .29834E-06   -.11941    
  11  Prefactor     .23592E-07    7.5558        .12373E-05** at limit **
  12  Prefactor     .29038E-06    5.0944        .10387E-05** at limit **
  13  Prefactor      .0000        1.7810        .92496E-07** at limit **
  14  Prefactor     3.8253        8.8223        .12839E-05    .34505E-02
  15  Prefactor     .87208E-07    17.860       -.11386E-05** at limit **
  16  Prefactor     20.535        4.3391        .25354E-06    .34827E-02
  17  Prefactor     .18369E-06    5.5235        .25059E-07** at limit **
  18  norm          2.0615        .40889       -.17746E-07   -.26818E-02
  19  Prefactor     8.7577        3.7829       -.37309E-07   -.20125E-03
  20  Prefactor     3.4095        4.6869        .47893E-06    .11524E-01
  21  Prefactor     .12129E-06    16.298        .95442E-06** at limit **
  22  norm          5.4224        9.8528        .86741E-06    .29023E-01
  23  Normalizat    1.1387        .26017       -.19261E-04    .12413E-05
  24  Prefactor     .76026        .28144        .84100E-05    .10947E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.252
  Prefactor  = 9.98596
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  norm       = 5.71436
  Prefactor  = 3.83231
  Prefactor  = 6.32827e-09
  norm       = 5.07269
  Prefactor  = 0.000276271
  Prefactor  = 54.1835
  Prefactor  = 2.35922e-08
  Prefactor  = 2.90379e-07
  Prefactor  = 0
  Prefactor  = 3.82534
  Prefactor  = 8.7208e-08
  Prefactor  = 20.5353
  Prefactor  = 1.83686e-07
  norm       = 2.06155
  Prefactor  = 8.75769
  Prefactor  = 3.40948
  Prefactor  = 1.21292e-07
  norm       = 5.42237
  Normalizat = 1.13865
  Prefactor  = 0.760262
 **********
 **   18 **HESSE 
 **********

 FCN=   4230.530     FROM HESSE     STATUS=OK           447 CALLS     2488 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.252        40.981        .15238E-03   -1.5581    
   2  Prefactor     9.9860        10.787        .31750E-03   -1.5645    
   3  Prefactor     .27756E-09    13.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.7144        9.7669        .41985E-03   -1.5660    
   6  Prefactor     3.8323        6.2098        .51078E-03   -1.5669    
   7  Prefactor     .63283E-08    9.4010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.0727        15.441        .43437E-03   -1.5663    
   9  Prefactor     .27627E-03    142.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     54.183        61.949        .14384E-03   -1.5561    
  11  Prefactor     .23592E-07    7.7316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .29038E-06    8.1652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8253        11.758        .50998E-03   -1.5669    
  15  Prefactor     .87208E-07    18.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.535        16.588        .22047E-03   -1.5617    
  17  Prefactor     .18369E-06    8.4603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.0615        .42728        .40068E-03   -1.5679    
  19  Prefactor     8.7577        3.7879        .33878E-03   -1.5649    
  20  Prefactor     3.4095        25.739        .54218E-03   -1.5671    
  21  Prefactor     .12129E-06    17.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.4224        12.684        .43530E-03   -1.5661    
  23  Normalizat    1.1387        .21949        .52981E-01   -.88520    
  24  Prefactor     .76026        .23727        .71859E-01   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21607e-06
Minuit parameter uncertainties:
  1  40.9816
  2  10.787
  3  0.000119133
  4  5.90822e-06
  5  9.76693
  6  6.20986
  7  0.000487787
  8  15.4407
  9  0.396863
  10  61.9493
  11  0.000853689
  12  0.00307968
  13  3.04637e-06
  14  11.7577
  15  0.00254969
  16  16.5878
  17  0.00249319
  18  0.427281
  19  3.78795
  20  18.7359
  21  0.00291362
  22  12.684
  23  0.219671
  24  0.237593
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  2.763e-04  3.969e-01  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  7.603e-01  2.376e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.139e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 157.077 31.139
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191850/likelihoodResults_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.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) = 4230.53359928
delta logL = -0.00340161149234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4230.25102698
delta logL = 0.279170683214

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4230.251     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      236 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9690        90.164        .74274E-03    .46231E-02
   2  Index         3.8124        3.6730        .94407E-01    .13215E-03
   3  Normalizat    1.0822        .58197E-01    .38789E-01    .46172E-05
   4  Prefactor     .79519        .65327E-01    .70429E-01    .13012E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.96903
  Index      = 3.81244
  Normalizat = 1.08218
  Prefactor  = 0.795194
 **********
 **   18 **HESSE 
 **********

 FCN=   4230.251     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9690        195.35        .12516E-04   -1.5680    
   2  Index         3.8124        6.8291        .56476E-02   -.23980    
   3  Normalizat    1.0822        .21603        .23953E-03   -.90326    
   4  Prefactor     .79519        .24157        .31164E-03   -.99906    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.97295e-07
Minuit parameter uncertainties:
  1  39.2261
  2  7.67373
  3  0.216204
  4  0.241887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191850': 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) = 4230.25102418
delta logL = 0.279173483943

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  1.969e+00  3.923e+01  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  3.812e+00  7.674e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  7.952e-01  2.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.082e+00  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 157.077 31.139

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/191850/cmap_HighResolution_694742401_695001601_4FGL_J1028.3+3108_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.78e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2023-01-10 00:50:20.262375', job_id='191850', GAL2='0.80', fit_tolerance='1e-08', EG2='1.08', EG='1.14', time_epoch_completed='1673340620.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.79e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1757' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:50:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 191850: <4FGL_J1028.3+3108_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin1757> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 10 00:35:25 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:40:07 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:40:07 2023
Terminated at Tue Jan 10 00:50:21 2023
Results reported at Tue Jan 10 00:50:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1757 157.077 31.1389 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1028.3+3108 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   526.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            896 sec.

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

