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


Performing analysis on: 4FGL_J1749.0+4321_daily_bin1747
RA = 267.255, Dec = 43.3616
tmin = 692150401, tmax = 692409601
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='808949', job_status='RUN', time_executed='2022-12-11 01:20:41.013079', time_epoch_executed='1670750441.01' WHERE source_name='4FGL J1749.0+4321' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808949

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808949/ft1_4FGL_J1749.0+4321_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808949/ft1_4FGL_J1749.0+4321_daily_bin1747.fits outfile=/scratch/kocevski/808949/ft1_filteredMKT_4FGL_J1749.0+4321_daily_bin1747.fits ra=267.255 dec=43.3616 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.78
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.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/808949/ft1_filteredMKT_4FGL_J1749.0+4321_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.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.32
sys 0.16

Number of photons that the gtmktime cut: 767

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/808949/ltcube_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.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/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits
.....................!
real 11.58
user 11.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/808949/ltcube_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.fits outfile=/scratch/kocevski/808949/expmap_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.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/808949/ltcube_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.fits
.....................!
real 192.14
user 187.43
sys 4.36

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

Setting source of interest to:
4FGL J1749.0+4321 @ 267.255 43.3616

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits scfile=/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits outfile=/scratch/kocevski/808949/cmap_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.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=267.255 yref=43.3616 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/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits scfile=/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits outfile=/scratch/kocevski/808949/cmap_HighResolution_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.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=267.255 yref=43.3616 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808949/Model_4FGL_J1749.0+4321_daily_bin1747.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/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits.....................!
real 69.32
user 67.98
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits', '/scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits', expMap='/scratch/kocevski/808949/expmap_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.fits', expCube='/scratch/kocevski/808949/ltcube_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/808949/Model_4FGL_J1749.0+4321_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1749.0+4321'

4FGL J1749.0+4321
   Spectrum: PowerLaw
