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


Performing analysis on: 4FGL_J0749.3+4453_daily_bin59
RA = 117.348, Dec = 44.8918
tmin = 254620801, tmax = 254880001
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='919961', job_status='RUN', time_executed='2021-08-28 15:04:14.873519', time_epoch_executed='1630188254.87' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='59'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919961

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919961/ft1_4FGL_J0749.3+4453_daily_bin59.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919961/ft1_4FGL_J0749.3+4453_daily_bin59.fits outfile=/scratch/kocevski/919961/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin59.fits ra=117.348 dec=44.8918 rad=12.0 tmin=254620801.0 tmax=254880001.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 2.07
user 1.15
sys 0.69

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919961/ft1_filtered_4FGL_J0749.3+4453_daily_bin59.fits" evtable="EVENTS" scfile=/scratch/kocevski/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits sctable="SC_DATA" outfile=/scratch/kocevski/919961/ltcube_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.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/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits
.....................!
real 12.68
user 11.63
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919961/ft1_filtered_4FGL_J0749.3+4453_daily_bin59.fits evtable="EVENTS" scfile=/scratch/kocevski/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits sctable="SC_DATA" expcube=/scratch/kocevski/919961/ltcube_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.fits outfile=/scratch/kocevski/919961/expmap_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.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/919961/ltcube_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.fits
.....................!
real 192.75
user 186.64
sys 5.18

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/919961/ft1_filtered_4FGL_J0749.3+4453_daily_bin59.fits scfile=/scratch/kocevski/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits outfile=/scratch/kocevski/919961/cmap_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.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.18
user 0.38
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919961/ft1_filtered_4FGL_J0749.3+4453_daily_bin59.fits scfile=/scratch/kocevski/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits outfile=/scratch/kocevski/919961/cmap_HighResolution_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.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.12
user 0.39
sys 0.65

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/919961/ft1_filtered_4FGL_J0749.3+4453_daily_bin59.fits', '/scratch/kocevski/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits', expMap='/scratch/kocevski/919961/expmap_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.fits', expCube='/scratch/kocevski/919961/ltcube_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/919961/Model_4FGL_J0749.3+4453_daily_bin59.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/919961/ft1_filtered_4FGL_J0749.3+4453_daily_bin59.fits
Spacecraft file(s): /scratch/kocevski/919961/ft2_4FGL_J0749.3+4453_daily_bin59.fits
Exposure map: /scratch/kocevski/919961/expmap_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.fits
Exposure cube: /scratch/kocevski/919961/ltcube_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/919961/Model_4FGL_J0749.3+4453_daily_bin59.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) = 5152.00488341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.219       1.0000         .10000E-03   10000.    
     2 'norm      '    3.9283       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.227       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.340       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2096       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4772       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.913       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2513       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2843       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1189       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16856E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .29885E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .24395E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    1.3398       1.0000         .10000E-03   10000.    
    20 'norm      '    2.2785       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.0926       1.0000         .10000E-03   10000.    
    25 'norm      '    6.4665       1.0000         .10000E-03   10000.    
    26 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1349       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85975       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.

 FCN=   5152.000     FROM MIGRAD    STATUS=CONVERGED    674 CALLS     3503 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.218        6.7652       -.34871E-06    .23936E-04
   2  norm          3.9280        3.4642        .23874E-06    .26837E-04
   3  Prefactor     16.221        31.554       -.91214E-05    .10161E-04
   4  norm          .10000E-03    1.5615       -.19431E-06** at limit **
   5  Prefactor     .10000E-03    4.3622        .17136E-07** at limit **
   6  Prefactor     24.339        16.126        .17385E-06    .52478E-04
   7  norm          2.2093        6.8857       -.13960E-05   -.41082E-03
   8  Prefactor     2.4735        19.358       -.53195E-05   -.12910E-03
   9  Prefactor     17.897        35.742       -.25967E-04    .43951E-04
  10  norm          .10000E-03    .44268        .14714E-06** at limit **
  11  Prefactor     7.2554        16.789        .46840E-05    .16596E-03
  12  Prefactor     6.2644        27.024       -.32084E-04    .20430E-03
  13  norm          .10000E-03    10.670        .82613E-06** at limit **
  14  norm          3.1172        3.5912        .32037E-06    .43733E-03
  15  Prefactor     .10001E-03    24.350       -.19689E-05** at limit **
  16  Prefactor     .10007E-03    234.87       -.13262E-03** at limit **
  17  Prefactor     .10000E-03    1.4666       -.68811E-07** at limit **
  18  norm          .10000E-03    8.5486       -.11203E-05** at limit **
  19  norm          1.3475        2.5974       -.70644E-06   -.16619E-03
  20  norm          2.2779        .89514        .13979E-08    .23111E-02
  21  Prefactor     .10000E-03    8.8682       -.84025E-06** at limit **
  22  Prefactor     .10000E-03    .93020       -.10103E-06** at limit **
  23  Prefactor     .10000E-03    42.065        .68364E-05** at limit **
  24  Prefactor     9.0847        18.217       -.53414E-05    .56850E-04
  25  norm          6.4642        8.5459       -.11025E-05   -.34978E-04
  26  norm          .10000E-03    5.6114        .14707E-06** at limit **
  27  Normalizat    1.1351        .22710        .65027E-05    .58233E-03
  28  Prefactor     .85974        .14267        .19651E-05    .80010E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.2184
  norm       = 3.92798
  Prefactor  = 16.2215
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.3391
  norm       = 2.20929
  Prefactor  = 2.47347
  Prefactor  = 17.8967
  norm       = 0.0001
  Prefactor  = 7.25537
  Prefactor  = 6.26435
  norm       = 0.0001
  norm       = 3.11717
  Prefactor  = 0.000100014
  Prefactor  = 0.000100067
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 1.34753
  norm       = 2.27791
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.08472
  norm       = 6.46423
  norm       = 0.0001
  Normalizat = 1.13511
  Prefactor  = 0.859743
 **********
 **   18 **HESSE 
 **********

 FCN=   5152.000     FROM HESSE     STATUS=OK           521 CALLS     4024 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.218        6.7696        .10622E-03   -1.4954    
   2  norm          3.9280        3.4612        .12092E-03   -1.5312    
   3  Prefactor     16.221        31.626        .99427E-04   -1.4902    
   4  norm          .10000E-03    1.5640        .87580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4133        .14623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.339        16.124        .81194E-04   -1.4721    
   7  norm          2.2093        6.8804        .27673E-03   -1.5411    
   8  Prefactor     2.4735        19.381        .25977E-03   -1.5393    
   9  Prefactor     17.897        35.844        .94632E-04   -1.4862    
  10  norm          .10000E-03    .45937        .93172E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.2554        16.736        .14895E-03   -1.5169    
  12  Prefactor     6.2644        26.610        .16012E-03   -1.5207    
  13  norm          .10000E-03    10.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1172        3.5724        .13645E-03   -1.5355    
  15  Prefactor     .10001E-03    25.192        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10007E-03    233.02        .21391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.4690        .84874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    31.203        .37167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3475        2.3998        .14458E-03   -1.5476    
  20  norm          2.2779        .89310        .40608E-04   -1.5406    
  21  Prefactor     .10000E-03    8.9213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .93875        .67591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    42.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.0847        18.342        .13292E-03   -1.5105    
  25  norm          6.4642        8.5516        .15783E-03   -1.5199    
  26  norm          .10000E-03    5.6171        .16603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1351        .26123        .28207E-03   -.88632    
  28  Prefactor     .85974        .16555        .20940E-03   -.97562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74436e-09
