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


Performing analysis on: 4FGL_J1748.0+3403_daily_bin473
RA = 267.011, Dec = 34.0641
tmin = 361929601, tmax = 362188801
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='164978', job_status='RUN', time_executed='2021-09-18 14:17:23.621280', time_epoch_executed='1631999843.62' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164978

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164978/ft1_4FGL_J1748.0+3403_daily_bin473.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164978/ft2_4FGL_J1748.0+3403_daily_bin473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164978/ft1_4FGL_J1748.0+3403_daily_bin473.fits outfile=/scratch/kocevski/164978/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin473.fits ra=267.011 dec=34.0641 rad=12.0 tmin=361929601.0 tmax=362188801.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 5.49
user 5.19
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164978/ft2_4FGL_J1748.0+3403_daily_bin473.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/164978/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin473.fits evtable="EVENTS" outfile="/scratch/kocevski/164978/ft1_filtered_4FGL_J1748.0+3403_daily_bin473.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/164978/ft1_filtered_4FGL_J1748.0+3403_daily_bin473.fits" evtable="EVENTS" scfile=/scratch/kocevski/164978/ft2_4FGL_J1748.0+3403_daily_bin473.fits sctable="SC_DATA" outfile=/scratch/kocevski/164978/ltcube_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.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/164978/ft2_4FGL_J1748.0+3403_daily_bin473.fits
.....................!
real 12.23
user 11.85
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164978/ft1_filtered_4FGL_J1748.0+3403_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/164978/ft2_4FGL_J1748.0+3403_daily_bin473.fits sctable="SC_DATA" expcube=/scratch/kocevski/164978/ltcube_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.fits outfile=/scratch/kocevski/164978/expmap_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.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/164978/ltcube_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.fits
.....................!
real 190.78
user 185.94
sys 4.43

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/164978/ft1_filtered_4FGL_J1748.0+3403_daily_bin473.fits scfile=/scratch/kocevski/164978/ft2_4FGL_J1748.0+3403_daily_bin473.fits outfile=/scratch/kocevski/164978/cmap_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164978/ft1_filtered_4FGL_J1748.0+3403_daily_bin473.fits scfile=/scratch/kocevski/164978/ft2_4FGL_J1748.0+3403_daily_bin473.fits outfile=/scratch/kocevski/164978/cmap_HighResolution_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.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/164978/ft1_filtered_4FGL_J1748.0+3403_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/164978/ft2_4FGL_J1748.0+3403_daily_bin473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/164978/Model_4FGL_J1748.0+3403_daily_bin473.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/164978/ft1_filtered_4FGL_J1748.0+3403_daily_bin473.fits.....................!
real 66.19
user 64.78
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5513       1.0000         .10000E-03   10000.    
     2 'norm      '    24.332       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .15227E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    227.50       1.0000         .10000E-03   10000.    
     6 'Prefactor '    113.36       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1549       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.030       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.9390       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    52.669       1.0000         .10000E-03   10000.    
    15 'norm      '    7.4942       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    17.135       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8577       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .65391       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98046       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=   8013.160     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2719 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5512        1.3427        .97116E-08    .19319E-04
   2  norm          24.333        10.304       -.29725E-06    .17607E-05
   3  Prefactor     .10000E-03    10.174        .56134E-06** at limit **
   4  norm          .10000E-03    3.7265        .73131E-07** at limit **
   5  Prefactor     227.52        81.084        .46744E-05    .40419E-03
   6  Prefactor     113.36        87.125       -.70090E-06   -.49795E-04
   7  Prefactor     .10000E-03    13.080       -.15017E-08** at limit **
   8  Prefactor     .10000E-03    44.090       -.96250E-07** at limit **
   9  Prefactor     3.1528        9.5085       -.60640E-07   -.82843E-04
  10  Prefactor     22.023        32.292       -.33671E-05   -.19238E-03
  11  Prefactor     .10000E-03    29.001       -.10473E-06** at limit **
  12  Prefactor     4.9401        8.2963        .29452E-05   -.10822E-02
  13  norm          .10000E-03    .57709        .77627E-08** at limit **
  14  norm          52.660        65.673       -.40944E-05   -.14219E-03
  15  norm          7.4940        7.9492        .57419E-08   -.37354E-04
  16  Prefactor     .10000E-03    3.7192        .43697E-07** at limit **
  17  norm          17.137        10.382        .60255E-07    .10838E-04
  18  Prefactor     8.8581        5.6478        .21173E-06    .22075E-04
  19  Prefactor     .10000E-03    15.723        .48638E-06** at limit **
  20  norm          .10000E-03    10.227       -.52284E-06** at limit **
  21  Prefactor     .10000E-03    3.9431        .64372E-07** at limit **
  22  norm          .10000E-03    16.297       -.52019E-06** at limit **
  23  Normalizat    .65415        .21224       -.12284E-05   -.10286E-04
  24  Prefactor     .98031        .10203        .25081E-06   -.10171E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.55117
  norm       = 24.3334
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 227.523
  Prefactor  = 113.36
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.15281
  Prefactor  = 22.0227
  Prefactor  = 0.0001
  Prefactor  = 4.94015
  norm       = 0.0001
  norm       = 52.6602
  norm       = 7.49403
  Prefactor  = 0.0001
  norm       = 17.1368
  Prefactor  = 8.85808
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.654146
  Prefactor  = 0.980314
 **********
 **   18 **HESSE 
 **********

 FCN=   8013.160     FROM HESSE     STATUS=OK           389 CALLS     3108 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5512        1.3423        .61609E-04   -1.5331    
   2  norm          24.333        10.324        .81206E-04   -1.4721    
   3  Prefactor     .10000E-03    10.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.8566        .33697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     227.52        83.718        .13413E-03   -1.2680    
   6  Prefactor     113.36        87.264        .37784E-04   -1.3575    
   7  Prefactor     .10000E-03    13.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    44.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1528        9.5092        .22820E-03   -1.5353    
  10  Prefactor     22.023        32.554        .85339E-04   -1.4769    
  11  Prefactor     .10000E-03    29.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.9401        10.634        .90486E-03   -1.5263    
  13  norm          .10000E-03    .58188        .66402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          52.660        66.665        .55265E-04   -1.4255    
  15  norm          7.4940        7.9305        .14650E-03   -1.5160    
  16  Prefactor     .10000E-03    3.7488        .16848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.137        10.398        .96756E-04   -1.4880    
  18  Prefactor     8.8581        5.6416        .13468E-03   -1.5113    
  19  Prefactor     .10000E-03    15.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    10.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.9787        .17356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    16.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .65415        .24182        .40025E-03   -1.0573    
  24  Prefactor     .98031        .11888        .16671E-03   -.93389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53812e-09
