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


Performing analysis on: 4FGL_J1102.6+5251_daily_bin1752
RA = 165.673, Dec = 52.8569
tmin = 693446401, tmax = 693705601
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='260490', job_status='RUN', time_executed='2022-12-26 00:49:26.292474', time_epoch_executed='1672044566.29' WHERE source_name='4FGL J1102.6+5251' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260490

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260490/ft1_4FGL_J1102.6+5251_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260490/ft1_4FGL_J1102.6+5251_daily_bin1752.fits outfile=/scratch/kocevski/260490/ft1_filteredMKT_4FGL_J1102.6+5251_daily_bin1752.fits ra=165.673 dec=52.8569 rad=12.0 tmin=693446401.0 tmax=693705601.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.49
user 3.25
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.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/260490/ft1_filteredMKT_4FGL_J1102.6+5251_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.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.33
sys 0.16

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/260490/ltcube_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.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/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits
.....................!
real 14.55
user 14.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/260490/ltcube_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.fits outfile=/scratch/kocevski/260490/expmap_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.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/260490/ltcube_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.fits
.....................!
real 191.97
user 186.94
sys 4.57

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

Setting source of interest to:
4FGL J1102.6+5251 @ 165.673 52.8569

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits scfile=/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits outfile=/scratch/kocevski/260490/cmap_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.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=165.673 yref=52.8569 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.55
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits scfile=/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits outfile=/scratch/kocevski/260490/cmap_HighResolution_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.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=165.673 yref=52.8569 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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/260490/Model_4FGL_J1102.6+5251_daily_bin1752.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/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits.....................!
real 55.30
user 53.93
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits', '/scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits', expMap='/scratch/kocevski/260490/expmap_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.fits', expCube='/scratch/kocevski/260490/ltcube_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/260490/Model_4FGL_J1102.6+5251_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1102.6+5251'

4FGL J1102.6+5251
   Spectrum: PowerLaw
