/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 2 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 = 7407
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1748.0+3403_daily_bin1516
RA = 267.011, Dec = 34.0641
tmin = 632275201, tmax = 632534401
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='174090', job_status='RUN', time_executed='2021-09-18 14:50:40.862494', time_epoch_executed='1632001840.86' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='1516'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/174090

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/174090/ft1_4FGL_J1748.0+3403_daily_bin1516.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/174090/ft1_4FGL_J1748.0+3403_daily_bin1516.fits outfile=/scratch/kocevski/174090/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1516.fits ra=267.011 dec=34.0641 rad=12.0 tmin=632275201.0 tmax=632534401.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.81
user 3.57
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.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/174090/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1516.fits evtable="EVENTS" outfile="/scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits" evtable="EVENTS" scfile=/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits sctable="SC_DATA" outfile=/scratch/kocevski/174090/ltcube_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.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/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits
.....................!
real 12.12
user 11.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits sctable="SC_DATA" expcube=/scratch/kocevski/174090/ltcube_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.fits outfile=/scratch/kocevski/174090/expmap_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.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/174090/ltcube_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.fits
.....................!
real 189.53
user 184.77
sys 4.45

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

Setting source of interest to:
4FGL J1748.0+3403 @ 267.011 34.0641

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits scfile=/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits outfile=/scratch/kocevski/174090/cmap_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.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.011 yref=34.0641 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits scfile=/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits outfile=/scratch/kocevski/174090/cmap_HighResolution_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.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.011 yref=34.0641 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/174090/Model_4FGL_J1748.0+3403_daily_bin1516.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/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits.....................!
real 71.99
user 70.70
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits', '/scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits', expMap='/scratch/kocevski/174090/expmap_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.fits', expCube='/scratch/kocevski/174090/ltcube_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/174090/Model_4FGL_J1748.0+3403_daily_bin1516.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1748.0+3403'

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  4.182e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.337e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/174090/ft1_filtered_4FGL_J1748.0+3403_daily_bin1516.fits
Spacecraft file(s): /scratch/kocevski/174090/ft2_4FGL_J1748.0+3403_daily_bin1516.fits
Exposure map: /scratch/kocevski/174090/expmap_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.fits
Exposure cube: /scratch/kocevski/174090/ltcube_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/174090/Model_4FGL_J1748.0+3403_daily_bin1516.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) = 9054.28953343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2445       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0505       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.3273       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14367E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .57307E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    64.279       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0903       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .51469       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1478       1.0000         .10000E-03   10000.    
    13 'norm      '    .16608       1.0000         .10000E-03   10000.    
    14 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.3417       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9677       1.0000         .10000E-03   10000.    
    17 'norm      '    11.452       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.870       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.551       1.0000         .10000E-03   10000.    
    20 'norm      '    40.164       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.0420       1.0000         .10000E-03   10000.    
    22 'norm      '    18.002       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2167       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74763       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9054.264     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     2314 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2445        .82539       -.74154E-07   -.15321E-03
   2  norm          4.0513        4.3905        .59080E-05    .18940E-02
   3  Prefactor     .10003E-03    22.214        .22765E-05** at limit **
   4  norm          4.3315        4.1720       -.16687E-05   -.46287E-03
   5  Prefactor     .20435E-03    303.76        .99411E-05** at limit **
   6  Prefactor     .12794E-03    21.990        .11621E-04** at limit **
   7  Prefactor     .10000E-03    6.4523       -.15501E-06** at limit **
   8  Prefactor     64.323        8.9084        .24995E-05   -.72606E-02
   9  Prefactor     5.0902        4.8603       -.24291E-05   -.16437E-02
  10  Prefactor     .10134E-03    26.307       -.13627E-04** at limit **
  11  Prefactor     .39483        246.05       -.49614E-04    .15882E-02
  12  Prefactor     5.1462        1.4295       -.72319E-06    .35559E-03
  13  norm          .16911        4.3755        .65137E-06    .69544E-04
  14  norm          .10113E-03    27.993        .13098E-04** at limit **
  15  norm          3.3415        4.0263        .40779E-06    .11304E-03
  16  Prefactor     1.9674        3.5783        .41361E-07   -.19617E-03
  17  norm          11.450        7.8412       -.58383E-05   -.71423E-02
  18  Prefactor     10.870        2.3678       -.15698E-05   -.33906E-02
  19  Prefactor     26.549        3.3683        .20097E-05   -.19985E-02
  20  norm          40.156        4.1546        .21821E-05   -.27090E-02
  21  Prefactor     8.0426        3.3028        .34460E-05    .31063E-02
  22  norm          17.987        2.8000        .65796E-06   -.66120E-03
  23  Normalizat    1.2167        .21384       -.95021E-06   -.45033E-03
  24  Prefactor     .74768        .10762        .87280E-07   -.77020E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.24451
  norm       = 4.05131
  Prefactor  = 0.000100026
  norm       = 4.33146
  Prefactor  = 0.000204353
  Prefactor  = 0.000127942
  Prefactor  = 0.000100001
  Prefactor  = 64.3226
  Prefactor  = 5.09017
  Prefactor  = 0.000101343
  Prefactor  = 0.394835
  Prefactor  = 5.14618
  norm       = 0.169106
  norm       = 0.000101127
  norm       = 3.34148
  Prefactor  = 1.96739
  norm       = 11.4498
  Prefactor  = 10.8701
  Prefactor  = 26.549
  norm       = 40.1564
  Prefactor  = 8.04264
  norm       = 17.9868
  Normalizat = 1.21673
  Prefactor  = 0.747677
 **********
 **   18 **HESSE 
 **********

 FCN=   9054.264     FROM HESSE     STATUS=OK           469 CALLS     2783 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2445        .83158        .10038E-01   -1.5485    
   2  norm          4.0513        5.7702        .50087E-02   -1.5305    
   3  Prefactor     .10003E-03    22.228        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.3315        4.2613        .48411E-02   -1.5292    
   5  Prefactor     .20435E-03    373.35        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12794E-03    420.30        .10544E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4171        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     64.323        55.817        .12514E-02   -1.4102    
   9  Prefactor     5.0902        4.9983        .44552E-02   -1.5257    
  10  Prefactor     .10134E-03    27.505        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .39483        44.755        .18796       -1.5582    
  12  Prefactor     5.1462        9.4263        .44298E-02   -1.5254    
  13  norm          .16911        .91797        .50188E-01   -1.5626    
  14  norm          .10113E-03    28.977        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3415        4.0367        .55351E-02   -1.5342    
  16  Prefactor     1.9674        3.6111        .73908E-02   -1.5427    
  17  norm          11.450        7.9561        .29595E-02   -1.5031    
  18  Prefactor     10.870        5.5267        .30379E-02   -1.5048    
  19  Prefactor     26.549        19.710        .19436E-02   -1.4677    
  20  norm          40.156        24.799        .15812E-02   -1.4440    
  21  Prefactor     8.0426        5.5926        .35346E-02   -1.5141    
  22  norm          17.987        39.694        .23599E-02   -1.4859    
  23  Normalizat    1.2167        .18185        .67246E-01   -.86087    
  24  Prefactor     .74768        .92548E-01    .43032E-01   -1.0169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.72084e-07
