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


Performing analysis on: 4FGL_J0449.4-4350_daily_bin1090
RA = 72.3582, Dec = -43.835
tmin = 521856001, tmax = 522115201
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='788904', job_status='RUN', time_executed='2021-08-21 10:42:58.774412', time_epoch_executed='1629567778.77' WHERE source_name='4FGL J0449.4-4350' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788904

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788904/ft1_4FGL_J0449.4-4350_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788904/ft1_4FGL_J0449.4-4350_daily_bin1090.fits outfile=/scratch/kocevski/788904/ft1_filteredMKT_4FGL_J0449.4-4350_daily_bin1090.fits ra=72.3582 dec=-43.835 rad=12.0 tmin=521856001.0 tmax=522115201.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 4.40
user 3.49
sys 0.89

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.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/788904/ft1_filteredMKT_4FGL_J0449.4-4350_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.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.14
user 0.33
sys 0.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/788904/ltcube_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.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/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits
.....................!
real 13.73
user 12.31
sys 1.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/788904/ltcube_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.fits outfile=/scratch/kocevski/788904/expmap_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.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/788904/ltcube_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.fits
.....................!
real 192.01
user 185.46
sys 6.16

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 190 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0449.4-4350 @ 72.3582 -43.835

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits scfile=/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits outfile=/scratch/kocevski/788904/cmap_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.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=72.3582 yref=-43.835 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.21
user 0.37
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits scfile=/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits outfile=/scratch/kocevski/788904/cmap_HighResolution_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.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=72.3582 yref=-43.835 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.26
user 0.39
sys 0.85

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/788904/Model_4FGL_J0449.4-4350_daily_bin1090.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits.....................!
real 120.31
user 118.07
sys 2.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits', '/scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits', expMap='/scratch/kocevski/788904/expmap_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.fits', expCube='/scratch/kocevski/788904/ltcube_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/788904/Model_4FGL_J0449.4-4350_daily_bin1090.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0449.4-4350'

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  4.279e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  6.187e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/788904/ft1_filtered_4FGL_J0449.4-4350_daily_bin1090.fits
Spacecraft file(s): /scratch/kocevski/788904/ft2_4FGL_J0449.4-4350_daily_bin1090.fits
Exposure map: /scratch/kocevski/788904/expmap_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.fits
Exposure cube: /scratch/kocevski/788904/ltcube_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/788904/Model_4FGL_J0449.4-4350_daily_bin1090.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) = 5582.67792483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.9277       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.213       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11215E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3367       1.0000         .10000E-03   10000.    
     8 'norm      '    1.9190       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5534       1.0000         .10000E-03   10000.    
    11 'norm      '    10.729       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4069       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13160E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.896       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6918       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .34482E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    23.743       1.0000         .10000E-03   10000.    
    22 'norm      '    3.5878       1.0000         .10000E-03   10000.    
    23 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.770       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.7224       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.5229       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .67806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5582.644     FROM MIGRAD    STATUS=CONVERGED    763 CALLS     3775 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .22268        .44656E-07** at limit **
   2  norm          8.9356        10.602        .28276E-06    .30922E-03
   3  Prefactor     20.220        21.813       -.55323E-06   -.12904E-03
   4  Prefactor     .10001E-03    54.104        .58234E-05** at limit **
   5  Prefactor     .10088E-03    16.261       -.28387E-05** at limit **
   6  norm          .10000E-03    1.3573       -.15487E-07** at limit **
   7  Prefactor     7.3415        12.955        .40160E-05   -.17631E-04
   8  norm          1.9191        .87902       -.14590E-06    .20972E-02
   9  Prefactor     .10000E-03    28.765        .30596E-05** at limit **
  10  Prefactor     4.5527        3.3143        .68712E-07    .28858E-04
  11  norm          10.727        11.082       -.28024E-07   -.13610E-05
  12  norm          2.4062        1.5696        .16507E-07    .10676E-03
  13  Prefactor     .10000E-03    1.6365       -.14620E-06** at limit **
  14  Prefactor     .10000E-03    35.950        .96370E-06** at limit **
  15  norm          10.900        7.7203       -.83312E-07   -.21193E-03
  16  Prefactor     .10000E-03    47.886       -.31087E-05** at limit **
  17  Prefactor     4.6910        23.978        .59123E-05   -.12476E-03
  18  Prefactor     .10001E-03    43.526       -.42257E-05** at limit **
  19  Prefactor     .10000E-03    1.3472       -.15662E-07** at limit **
  20  Prefactor     .10000E-03    1.5158       -.15153E-07** at limit **
  21  norm          23.743        4.7370        .32635E-07    .97416E-04
  22  norm          3.5871        3.6326        .69202E-07   -.29400E-04
  23  norm          .10000E-03    1.1613        .23222E-08** at limit **
  24  Prefactor     13.770        7.8583       -.31517E-06   -.27839E-03
  25  Prefactor     .10000E-03    16.596       -.12591E-08** at limit **
  26  Prefactor     .10000E-03    26.643       -.23750E-05** at limit **
  27  norm          1.7222        1.2007        .52525E-07   -.37250E-04
  28  Normalizat    1.5229        .23271       -.36314E-06    .16688E-03
  29  Prefactor     .67812        .21536       -.28840E-06    .83323E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.93555
  Prefactor  = 20.2205
  Prefactor  = 0.000100013
  Prefactor  = 0.000100883
  norm       = 0.0001
  Prefactor  = 7.34151
  norm       = 1.91909
  Prefactor  = 0.000100004
  Prefactor  = 4.5527
  norm       = 10.7275
  norm       = 2.40616
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 10.9003
  Prefactor  = 0.000100004
  Prefactor  = 4.69103
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.743
  norm       = 3.58712
  norm       = 0.0001
  Prefactor  = 13.7702
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.72218
  Normalizat = 1.52287
  Prefactor  = 0.67812
 **********
 **   18 **HESSE 
 **********

 FCN=   5582.644     FROM HESSE     STATUS=OK           563 CALLS     4338 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .48516        .66048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.9356        10.357        .13414E-03   -1.5110    
   3  Prefactor     20.220        21.966        .89088E-04   -1.4808    
   4  Prefactor     .10001E-03    56.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10088E-03    18.369        .81761E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3587        .84990E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.3415        13.728        .74038E-03   -1.5166    
   8  norm          1.9191        .88226        .41013E-04   -1.5431    
   9  Prefactor     .10000E-03    29.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5527        3.2882        .10753E-03   -1.5281    
  11  norm          10.727        10.965        .12232E-03   -1.5053    
  12  norm          2.4062        1.5563        .71852E-04   -1.5398    
  13  Prefactor     .10000E-03    4.9220        .17450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.900        7.5491        .12137E-03   -1.5048    
  16  Prefactor     .10000E-03    48.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.6910        24.329        .92891E-03   -1.5275    
  18  Prefactor     .10001E-03    44.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.0567        .16383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.5192        .89798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          23.743        4.7343        .69538E-04   -1.4733    
  22  norm          3.5871        3.6075        .13745E-03   -1.5329    
  23  norm          .10000E-03    1.1631        .78591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     13.770        7.8771        .10794E-03   -1.4966    
  25  Prefactor     .10000E-03    16.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    26.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.7222        1.1901        .64865E-04   -1.5445    
  28  Normalizat    1.5229        .27723        .25200E-03   -.77138    
  29  Prefactor     .67812        .25451        .34186E-03   -1.0439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5468e-09
