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


Performing analysis on: 4FGL_J0749.3+4453_daily_bin1512
RA = 117.348, Dec = 44.8918
tmin = 631238401, tmax = 631497601
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='928501', job_status='RUN', time_executed='2021-08-28 15:28:40.332691', time_epoch_executed='1630189720.33' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='1512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928501

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928501/ft1_4FGL_J0749.3+4453_daily_bin1512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/928501/ft1_4FGL_J0749.3+4453_daily_bin1512.fits outfile=/scratch/kocevski/928501/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin1512.fits ra=117.348 dec=44.8918 rad=12.0 tmin=631238401.0 tmax=631497601.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.35
user 2.50
sys 0.82

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.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/928501/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin1512.fits evtable="EVENTS" outfile="/scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.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 1.11
user 0.33
sys 0.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits" evtable="EVENTS" scfile=/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits sctable="SC_DATA" outfile=/scratch/kocevski/928501/ltcube_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.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/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits
.....................!
real 12.86
user 11.83
sys 0.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits sctable="SC_DATA" expcube=/scratch/kocevski/928501/ltcube_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.fits outfile=/scratch/kocevski/928501/expmap_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.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/928501/ltcube_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.fits
.....................!
real 191.59
user 186.31
sys 4.90

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

Setting source of interest to:
4FGL J0749.3+4453 @ 117.348 44.8918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits scfile=/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits outfile=/scratch/kocevski/928501/cmap_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.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=117.348 yref=44.8918 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 1.12
user 0.37
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits scfile=/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits outfile=/scratch/kocevski/928501/cmap_HighResolution_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.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=117.348 yref=44.8918 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 1.14
user 0.38
sys 0.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/928501/Model_4FGL_J0749.3+4453_daily_bin1512.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/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits..........................!
real 19.14
user 17.01
sys 1.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits', '/scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits', expMap='/scratch/kocevski/928501/expmap_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.fits', expCube='/scratch/kocevski/928501/ltcube_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/928501/Model_4FGL_J0749.3+4453_daily_bin1512.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.3+4453'

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  4.702e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/928501/ft1_filtered_4FGL_J0749.3+4453_daily_bin1512.fits
Spacecraft file(s): /scratch/kocevski/928501/ft2_4FGL_J0749.3+4453_daily_bin1512.fits
Exposure map: /scratch/kocevski/928501/expmap_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.fits
Exposure cube: /scratch/kocevski/928501/ltcube_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/928501/Model_4FGL_J0749.3+4453_daily_bin1512.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) = 632.93278533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23910E-03   1.0000         .10000E-03   10000.    
     2 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .41693E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .16752       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11221E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .65873E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.5953       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11389E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.001       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.067       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12280E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    18.191       1.0000         .10000E-03   10000.    
    25 'norm      '    .10675E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10014E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91544       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   627.2288     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     4112 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10099E-02    119.54       -.26520E-03** at limit **
   2  norm         10000.0        75.073        .20853E-03** at limit **
   3  Prefactor    10000.0        2.3262        .37227E-04   -.36309E-03
   4  norm          .20548E-03    63.805       -.83737E-06** at limit **
   5  Prefactor     .10435E-03    57.535        .67334E-04** at limit **
   6  Prefactor     .17312E-03    75.827        .12132E-03** at limit **
   7  norm          .10632E-03    3.3901        .23060E-04** at limit **
   8  Prefactor     .28486E-03    223.62       -.31933E-03** at limit **
   9  Prefactor     .10546E-03    23.385       -.34564E-04** at limit **
  10  norm          .16729        2.2389       -.50730E-05   -.36765E-03
  11  Prefactor     .10000E-03    13.626       -.11675E-05** at limit **
  12  Prefactor     .10005E-03    38.134       -.29737E-04** at limit **
  13  norm          .12965E-03    9.9743       -.51919E-04** at limit **
  14  norm          5.6024        7.0795        .36187E-04    .15057E-02
  15  Prefactor     .10000E-03    14.606        .34899E-05** at limit **
  16  Prefactor     .10005E-03    47.873       -.10402E-03** at limit **
  17  Prefactor     .10000E-03    10.501        .38800E-05** at limit **
  18  norm          .10000E-03    3.6192       -.11267E-05** at limit **
  19  norm          .10000E-03    2.1046       -.70770E-08** at limit **
  20  norm          .10000E-03    .78908        .35694E-07** at limit **
  21  Prefactor     31.807        31.486       -.67550E-04    .97349E-02
  22  Prefactor     13.110        6.5189        .23105E-04    .29967E-02
  23  Prefactor     .10280E-03    43.225        .10779E-03** at limit **
  24  Prefactor     18.214        2.7230        .57722E-05    .98208E-05
  25  norm          .10000E-03    7.2832        .18604E-05** at limit **
  26  norm          .10000E-03    7.6327        .14440E-05** at limit **
  27  Normalizat    .10000E-01    .85692        .31982E-05** at limit **
  28  Prefactor     .91511        .19636       -.52972E-05    .41723E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00100993
  norm       = 10000
  Prefactor  = 9999.99
  norm       = 0.000205484
  Prefactor  = 0.000104351
  Prefactor  = 0.000173117
  norm       = 0.000106325
  Prefactor  = 0.000284862
  Prefactor  = 0.00010546
  norm       = 0.167292
  Prefactor  = 0.0001
  Prefactor  = 0.000100045
  norm       = 0.000129652
  norm       = 5.60238
  Prefactor  = 0.0001
  Prefactor  = 0.000100048
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 31.8074
  Prefactor  = 13.1099
  Prefactor  = 0.000102796
  Prefactor  = 18.2135
  norm       = 0.0001
  norm       = 0.000100001
  Normalizat = 0.01
  Prefactor  = 0.915106
 **********
 **   18 **HESSE 
 **********

 FCN=   627.2288     FROM HESSE     STATUS=OK           565 CALLS     4677 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10099E-02    1137.7        .90712E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm         10000.0        1151.0        .95382E-02    1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        9309.7        .90849E-02    1.5687    
   4  norm          .20548E-03    202.90        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10435E-03    175.18        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17312E-03    145.50        .90712E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10632E-03    177.93        .10622E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .28486E-03    482.94        .90712E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10546E-03    57.929        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .16729        1.9152        .15783E-01   -1.5626    
  11  Prefactor     .10000E-03    13.630        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10005E-03    38.334        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .12965E-03    421.02        .10507E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.6024        7.0992        .42459E-02   -1.5235    
  15  Prefactor     .10000E-03    14.606        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10005E-03    66.384        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.507        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.6115        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.0835        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .78346        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     31.807        74.024        .17708E-02   -1.4579    
  22  Prefactor     13.110        18.282        .27702E-02   -1.4984    
  23  Prefactor     .10280E-03    49.677        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     18.214        32.196        .23476E-02   -1.4854    
  25  norm          .10000E-03    7.2549        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    7.6127        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .50490        .23907       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .91511        .26465        .45202E-01   -.95615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89463e-06