394    Prefactor:  9.377e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
395        Index:  2.669e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
396        Scale:  5.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/260490/ft1_filtered_4FGL_J1102.6+5251_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/260490/ft2_4FGL_J1102.6+5251_daily_bin1752.fits
Exposure map: /scratch/kocevski/260490/expmap_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.fits
Exposure cube: /scratch/kocevski/260490/ltcube_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/260490/Model_4FGL_J1102.6+5251_daily_bin1752.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) = 5974.0330042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.626       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62335E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .48080       1.0000          .0000       .10000E+07
     4 'norm      '    6.3565       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10658E-07   1.0000          .0000       .10000E+07
     6 'norm      '    1.2673       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.156       1.0000          .0000       .10000E+07
     8 'norm      '    17.452       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.220       1.0000          .0000       .10000E+07
    10 'norm      '    3.2167       1.0000          .0000       .10000E+07
    11 'norm      '    .74385E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27339E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.855       1.0000          .0000       .10000E+07
    14 'norm      '    2.4261       1.0000          .0000       .10000E+07
    15 'Prefactor '    26.925       1.0000          .0000       .10000E+07
    16 'Prefactor '    40.636       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74019E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .13154E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .33695E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .48034E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .15519E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6172       1.0000          .0000       .10000E+07
    23 'norm      '    .13173E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .22143E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    15.181       1.0000          .0000       .10000E+07
    26 'norm      '    .32196E-08   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0580       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .71988       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5973.930     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     2008 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.570        8.6994       -.10732E-05   -.57241E-02
   2  Prefactor     .26923E-07    5.5318        .31891E-05** at limit **
   3  norm          .48194        .37477        .10578E-06   -.72951E-03
   4  norm          6.4681        7.7304       -.68952E-06    .65203E-03
   5  Prefactor      .0000        1.3189       -.12230E-05** at limit **
   6  norm          1.2669        1.3857       -.25455E-06    .37396E-02
   7  Prefactor     18.611        3.6858        .73052E-06   -.38387E-02
   8  norm          17.485        1.0122        .22694E-07   -.25829E-02
   9  Prefactor     25.265        1.0918       -.27320E-09   -.21493E-03
  10  norm          3.2141        2.1553       -.11525E-06   -.41137E-04
  11  norm           .0000        .46096        .14646E-06** at limit **
  12  Prefactor     .23676E-05    31.752        .97100E-05** at limit **
  13  Prefactor     26.029        4.8174        .89470E-06   -.83707E-01
  14  norm          2.4260        1.7537        .11074E-06    .58945E-02
  15  Prefactor     27.379        11.556        .19970E-05   -.15727    
  16  Prefactor     40.594        1.1875        .11265E-07   -.93222E-02
  17  Prefactor     .19423E-06    21.756       -.20288E-05** at limit **
  18  norm          .54124E-05    48.134       -.29470E-05** at limit **
  19  Prefactor     .22204E-09    6.9996        .49090E-05** at limit **
  20  Prefactor     .39468E-07    10.672       -.32237E-05** at limit **
  21  norm           .0000        4.5664        .17273E-05** at limit **
  22  Prefactor     3.6163        2.7948       -.98149E-07   -.17926E-02
  23  norm          .55511E-10    2.9366       -.22652E-06** at limit **
  24  Prefactor     .92704E-08    5.8901        .34041E-05** at limit **
  25  Prefactor     15.136        8.8589       -.32810E-06   -.28480E-02
  26  norm           .0000        .89687        .36714E-08** at limit **
  27  Normalizat    1.0584        .17179       -.36386E-04    .73173E-04
  28  Prefactor     .71949        .21881        .71548E-04    .49893E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5696
  Prefactor  = 2.69229e-08
  norm       = 0.48194
  norm       = 6.46811
  Prefactor  = 0
  norm       = 1.26694
  Prefactor  = 18.6109
  norm       = 17.4845
  Prefactor  = 25.2646
  norm       = 3.21406
  norm       = 0
  Prefactor  = 2.36761e-06
  Prefactor  = 26.0288
  norm       = 2.426
  Prefactor  = 27.3788
  Prefactor  = 40.5937
  Prefactor  = 1.94234e-07
  norm       = 5.41239e-06
  Prefactor  = 2.22045e-10
  Prefactor  = 3.94684e-08
  norm       = 0
  Prefactor  = 3.61626
  norm       = 5.55112e-11
  Prefactor  = 9.27036e-09
  Prefactor  = 15.1361
  norm       = 0
  Normalizat = 1.05841
  Prefactor  = 0.719486
 **********
 **   18 **HESSE 
 **********

 FCN=   5973.930     FROM HESSE     STATUS=OK           577 CALLS     2585 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.570        8.7120        .27109E-03   -1.5634    
   2  Prefactor     .26923E-07    11.352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .48194        .37465        .80665E-03   -1.5694    
   4  norm          6.4681        7.7370        .39788E-03   -1.5657    
   5  Prefactor      .0000        1.3192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2669        1.3825        .98872E-03   -1.5685    
   7  Prefactor     18.611        27.430        .22856E-03   -1.5622    
   8  norm          17.485        17.549        .23948E-03   -1.5624    
   9  Prefactor     25.265        21.824        .19917E-03   -1.5607    
  10  norm          3.2141        2.6860        .56460E-03   -1.5672    
  11  norm           .0000        .46037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .23676E-05    33.073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.029        56.709        .19670E-03   -1.5606    
  14  norm          2.4260        1.7846        .65678E-03   -1.5677    
  15  Prefactor     27.379        47.081        .19276E-03   -1.5603    
  16  Prefactor     40.594        22.204        .15689E-03   -1.5581    
  17  Prefactor     .19423E-06    21.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .54124E-05    49.915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    6.9522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .39468E-07    10.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        4.5651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.6163        2.8074        .53099E-03   -1.5670    
  23  norm          .55511E-10    2.9492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .92704E-08    11.418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     15.136        8.8739        .25680E-03   -1.5630    
  26  norm           .0000        .88813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0584        .15440        .40053E-01   -.91099    
  28  Prefactor     .71949        .18951        .69592E-01   -1.0277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13397e-06