Minuit parameter uncertainties:
  1  1.34233
  2  10.3246
  3  4.40379e-05
  4  5.88336e-05
  5  83.7617
  6  87.3631
  7  8.69496e-05
  8  4.35378e-05
  9  9.51379
  10  32.5804
  11  3.73735e-05
  12  10.6378
  13  2.2101e-06
  14  66.7593
  15  7.93163
  16  1.5239e-05
  17  10.3987
  18  5.64195
  19  5.58658e-05
  20  4.67811e-05
  21  2.00351e-06
  22  5.77772e-05
  23  0.242213
  24  0.118909
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.000e-04  8.695e-05  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:  9.803e-01  1.189e-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:  6.541e-01  2.422e-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: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/164978/likelihoodResults_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.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) = 8013.16037977
delta logL = -0.000361726285519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8013.1600181
delta logL = -5.56574377697e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3378       1.0000          .0000       10.000    
     3 'Normalizat'    .65408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98035       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=   8013.160     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2190        .90712E-02** at limit **
   2  Index         2.3391        7.3830        .50000       -.84628E-06
   3  Normalizat    .65415        .39853E-02    .90348E-01    .59316E-03
   4  Prefactor     .98032        .20118E-02    .46021E-01    .14441E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.33906
  Normalizat = 0.654146
  Prefactor  = 0.980316
 **********
 **   18 **HESSE 
 **********

 FCN=   8013.160     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .93E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1402.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3391        5.0597        .50000       -.56118    
   3  Normalizat    .65415        .62457E-01    .40025E-03   -1.0573    
   4  Prefactor     .98032        .31415E-01    .16671E-03   -.93389    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.28682e-07
Minuit parameter uncertainties:
  1  0.00389865
  2  4069.3
  3  0.0624633
  4  0.0314153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164978': 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) = 8013.16001805
delta logL = 3.00133251585e-11

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.000e-04  3.899e-03  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.339e+00  4.069e+03  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:  9.803e-01  3.142e-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:  6.541e-01  6.246e-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/164978/cmap_HighResolution_361929601_362188801_4FGL_J1748.0+3403_daily_bin473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.80e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-09-18 14:31:47.169986', job_id='164978', GAL2='0.98', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1632000707.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='473' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 14:31:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 164978: <4FGL_J1748.0+3403_daily_bin473> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin473> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 14:15:23 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 14:15: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 14:15:24 2021
Terminated at Sat Sep 18 14:31:47 2021
Results reported at Sat Sep 18 14:31:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin473 267.011 34.0641 361929601 362188801 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 :                                   861.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            984 sec.

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

