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


Performing analysis on: 4FGL_J1748.0+3403_daily_bin1243
RA = 267.011, Dec = 34.0641
tmin = 561513601, tmax = 561772801
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='171487', job_status='RUN', time_executed='2021-09-18 14:43:22.454064', time_epoch_executed='1632001402.45' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='1243'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171487

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171487/ft1_4FGL_J1748.0+3403_daily_bin1243.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171487/ft1_4FGL_J1748.0+3403_daily_bin1243.fits outfile=/scratch/kocevski/171487/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1243.fits ra=267.011 dec=34.0641 rad=12.0 tmin=561513601.0 tmax=561772801.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.60
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.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/171487/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1243.fits evtable="EVENTS" outfile="/scratch/kocevski/171487/ft1_filtered_4FGL_J1748.0+3403_daily_bin1243.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/171487/ft1_filtered_4FGL_J1748.0+3403_daily_bin1243.fits" evtable="EVENTS" scfile=/scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits sctable="SC_DATA" outfile=/scratch/kocevski/171487/ltcube_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.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/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits
.....................!
real 11.58
user 11.26
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171487/ft1_filtered_4FGL_J1748.0+3403_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits sctable="SC_DATA" expcube=/scratch/kocevski/171487/ltcube_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.fits outfile=/scratch/kocevski/171487/expmap_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.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/171487/ltcube_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.fits
.....................!
real 189.73
user 185.30
sys 4.09

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/171487/ft1_filtered_4FGL_J1748.0+3403_daily_bin1243.fits scfile=/scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits outfile=/scratch/kocevski/171487/cmap_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/171487/ft1_filtered_4FGL_J1748.0+3403_daily_bin1243.fits scfile=/scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits outfile=/scratch/kocevski/171487/cmap_HighResolution_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/171487/ft1_filtered_4FGL_J1748.0+3403_daily_bin1243.fits', '/scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits', expMap='/scratch/kocevski/171487/expmap_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.fits', expCube='/scratch/kocevski/171487/ltcube_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/171487/Model_4FGL_J1748.0+3403_daily_bin1243.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/171487/ft1_filtered_4FGL_J1748.0+3403_daily_bin1243.fits
Spacecraft file(s): /scratch/kocevski/171487/ft2_4FGL_J1748.0+3403_daily_bin1243.fits
Exposure map: /scratch/kocevski/171487/expmap_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.fits
Exposure cube: /scratch/kocevski/171487/ltcube_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/171487/Model_4FGL_J1748.0+3403_daily_bin1243.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 175.926441072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 174.918835529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0179       1.0000         .10000E-03   10000.    
     2 'norm      '    4.7846       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4399       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0231       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3943       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4657       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1822       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1675       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.2815       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.0719       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5468       1.0000         .10000E-03   10000.    
    12 'Prefactor '    66.757       1.0000         .10000E-03   10000.    
    13 'norm      '    .58177E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    9.3074       1.0000         .10000E-03   10000.    
    15 'norm      '    8.3827       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .59711E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .10067E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .32977E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31851       1.0000         .10000E-03   10000.    
    20 'norm      '    .71804       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .70210E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    2.6608       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78223       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .50986       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   174.8946     FROM MIGRAD    STATUS=CONVERGED    185 CALLS      313 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0179        1.2984         .0000         .0000    
   2  norm          4.7846        1.0056         .0000         .0000    
   3  Prefactor     6.4399        1.0030         .0000         .0000    
   4  norm          8.0231        1.0020         .0000         .0000    
   5  Prefactor     6.3943        1.0031         .0000         .0000    
   6  Prefactor     .14843E-01    .44556E-01   -.11336E-03   -.54110E-03
   7  Prefactor     4.1822        1.0073         .0000         .0000    
   8  Prefactor     .10000E-03    .12227       -.20832E-04** at limit **
   9  Prefactor     4.2815        1.0070         .0000         .0000    
  10  Prefactor     .10003E-03    .31117E-01    .12363E-04** at limit **
  11  Prefactor     .10003E-03    .45469E-01   -.11979E-04** at limit **
  12  Prefactor     66.565        .99860       -.26579E-05    .56887E-04
  13  norm          .10000E-03    .22529       -.12378E-06** at limit **
  14  norm          5.8280        .79259       -.25645E-04    .24009E-02
  15  norm          8.3827        1.0018         .0000         .0000    
  16  Prefactor     .10000E-03    .21703        .66088E-05** at limit **
  17  norm          .10000E-03    .26931       -.11165E-05** at limit **
  18  Prefactor     .10000E-03    .21099       -.33289E-05** at limit **
  19  Prefactor     .10000E-03    .27593       -.64812E-06** at limit **
  20  norm          .10000E-03    .36789        .16179E-05** at limit **
  21  Prefactor     .10000E-03    .21843        .29367E-05** at limit **
  22  norm          .10000E-03    .97561E-01   -.69032E-05** at limit **
  23  Normalizat    .78963        1.1263        .27346E-04   -.14058E-05
  24  Prefactor     .50859        .85175        .14173E-04    .42180E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.01791
  norm       = 4.78462
  Prefactor  = 6.43995
  norm       = 8.02307
  Prefactor  = 6.39433
  Prefactor  = 0.014843
  Prefactor  = 4.18224
  Prefactor  = 0.0001
  Prefactor  = 4.28149
  Prefactor  = 0.000100035
  Prefactor  = 0.000100031
  Prefactor  = 66.5655
  norm       = 0.0001
  norm       = 5.82799
  norm       = 8.38269
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.789635
  Prefactor  = 0.508587
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   174.8946     FROM HESSE     STATUS=FAILED         9 CALLS      322 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          587.92        586.49         .0000       -1.5506    
   2  norm          4.7846        1.0056         .0000       -1.5270    
   3  Prefactor     6.4399        1.0030         .0000       -1.5200    
   4  norm          8.0231        1.0020         .0000       -1.5141    
   5  Prefactor     6.3943        1.0031         .0000       -1.5202    
   6  Prefactor     .14843E-01    .44556E-01   -.11336E-03   -1.5732    
   7  Prefactor     4.1822        1.0073         .0000       -1.5299    
   8  Prefactor     .10000E-03    .12227       -.20832E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2815        1.0070         .0000       -1.5294    
  10  Prefactor     .10003E-03    .31117E-01    .12363E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10003E-03    .45469E-01   -.11979E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     66.565        .99860       -.26579E-05   -1.4074    
  13  norm          .10000E-03    .22529       -.12378E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.8280        .79259       -.25645E-04   -1.5225    
  15  norm          8.3827        1.0018         .0000       -1.5129    
  16  Prefactor     .10000E-03    .21703        .66088E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .26931       -.11165E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .21099       -.33289E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .27593       -.64812E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .36789        .16179E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .21843        .29367E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .97561E-01   -.69032E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .78963        1.1263        .27346E-04   -1.0045    
  24  Prefactor     .50859        .85175        .14173E-04   -1.1158    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.46711e-11