Minuit parameter uncertainties:
  1  8.71199
  2  0.0011052
  3  0.374647
  4  7.73704
  5  1.20025e-05
  6  1.38249
  7  27.4304
  8  17.5488
  9  21.8237
  10  2.68597
  11  1.36543e-06
  12  0.017698
  13  56.7106
  14  1.7846
  15  47.0816
  16  22.2038
  17  0.00411986
  18  0.0328732
  19  7.90937e-05
  20  0.00129912
  21  6.53849e-06
  22  2.80743
  23  1.83507e-05
  24  0.000650088
  25  8.87392
  26  1.40492e-06
  27  0.154464
  28  0.189678
Done.

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

Extracting fit parameters...

4FGL J1102.6+5251
   Spectrum: PowerLaw
394    Prefactor:  2.738e+01  4.708e+01  0.000e+00  1.000e+06 ( 1.000e-13)
395        Index:  2.669e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
396        Scale:  5.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
724    Prefactor:  7.195e-01  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
725        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
726        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  1.058e+00  1.545e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 165.673 52.857
Photon Flux Upper Limit: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260490/likelihoodResults_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.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) = 5973.91821276
delta logL = 0.0117806431635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5973.91283305
delta logL = 0.0171603500157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.909       1.0000          .0000       .10000E+07
     2 'Index     '    2.3736       1.0000          .0000       10.000    
     3 'Normalizat'    1.0628       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7270E+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=   5973.913     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      273 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.939        59.234        .69737E-05   -.38646E-02
   2  Index         2.3801        1.4333        .11262E-01   -.24164E-03
   3  Normalizat    1.0627        .17194        .20121E-03    .29858E-02
   4  Prefactor     .71470        .21923        .30887E-03    .19745E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.9392
  Index      = 2.38008
  Normalizat = 1.06266
  Prefactor  = 0.714703
 **********
 **   18 **HESSE 
 **********

 FCN=   5973.913     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.939        58.160        .13947E-05   -1.5593    
   2  Index         2.3801        1.4076        .45049E-03   -.55152    
   3  Normalizat    1.0627        .17201        .40242E-04   -.90960    
   4  Prefactor     .71470        .21927        .61774E-04   -1.0295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52643e-08
Minuit parameter uncertainties:
  1  58.1614
  2  1.43461
  3  0.172097
  4  0.219536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260490': 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) = 5973.91282026
delta logL = 0.0171731427654

Extracting fit parameters...

4FGL J1102.6+5251
   Spectrum: PowerLaw
394    Prefactor:  3.294e+01  5.816e+01  0.000e+00  1.000e+06 ( 1.000e-13)
395        Index:  2.380e+00  1.435e+00  0.000e+00  1.000e+01 (-1.000e+00)
396        Scale:  5.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
724    Prefactor:  7.147e-01  2.195e-01  0.000e+00  1.000e+01 ( 1.000e+00)
725        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
726        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  1.063e+00  1.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
Ra Dec: 165.673 52.857

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/260490/cmap_HighResolution_693446401_693705601_4FGL_J1102.6+5251_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2022-12-26 01:01:48.564789', job_id='260490', GAL2='0.71', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1672045308.56', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.72e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1752' AND source_name='4FGL J1102.6+5251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:01:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 260490: <4FGL_J1102.6+5251_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1102.6+5251_daily_bin1752> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec 26 00:45:13 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:46:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:46:02 2022
Terminated at Mon Dec 26 01:01:49 2022
Results reported at Mon Dec 26 01:01:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1102.6+5251_daily_bin1752 165.673 52.8569 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1102.6+5251 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   744.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            996 sec.

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

