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


Performing analysis on: 4FGL_J1436.9+5638_daily_bin1772
RA = 219.229, Dec = 56.649
tmin = 698630401, tmax = 698889601
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='636958', job_status='RUN', time_executed='2023-02-24 01:56:37.554627', time_epoch_executed='1677232597.55' WHERE source_name='4FGL J1436.9+5638' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636958/ft1_4FGL_J1436.9+5638_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636958/ft1_4FGL_J1436.9+5638_daily_bin1772.fits outfile=/scratch/kocevski/636958/ft1_filteredMKT_4FGL_J1436.9+5638_daily_bin1772.fits ra=219.229 dec=56.649 rad=12.0 tmin=698630401.0 tmax=698889601.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.08
user 2.89
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.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/636958/ft1_filteredMKT_4FGL_J1436.9+5638_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/636958/ltcube_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.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/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits
.....................!
real 12.45
user 12.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/636958/ltcube_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.fits outfile=/scratch/kocevski/636958/expmap_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.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/636958/ltcube_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.fits
.....................!
real 190.78
user 186.20
sys 4.23

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits scfile=/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits outfile=/scratch/kocevski/636958/cmap_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.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.229 yref=56.649 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits scfile=/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits outfile=/scratch/kocevski/636958/cmap_HighResolution_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.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.229 yref=56.649 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636958/Model_4FGL_J1436.9+5638_daily_bin1772.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/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits.....................!
real 63.82
user 62.56
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits', '/scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits', expMap='/scratch/kocevski/636958/expmap_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.fits', expCube='/scratch/kocevski/636958/ltcube_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636958/Model_4FGL_J1436.9+5638_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/636958/ft1_filtered_4FGL_J1436.9+5638_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/636958/ft2_4FGL_J1436.9+5638_daily_bin1772.fits
Exposure map: /scratch/kocevski/636958/expmap_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.fits
Exposure cube: /scratch/kocevski/636958/ltcube_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636958/Model_4FGL_J1436.9+5638_daily_bin1772.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) = 8270.64082895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2238       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21513E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10086E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .22271E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.1742       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34153E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13932E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22055E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28313E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6381       1.0000          .0000       .10000E+07
    11 'Prefactor '    21.217       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42801E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0359       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2725       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9753       1.0000          .0000       .10000E+07
    16 'norm      '    3.7708       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7359       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.2306       1.0000          .0000       .10000E+07
    19 'Prefactor '    .12113       1.0000          .0000       .10000E+07
    20 'Prefactor '    .40831E-01   1.0000          .0000       .10000E+07
    21 'norm      '    .26312E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    9.1547       1.0000          .0000       .10000E+07
    23 'Prefactor '    5.0651       1.0000          .0000       .10000E+07
    24 'norm      '    .11033       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1674       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .84263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8270.615     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2244 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2219        2.7509        .11312E-07    .11786E-02
   2  Prefactor     .98810E-08    27.118       -.45512E-07** at limit **
   3  Prefactor     .16098E-08    3.1349       -.28001E-08** at limit **
   4  norm           .0000        .99597       -.14193E-08** at limit **
   5  Prefactor     2.9698        2.2610       -.48359E-08   -.13473E-02
   6  Prefactor     .24980E-07    12.053        .21261E-07** at limit **
   7  Prefactor     .34972E-07    9.4246       -.15900E-07** at limit **
   8  Prefactor     .10643E-03    38.387       -.13596E-06** at limit **
   9  Prefactor     .17819E-07    6.6621       -.93445E-08** at limit **
  10  Prefactor     1.6257        1.9458       -.14196E-07   -.54612E-03
  11  Prefactor     21.459        1.7897        .69882E-08   -.17280E-01
  12  Prefactor     .90150E-06    34.773       -.10384E-08** at limit **
  13  Prefactor     .51683        2.5312        .77317E-07    .26721E-02
  14  Prefactor     6.2311        4.0933        .92457E-07   -.36848E-01
  15  Prefactor     9.9787        5.8921       -.82771E-07    .59272E-01
  16  norm          3.7695        1.4053        .30291E-08    .54291E-02
  17  Prefactor     5.7369        10.076        .13816E-06    .64180E-04
  18  Prefactor     5.2251        4.1596       -.21949E-07   -.12986E-02
  19  Prefactor     .87872E-01    117.32       -.15241E-05** at limit **
  20  Prefactor     .11102E-09    75.757       -.43551E-08** at limit **
  21  norm           .0000        .81566       -.19534E-08** at limit **
  22  Prefactor     8.5252        63.548       -.12327E-07    .43415E-01
  23  Prefactor     5.0484        6.2005       -.52367E-08   -.52162E-02
  24  norm          .92978E-01    55.048        .13751E-06** at limit **
  25  Normalizat    1.1675        .16432        .94881E-06    .27359E-03
  26  Prefactor     .84333        .18257       -.38476E-06    .18324E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.22191
  Prefactor  = 9.88098e-09
  Prefactor  = 1.60982e-09
  norm       = 0
  Prefactor  = 2.96976
  Prefactor  = 2.498e-08
  Prefactor  = 3.4972e-08
  Prefactor  = 0.000106426
  Prefactor  = 1.78191e-08
  Prefactor  = 1.62571
  Prefactor  = 21.4587
  Prefactor  = 9.01501e-07
  Prefactor  = 0.516833
  Prefactor  = 6.23106
  Prefactor  = 9.97874
  norm       = 3.76955
  Prefactor  = 5.73694
  Prefactor  = 5.22511
  Prefactor  = 0.0878719
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 8.52519
  Prefactor  = 5.04845
  norm       = 0.0929784
  Normalizat = 1.16748
  Prefactor  = 0.843325
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.615     FROM HESSE     STATUS=OK           540 CALLS     2784 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2219        2.8106        .10182E-02   -1.5686    
   2  Prefactor     .98810E-08    27.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    3.1209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .99470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9698        67.767        .56857E-03   -1.5673    
   6  Prefactor     .24980E-07    12.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .34972E-07    9.5432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10643E-03    3.2904        .55571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17819E-07    6.6949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6257        2.2605        .82541E-03   -1.5682    
  11  Prefactor     21.459        24.587        .21716E-03   -1.5615    
  12  Prefactor     .90150E-06    35.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .51683        19.437        .14885E-01   -1.5694    
  14  Prefactor     6.2311        15.897        .40056E-03   -1.5658    
  15  Prefactor     9.9787        12.707        .31702E-03   -1.5645    
  16  norm          3.7695        1.4193        .51965E-03   -1.5669    
  17  Prefactor     5.7369        9.7367        .41915E-03   -1.5660    
  18  Prefactor     5.2251        4.1629        .43928E-03   -1.5662    
  19  Prefactor     .87872E-01    2.8742        .97134E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    12.364        .15926E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .81852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.5252        102.54        .33100E-03   -1.5650    
  23  Prefactor     5.0484        6.3377        .44653E-03   -1.5663    
  24  norm          .92978E-01    3.4952        .85965E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1675        .14490        .35746E-01   -.87614    
  26  Prefactor     .84333        .15948        .44270E-01   -.98151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.78223e-07
