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


Performing analysis on: 4FGL_J0749.3+4453_daily_bin711
RA = 117.348, Dec = 44.8918
tmin = 423619201, tmax = 423878401
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='924924', job_status='RUN', time_executed='2021-08-28 15:15:40.807932', time_epoch_executed='1630188940.81' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924924

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924924/ft1_4FGL_J0749.3+4453_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924924/ft2_4FGL_J0749.3+4453_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924924/ft1_4FGL_J0749.3+4453_daily_bin711.fits outfile=/scratch/kocevski/924924/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin711.fits ra=117.348 dec=44.8918 rad=12.0 tmin=423619201.0 tmax=423878401.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 6.07
user 5.63
sys 0.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924924/ft1_filtered_4FGL_J0749.3+4453_daily_bin711.fits" evtable="EVENTS" scfile=/scratch/kocevski/924924/ft2_4FGL_J0749.3+4453_daily_bin711.fits sctable="SC_DATA" outfile=/scratch/kocevski/924924/ltcube_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.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/924924/ft2_4FGL_J0749.3+4453_daily_bin711.fits
.....................!
real 12.24
user 11.67
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924924/ft1_filtered_4FGL_J0749.3+4453_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/924924/ft2_4FGL_J0749.3+4453_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/924924/ltcube_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.fits outfile=/scratch/kocevski/924924/expmap_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.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/924924/ltcube_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.fits
.....................!
real 190.56
user 184.88
sys 5.25

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/924924/ft1_filtered_4FGL_J0749.3+4453_daily_bin711.fits scfile=/scratch/kocevski/924924/ft2_4FGL_J0749.3+4453_daily_bin711.fits outfile=/scratch/kocevski/924924/cmap_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.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 0.71
user 0.37
sys 0.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924924/ft1_filtered_4FGL_J0749.3+4453_daily_bin711.fits scfile=/scratch/kocevski/924924/ft2_4FGL_J0749.3+4453_daily_bin711.fits outfile=/scratch/kocevski/924924/cmap_HighResolution_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.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 0.72
user 0.36
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.3371       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8604       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.583       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.080       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.078       1.0000         .10000E-03   10000.    
    10 'norm      '    .40797       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.712       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.958       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3809       1.0000         .10000E-03   10000.    
    18 'norm      '    6.6140       1.0000         .10000E-03   10000.    
    19 'norm      '    1.6235       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.5489       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    14.320       1.0000         .10000E-03   10000.    
    26 'norm      '    10.144       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0194       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .95388       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=   6241.593     FROM MIGRAD    STATUS=CONVERGED    670 CALLS     3466 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6950        .25304E-07** at limit **
   2  norm          .10000E-03    1.8203        .27610E-07** at limit **
   3  Prefactor     .10000E-03    16.164       -.65103E-06** at limit **
   4  norm          7.3379        7.2895       -.28022E-06   -.11719E-03
   5  Prefactor     2.8600        6.6921       -.88279E-06   -.42956E-03
   6  Prefactor     13.584        19.188        .91992E-06   -.32840E-05
   7  norm          .10000E-03    6.3483       -.16683E-06** at limit **
   8  Prefactor     23.082        14.077       -.67161E-07    .22935E-05
   9  Prefactor     15.075        32.399       -.41289E-05    .68721E-04
  10  norm          .40793        .55826       -.30584E-07   -.37895E-03
  11  Prefactor     .10000E-03    17.557       -.35176E-05** at limit **
  12  Prefactor     .10000E-03    20.469        .39422E-05** at limit **
  13  norm          11.713        15.009       -.12163E-05   -.57819E-03
  14  norm          .10000E-03    .92483        .12580E-07** at limit **
  15  Prefactor     .10000E-03    3.0635       -.12593E-06** at limit **
  16  Prefactor     34.960        44.491        .29976E-05   -.51451E-04
  17  Prefactor     6.3793        4.7930        .90806E-06   -.32366E-03
  18  norm          6.6143        4.1500        .12282E-05   -.37744E-03
  19  norm          1.6236        1.4538       -.14327E-06   -.88711E-04
  20  norm          .10000E-03    .18175       -.28429E-07** at limit **
  21  Prefactor     .10000E-03    39.727       -.19690E-05** at limit **
  22  Prefactor     1.5432        3.3424       -.59500E-06   -.84914E-03
  23  Prefactor     .10000E-03    20.074        .20814E-05** at limit **
  24  Prefactor     .10000E-03    7.3075        .25520E-06** at limit **
  25  norm          14.320        8.0496       -.77436E-07   -.88281E-05
  26  norm          10.145        12.140       -.16455E-06   -.49597E-04
  27  Normalizat    1.0194        .20258        .36273E-06    .25847E-04
  28  Prefactor     .95384        .12734       -.33217E-07    .55694E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.33789
  Prefactor  = 2.86002
  Prefactor  = 13.5844
  norm       = 0.0001
  Prefactor  = 23.0816
  Prefactor  = 15.0749
  norm       = 0.407932
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 11.7129
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.9603
  Prefactor  = 6.37926
  norm       = 6.61427
  norm       = 1.62358
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.54324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.3201
  norm       = 10.1449
  Normalizat = 1.0194
  Prefactor  = 0.953842
 **********
 **   18 **HESSE 
 **********

 FCN=   6241.593     FROM HESSE     STATUS=OK           521 CALLS     3987 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7306        .12655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8412        .10405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.3379        7.1748        .14807E-03   -1.5166    
   5  Prefactor     2.8600        6.7369        .24037E-03   -1.5370    
   6  Prefactor     13.584        19.134        .10868E-03   -1.4971    
   7  norm          .10000E-03    6.5163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.082        14.087        .83377E-04   -1.4747    
   9  Prefactor     15.075        32.131        .10315E-03   -1.4931    
  10  norm          .40793        .51814        .66730E-03   -1.5580    
  11  Prefactor     .10000E-03    17.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.713        15.792        .58529E-03   -1.5023    
  14  norm          .10000E-03    .92993        .74181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0681        .13501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.960        44.098        .67778E-04   -1.4525    
  17  Prefactor     6.3793        4.7472        .14112E-03   -1.5203    
  18  norm          6.6143        4.0516        .11920E-03   -1.5194    
  19  norm          1.6236        1.4491        .86665E-04   -1.5453    
  20  norm          .10000E-03    .18593        .65667E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    40.393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.5432        3.4116        .20317E-03   -1.5460    
  23  Prefactor     .10000E-03    20.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.3544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          14.320        8.0532        .10584E-03   -1.4951    
  26  norm          10.145        12.166        .12581E-03   -1.5071    
  27  Normalizat    1.0194        .23313        .29311E-03   -.92383    
  28  Prefactor     .95384        .14647        .20109E-03   -.94284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84e-09
