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


Performing analysis on: 4FGL_J1436.9+5638_daily_bin1750
RA = 219.229, Dec = 56.649
tmin = 692928001, tmax = 693187201
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='16148', job_status='RUN', time_executed='2022-12-20 01:09:08.075665', time_epoch_executed='1671527348.08' WHERE source_name='4FGL J1436.9+5638' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16148

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16148/ft1_4FGL_J1436.9+5638_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16148/ft1_4FGL_J1436.9+5638_daily_bin1750.fits outfile=/scratch/kocevski/16148/ft1_filteredMKT_4FGL_J1436.9+5638_daily_bin1750.fits ra=219.229 dec=56.649 rad=12.0 tmin=692928001.0 tmax=693187201.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.45
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.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/16148/ft1_filteredMKT_4FGL_J1436.9+5638_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/16148/ft1_filtered_4FGL_J1436.9+5638_daily_bin1750.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 556

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16148/ft1_filtered_4FGL_J1436.9+5638_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/16148/ltcube_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.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/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits
.....................!
real 11.31
user 10.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16148/ft1_filtered_4FGL_J1436.9+5638_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/16148/ltcube_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.fits outfile=/scratch/kocevski/16148/expmap_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.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/16148/ltcube_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.fits
.....................!
real 190.07
user 185.06
sys 4.71

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/16148/ft1_filtered_4FGL_J1436.9+5638_daily_bin1750.fits scfile=/scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits outfile=/scratch/kocevski/16148/cmap_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16148/ft1_filtered_4FGL_J1436.9+5638_daily_bin1750.fits scfile=/scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits outfile=/scratch/kocevski/16148/cmap_HighResolution_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/16148/ft1_filtered_4FGL_J1436.9+5638_daily_bin1750.fits', '/scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits', expMap='/scratch/kocevski/16148/expmap_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.fits', expCube='/scratch/kocevski/16148/ltcube_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/16148/Model_4FGL_J1436.9+5638_daily_bin1750.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/16148/ft1_filtered_4FGL_J1436.9+5638_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/16148/ft2_4FGL_J1436.9+5638_daily_bin1750.fits
Exposure map: /scratch/kocevski/16148/expmap_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.fits
Exposure cube: /scratch/kocevski/16148/ltcube_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/16148/Model_4FGL_J1436.9+5638_daily_bin1750.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) = 6047.50115196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0907       1.0000          .0000       .10000E+07
     2 'Prefactor '    85.086       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5646       1.0000          .0000       .10000E+07
     4 'norm      '    .52883E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19013E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9562       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.009       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81277       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.732       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.1350       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20531E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .37256E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    22.043       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.2965       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12228E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.7456       1.0000          .0000       .10000E+07
    17 'Prefactor '    .55803E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .97910       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.1147       1.0000          .0000       .10000E+07
    20 'Prefactor '    .22678E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .39095E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    15.900       1.0000          .0000       .10000E+07
    23 'Prefactor '    .12261E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .89807       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0207       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .99943       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=   6047.484     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2244 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1391        4.4196       -.67465E-06    .46624E-03
   2  Prefactor     86.799        50.474        .15215E-06    .38893E-02
   3  Prefactor     2.5686        4.0810        .11882E-06   -.62684E-03
   4  norm           .0000        1.2455        .17253E-06** at limit **
   5  Prefactor      .0000        3.4373        .63433E-06** at limit **
   6  Prefactor     7.2882        23.622       -.40940E-05   -.55756E-02
   7  Prefactor     13.763        32.162       -.40859E-05    .64090E-02
   8  Prefactor     .79350        4.5019        .16967E-05   -.17714E-02
   9  Prefactor     10.899        3.1765        .54139E-06    .14450E-01
  10  Prefactor     4.1301        2.6154        .99395E-07    .11820E-02
  11  Prefactor     .32141E-07    8.7662        .15497E-05** at limit **
  12  Prefactor     .33307E-09    23.767       -.23859E-05** at limit **
  13  Prefactor     22.266        1.5465        .35146E-07    .43890E-02
  14  Prefactor     3.2216        13.021        .42645E-05    .27841E-02
  15  Prefactor     .11330E-06    3.6728        .15638E-05** at limit **
  16  norm          1.7497        1.5406       -.25064E-06    .26128E-02
  17  Prefactor     .11102E-09    18.864       -.14795E-06** at limit **
  18  Prefactor     .97347        6.0108        .69803E-06   -.85934E-03
  19  Prefactor     9.1626        8.4176       -.38178E-06    .10408E-02
  20  Prefactor     .46796E-07    4.6805        .20207E-06** at limit **
  21  norm           .0000        1.8885       -.12054E-06** at limit **
  22  Prefactor     16.444        19.562        .63817E-06   -.99423E-02
  23  Prefactor     .63283E-08    11.902       -.11076E-05** at limit **
  24  norm          1.1591        17.529       -.63960E-05    .22553E-02
  25  Normalizat    1.0177        .20538       -.10410E-04    .29804E-04
  26  Prefactor     1.0008        .22846        .13858E-04    .41421E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.1391
  Prefactor  = 86.7985
  Prefactor  = 2.56863
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.28817
  Prefactor  = 13.7627
  Prefactor  = 0.793502
  Prefactor  = 10.8992
  Prefactor  = 4.13007
  Prefactor  = 3.2141e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 22.2655
  Prefactor  = 3.22161
  Prefactor  = 1.13298e-07
  norm       = 1.74969
  Prefactor  = 1.11022e-10
  Prefactor  = 0.97347
  Prefactor  = 9.16258
  Prefactor  = 4.67959e-08
  norm       = 0
  Prefactor  = 16.4437
  Prefactor  = 6.32827e-09
  norm       = 1.15911
  Normalizat = 1.01769
  Prefactor  = 1.00079
 **********
 **   18 **HESSE 
 **********

 FCN=   6047.484     FROM HESSE     STATUS=OK           520 CALLS     2764 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1391        4.4373        .57662E-03   -1.5673    
   2  Prefactor     86.799        53.662        .10842E-03   -1.5522    
   3  Prefactor     2.5686        4.0924        .63717E-03   -1.5676    
   4  norm           .0000        1.2430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        9.4786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.2882        68.746        .38014E-03   -1.5654    
   7  Prefactor     13.763        43.851        .27747E-03   -1.5634    
   8  Prefactor     .79350        4.8337        .51988E-03   -1.5690    
   9  Prefactor     10.899        19.578        .30559E-03   -1.5642    
  10  Prefactor     4.1301        2.6712        .49546E-03   -1.5667    
  11  Prefactor     .32141E-07    10.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33307E-09    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.266        22.686        .21305E-03   -1.5614    
  14  Prefactor     3.2216        13.360        .55738E-03   -1.5672    
  15  Prefactor     .11330E-06    9.7121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7497        1.5602        .79350E-03   -1.5682    
  17  Prefactor     .11102E-09    5.6234        .93363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .97347        6.0121        .43024E-03   -1.5688    
  19  Prefactor     9.1626        8.8098        .33173E-03   -1.5647    
  20  Prefactor     .46796E-07    9.4146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.8761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.444        54.097        .25091E-03   -1.5627    
  23  Prefactor     .63283E-08    12.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.1591        17.975        .45894E-03   -1.5686    
  25  Normalizat    1.0177        .17401        .43253E-01   -.92440    
  26  Prefactor     1.0008        .19236        .46260E-01   -.92703    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7973e-07
