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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1749
RA = 222.017, Dec = 36.1344
tmin = 692668801, tmax = 692928001
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='955538', job_status='RUN', time_executed='2022-12-17 00:56:38.756348', time_epoch_executed='1671267398.76' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955538

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955538/ft1_4FGL_J1448.0+3608_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955538/ft1_4FGL_J1448.0+3608_daily_bin1749.fits outfile=/scratch/kocevski/955538/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1749.fits ra=222.017 dec=36.1344 rad=12.0 tmin=692668801.0 tmax=692928001.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.69
user 3.44
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.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/955538/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.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.33
sys 0.16

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/955538/ltcube_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.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/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits
.....................!
real 12.21
user 11.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/955538/ltcube_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.fits outfile=/scratch/kocevski/955538/expmap_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.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/955538/ltcube_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.fits
.....................!
real 190.95
user 184.96
sys 5.28

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

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits scfile=/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits outfile=/scratch/kocevski/955538/cmap_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.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=222.017 yref=36.1344 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/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits scfile=/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits outfile=/scratch/kocevski/955538/cmap_HighResolution_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.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=222.017 yref=36.1344 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/955538/Model_4FGL_J1448.0+3608_daily_bin1749.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/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits.....................!
real 53.13
user 51.77
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits', '/scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits', expMap='/scratch/kocevski/955538/expmap_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.fits', expCube='/scratch/kocevski/955538/ltcube_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/955538/Model_4FGL_J1448.0+3608_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1448.0+3608'

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.776e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/955538/ft1_filtered_4FGL_J1448.0+3608_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/955538/ft2_4FGL_J1448.0+3608_daily_bin1749.fits
Exposure map: /scratch/kocevski/955538/expmap_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.fits
Exposure cube: /scratch/kocevski/955538/ltcube_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/955538/Model_4FGL_J1448.0+3608_daily_bin1749.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6944.7843324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5463       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12178E-02   1.0000          .0000       .10000E+07
     3 'norm      '    7.9076       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13337E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22310E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    23.344       1.0000          .0000       .10000E+07
     7 'norm      '    10.400       1.0000          .0000       .10000E+07
     8 'norm      '    3.2934       1.0000          .0000       .10000E+07
     9 'norm      '    3.0728       1.0000          .0000       .10000E+07
    10 'Prefactor '    148.58       1.0000          .0000       .10000E+07
    11 'norm      '    .11209E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .79084E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .66062E-05   1.0000          .0000       .10000E+07
    14 'norm      '    8.8679       1.0000          .0000       .10000E+07
    15 'norm      '    .21427E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .29821E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    29.418       1.0000          .0000       .10000E+07
    18 'Prefactor '    .86684E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.5883       1.0000          .0000       .10000E+07
    20 'norm      '    .22669       1.0000          .0000       .10000E+07
    21 'Prefactor '    .26812E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    32.415       1.0000          .0000       .10000E+07
    23 'norm      '    .37376E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1395       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .68481       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6934.540     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1333 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4163        4.5462       -.92112E-07   -.34342E-01
   2  Prefactor     .43299E-08    15.448       -.30890E-07** at limit **
   3  norm          7.9237        4.2033       -.60225E-08   -.13486E-02
   4  Prefactor     .17208E-08    3.3556       -.26781E-07** at limit **
   5  Prefactor     .98810E-08    3.9359        .12394E-07** at limit **
   6  Prefactor     23.274        5.2314       -.22581E-07   -.55167E-02
   7  norm          10.389        1.6770        .15595E-07    .11644E-01
   8  norm          3.2699        6.9430        .21328E-06   -.25500E-02
   9  norm          3.0706        3.6045        .68140E-07    .86951E-03
  10  Prefactor     148.69        5.9918        .80406E-09    .34708E-01
  11  norm          .13323E-08    6.5274       -.22453E-06** at limit **
  12  Prefactor     .88818E-09    8.1670       -.20024E-06** at limit **
  13  Prefactor     .31086E-08    8.8014        .52886E-07** at limit **
  14  norm          8.8623        2.2140       -.36670E-07   -.86466E-02
  15  norm          .12768E-08    3.3155       -.70071E-07** at limit **
  16  Prefactor     .13878E-08    4.9986       -.17716E-06** at limit **
  17  Prefactor     30.048        52.681        .58245E-07   -.11617E-01
  18  Prefactor     .14155E-07    23.371       -.64330E-07** at limit **
  19  Prefactor     5.4794        3.9469        .18934E-07    .90741E-03
  20  norm          .22677        .55681       -.34429E-07** at limit **
  21  Prefactor     .23315E-08    3.1268       -.65372E-07** at limit **
  22  Prefactor     32.221        7.5385        .29273E-07   -.11241    
  23  norm          .11324E-07    3.7717        .65693E-08** at limit **
  24  Normalizat    1.1404        .19210       -.16349E-05   -.14584E-03
  25  Prefactor     .68441        .18975        .40789E-06   -.82985E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41629
  Prefactor  = 4.32987e-09
  norm       = 7.92373
  Prefactor  = 1.72085e-09
  Prefactor  = 9.88098e-09
  Prefactor  = 23.2744
  norm       = 10.3894
  norm       = 3.26987
  norm       = 3.07058
  Prefactor  = 148.695
  norm       = 1.33227e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 3.10862e-09
  norm       = 8.86228
  norm       = 1.27676e-09
  Prefactor  = 1.38778e-09
  Prefactor  = 30.0477
  Prefactor  = 1.41553e-08
  Prefactor  = 5.47942
  norm       = 0.226772
  Prefactor  = 2.33147e-09
  Prefactor  = 32.2211
  norm       = 1.13243e-08
  Normalizat = 1.14044
  Prefactor  = 0.684415
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.540     FROM HESSE     STATUS=OK           475 CALLS     1808 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4163        12.659        .85659E-03   -1.5684    
   2  Prefactor     .43299E-08    15.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.9237        4.2362        .35633E-03   -1.5652    
   4  Prefactor     .17208E-08    3.3855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .98810E-08    4.1717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.274        5.2302        .20702E-03   -1.5611    
   7  norm          10.389        10.214        .31046E-03   -1.5643    
   8  norm          3.2699        7.0027        .55766E-03   -1.5672    
   9  norm          3.0706        3.6126        .57840E-03   -1.5673    
  10  Prefactor     148.69        44.322        .82045E-04   -1.5464    
  11  norm          .13323E-08    6.8814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .88818E-09    9.1044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .31086E-08    9.7184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.8623        2.2101        .33634E-03   -1.5648    
  15  norm          .12768E-08    3.2917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .13878E-08    5.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.048        53.677        .18440E-03   -1.5598    
  18  Prefactor     .14155E-07    23.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4794        11.481        .42474E-03   -1.5661    
  20  norm          .22677        .55814        .11319E-03   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .23315E-08    3.1581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     32.221        29.161        .17566E-03   -1.5594    
  23  norm          .11324E-07    3.9926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1404        .17100        .36581E-01   -.88464    
  25  Prefactor     .68441        .16545        .66392E-01   -1.0414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39213e-07