Minuit parameter uncertainties:
  1  2.07559
  2  1.33652
  3  24.417
  4  0.293589
  5  0.0553819
  6  0.206789
  7  0.0672933
  8  0.602502
  9  0.0356032
  10  1.13177
  11  0.000138141
  12  0.00264245
  13  0.225066
  14  7.10027
  15  0.000156361
  16  0.00356047
  17  0.000172491
  18  3.72617e-05
  19  1.58552e-05
  20  2.15744e-06
  21  74.2387
  22  18.29
  23  0.0235925
  24  32.2262
  25  9.95954e-05
  26  0.00012543
  27  6.47934e-06
  28  0.265022
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  2.642e-03  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  9.151e-01  2.650e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.000e-02  6.479e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 4.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/928501/likelihoodResults_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.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) = 627.228915662
delta logL = -0.00012786881598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 627.228791806
delta logL = -4.01305646847e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6834       1.0000          .0000       10.000    
     3 'Normalizat'    .10006E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91511       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+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=   627.2288     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      290 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10609E-03    38.066        .12004E-01** at limit **
   2  Index         2.5658        5.8771        .50000        .11261E-04
   3  Normalizat    .10000E-01    .24924E-02    .84082E-02** at limit **
   4  Prefactor     .91510        .10146E-01    .16186E-03   -.11405E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010609
  Index      = 2.56581
  Normalizat = 0.01
  Prefactor  = 0.915104
 **********
 **   18 **HESSE 
 **********

 FCN=   627.2288     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      319 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10609E-03    327.91        .12705E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5658        6.2132        .50000       -.50847    
   3  Normalizat    .10000E-01    .22202E-01    .16816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .91510        .30253E-01    .32372E-04   -.95615    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.74297e-09
Minuit parameter uncertainties:
  1  0.0898739
  2  642.649
  3  9.88776e-07
  4  0.0302538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928501': 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) = 627.228788457
delta logL = -6.63738546791e-07

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.061e-04  8.987e-02  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.566e+00  6.426e+02  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  9.151e-01  3.025e-02  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.000e-02  9.888e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.348 44.892

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/928501/cmap_HighResolution_631238401_631497601_4FGL_J0749.3+4453_daily_bin1512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-02', job_status='DONE', photon_flux_upper_limit='4.04e-07', time_completed='2021-08-28 15:36:02.219791', job_id='928501', GAL2='0.92', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630190162.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-6.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1512' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:36:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 928501: <4FGL_J0749.3+4453_daily_bin1512> in cluster <slac> Done

Job <4FGL_J0749.3+4453_daily_bin1512> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 15:25:43 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:25:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:25:44 2021
Terminated at Sat Aug 28 15:36:03 2021
Results reported at Sat Aug 28 15:36:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin1512 117.348 44.8918 631238401 631497601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.3+4453 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   398.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             236.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            620 sec.

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