Minuit parameter uncertainties:
  1  6.77
  2  3.46137
  3  31.6591
  4  3.34537e-08
  5  8.91529e-06
  6  16.1268
  7  6.88287
  8  13.8535
  9  35.8871
  10  1.81935e-06
  11  16.7472
  12  25.8412
  13  5.38519e-05
  14  3.57262
  15  0.00116894
  16  0.00796308
  17  1.77058e-06
  18  0.000624176
  19  2.40002
  20  0.893106
  21  2.0288e-05
  22  3.79305e-06
  23  0.000209124
  24  18.3534
  25  8.55321
  26  6.89298e-06
  27  0.261527
  28  0.165643
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  6.264e+00  2.584e+01  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:  8.597e-01  1.656e-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.135e+00  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919961/likelihoodResults_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.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): 0
logL (Free Index) = 5151.81386165
delta logL = 0.185751025626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5151.80608913
delta logL = 0.193523540126

Fit tolerance = 1e-08

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

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

 FCN=   5151.806     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      245 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9431        345.95        .41151E-02    .17124E-03
   2  Index         3.0028        6.4953        .13477        .10743E-03
   3  Normalizat    1.1044        .70278E-01    .64524E-01   -.64605E-05
   4  Prefactor     .86766        .45060E-01    .44591E-01   -.47547E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94313
  Index      = 3.00281
  Normalizat = 1.10443
  Prefactor  = 0.867659
 **********
 **   18 **HESSE 
 **********

 FCN=   5151.806     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9431        19.591        .16460E-03   -1.5220    
   2  Index         3.0028        1.5319        .83960E-02   -.41090    
   3  Normalizat    1.1044        .24887        .28543E-03   -.89610    
   4  Prefactor     .86766        .16019        .20848E-03   -.97281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56067e-11
Minuit parameter uncertainties:
  1  19.6123
  2  1.56194
  3  0.249137
  4  0.160272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919961': 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): 0
logL (Free Index) = 5151.8060851
delta logL = 0.19352756949

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  5.943e+00  1.961e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  3.003e+00  1.562e+00  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:  8.677e-01  1.603e-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.104e+00  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/919961/cmap_HighResolution_254620801_254880001_4FGL_J0749.3+4453_daily_bin59.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.71e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-08-28 15:17:06.265794', job_id='919961', GAL2='0.87', fit_tolerance='1e-08', EG2='1.10', EG='1.14', time_epoch_completed='1630189026.27', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.94e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='59' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:17:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 919961: <4FGL_J0749.3+4453_daily_bin59> in cluster <slac> Done

Job <4FGL_J0749.3+4453_daily_bin59> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 15:00:43 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:00: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:00:44 2021
Terminated at Sat Aug 28 15:17:06 2021
Results reported at Sat Aug 28 15:17:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin59 117.348 44.8918 254620801 254880001 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 :                                   773.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            983 sec.

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

