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


Performing analysis on: 4FGL_J1057.2+5510_daily_bin1753
RA = 164.318, Dec = 55.1804
tmin = 693705601, tmax = 693964801
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='452565', job_status='RUN', time_executed='2022-12-29 00:49:22.816495', time_epoch_executed='1672303762.82' WHERE source_name='4FGL J1057.2+5510' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452565

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452565/ft1_4FGL_J1057.2+5510_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452565/ft1_4FGL_J1057.2+5510_daily_bin1753.fits outfile=/scratch/kocevski/452565/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin1753.fits ra=164.318 dec=55.1804 rad=12.0 tmin=693705601.0 tmax=693964801.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.64
user 4.38
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.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/452565/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.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.55
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 530

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/452565/ltcube_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.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/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits
.....................!
real 15.48
user 14.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/452565/ltcube_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.fits outfile=/scratch/kocevski/452565/expmap_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.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/452565/ltcube_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.fits
.....................!
real 194.32
user 189.06
sys 4.84

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

Setting source of interest to:
4FGL J1057.2+5510 @ 164.318 55.1804

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits scfile=/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits outfile=/scratch/kocevski/452565/cmap_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.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=164.318 yref=55.1804 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.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits scfile=/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits outfile=/scratch/kocevski/452565/cmap_HighResolution_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.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=164.318 yref=55.1804 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452565/Model_4FGL_J1057.2+5510_daily_bin1753.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/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits.....................!
real 53.58
user 52.19
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits', '/scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits', expMap='/scratch/kocevski/452565/expmap_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.fits', expCube='/scratch/kocevski/452565/ltcube_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/452565/Model_4FGL_J1057.2+5510_daily_bin1753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.2+5510'

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/452565/ft1_filtered_4FGL_J1057.2+5510_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/452565/ft2_4FGL_J1057.2+5510_daily_bin1753.fits
Exposure map: /scratch/kocevski/452565/expmap_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.fits
Exposure cube: /scratch/kocevski/452565/ltcube_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/452565/Model_4FGL_J1057.2+5510_daily_bin1753.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) = 5776.97114773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5677       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.863       1.0000          .0000       .10000E+07
     3 'norm      '    .76271E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    22.370       1.0000          .0000       .10000E+07
     5 'norm      '    1.2480       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79170E-04   1.0000          .0000       .10000E+07
     7 'norm      '    2.3212       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17374E-02   1.0000          .0000       .10000E+07
     9 'norm      '    7.8931       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.014       1.0000          .0000       .10000E+07
    11 'norm      '    4.5759       1.0000          .0000       .10000E+07
    12 'norm      '    .84222       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17996E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.2277       1.0000          .0000       .10000E+07
    15 'Prefactor '    .52877E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .11151E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10838E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .56106E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    14.077       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.128       1.0000          .0000       .10000E+07
    21 'norm      '    13.418       1.0000          .0000       .10000E+07
    22 'Prefactor '    .42661E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .37107E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    10.523       1.0000          .0000       .10000E+07
    25 'Prefactor '    8.0966       1.0000          .0000       .10000E+07
    26 'Prefactor '    .10046E-05   1.0000          .0000       .10000E+07
    27 'norm      '    2.7687       1.0000          .0000       .10000E+07
    28 'Normalizat'    .70463       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0484       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5776.946     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     2067 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5454        7.6351        .95601E-06   -.11966E-01
   2  Prefactor     12.909        8.8563        .56725E-06    .19631E-01
   3  norm          .13323E-08    6.8654       -.42387E-06** at limit **
   4  Prefactor     22.365        3.6305        .37033E-06    .12930E-01
   5  norm          1.2477        .48681        .27759E-07    .37568E-02
   6  Prefactor     .33862E-08    2.0893        .59891E-07** at limit **
   7  norm          2.3199        1.7937       -.84631E-07   -.21510E-02
   8  Prefactor     .64393E-08    17.344       -.58783E-06** at limit **
   9  norm          7.9039        1.1659       -.67914E-07   -.19356E-02
  10  Prefactor     12.089        1.1164        .42974E-07    .21495E-02
  11  norm          4.5688        2.3775        .68323E-07   -.11679E-02
  12  norm          .84277        .92330       -.80887E-07    .37642E-03
  13  Prefactor     .20539E-08    9.0716        .27561E-05** at limit **
  14  norm          4.2278        1.9478       -.24713E-07    .14753E-02
  15  Prefactor     .16193E-06    29.053       -.86947E-05** at limit **
  16  Prefactor     .39413E-08    7.0526       -.22197E-05** at limit **
  17  Prefactor     .31086E-06    7.4746        .59443E-06** at limit **
  18  norm          .38303E-07    9.9521        .33725E-05** at limit **
  19  Prefactor     14.063        3.2651       -.45603E-06   -.15819    
  20  Prefactor     35.289        1.2977        .76559E-07   -.18837E-01
  21  norm          13.455        1.4114       -.77093E-07   -.93851E-02
  22  Prefactor     .17653E-07    2.5761        .88092E-06** at limit **
  23  norm          .16653E-08    1.9035        .15607E-06** at limit **
  24  Prefactor     10.310        1.0789        .15607E-07    .85155E-03
  25  Prefactor     8.0973        7.1298       -.12757E-05    .24363E-01
  26  Prefactor     .22204E-08    9.6386        .96360E-06** at limit **
  27  norm          2.7705        2.2041       -.44408E-06    .12900E-02
  28  Normalizat    .70439        .17761       -.18854E-04    .81534E-04
  29  Prefactor     1.0487        .22907        .23012E-04    .46156E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.54545
  Prefactor  = 12.9091
  norm       = 1.33227e-09
  Prefactor  = 22.365
  norm       = 1.24769
  Prefactor  = 3.38618e-09
  norm       = 2.3199
  Prefactor  = 6.43929e-09
  norm       = 7.90386
  Prefactor  = 12.0892
  norm       = 4.5688
  norm       = 0.842772
  Prefactor  = 2.05391e-09
  norm       = 4.22782
  Prefactor  = 1.61926e-07
  Prefactor  = 3.94129e-09
  Prefactor  = 3.10862e-07
  norm       = 3.83027e-08
  Prefactor  = 14.0635
  Prefactor  = 35.2894
  norm       = 13.4548
  Prefactor  = 1.76525e-08
  norm       = 1.66533e-09
  Prefactor  = 10.3101
  Prefactor  = 8.09731
  Prefactor  = 2.22045e-09
  norm       = 2.77052
  Normalizat = 0.704391
  Prefactor  = 1.04866
 **********
 **   18 **HESSE 
 **********

 FCN=   5776.946     FROM HESSE     STATUS=OK           615 CALLS     2682 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5454        7.8387        .47076E-03   -1.5665    
   2  Prefactor     12.909        8.9035        .27904E-03   -1.5636    
   3  norm          .13323E-08    6.8502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.365        23.161        .21148E-03   -1.5613    
   5  norm          1.2477        .48736        .72008E-03   -1.5686    
   6  Prefactor     .33862E-08    2.1113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.3199        1.7912        .67299E-03   -1.5678    
   8  Prefactor     .64393E-08    17.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.9039        12.407        .35666E-03   -1.5652    
  10  Prefactor     12.089        18.098        .28875E-03   -1.5638    
  11  norm          4.5688        2.9738        .47033E-03   -1.5665    
  12  norm          .84277        .92500        .49840E-03   -1.5690    
  13  Prefactor     .20539E-08    25.211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.2278        1.9468        .48984E-03   -1.5667    
  15  Prefactor     .16193E-06    31.402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .39413E-08    7.1163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .31086E-06    26.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .38303E-07    24.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.063        7.6127        .26670E-03   -1.5633    
  20  Prefactor     35.289        25.705        .16874E-03   -1.5589    
  21  norm          13.455        13.317        .27318E-03   -1.5635    
  22  Prefactor     .17653E-07    2.7014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .16653E-08    1.9218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.310        20.369        .30862E-03   -1.5644    
  25  Prefactor     8.0973        7.2877        .35211E-03   -1.5651    
  26  Prefactor     .22204E-08    9.6618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7705        2.2163        .61139E-03   -1.5675    
  28  Normalizat    .70439        .15480        .42352E-01   -1.0372    
  29  Prefactor     1.0487        .19629        .59190E-01   -.91125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38648e-07
