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


Performing analysis on: 4FGL_J1645.6+6329_daily_bin1769
RA = 251.405, Dec = 63.4958
tmin = 697852801, tmax = 698112001
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='439758', job_status='RUN', time_executed='2023-02-15 01:06:32.179454', time_epoch_executed='1676451992.18' WHERE source_name='4FGL J1645.6+6329' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439758/ft1_4FGL_J1645.6+6329_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439758/ft1_4FGL_J1645.6+6329_daily_bin1769.fits outfile=/scratch/kocevski/439758/ft1_filteredMKT_4FGL_J1645.6+6329_daily_bin1769.fits ra=251.405 dec=63.4958 rad=12.0 tmin=697852801.0 tmax=698112001.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.45
user 4.24
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.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/439758/ft1_filteredMKT_4FGL_J1645.6+6329_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.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.36
sys 0.12

Number of photons that the gtmktime cut: 730

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/439758/ltcube_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.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/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits
.....................!
real 11.87
user 11.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/439758/ltcube_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.fits outfile=/scratch/kocevski/439758/expmap_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.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/439758/ltcube_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.fits
.....................!
real 191.72
user 187.45
sys 3.94

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

Setting source of interest to:
4FGL J1645.6+6329 @ 251.405 63.4958

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits scfile=/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits outfile=/scratch/kocevski/439758/cmap_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.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=251.405 yref=63.4958 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/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits scfile=/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits outfile=/scratch/kocevski/439758/cmap_HighResolution_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.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=251.405 yref=63.4958 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439758/Model_4FGL_J1645.6+6329_daily_bin1769.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/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits.....................!
real 70.33
user 69.07
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits', '/scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits', expMap='/scratch/kocevski/439758/expmap_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.fits', expCube='/scratch/kocevski/439758/ltcube_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/439758/Model_4FGL_J1645.6+6329_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/439758/ft1_filtered_4FGL_J1645.6+6329_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/439758/ft2_4FGL_J1645.6+6329_daily_bin1769.fits
Exposure map: /scratch/kocevski/439758/expmap_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.fits
Exposure cube: /scratch/kocevski/439758/ltcube_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/439758/Model_4FGL_J1645.6+6329_daily_bin1769.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) = 7834.1478559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.594       1.0000          .0000       .10000E+07
     2 'norm      '    .79175       1.0000          .0000       .10000E+07
     3 'Prefactor '    88.834       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93851E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .19203E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.1667       1.0000          .0000       .10000E+07
     7 'norm      '    .23560E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.8410       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1523       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12921E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .16657E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .81161       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.971       1.0000          .0000       .10000E+07
    14 'norm      '    .64987E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.5034       1.0000          .0000       .10000E+07
    16 'Prefactor '    19.072       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16749E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22372E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .59603E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13415       1.0000          .0000       .10000E+07
    21 'norm      '    2.8301       1.0000          .0000       .10000E+07
    22 'norm      '    9.2427       1.0000          .0000       .10000E+07
    23 'Prefactor '    .14029       1.0000          .0000       .10000E+07
    24 'Prefactor '    .83692E-01   1.0000          .0000       .10000E+07
    25 'Prefactor '    .48312E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    .96023       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1198       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7834.147     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2478 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.502        4.8104       -.18795E-06   -.16841    
   2  norm          .83440        3.2857       -.82275E-10    .30651E-02
   3  Prefactor     88.980        14.980        .15596E-05   -.13203    
   4  Prefactor     .34417E-08    3.3776       -.10898E-05** at limit **
   5  norm          .18818E-07    7.3163        .97507E-06** at limit **
   6  Prefactor     8.1901        4.5983        .49761E-06    .70432E-01
   7  norm           .0000        13.148       -.22340E-06** at limit **
   8  Prefactor     3.4078        349.55        .34540E-04   -.20705E-02
   9  Prefactor     6.1661        7.2906        .49101E-06    .41070E-04
  10  Prefactor     .32307E-07    15.101        .91475E-06** at limit **
  11  norm          .10825E-07    3.5159        .22228E-06** at limit **
  12  Prefactor     .81002        1.1525       -.82280E-06   -.27840E-02
  13  Prefactor     10.950        2.4245       -.28483E-06    .42339E-01
  14  norm           .0000        .53713       -.88640E-07** at limit **
  15  Prefactor     4.5223        7.6279        .10539E-05    .55936E-02
  16  Prefactor     19.023        1.8203       -.27266E-08    .30457E-01
  17  Prefactor      .0000        2.5869        .31932E-06** at limit **
  18  Prefactor      .0000        2.4135       -.91975E-06** at limit **
  19  Prefactor     .16593E-05    20.078        .72038E-07** at limit **
  20  Prefactor     .39557E-06    42.006       -.69419E-05** at limit **
  21  norm          2.8322        1.8410       -.33165E-07   -.26230E-02
  22  norm          9.2477        4.3684       -.70796E-07   -.51875E-03
  23  Prefactor     .23652E-05    42.018        .85165E-05** at limit **
  24  Prefactor     .44853E-07    36.019        .55401E-05** at limit **
  25  Prefactor     .77874E-05    6.0844       -.22351E-06** at limit **
  26  Normalizat    .96007        .19420       -.80051E-05   -.49426E-04
  27  Prefactor     1.1198        .15974       -.10809E-05   -.10570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.5024
  norm       = 0.834401
  Prefactor  = 88.9801
  Prefactor  = 3.44169e-09
  norm       = 1.88183e-08
  Prefactor  = 8.19013
  norm       = 0
  Prefactor  = 3.40784
  Prefactor  = 6.16614
  Prefactor  = 3.23075e-08
  norm       = 1.08247e-08
  Prefactor  = 0.810016
  Prefactor  = 10.95
  norm       = 0
  Prefactor  = 4.52235
  Prefactor  = 19.0227
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.65928e-06
  Prefactor  = 3.95572e-07
  norm       = 2.83222
  norm       = 9.24775
  Prefactor  = 2.36516e-06
  Prefactor  = 4.4853e-08
  Prefactor  = 7.78744e-06
  Normalizat = 0.96007
  Prefactor  = 1.11982
 **********
 **   18 **HESSE 
 **********

 FCN=   7834.147     FROM HESSE     STATUS=OK           546 CALLS     3024 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.502        25.399        .16763E-03   -1.5589    
   2  norm          .83440        3.8996        .53552E-03   -1.5690    
   3  Prefactor     88.980        128.12        .10611E-03   -1.5519    
   4  Prefactor     .34417E-08    6.3347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .18818E-07    7.3817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1901        25.888        .35059E-03   -1.5651    
   7  norm           .0000        13.035        .16813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.4078        369.93        .60301E-03   -1.5671    
   9  Prefactor     6.1661        7.3574        .40451E-03   -1.5658    
  10  Prefactor     .32307E-07    15.313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10825E-07    6.3667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .81002        8.5677        .52074E-03   -1.5690    
  13  Prefactor     10.950        15.822        .30222E-03   -1.5642    
  14  norm           .0000        .51897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.5223        8.1121        .47420E-03   -1.5665    
  16  Prefactor     19.023        16.624        .22906E-03   -1.5621    
  17  Prefactor      .0000        2.5830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.4117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16593E-05    23.833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .39557E-06    42.356        .13090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.8322        1.8483        .60425E-03   -1.5674    
  22  norm          9.2477        4.4879        .32941E-03   -1.5647    
  23  Prefactor     .23652E-05    46.225        .12953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .44853E-07    35.969        .14390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .77874E-05    3.9752        .55590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .96007        .17711        .45667E-01   -.94380    
  27  Prefactor     1.1198        .14171        .36879E-01   -.88836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50151e-06