Minuit parameter uncertainties:
  1  4.43733
  2  53.662
  3  4.09236
  4  3.09692e-06
  5  4.0559e-06
  6  44.7681
  7  43.8522
  8  3.91691
  9  19.5777
  10  2.67121
  11  0.00115773
  12  0.000183459
  13  22.6859
  14  13.1212
  15  0.00209786
  16  1.56016
  17  5.22997e-05
  18  4.83842
  19  8.80983
  20  0.00132771
  21  6.90097e-06
  22  54.0987
  23  0.000560096
  24  9.12911
  25  0.174108
  26  0.192495
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  2.227e+01  2.269e+01  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:  1.001e+00  1.925e-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.018e+00  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.24e-08 +/- 1.26e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.14e-05

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

Saving results to:
/scratch/kocevski/16148/likelihoodResults_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.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) = 6047.17043838
delta logL = 0.313829602633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6047.15936354
delta logL = 0.324904446146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.238       1.0000          .0000       .10000E+07
     2 'Index     '    1.3147       1.0000          .0000       10.000    
     3 'Normalizat'    1.0249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99752       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.

 FCN=   6047.159     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      243 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.200        1284.3        .19526E-03   -.61770E-03
   2  Index         1.3136        6.1635        .32358       -.12812E-04
   3  Normalizat    1.0248        .13041        .42718E-01    .45422E-05
   4  Prefactor     .99754        .96921E-01    .46236E-01    .75781E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.2005
  Index      = 1.31361
  Normalizat = 1.02483
  Prefactor  = 0.997544
 **********
 **   18 **HESSE 
 **********

 FCN=   6047.159     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .77E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.200        27.862        .39052E-04   -1.5606    
   2  Index         1.3136        .67175        .11385E-01   -.82903    
   3  Normalizat    1.0248        .19123        .22276E-03   -.92203    
   4  Prefactor     .99754        .22363        .26248E-03   -.92811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6676e-13
Minuit parameter uncertainties:
  1  27.8618
  2  0.676256
  3  0.191359
  4  0.223836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16148': 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) = 6047.15936169
delta logL = 0.324906298342

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  2.620e+01  2.786e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.314e+00  6.763e-01  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:  9.975e-01  2.238e-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.025e+00  1.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.22
Ra Dec: 219.229 56.649
Photon Index (Free Index): 1.31 +/- 0.68
Photon Flux (Free Index): 5.47e-09 +/- 7.51e-09
Energy Flux (Free Index): 3.21e-05 +/- 5.29e-05

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/16148/cmap_HighResolution_692928001_693187201_4FGL_J1436.9+5638_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', comment='SUCCESS', photon_flux='1.24e-08', energy_flux2='3.21e-05', photon_flux_error='1.26e-08', dlogl='3.25e-01', energy_flux='1.12e-05', photon_flux2='5.47e-09', job_status='DONE', time_completed='2022-12-20 01:20:52.901118', photon_index_error2='0.68', photon_index2='1.31', ts='3.57', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='5.21e-08', energy_flux_error2='5.29e-05', EG='1.02', time_epoch_completed='1671528052.9', return_code='0', job_id='16148', GAL2='1.00', EG2='1.02', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='7.51e-09', ts2='4.22', photon_index='1.90' WHERE bin_id='1750' AND source_name='4FGL J1436.9+5638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:20:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 16148: <4FGL_J1436.9+5638_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1436.9+5638_daily_bin1750> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 20 01:05:14 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:05:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:05:16 2022
Terminated at Tue Dec 20 01:20:53 2022
Results reported at Tue Dec 20 01:20:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1436.9+5638_daily_bin1750 219.229 56.649 692928001 693187201 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 :                                   707.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             266.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            939 sec.

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

