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 62 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1748.6+7005_monthly_bin167
RA = 267.158, Dec = 70.0969
tmin = 669859201, tmax = 672451201
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='902411', job_status='RUN', time_executed='2022-04-24 02:33:07.863532', time_epoch_executed='1650792787.86' WHERE source_name='4FGL J1748.6+7005' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902411

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902411/ft1_4FGL_J1748.6+7005_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902411/ft1_4FGL_J1748.6+7005_monthly_bin167.fits outfile=/scratch/kocevski/902411/ft1_filteredMKT_4FGL_J1748.6+7005_monthly_bin167.fits ra=267.158 dec=70.0969 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.03
user 36.97
sys 0.95

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.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/902411/ft1_filteredMKT_4FGL_J1748.6+7005_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.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.86
user 0.65
sys 0.20

Number of photons that the gtmktime cut: 10885

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/902411/ltcube_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.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/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits
.....................!
real 118.35
user 117.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/902411/ltcube_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.fits outfile=/scratch/kocevski/902411/expmap_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.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/902411/ltcube_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.fits
.....................!
real 193.43
user 187.55
sys 5.44

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

Setting source of interest to:
4FGL J1748.6+7005 @ 267.158 70.0969

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits scfile=/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits outfile=/scratch/kocevski/902411/cmap_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.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.158 yref=70.0969 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.80
user 0.62
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits scfile=/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits outfile=/scratch/kocevski/902411/cmap_HighResolution_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.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.158 yref=70.0969 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.81
user 0.62
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902411/Model_4FGL_J1748.6+7005_monthly_bin167.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/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits.....................!
real 1070.77
user 1067.37
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits', '/scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits', expMap='/scratch/kocevski/902411/expmap_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.fits', expCube='/scratch/kocevski/902411/ltcube_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/902411/Model_4FGL_J1748.6+7005_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1748.6+7005'

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  4.089e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
354        alpha:  1.953e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  4.795e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/902411/ft1_filtered_4FGL_J1748.6+7005_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/902411/ft2_4FGL_J1748.6+7005_monthly_bin167.fits
Exposure map: /scratch/kocevski/902411/expmap_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.fits
Exposure cube: /scratch/kocevski/902411/ltcube_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/902411/Model_4FGL_J1748.6+7005_monthly_bin167.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) = 111932.625216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.061       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.6980       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7371       1.0000         .10000E-03   10000.    
     6 'norm      '    .43990E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5763       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2574       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11191E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0093       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4680       1.0000         .10000E-03   10000.    
    14 'norm      '    3.5252       1.0000         .10000E-03   10000.    
    15 'norm      '    6.9976       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12701E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.8742       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .83422E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.8353       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.8995       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.7284       1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.323       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.6958       1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.7804       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.3006       1.0000         .10000E-03   10000.    
    28 'norm      '    10.279       1.0000         .10000E-03   10000.    
    29 'norm      '    .89023       1.0000         .10000E-03   10000.    
    30 'norm      '    2.1842       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0242       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .98790       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   111932.6     FROM MIGRAD    STATUS=CONVERGED    879 CALLS     3856 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.061        4.6119         .0000       -.93532E-03
   2  Prefactor     .10000E-03    5.4563         .0000    ** at limit **
   3  Prefactor     .10000E-03    3.1102         .0000    ** at limit **
   4  norm          3.6980        1.8743         .0000        .24935E-02
   5  Prefactor     9.7366        5.0399         .0000        .65519E-02
   6  norm          .44014E-01    .82148E-01     .0000        .41707E-01
   7  Prefactor     1.5750        2.3913         .0000        .17884    
   8  Prefactor     .10000E-03    .11051         .0000    ** at limit **
   9  Prefactor     5.2554        3.7414         .0000        .21145E-01
  10  Prefactor     .10000E-03    .33258         .0000    ** at limit **
  11  Prefactor     .10000E-03    4.6640         .0000    ** at limit **
  12  Prefactor     1.0094        1.2228         .0000        .50285E-02
  13  Prefactor     2.4677        6.8303         .0000        .84711E-03
  14  norm          3.5251        .71560         .0000        .13978E-02
  15  norm          6.9976        .34028         .0000        .10558E-03
  16  Prefactor     .10000E-03    .56526         .0000    ** at limit **
  17  norm          3.8742        1.2334         .0000        .54985E-02
  18  Prefactor     .24820E-01    1.1557         .0000        .11773E-02
  19  Prefactor     8.8351        17.074         .0000       -.18543E-02
  20  Prefactor     9.9001        2.2261         .0000        .46485E-01
  21  Prefactor     .10000E-03    1.4240         .0000    ** at limit **
  22  Prefactor     5.7281        5.0413         .0000        .16189E-01
  23  Prefactor     14.322        12.777         .0000        .66652E-03
  24  Prefactor     .10000E-03    4.8281         .0000    ** at limit **
  25  norm          1.6958        .72803         .0000        .76591E-02
  26  Prefactor     5.7797        4.2077         .0000        .17451E-01
  27  Prefactor     4.3003        1.4482         .0000        .15060    
  28  norm          10.279        5.5007         .0000       -.10101E-03
  29  norm          .89017        .78513         .0000        .79543E-02
  30  norm          2.1842        .86643         .0000        .58090E-02
  31  Normalizat    1.0242        .54995E-01     .0000        .32533E-03
  32  Prefactor     .98792        .32223E-01     .0000        .89757E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.0609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.69798
  Prefactor  = 9.73663
  norm       = 0.044014
  Prefactor  = 1.57499
  Prefactor  = 0.0001
  Prefactor  = 5.25539
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.00936
  Prefactor  = 2.4677
  norm       = 3.52511
  norm       = 6.99755
  Prefactor  = 0.0001
  norm       = 3.87421
  Prefactor  = 0.0248204
  Prefactor  = 8.83512
  Prefactor  = 9.90008
  Prefactor  = 0.0001
  Prefactor  = 5.72807
  Prefactor  = 14.3221
  Prefactor  = 0.000100001
  norm       = 1.69584
  Prefactor  = 5.77973
  Prefactor  = 4.30033
  norm       = 10.2785
  norm       = 0.89017
  norm       = 2.18415
  Normalizat = 1.02424
  Prefactor  = 0.987919
 **********
 **   18 **HESSE 
 **********

 FCN=   111932.6     FROM HESSE     STATUS=OK           695 CALLS     4551 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.061        4.5977        .99938E-04   -1.4906    
   2  Prefactor     .10000E-03    5.4598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.1448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.6980        1.8680        .21001E-03   -1.5323    
   5  Prefactor     9.7366        5.0373        .64210E-03   -1.5084    
   6  norm          .44014E-01    .10760        .11324E-02   -1.5666    
   7  Prefactor     1.5750        2.3122        .16921E-02   -1.5457    
   8  Prefactor     .10000E-03    .24291        .21322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.2554        3.6296        .87650E-03   -1.5249    
  10  Prefactor     .10000E-03    .39402        .59152E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.7827        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.0094        1.1857        .38721E-03   -1.5507    
  13  Prefactor     2.4677        6.7860        .26029E-03   -1.5394    
  14  norm          3.5251        .71373        .12039E-03   -1.5332    
  15  norm          6.9976        .33947        .40937E-04   -1.5179    
  16  Prefactor     .10000E-03    3.2105        .47832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8742        1.2254        .19093E-03   -1.5314    
  18  Prefactor     .24820E-01    1.2333        .12451       -1.5677    
  19  Prefactor     8.8351        17.066        .13485E-03   -1.5113    
  20  Prefactor     9.9001        2.2116        .63679E-03   -1.5079    
  21  Prefactor     .10000E-03    1.4452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.7281        4.9718        .83910E-03   -1.5229    
  23  Prefactor     14.322        12.780        .10583E-03   -1.4951    
  24  Prefactor     .10000E-03    4.8343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.6958        .71676        .17079E-03   -1.5448    
  26  Prefactor     5.7797        4.2042        .83527E-03   -1.5227    
  27  Prefactor     4.3003        1.4438        .97131E-03   -1.5293    
  28  norm          10.279        5.5032        .12498E-03   -1.5067    
  29  norm          .89017        .68577        .26893E-02   -1.5519    
  30  norm          2.1842        .86627        .18594E-03   -1.5412    
  31  Normalizat    1.0242        .62213E-01    .32961E-03   -.92223    
  32  Prefactor     .98792        .37138E-01    .20858E-03   -.93133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.51327e-07