Minuit parameter uncertainties:
  1  8.46864
  2  0.000519222
  3  4.23621
  4  0.000153594
  5  0.000406621
  6  5.23025
  7  10.2139
  8  7.0027
  9  3.61256
  10  44.3221
  11  0.000191796
  12  0.000177074
  13  0.00034798
  14  2.21013
  15  0.000129642
  16  0.000168134
  17  53.6778
  18  0.00115192
  19  11.4814
  20  0.558139
  21  0.000171629
  22  29.1611
  23  0.000424756
  24  0.171088
  25  0.165567
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.332e-09  1.918e-04  0.000e+00  1.000e+06 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  6.844e-01  1.656e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.140e+00  1.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 2.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/955538/likelihoodResults_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.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) = 6934.61669127
delta logL = -0.0770737494404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6934.12597024
delta logL = 0.413647279955

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6934.126     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      344 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13097E-01    .58014        .23657E-03** at limit **
   2  alpha         5.0000        4.6394        .46338    ** at limit **
   3  Normalizat    1.0862        .66455E-01    .38583E-01    .22350E-04
   4  Prefactor     .71898        .61272E-01    .64911E-01    .68962E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.013097
  alpha      = 5
  Normalizat = 1.08625
  Prefactor  = 0.718976
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.126     FROM HESSE     STATUS=OK            35 CALLS      379 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13097E-01    .16443E-01    .10639E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        1.0747        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0862        .19603        .23334E-03   -.90195    
   4  Prefactor     .71898        .19326        .28717E-03   -1.0279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14241e-11
Minuit parameter uncertainties:
  1  0.0164434
  2  7.41006e-06
  3  0.196158
  4  0.193444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955538': 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) = 6934.12596934
delta logL = 0.413648178736

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.310e-02  1.644e-02  0.000e+00  1.000e+06 ( 1.000e-13)
294        alpha:  5.000e+00  7.410e-06  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  7.190e-01  1.934e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.086e+00  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.017 36.134

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/955538/cmap_HighResolution_692668801_692928001_4FGL_J1448.0+3608_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-05', job_status='DONE', photon_flux_upper_limit='2.33e-08', time_completed='2022-12-17 01:06:44.435860', job_id='955538', GAL2='0.72', fit_tolerance='1e-08', EG2='1.09', EG='1.14', time_epoch_completed='1671268004.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='4.14e-01', ts2='0.89', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1749' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:06:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 955538: <4FGL_J1448.0+3608_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1749> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Dec 17 00:55:16 2022
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:55:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:55:17 2022
Terminated at Sat Dec 17 01:06:45 2022
Results reported at Sat Dec 17 01:06:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1749 222.017 36.1344 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   607.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            689 sec.

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