Minuit parameter uncertainties:
  1  1.29845
  2  1.00557
  3  1.00305
  4  1.00195
  5  1.00309
  6  0.0445557
  7  1.00733
  8  1.28077e-05
  9  1.00699
  10  6.57988e-05
  11  7.44895e-05
  12  0.998601
  13  1.12333e-07
  14  0.792591
  15  1.00179
  16  1.10542e-05
  17  9.46604e-07
  18  1.83438e-06
  19  5.19207e-07
  20  1.10133e-06
  21  1.71575e-06
  22  5.64439e-06
  23  1.16239
  24  0.874667
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 174.894631102

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  4.182e+00  1.007e+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

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  5.086e-01  8.747e-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:  7.896e-01  1.162e+00  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 267.011 34.064
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.69e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/171487/likelihoodResults_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.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): 101
logL (Free Index) = 174.894759648
delta logL = -0.000128545731116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 174.894759648
delta logL = -0.000128545731116

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.3365       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   174.8948     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.3365        1.0122        .24156         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.33653
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   174.8948     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .60973        1.8041        .24156       -.56178    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171487': 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): 101
logL (Free Index) = 174.894759648
delta logL = -0.000128545731116

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  4.182e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
334        Index:  2.337e+00  1.022e+00  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:  5.089e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  7.886e-01  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/171487/cmap_HighResolution_561513601_561772801_4FGL_J1748.0+3403_daily_bin1243.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.69e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-18 14:49:09.739385', job_id='171487', GAL2='0.51', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632001749.74', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.51', dlogl='-1.29e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1243' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 14:49:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 171487: <4FGL_J1748.0+3403_daily_bin1243> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin1243> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 18 14:40:33 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 14:40:34 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:40:34 2021
Terminated at Sat Sep 18 14:49:10 2021
Results reported at Sat Sep 18 14:49:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin1243 267.011 34.0641 561513601 561772801 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 :                                   329.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            517 sec.

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