Minuit parameter uncertainties:
  1  25.3994
  2  3.60767
  3  128.127
  4  0.000295647
  5  0.000745094
  6  25.8879
  7  1.85003e-05
  8  71.0165
  9  7.35737
  10  0.00140618
  11  0.00052441
  12  5.26879
  13  15.8221
  14  6.36798e-06
  15  8.1121
  16  16.6242
  17  6.73823e-07
  18  3.48713e-06
  19  0.012577
  20  0.00818656
  21  1.84831
  22  4.48792
  23  0.0209124
  24  0.00254027
  25  0.0111277
  26  0.177214
  27  0.141755
Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  1.082e-08  5.244e-04  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.120e+00  1.418e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  9.601e-01  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 251.405 63.496
Photon Flux Upper Limit: 5.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439758/likelihoodResults_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.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) = 7834.23175882
delta logL = -0.0848113796628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7834.14695754
delta logL = -1.0095167454e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46935E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    2.2152       1.0000          .0000       5.0000    
     3 'Normalizat'    .95943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7834.147     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      199 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83267E-09    94.183       -.14999E-04** at limit **
   2  alpha         1.3251        3.1624       -.30681E-03   -.18382E-10
   3  Normalizat    .96007        .18460        .28331E-04   -.46079E-03
   4  Prefactor     1.1198        .15869       -.21889E-04   -.68061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.32667e-10
  alpha      = 1.32514
  Normalizat = 0.96007
  Prefactor  = 1.11982
 **********
 **   18 **HESSE 
 **********

 FCN=   7834.147     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      240 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83267E-09    727.58        .61880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3251        3.2234        .41494       -.48923    
   3  Normalizat    .96007        .10002        .45657E-01   -.94380    
   4  Prefactor     1.1198        .10035        .36858E-01   -.88836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24657e-09
Minuit parameter uncertainties:
  1  0.00156549
  2  786719
  3  0.100039
  4  0.100365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439758': 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) = 7834.14694744
delta logL = 6.94853952155e-10

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.327e-10  1.565e-03  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  1.325e+00  7.867e+05  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.120e+00  1.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  9.601e-01  1.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 251.405 63.496

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/439758/cmap_HighResolution_697852801_698112001_4FGL_J1645.6+6329_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-05', job_status='DONE', photon_flux_upper_limit='5.01e-08', time_completed='2023-02-15 01:20:47.697989', job_id='439758', GAL2='1.12', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1676452847.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='6.95e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1769' AND source_name='4FGL J1645.6+6329' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:20:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 439758: <4FGL_J1645.6+6329_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1645.6+6329_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 01:05:38 2023
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:05:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:05:40 2023
Terminated at Wed Feb 15 01:20:48 2023
Results reported at Wed Feb 15 01:20:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1645.6+6329_daily_bin1769 251.405 63.4958 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1645.6+6329 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   856.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             330.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            910 sec.

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