Minuit parameter uncertainties:
  1  4.59783
  2  4.09153e-06
  3  1.5469e-06
  4  1.86799
  5  5.03755
  6  0.107599
  7  2.3123
  8  1.95331e-07
  9  3.62975
  10  6.19216e-06
  11  0.000116706
  12  1.18568
  13  6.7881
  14  0.713736
  15  0.339475
  16  5.04975e-06
  17  1.22537
  18  0.349223
  19  17.0752
  20  2.2116
  21  8.10319e-07
  22  4.97218
  23  12.7819
  24  0.000123613
  25  0.716759
  26  4.20439
  27  1.44386
  28  5.50342
  29  0.685778
  30  0.86627
  31  0.0622177
  32  0.037139
Done.

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

Extracting fit parameters...

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  3.525e+00  7.137e-01  1.000e-04  1.000e+04 ( 1.000e-12)
354        alpha:  1.953e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  4.795e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.879e-01  3.714e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.024e+00  6.222e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 90.72
Ra Dec: 267.158 70.097
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 3.38e-08 +/- 6.84e-09
Energy Flux (Fixed Index): 2.38e-05 +/- 4.83e-06

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) = 111931.868623
delta logL = 0.72978814831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 111931.843157
delta logL = 0.755254015734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3333       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7351       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98642       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   111931.8     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3332        .75527        .12465E-03   -.18971E-04
   2  alpha         1.7351        .17747        .16602E-01   -.11335E-02
   3  Normalizat    1.0326        .56772E-01    .32850E-03    .55373E-06
   4  Prefactor     .98642        .35364E-01    .20876E-03    .31368E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33317
  alpha      = 1.73508
  Normalizat = 1.03256
  Prefactor  = 0.986415
 **********
 **   18 **HESSE 
 **********

 FCN=   111931.8     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3332        .76518        .49859E-05   -1.5343    
   2  alpha         1.7351        .17981        .33203E-02   -.31095    
   3  Normalizat    1.0326        .56809E-01    .13140E-04   -.91948    
   4  Prefactor     .98642        .35386E-01    .41751E-04   -.93184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19136e-11