Minuit parameter uncertainties:
  1  2.51098e-06
  2  1.61316e-06
  3  2.23654e-05
  4  7.17568
  5  6.73871
  6  19.1423
  7  1.68825e-05
  8  14.0892
  9  32.1681
  10  0.518141
  11  0.000215562
  12  0.000208078
  13  15.7974
  14  1.77739e-07
  15  9.05456e-06
  16  44.1387
  17  4.74744
  18  4.0518
  19  1.44908
  20  9.38386e-07
  21  0.000125014
  22  3.41205
  23  8.55182e-05
  24  1.41563e-05
  25  8.05385
  26  12.1692
  27  0.23336
  28  0.14653
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  2.081e-04  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.538e-01  1.465e-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.019e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 6.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924924/likelihoodResults_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.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) = 6241.59365551
delta logL = -0.000232651076658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6241.5934224
delta logL = 4.57259375253e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12171E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1642       1.0000          .0000       10.000    
     3 'Normalizat'    1.0195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95377       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6241.593     FROM MIGRAD    STATUS=FAILED       114 CALLS      272 TOTAL
                     EDM=   .13E-01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37177E-03    9349.5        .57250E-02** at limit **
   2  Index         1.5073        5.3281        .50000       -.32697E-04
   3  Normalizat    1.0194        .60245E-01    .29311E-03   -.13032E-04
   4  Prefactor     .95384        .45274E-01    .20109E-03    .14751E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6241.588     FROM SIMPLEX   STATUS=PROGRESS     135 CALLS      407 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4660        9349.5        .92566E-03   -.11032E-01
   2  Index         1.6805        5.3281        .37287E-04   -.32697E-04
   3  Normalizat    1.0193        .60245E-01    .73645E-06   -.13032E-04
   4  Prefactor     .95379        .45274E-01    .10817E-05    .14751E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6241.588     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      504 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4876        34.648        .45800E-03    .10743E-04
   2  Index         1.6389        1.8467        .21443E-01   -.29462E-04
   3  Normalizat    1.0202        .21677        .23449E-05    .38787E-06
   4  Prefactor     .95254        .14567        .80437E-05    .16960E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.48762
  Index      = 1.63894
  Normalizat = 1.02017
  Prefactor  = 0.952545
 **********
 **   18 **HESSE 
 **********

 FCN=   6241.588     FROM HESSE     STATUS=OK            27 CALLS      531 TOTAL
                     EDM=   .38E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4876        33.947        .91600E-04    161.82    
   2  Index         1.6389        1.8318        .42886E-02   -.73719    
   3  Normalizat    1.0202        .21696        .23449E-05   -.92358    
   4  Prefactor     .95254        .14581        .16087E-05   -.94328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76512e-13
Minuit parameter uncertainties:
  1  14.2214
  2  1.91627
  3  0.217147
  4  0.145866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924924': 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) = 6241.58759838
delta logL = 0.00582447835131

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.488e+00  1.422e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  1.639e+00  1.916e+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:  9.525e-01  1.459e-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.020e+00  2.171e-01  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/924924/cmap_HighResolution_423619201_423878401_4FGL_J0749.3+4453_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-03', job_status='DONE', photon_flux_upper_limit='6.65e-08', time_completed='2021-08-28 15:30:42.721281', job_id='924924', GAL2='0.95', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630189842.72', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='5.82e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='711' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:30:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 924924: <4FGL_J0749.3+4453_daily_bin711> in cluster <slac> Done

Job <4FGL_J0749.3+4453_daily_bin711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 28 15:15:25 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:15:27 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:15:27 2021
Terminated at Sat Aug 28 15:30:43 2021
Results reported at Sat Aug 28 15:30:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin711 117.348 44.8918 423619201 423878401 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 :                                   901.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             332.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            918 sec.

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

