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


Performing analysis on: 4FGL_J1439.7+4958_daily_bin1746
RA = 219.941, Dec = 49.9775
tmin = 691891201, tmax = 692150401
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='729920', job_status='RUN', time_executed='2022-12-08 01:07:27.889688', time_epoch_executed='1670490447.89' WHERE source_name='4FGL J1439.7+4958' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/729920

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/729920/ft1_4FGL_J1439.7+4958_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/729920/ft1_4FGL_J1439.7+4958_daily_bin1746.fits outfile=/scratch/kocevski/729920/ft1_filteredMKT_4FGL_J1439.7+4958_daily_bin1746.fits ra=219.941 dec=49.9775 rad=12.0 tmin=691891201.0 tmax=692150401.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.72
user 4.49
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.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/729920/ft1_filteredMKT_4FGL_J1439.7+4958_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.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.32
sys 0.16

Number of photons that the gtmktime cut: 679

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/729920/ltcube_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.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/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits
.....................!
real 11.81
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/729920/ltcube_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.fits outfile=/scratch/kocevski/729920/expmap_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.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/729920/ltcube_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.fits
.....................!
real 190.31
user 185.24
sys 4.73

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

Setting source of interest to:
4FGL J1439.7+4958 @ 219.941 49.9775

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits scfile=/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits outfile=/scratch/kocevski/729920/cmap_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.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=219.941 yref=49.9775 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits scfile=/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits outfile=/scratch/kocevski/729920/cmap_HighResolution_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.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=219.941 yref=49.9775 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/729920/Model_4FGL_J1439.7+4958_daily_bin1746.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/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits.....................!
real 57.43
user 56.15
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits', '/scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits', expMap='/scratch/kocevski/729920/expmap_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.fits', expCube='/scratch/kocevski/729920/ltcube_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/729920/Model_4FGL_J1439.7+4958_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1439.7+4958'

4FGL J1439.7+4958
   Spectrum: PowerLaw
317    Prefactor:  6.204e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/729920/ft1_filtered_4FGL_J1439.7+4958_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/729920/ft2_4FGL_J1439.7+4958_daily_bin1746.fits
Exposure map: /scratch/kocevski/729920/expmap_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.fits
Exposure cube: /scratch/kocevski/729920/ltcube_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/729920/Model_4FGL_J1439.7+4958_daily_bin1746.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) = 7439.61428627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96594E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .19306E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    24.871       1.0000          .0000       .10000E+07
     4 'norm      '    1.5209       1.0000          .0000       .10000E+07
     5 'norm      '    .98338E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99849E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .78096E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .42456E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9065       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34883E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    15.327       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8533       1.0000          .0000       .10000E+07
    13 'Prefactor '    .32428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    26.052       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4004       1.0000          .0000       .10000E+07
    16 'norm      '    1.0719       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.337       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.2810       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.886       1.0000          .0000       .10000E+07
    20 'norm      '    .15654E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .53752E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    19.991       1.0000          .0000       .10000E+07
    23 'Prefactor '    .83461E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .95966       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7439.611     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2127 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        35.553       -.22417E-06** at limit **
   2  norm          .40468E-07    4.6716        .43740E-06** at limit **
   3  Prefactor     24.911        2.6245       -.13238E-06    .34910E-01
   4  norm          1.5217        1.0265        .53638E-07   -.92344E-03
   5  norm          .30187E-06    3.1059        .55752E-06** at limit **
   6  Prefactor     .11102E-08    14.291        .57015E-06** at limit **
   7  Prefactor     .12101E-07    143.80       -.40153E-05** at limit **
   8  Prefactor     .55511E-10    5.4504        .74643E-06** at limit **
   9  Prefactor     2.8664        3.1462       -.32159E-06   -.29895E-02
  10  Prefactor     .77716E-09    2.3612       -.68219E-06** at limit **
  11  Prefactor     15.333        4.8091       -.27343E-06    .18445E-02
  12  Prefactor     4.0135        22.743       -.20169E-05   -.55239E-02
  13  Prefactor     .27200E-08    18.314        .33584E-06** at limit **
  14  Prefactor     26.030        12.426        .61713E-06   -.40893E-01
  15  Prefactor     5.3855        8.9746       -.11743E-05   -.19754E-01
  16  norm          1.0716        1.0679       -.57545E-07   -.15372E-02
  17  Prefactor     15.390        3.3514        .16905E-07   -.13398E-02
  18  Prefactor     5.2696        5.1997       -.40516E-06    .51277E-03
  19  Prefactor     10.920        6.3013       -.58127E-07   -.16008E-03
  20  norm          .55511E-10    .87936       -.47660E-07** at limit **
  21  Prefactor     .99920E-09    2.8599       -.36275E-06** at limit **
  22  Prefactor     19.937        12.910        .63634E-06   -.32229E-01
  23  Prefactor     .83267E-09    4.0635        .42363E-06** at limit **
  24  Normalizat    .95925        .18001       -.19344E-05   -.15876E-04
  25  Prefactor     1.0524        .20396        .18352E-05    .17163E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.04676e-08
  Prefactor  = 24.9107
  norm       = 1.52171
  norm       = 3.0187e-07
  Prefactor  = 1.11022e-09
  Prefactor  = 1.21014e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 2.86645
  Prefactor  = 7.77156e-10
  Prefactor  = 15.3328
  Prefactor  = 4.01353
  Prefactor  = 2.72005e-09
  Prefactor  = 26.0298
  Prefactor  = 5.38553
  norm       = 1.07163
  Prefactor  = 15.3903
  Prefactor  = 5.2696
  Prefactor  = 10.9199
  norm       = 5.55112e-11
  Prefactor  = 9.99201e-10
  Prefactor  = 19.9372
  Prefactor  = 8.32667e-10
  Normalizat = 0.959247
  Prefactor  = 1.05239
 **********
 **   18 **HESSE 
 **********

 FCN=   7439.611     FROM HESSE     STATUS=OK           483 CALLS     2610 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        34.930        .14022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .40468E-07    5.1208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.911        45.875        .20056E-03   -1.5608    
   4  norm          1.5217        1.0360        .86598E-03   -1.5683    
   5  norm          .30187E-06    1.5935        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-08    14.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12101E-07    143.30        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    5.4005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8664        25.366        .59572E-03   -1.5674    
  10  Prefactor     .77716E-09    2.3509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.333        20.381        .25556E-03   -1.5630    
  12  Prefactor     4.0135        30.973        .51385E-03   -1.5668    
  13  Prefactor     .27200E-08    19.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.030        23.675        .19596E-03   -1.5606    
  15  Prefactor     5.3855        9.3607        .43219E-03   -1.5662    
  16  norm          1.0716        1.1858        .19996E-02   -1.5687    
  17  Prefactor     15.390        12.544        .25548E-03   -1.5630    
  18  Prefactor     5.2696        5.2177        .43714E-03   -1.5662    
  19  Prefactor     10.920        8.8206        .30341E-03   -1.5642    
  20  norm          .55511E-10    .87950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .99920E-09    2.8668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.937        14.415        .22373E-03   -1.5619    
  23  Prefactor     .83267E-09    4.0847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .95925        .15571        .45659E-01   -.94408    
  25  Prefactor     1.0524        .16949        .58308E-01   -.91003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74396e-07