367    Prefactor:  4.281e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
368        Index:  2.087e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
369        Scale:  1.563e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/808949/ft1_filtered_4FGL_J1749.0+4321_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/808949/ft2_4FGL_J1749.0+4321_daily_bin1747.fits
Exposure map: /scratch/kocevski/808949/expmap_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.fits
Exposure cube: /scratch/kocevski/808949/ltcube_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/808949/Model_4FGL_J1749.0+4321_daily_bin1747.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) = 8117.07756475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0296       1.0000          .0000       .10000E+07
     2 'norm      '    4.7585       1.0000          .0000       .10000E+07
     3 'norm      '     .0000       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.4759       1.0000          .0000       .10000E+07
     5 'norm      '    .51070E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .12026E-04   1.0000          .0000       .10000E+07
     7 'norm      '    4.8848       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33246E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .55109E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13901E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2521       1.0000          .0000       .10000E+07
    12 'norm      '    2.7545       1.0000          .0000       .10000E+07
    13 'Prefactor '    50.877       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.0252       1.0000          .0000       .10000E+07
    15 'Prefactor '    25.736       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45463E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.010       1.0000          .0000       .10000E+07
    18 'norm      '    .28311E-08   1.0000          .0000       .10000E+07
    19 'norm      '    20.626       1.0000          .0000       .10000E+07
    20 'norm      '    5.2061       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.590       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.0113       1.0000          .0000       .10000E+07
    23 'norm      '    14.630       1.0000          .0000       .10000E+07
    24 'norm      '    10.958       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0525       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92457       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8117.063     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2238 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0291        1.9719        .13078E-07   -.23139E-03
   2  norm          4.7588        1.8161       -.51350E-08   -.43002E-05
   3  norm           .0000        .18975        .94665E-08** at limit **
   4  Prefactor     1.4520        5.1642        .25996E-06   -.48912E-03
   5  norm           .0000        .41121       -.27682E-07** at limit **
   6  norm           .0000        2.7947        .62853E-07** at limit **
   7  norm          4.8870        2.0364       -.49512E-07   -.57199E-03
   8  Prefactor      .0000        1.0888        .23874E-06** at limit **
   9  norm           .0000        3.2227       -.37123E-07** at limit **
  10  Prefactor     .22511E-05    52.374        .27063E-06** at limit **
  11  Prefactor     .57071        2305.9        .19090E-04    .17568E-02
  12  norm          2.7177        3.3429       -.87908E-08   -.55507E-03
  13  Prefactor     50.876        1.7910        .36136E-07    .18450E-01
  14  Prefactor     1.0072        3.3791        .23311E-06   -.45442E-03
  15  Prefactor     26.589        27.031       -.15843E-06    .11404    
  16  Prefactor     .55511E-10    4.1961       -.11262E-06** at limit **
  17  Prefactor     14.973        12.027       -.16340E-06    .34643E-02
  18  norm           .0000        .46680       -.66300E-07** at limit **
  19  norm          21.040        24.143       -.12745E-06    .11580    
  20  norm          5.2119        5.7911        .63034E-07   -.73809E-03
  21  Prefactor     11.639        12.908       -.63225E-07    .51559E-02
  22  Prefactor     1.0078        .80761        .57030E-07   -.54913E-01
  23  norm          14.622        9.1057       -.24831E-06   -.65655E-02
  24  norm          10.959        8.3025        .19931E-06   -.10893E-01
  25  Normalizat    1.0526        .23484        .14618E-05    .33933E-06
  26  Prefactor     .92484        .14229       -.22115E-05   -.10610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.02914
  norm       = 4.75879
  norm       = 0
  Prefactor  = 1.45202
  norm       = 0
  norm       = 0
  norm       = 4.88702
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.25109e-06
  Prefactor  = 0.570711
  norm       = 2.71772
  Prefactor  = 50.8758
  Prefactor  = 1.00725
  Prefactor  = 26.5891
  Prefactor  = 5.55112e-11
  Prefactor  = 14.9731
  norm       = 0
  norm       = 21.0401
  norm       = 5.21192
  Prefactor  = 11.6388
  Prefactor  = 1.0078
  norm       = 14.6219
  norm       = 10.9589
  Normalizat = 1.05259
  Prefactor  = 0.924839
 **********
 **   18 **HESSE 
 **********

 FCN=   8117.063     FROM HESSE     STATUS=OK           518 CALLS     2756 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0291        1.9823        .72588E-03   -1.5679    
   2  norm          4.7588        1.8156        .46101E-03   -1.5664    
   3  norm           .0000        .18877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4520        5.1995        .88363E-03   -1.5684    
   5  norm           .0000        .39460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.7992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.8870        2.0462        .45487E-03   -1.5664    
   8  Prefactor      .0000        1.0846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.2094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22511E-05    53.760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .57071        2174.3        .56136E-03   -1.5693    
  12  norm          2.7177        3.3793        .61307E-03   -1.5675    
  13  Prefactor     50.876        51.259        .14021E-03   -1.5565    
  14  Prefactor     1.0072        3.4523        .12644E-02   -1.5688    
  15  Prefactor     26.589        34.190        .19716E-03   -1.5605    
  16  Prefactor     .55511E-10    4.2046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.973        12.102        .25826E-03   -1.5631    
  18  norm           .0000        .46678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          21.040        39.036        .22026E-03   -1.5616    
  20  norm          5.2119        5.8006        .44033E-03   -1.5662    
  21  Prefactor     11.639        12.957        .29402E-03   -1.5640    
  22  Prefactor     1.0078        4.0200        .44165E-03   -1.5688    
  23  norm          14.622        9.2026        .26160E-03   -1.5631    
  24  norm          10.959        8.3454        .30241E-03   -1.5642    
  25  Normalizat    1.0526        .19476        .67166E-01   -.91289    
  26  Prefactor     .92484        .11734        .45317E-01   -.95278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63178e-06