Minuit parameter uncertainties:
  1  9.91385e-06
  2  10.3592
  3  21.9744
  4  0.00174369
  5  0.00805507
  6  1.34782e-06
  7  13.7335
  8  0.882269
  9  0.000708767
  10  3.28834
  11  10.9667
  12  1.55637
  13  2.69503e-05
  14  0.000363599
  15  7.54974
  16  0.000907063
  17  21.3797
  18  0.00117041
  19  2.87739e-05
  20  1.58441e-06
  21  4.7344
  22  3.60772
  23  1.00144e-07
  24  7.87772
  25  3.1769e-05
  26  0.000477878
  27  1.19007
  28  0.277507
  29  0.254949
Done.

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

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  2.406e+00  1.556e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  6.187e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  6.781e-01  2.549e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.523e+00  2.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.39
Ra Dec: 72.358 -43.835
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.23e-08 +/- 2.09e-08
Energy Flux (Fixed Index): 4.01e-05 +/- 2.59e-05

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) = 5582.20495208
delta logL = 0.438992329981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5582.18821821
delta logL = 0.455726202906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2663       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2857       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67473       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5582.188     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      210 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2667        1.4239        .68209E-02   -.15680E-03
   2  alpha         1.2857        .38824        .31217       -.25014E-04
   3  Normalizat    1.5327        .22129        .56852E-01   -.21184E-05
   4  Prefactor     .67465        .21051        .77408E-01    .25183E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26666
  alpha      = 1.28574
  Normalizat = 1.53269
  Prefactor  = 0.674654
 **********
 **   18 **HESSE 
 **********

 FCN=   5582.188     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2667        1.5368        .68600E-04   -1.5407    
   2  alpha         1.2857        .44479        .12941E-01   -.50717    
   3  Normalizat    1.5327        .26058        .25138E-03   -.76864    
   4  Prefactor     .67465        .24746        .34272E-03   -1.0453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20951e-10
Minuit parameter uncertainties:
  1  1.53682
  2  0.44792
  3  0.260808
  4  0.247863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788904': 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) = 5582.18821806
delta logL = 0.455726357364

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  2.267e+00  1.537e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.286e+00  4.479e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  6.187e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  6.747e-01  2.479e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.533e+00  2.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.31
Ra Dec: 72.358 -43.835
Photon Index (Free Index): 1.29 +/- 0.45
Photon Flux (Free Index): 1.96e-08 +/- 1.52e-08
Energy Flux (Free Index): 8.96e-05 +/- 9.24e-05

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/788904/cmap_HighResolution_521856001_522115201_4FGL_J0449.4-4350_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='8.96e-05', photon_flux_error='2.09e-08', dlogl='4.56e-01', energy_flux='4.01e-05', photon_flux2='1.96e-08', job_status='DONE', time_completed='2021-08-21 10:56:19.216876', photon_index_error2='0.45', photon_index2='1.29', ts='10.39', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='9.24e-05', EG='1.52', time_epoch_completed='1629568579.22', return_code='0', job_id='788904', GAL2='0.67', EG2='1.53', return_code2='0', energy_flux_error='2.59e-05', photon_flux_error2='1.52e-08', ts2='11.31', photon_index='1.75' WHERE bin_id='1090' AND source_name='4FGL J0449.4-4350' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 10:56:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 788904: <4FGL_J0449.4-4350_daily_bin1090> in cluster <slac> Done

Job <4FGL_J0449.4-4350_daily_bin1090> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 10:40:38 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 10:40:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 10:40:40 2021
Terminated at Sat Aug 21 10:56:20 2021
Results reported at Sat Aug 21 10:56:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.4-4350_daily_bin1090 72.3582 -43.835 521856001 522115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0449.4-4350 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   798.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            942 sec.

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