Minuit parameter uncertainties:
  1  3.10037e-05
  2  0.000910391
  3  45.8759
  4  1.03601
  5  0.00138713
  6  0.000254073
  7  0.002636
  8  3.11188e-05
  9  17.0543
  10  8.49251e-05
  11  20.3811
  12  22.2991
  13  0.000455489
  14  23.6747
  15  9.3607
  16  1.18582
  17  12.5436
  18  5.21767
  19  8.82064
  20  1.24988e-05
  21  0.00010579
  22  14.4148
  23  0.000116524
  24  0.155784
  25  0.169573
Done.

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

Extracting fit parameters...

4FGL J1439.7+4958
   Spectrum: PowerLaw
317    Prefactor:  5.386e+00  9.361e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.052e+00  1.696e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.592e-01  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 219.941 49.977
Photon Flux Upper Limit: 5.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/729920/likelihoodResults_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.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) = 7439.59811354
delta logL = 0.0129709753355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7439.59494202
delta logL = 0.0161424944326

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7439.595     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6140        280.18        .46813E-03    .17090E-02
   2  Index         2.5167        6.1018        .23484        .63386E-04
   3  Normalizat    .95661        .44263E-01    .45618E-01    .67177E-04
   4  Prefactor     1.0541        .45467E-01    .58266E-01    .29270E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.61397
  Index      = 2.51671
  Normalizat = 0.956607
  Prefactor  = 1.05408
 **********
 **   18 **HESSE 
 **********

 FCN=   7439.595     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6140        10.298        .18725E-04   -1.5665    
   2  Index         2.5167        1.3210        .12505E-01   -.51974    
   3  Normalizat    .95661        .17245        .22982E-03   -.94499    
   4  Prefactor     1.0541        .20197        .25765E-03   -.90948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47191e-11
Minuit parameter uncertainties:
  1  10.2976
  2  1.34231
  3  0.172547
  4  0.202118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/729920': 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) = 7439.59493967
delta logL = 0.0161448401032

Extracting fit parameters...

4FGL J1439.7+4958
   Spectrum: PowerLaw
317    Prefactor:  4.614e+00  1.030e+01  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.517e+00  1.342e+00  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.054e+00  2.021e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.566e-01  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 219.941 49.977

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/729920/cmap_HighResolution_691891201_692150401_4FGL_J1439.7+4958_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.91e-08', time_completed='2022-12-08 01:19:32.579801', job_id='729920', GAL2='1.05', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1670491172.58', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.61e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1746' AND source_name='4FGL J1439.7+4958' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:19:32 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 729920: <4FGL_J1439.7+4958_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1439.7+4958_daily_bin1746> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Dec  8 01:05:24 2022
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:05:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:05:25 2022
Terminated at Thu Dec  8 01:19:33 2022
Results reported at Thu Dec  8 01:19:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1439.7+4958_daily_bin1746 219.941 49.9775 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1439.7+4958 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   727.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            849 sec.

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