Minuit parameter uncertainties:
  1  1.98229
  2  1.81559
  3  7.01365e-08
  4  5.1995
  5  2.27937e-07
  6  1.28117e-05
  7  2.04624
  8  1.33205e-06
  9  3.82992e-06
  10  0.0220017
  11  70.4784
  12  3.37925
  13  51.2591
  14  3.4523
  15  34.1907
  16  2.30964e-05
  17  12.1023
  18  3.54645e-07
  19  39.0366
  20  5.80056
  21  12.9573
  22  4.01998
  23  9.20257
  24  8.34541
  25  0.194895
  26  0.117377
Done.

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

Extracting fit parameters...

4FGL J1749.0+4321
   Spectrum: PowerLaw
367    Prefactor:  1.497e+01  1.210e+01  0.000e+00  1.000e+06 ( 1.000e-13)
368        Index:  2.087e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
369        Scale:  1.563e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.248e-01  1.174e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.053e+00  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.29
Ra Dec: 267.255 43.362
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 4.27e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 1.95e-05

TS (Fixed Index): 2.29
Ra Dec: 267.255 43.362
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808949/likelihoodResults_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.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) = 8116.38903038
delta logL = 0.673895039835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8116.38211298
delta logL = 0.680812437187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7032       1.0000          .0000       .10000E+07
     2 'Index     '    2.8119       1.0000          .0000       10.000    
     3 'Normalizat'    .99597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94648       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+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=   8116.382     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      309 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7019        14.172        .13356E-04   -.27862E-01
   2  Index         2.8128        1.0328        .43026E-02   -.77251E-03
   3  Normalizat    .99548        .23173        .30435E-03   -.80850E-03
   4  Prefactor     .94663        .14338        .19591E-03   -.12937E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.70189
  Index      = 2.81278
  Normalizat = 0.995481
  Prefactor  = 0.946631
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.382     FROM HESSE     STATUS=OK            23 CALLS      332 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7019        9.5542        .53423E-06   -1.5656    
   2  Index         2.8128        .69869        .17210E-03   -.45275    
   3  Normalizat    .99548        .22891        .60871E-04   -.93182    
   4  Prefactor     .94663        .14188        .39183E-04   -.94530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1189e-09
Minuit parameter uncertainties:
  1  9.55424
  2  0.701535
  3  0.229132
  4  0.14194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808949': 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) = 8116.38210736
delta logL = 0.680818052319

Extracting fit parameters...

4FGL J1749.0+4321
   Spectrum: PowerLaw
367    Prefactor:  6.702e+00  9.554e+00  0.000e+00  1.000e+06 ( 1.000e-13)
368        Index:  2.813e+00  7.015e-01  0.000e+00  1.000e+01 (-1.000e+00)
369        Scale:  1.563e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.466e-01  1.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  9.955e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.72
Ra Dec: 267.255 43.362
Photon Index (Free Index): 2.81 +/- 0.70
Photon Flux (Free Index): 8.44e-08 +/- 5.59e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.21e-05

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/808949/cmap_HighResolution_692150401_692409601_4FGL_J1749.0+4321_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', comment='SUCCESS', photon_flux='4.27e-08', energy_flux2='1.87e-05', photon_flux_error='3.45e-08', dlogl='6.81e-01', energy_flux='2.41e-05', photon_flux2='8.44e-08', job_status='DONE', time_completed='2022-12-11 01:34:21.545185', photon_index_error2='0.70', photon_index2='2.81', ts='2.29', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.21e-05', EG='1.05', time_epoch_completed='1670751261.55', return_code='0', job_id='808949', GAL2='0.95', EG2='1.00', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='5.59e-08', ts2='3.72', photon_index='2.09' WHERE bin_id='1747' AND source_name='4FGL J1749.0+4321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:34:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 808949: <4FGL_J1749.0+4321_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1749.0+4321_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 01:20:26 2022
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:20:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:20:28 2022
Terminated at Sun Dec 11 01:34:22 2022
Results reported at Sun Dec 11 01:34:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1749.0+4321_daily_bin1747 267.255 43.3616 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1749.0+4321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   822.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            836 sec.

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

