/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 9 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 = 7484
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1748.0+3403_daily_bin55
RA = 267.011, Dec = 34.0641
tmin = 253584001, tmax = 253843201
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='157163', job_status='RUN', time_executed='2021-09-18 13:45:42.136513', time_epoch_executed='1631997942.14' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/157163

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/157163/ft1_4FGL_J1748.0+3403_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/157163/ft1_4FGL_J1748.0+3403_daily_bin55.fits outfile=/scratch/kocevski/157163/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin55.fits ra=267.011 dec=34.0641 rad=12.0 tmin=253584001.0 tmax=253843201.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 1.42
user 1.25
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/157163/ft1_filtered_4FGL_J1748.0+3403_daily_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/157163/ltcube_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.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/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits
.....................!
real 13.22
user 12.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/157163/ft1_filtered_4FGL_J1748.0+3403_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/157163/ltcube_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.fits outfile=/scratch/kocevski/157163/expmap_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.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/157163/ltcube_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.fits
.....................!
real 191.22
user 186.49
sys 4.29

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/157163/ft1_filtered_4FGL_J1748.0+3403_daily_bin55.fits scfile=/scratch/kocevski/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits outfile=/scratch/kocevski/157163/cmap_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/157163/ft1_filtered_4FGL_J1748.0+3403_daily_bin55.fits scfile=/scratch/kocevski/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits outfile=/scratch/kocevski/157163/cmap_HighResolution_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/157163/ft1_filtered_4FGL_J1748.0+3403_daily_bin55.fits', '/scratch/kocevski/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits', expMap='/scratch/kocevski/157163/expmap_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.fits', expCube='/scratch/kocevski/157163/ltcube_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/157163/Model_4FGL_J1748.0+3403_daily_bin55.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/157163/ft1_filtered_4FGL_J1748.0+3403_daily_bin55.fits
Spacecraft file(s): /scratch/kocevski/157163/ft2_4FGL_J1748.0+3403_daily_bin55.fits
Exposure map: /scratch/kocevski/157163/expmap_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.fits
Exposure cube: /scratch/kocevski/157163/ltcube_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/157163/Model_4FGL_J1748.0+3403_daily_bin55.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) = 8080.91578897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54846       1.0000         .10000E-03   10000.    
     2 'norm      '    5.1629       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .96518       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.951       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11226E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10971E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10984E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.491       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8722       1.0000         .10000E-03   10000.    
    14 'norm      '    .21441E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    4.8707       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .44264       1.0000         .10000E-03   10000.    
    17 'norm      '    .63466       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.1078       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7229       1.0000         .10000E-03   10000.    
    22 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96046       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88770       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.

 FCN=   8080.913     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2723 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54856        .74302        .11639E-06    .34844E-03
   2  norm          5.1653        6.6210        .74852E-07   -.51537E-05
   3  Prefactor     .10000E-03    22.897        .21897E-05** at limit **
   4  norm          .95961        4.5536        .40202E-05   -.13690E-03
   5  Prefactor     21.016        53.533        .19009E-05    .10668E-03
   6  Prefactor     .10000E-03    58.260        .50399E-06** at limit **
   7  Prefactor     .10000E-03    7.4860        .33933E-08** at limit **
   8  Prefactor     .10000E-03    21.639        .65754E-06** at limit **
   9  Prefactor     .10000E-03    2.8254        .91786E-07** at limit **
  10  Prefactor     .10000E-03    10.899       -.20454E-05** at limit **
  11  Prefactor     42.449        57.517       -.68387E-05   -.20375E-03
  12  Prefactor     .10000E-03    13.783       -.55600E-06** at limit **
  13  norm          3.8702        2.0075        .28729E-07   -.15645E-03
  14  norm          .10000E-03    235.15        .63812E-05** at limit **
  15  norm          4.8729        7.9671        .17888E-06   -.66515E-04
  16  Prefactor     .44059        3.3403        .25052E-05   -.11852E-03
  17  norm          .63738        5.6829        .30743E-05   -.94085E-03
  18  Prefactor     3.1082        3.8550        .21787E-06   -.27271E-03
  19  Prefactor     .10000E-03    10.914        .18219E-05** at limit **
  20  norm          .10000E-03    20.630       -.13919E-05** at limit **
  21  Prefactor     1.7259        6.1486        .24514E-05    .45437E-04
  22  norm          .10000E-03    26.786       -.22372E-05** at limit **
  23  Normalizat    .96033        .18289       -.19714E-05   -.27865E-03
  24  Prefactor     .88760        .92210E-01    .16309E-06   -.67867E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.548557
  norm       = 5.16531
  Prefactor  = 0.0001
  norm       = 0.959615
  Prefactor  = 21.0162
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.4491
  Prefactor  = 0.0001
  norm       = 3.8702
  norm       = 0.000100003
  norm       = 4.87286
  Prefactor  = 0.44059
  norm       = 0.637376
  Prefactor  = 3.10824
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.72592
  norm       = 0.000100001
  Normalizat = 0.960332
  Prefactor  = 0.887598
 **********
 **   18 **HESSE 
 **********

 FCN=   8080.913     FROM HESSE     STATUS=OK           397 CALLS     3120 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54856        .62599        .87478E-03   -1.5560    
   2  norm          5.1653        6.6045        .17693E-03   -1.5253    
   3  Prefactor     .10000E-03    22.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .95961        4.6478        .33359E-03   -1.5512    
   5  Prefactor     21.016        54.430        .87505E-04   -1.4791    
   6  Prefactor     .10000E-03    58.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.5076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.8301        .14755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.449        58.478        .61499E-04   -1.4404    
  12  Prefactor     .10000E-03    14.219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8702        2.0080        .89071E-04   -1.5314    
  14  norm          .10000E-03    239.24        .20165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.8729        7.9703        .18226E-03   -1.5266    
  16  Prefactor     .44059        3.3620        .32205E-03   -1.5575    
  17  norm          .63738        14.730        .39064E-02   -1.5548    
  18  Prefactor     3.1082        3.8384        .18894E-03   -1.5355    
  19  Prefactor     .10000E-03    11.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    20.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.7259        6.1767        .31999E-03   -1.5445    
  22  norm          .10000E-03    26.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96033        .21577        .31621E-03   -.94371    
  24  Prefactor     .88760        .10952        .16574E-03   -.96576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55011e-09