Minuit parameter uncertainties:
  1  0.765178
  2  0.179984
  3  0.0568119
  4  0.0353864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902411': 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) = 111931.843157
delta logL = 0.755254042582

Extracting fit parameters...

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  3.333e+00  7.652e-01  1.000e-04  1.000e+04 ( 1.000e-12)
354        alpha:  1.735e+00  1.800e-01  0.000e+00  5.000e+00 ( 1.000e+00)
355         beta:  4.795e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.864e-01  3.539e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.033e+00  5.681e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 92.20
Ra Dec: 267.158 70.097
Photon Index (Free Index): 1.74 +/- 0.18
Photon Flux (Free Index): 2.48e-08 +/- 8.65e-09
Energy Flux (Free Index): 2.96e-05 +/- 8.56e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/902411/cmap_HighResolution_669859201_672451201_4FGL_J1748.6+7005_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.38e-08', energy_flux2='2.96e-05', photon_flux_error='6.84e-09', dlogl='7.55e-01', energy_flux='2.38e-05', photon_flux2='2.48e-08', job_status='DONE', time_completed='2022-04-24 05:16:54.048247', photon_index_error2='0.18', photon_index2='1.74', ts='90.72', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='8.56e-06', EG='1.02', time_epoch_completed='1650802614.05', return_code='0', job_id='902411', GAL2='0.99', EG2='1.03', return_code2='0', energy_flux_error='4.83e-06', photon_flux_error2='8.65e-09', ts2='92.20', photon_index='1.95' WHERE bin_id='167' AND source_name='4FGL J1748.6+7005' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 05:16:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 902411: <4FGL_J1748.6+7005_monthly_bin167> in cluster <slac> Done

Job <4FGL_J1748.6+7005_monthly_bin167> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 02:10:26 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 02:31:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 02:31:55 2022
Terminated at Sun Apr 24 05:16:55 2022
Results reported at Sun Apr 24 05:16:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.6+7005_monthly_bin167 267.158 70.0969 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1748.6+7005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9770.00 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             467.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9901 sec.
    Turnaround time :                            11189 sec.

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