Minuit parameter uncertainties:
  1  2.81064
  2  0.00103721
  3  0.00014166
  4  2.14878e-06
  5  28.373
  6  0.00110011
  7  0.00115566
  8  0.0374266
  9  0.000690317
  10  2.26046
  11  24.5874
  12  0.0113476
  13  6.33898
  14  15.8976
  15  12.7065
  16  1.4193
  17  9.73677
  18  4.16289
  19  1.00511
  20  6.57868e-05
  21  3.25525e-06
  22  59.1353
  23  6.33769
  24  1.14014
  25  0.144951
  26  0.159565
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  5.168e-01  6.339e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  8.433e-01  1.596e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.167e+00  1.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 4.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/636958/likelihoodResults_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.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) = 8270.59101469
delta logL = 0.0238091200972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8270.56078384
delta logL = 0.0540399686943

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8874       1.0000          .0000       .10000E+07
     2 'Index     '    2.4902       1.0000          .0000       10.000    
     3 'Normalizat'    1.1630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84319       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+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=   8270.561     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8895        23.769        .23913E-04    .47923E-02
   2  Index         2.4894        1.9091        .90015E-02    .28975E-03
   3  Normalizat    1.1631        .16037        .20980E-03    .12909E-02
   4  Prefactor     .84316        .18156        .27423E-03    .92538E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.88946
  Index      = 2.48935
  Normalizat = 1.16309
  Prefactor  = 0.843165
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.561     FROM HESSE     STATUS=OK            23 CALLS      280 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8895        14.811        .95651E-06   -1.5674    
   2  Index         2.4894        1.5277        .36006E-03   -.52606    
   3  Normalizat    1.1631        .16043        .41961E-04   -.87751    
   4  Prefactor     .84316        .18152        .54846E-04   -.98156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.94442e-09
Minuit parameter uncertainties:
  1  13.0836
  2  1.56146
  3  0.160493
  4  0.181648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636958': 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) = 8270.56078354
delta logL = 0.0540402605566

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  2.889e+00  1.308e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.489e+00  1.561e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  8.432e-01  1.816e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.163e+00  1.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 219.229 56.649

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/636958/cmap_HighResolution_698630401_698889601_4FGL_J1436.9+5638_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-03', job_status='DONE', photon_flux_upper_limit='4.01e-08', time_completed='2023-02-24 02:10:55.910395', job_id='636958', GAL2='0.84', fit_tolerance='1e-08', EG2='1.16', EG='1.17', time_epoch_completed='1677233455.91', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.40e-02', ts2='0.11', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1772' AND source_name='4FGL J1436.9+5638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:10:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 636958: <4FGL_J1436.9+5638_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1436.9+5638_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 01:55:19 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:55:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:55:20 2023
Terminated at Fri Feb 24 02:10:56 2023
Results reported at Fri Feb 24 02:10:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1436.9+5638_daily_bin1772 219.229 56.649 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1436.9+5638 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   860.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            937 sec.

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