Minuit parameter uncertainties:
  1  0.831584
  2  5.77103
  3  0.00152476
  4  4.26164
  5  0.397268
  6  0.218286
  7  0.000124788
  8  55.8625
  9  4.99869
  10  0.0121604
  11  8.4127
  12  9.42897
  13  0.78778
  14  0.0114371
  15  4.03706
  16  3.61148
  17  7.95685
  18  5.527
  19  19.715
  20  24.8054
  21  5.59295
  22  39.752
  23  0.181946
  24  0.0925666
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.000e-04  1.248e-04  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.337e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  7.477e-01  9.257e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.217e+00  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.011 34.064
Photon Flux Upper Limit: 5.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/174090/likelihoodResults_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.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) = 9054.26436128
delta logL = -0.000739792723834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9054.2636215
delta logL = -1.00208126241e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3305       1.0000          .0000       10.000    
     3 'Normalizat'    1.2167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74768       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+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=   9054.264     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10012E-03    58.232        .18142E-02** at limit **
   2  Index         2.3145        8.1898        .50000        .69279E-05
   3  Normalizat    1.2167        .14089E-01    .29750E-03    .43909E-03
   4  Prefactor     .74768        .71061E-02    .18560E-03    .80449E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100117
  Index      = 2.31454
  Normalizat = 1.21673
  Prefactor  = 0.747678
 **********
 **   18 **HESSE 
 **********

 FCN=   9054.264     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10012E-03    265.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3145        6.7535        .50000       -.56699    
   3  Normalizat    1.2167        .31310E-01    .59501E-04   -.86087    
   4  Prefactor     .74768        .15791E-01    .37121E-04   -1.0169    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.33831e-09
Minuit parameter uncertainties:
  1  0.011199
  2  541.557
  3  0.0313108
  4  0.0157913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/174090': 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) = 9054.26362146
delta logL = 2.95767677017e-08

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.001e-04  1.120e-02  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.315e+00  5.416e+02  0.000e+00  1.000e+01 (-1.000e+00)
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  7.477e-01  1.579e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.217e+00  3.131e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.011 34.064

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/174090/cmap_HighResolution_632275201_632534401_4FGL_J1748.0+3403_daily_bin1516.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.41e-03', job_status='DONE', photon_flux_upper_limit='5.73e-08', time_completed='2021-09-18 15:05:45.834894', job_id='174090', GAL2='0.75', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1632002745.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='2.96e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1516' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 15:05:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 174090: <4FGL_J1748.0+3403_daily_bin1516> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin1516> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 18 14:50:25 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 14:50:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 14:50:27 2021
Terminated at Sat Sep 18 15:05:46 2021
Results reported at Sat Sep 18 15:05:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin1516 267.011 34.0641 632275201 632534401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1748.0+3403 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   896.27 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             343.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