Minuit parameter uncertainties:
  1  7.83869
  2  8.90354
  3  0.000189959
  4  23.1614
  5  0.487359
  6  0.000169263
  7  1.79117
  8  0.000675229
  9  12.4067
  10  18.0977
  11  2.9738
  12  0.924999
  13  0.000456448
  14  1.94679
  15  0.00451006
  16  0.000334303
  17  0.0057643
  18  0.00194349
  19  7.61274
  20  25.7047
  21  13.3167
  22  0.000436442
  23  0.000112901
  24  20.3687
  25  7.28767
  26  0.000294573
  27  2.21633
  28  0.154899
  29  0.196429
Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  2.054e-09  4.564e-04  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.049e+00  1.964e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.044e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 2.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452565/likelihoodResults_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.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) = 5776.96524703
delta logL = -0.0188698398997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5776.9463844
delta logL = -7.20872321835e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45080E-03   1.0000          .0000       .10000E+07
     2 'Index     '    .51073       1.0000          .0000       10.000    
     3 'Normalizat'    .70439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5776.946     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      233 TOTAL
                     EDM=   .76E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.1798        .42118E-03** at limit **
   2  Index         .60794        8.7597        .39822         .0000    
   3  Normalizat    .70439        .86186E-03    .42349E-01    .31630E-04
   4  Prefactor     1.0487        .11419E-02    .59190E-01    .51341E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 0.607943
  Normalizat = 0.70439
  Prefactor  = 1.04866
 **********
 **   18 **HESSE 
 **********

 FCN=   5776.946     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      260 TOTAL
                     EDM=   .38E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    10.891        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60794        7.3458        .39822       -1.0725    
   3  Normalizat    .70439        .19252E-02    .23823E-03   -1.0372    
   4  Prefactor     1.0487        .25503E-02    .26175E-03   -.91125    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.80501e-13
Minuit parameter uncertainties:
  1  4.79878e-05
  2  373001
  3  0.00192522
  4  0.00255026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452565': 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) = 5776.94637719
delta logL = 4.18367562816e-11

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.551e-11  4.799e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  6.079e-01  3.730e+05  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.049e+00  2.550e-03  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.044e-01  1.925e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

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/452565/cmap_HighResolution_693705601_693964801_4FGL_J1057.2+5510_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-03', job_status='DONE', photon_flux_upper_limit='2.16e-08', time_completed='2022-12-29 01:01:49.787180', job_id='452565', GAL2='1.05', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1672304509.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='4.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1753' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:01:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 452565: <4FGL_J1057.2+5510_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1057.2+5510_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 00:45:15 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:46:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:46:21 2022
Terminated at Thu Dec 29 01:01:50 2022
Results reported at Thu Dec 29 01:01:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1057.2+5510_daily_bin1753 164.318 55.1804 693705601 693964801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1057.2+5510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   749.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             291.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            995 sec.

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