Minuit parameter uncertainties:
  1  0.626
  2  6.60546
  3  0.000174319
  4  4.22412
  5  54.5594
  6  0.000128033
  7  5.8392e-06
  8  0.000136556
  9  8.5886e-07
  10  6.86894e-05
  11  58.5567
  12  7.08971e-05
  13  2.00799
  14  0.00181619
  15  7.97199
  16  2.43405
  17  6.12934
  18  3.83865
  19  9.75068e-05
  20  0.000138635
  21  6.17895
  22  0.00024195
  23  0.215967
  24  0.109543
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.000e-04  5.839e-06  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:  8.876e-01  1.095e-01  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:  9.603e-01  2.160e-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: 6.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/157163/likelihoodResults_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.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) = 8080.91404246
delta logL = -0.000634834681478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8080.91340763
delta logL = -2.77395884041e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3368       1.0000          .0000       10.000    
     3 'Normalizat'    .96033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88760       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.

 FCN=   8080.913     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.320        .90712E-02** at limit **
   2  Index         2.3371        6.1262        .50000       -.26009E-06
   3  Normalizat    .96033        .55484E-02    .71471E-01    .12237E-04
   4  Prefactor     .88760        .28218E-02    .44847E-01   -.10451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.33709
  Normalizat = 0.960331
  Prefactor  = 0.887599
 **********
 **   18 **HESSE 
 **********

 FCN=   8080.913     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    66.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3371        6.2512        .50000       -.56165    
   3  Normalizat    .96033        .14102E-01    .31622E-03   -.94371    
   4  Prefactor     .88760        .71815E-02    .16574E-03   -.96576    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.55927e-10
Minuit parameter uncertainties:
  1  3.10713e-06
  2  263.657
  3  0.0141017
  4  0.00718148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/157163': 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) = 8080.91340763
delta logL = 1.29148247652e-10

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.000e-04  3.107e-06  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.337e+00  2.637e+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:  8.876e-01  7.181e-03  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:  9.603e-01  1.410e-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/157163/cmap_HighResolution_253584001_253843201_4FGL_J1748.0+3403_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.67e-08', time_completed='2021-09-18 14:00:11.607904', job_id='157163', GAL2='0.89', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631998811.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.29e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='55' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 14:00:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 157163: <4FGL_J1748.0+3403_daily_bin55> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin55> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 13:45:22 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 13:45:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 13:45:24 2021
Terminated at Sat Sep 18 14:00:12 2021
Results reported at Sat Sep 18 14:00:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin55 267.011 34.0641 253584001 253843201 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 :                                   866.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            890 sec.

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

