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


Performing analysis on: 4FGL_J0449.4-4350_daily_bin172
RA = 72.3582, Dec = -43.835
tmin = 283910401, tmax = 284169601
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='780557', job_status='RUN', time_executed='2021-08-21 10:16:02.224115', time_epoch_executed='1629566162.22' WHERE source_name='4FGL J0449.4-4350' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/780557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/780557/ft1_4FGL_J0449.4-4350_daily_bin172.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/780557/ft1_4FGL_J0449.4-4350_daily_bin172.fits outfile=/scratch/kocevski/780557/ft1_filteredMKT_4FGL_J0449.4-4350_daily_bin172.fits ra=72.3582 dec=-43.835 rad=12.0 tmin=283910401.0 tmax=284169601.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.19
user 3.34
sys 0.84

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/780557/ltcube_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.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/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits
.....................!
real 14.33
user 13.28
sys 1.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/780557/ltcube_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.fits outfile=/scratch/kocevski/780557/expmap_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.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/780557/ltcube_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.fits
.....................!
real 194.84
user 188.29
sys 6.10

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/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits scfile=/scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits outfile=/scratch/kocevski/780557/cmap_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.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.16
user 0.37
sys 0.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits scfile=/scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits outfile=/scratch/kocevski/780557/cmap_HighResolution_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.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.20
user 0.38
sys 0.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/780557/Model_4FGL_J0449.4-4350_daily_bin172.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/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits.....................!
real 150.78
user 148.31
sys 2.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits', '/scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits', expMap='/scratch/kocevski/780557/expmap_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.fits', expCube='/scratch/kocevski/780557/ltcube_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/780557/Model_4FGL_J0449.4-4350_daily_bin172.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/780557/ft1_filtered_4FGL_J0449.4-4350_daily_bin172.fits
Spacecraft file(s): /scratch/kocevski/780557/ft2_4FGL_J0449.4-4350_daily_bin172.fits
Exposure map: /scratch/kocevski/780557/expmap_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.fits
Exposure cube: /scratch/kocevski/780557/ltcube_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/780557/Model_4FGL_J0449.4-4350_daily_bin172.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) = 6971.97031327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    54.994       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.0836       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    12.131       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.4713       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0512       1.0000         .10000E-03   10000.    
    11 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.3579       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10485E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    53.807       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.493       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.4157       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.7246       1.0000         .10000E-03   10000.    
    22 'norm      '    3.1724       1.0000         .10000E-03   10000.    
    23 'norm      '    5.5676       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .16635       1.0000         .10000E-03   10000.    
    25 'Prefactor '    19.010       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .17494E-01   1.0000         .10000E-03   10000.    
    27 'norm      '    10.263       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .91443       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0009       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=   6971.890     FROM MIGRAD    STATUS=CONVERGED    800 CALLS     3827 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .10259        .41816E-08** at limit **
   2  norm          .10000E-03    2.6623        .88931E-08** at limit **
   3  Prefactor     .10000E-03    14.042        .13754E-07** at limit **
   4  Prefactor     54.985        41.962       -.16498E-05   -.16384E-03
   5  Prefactor     .10000E-03    7.5494       -.10708E-07** at limit **
   6  norm          9.0884        5.7575        .47334E-07   -.38342E-04
   7  Prefactor     .10000E-03    15.410        .32376E-07** at limit **
   8  norm          12.131        1.3789        .71593E-08    .27713E-04
   9  Prefactor     8.1854        179.66       -.32803E-05   -.11611E-04
  10  Prefactor     1.0503        1.9010        .12316E-06    .13794E-03
  11  norm          .10000E-03    8.1474       -.70229E-09** at limit **
  12  norm          2.3574        1.5511        .32799E-07   -.43959E-04
  13  Prefactor     .10000E-03    1.5832       -.14631E-07** at limit **
  14  Prefactor     .10000E-03    5.3025        .11874E-07** at limit **
  15  norm          .10000E-03    1.2057        .30186E-08** at limit **
  16  Prefactor     53.801        53.152       -.44524E-05   -.25986E-03
  17  Prefactor     13.493        14.695        .32587E-05    .60938E-03
  18  Prefactor     .10000E-03    32.750        .15940E-06** at limit **
  19  Prefactor     3.4156        2.2621       -.29527E-08   -.98897E-04
  20  Prefactor     .10000E-03    3.1444       -.34930E-08** at limit **
  21  norm          1.7258        2.3510        .12305E-06   -.19111E-03
  22  norm          3.1721        4.9998       -.12074E-05   -.27642E-03
  23  norm          5.5666        4.1886        .15300E-05   -.23613E-02
  24  Prefactor     .11204        3.7936       -.48867E-07    .60628E-04
  25  Prefactor     19.040        19.322       -.28609E-06   -.11914E-04
  26  Prefactor     .10000E-03    158.90        .21146E-06** at limit **
  27  norm          10.263        1.6325       -.18375E-07    .44424E-04
  28  Normalizat    .91450        .19983        .75190E-06   -.49698E-04
  29  Prefactor     1.0010        .18901       -.55497E-06    .39071E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.9854
  Prefactor  = 0.0001
  norm       = 9.08839
  Prefactor  = 0.0001
  norm       = 12.1308
  Prefactor  = 8.18542
  Prefactor  = 1.05034
  norm       = 0.0001
  norm       = 2.35743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 53.8008
  Prefactor  = 13.4931
  Prefactor  = 0.0001
  Prefactor  = 3.41558
  Prefactor  = 0.0001
  norm       = 1.72576
  norm       = 3.17214
  norm       = 5.56661
  Prefactor  = 0.112035
  Prefactor  = 19.0404
  Prefactor  = 0.0001
  norm       = 10.2634
  Normalizat = 0.914497
  Prefactor  = 1.00101
 **********
 **   18 **HESSE 
 **********

 FCN=   6971.890     FROM HESSE     STATUS=OK           557 CALLS     4384 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .10885        .52186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.6737        .13304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     54.985        42.369        .54090E-04   -1.4224    
   5  Prefactor     .10000E-03    7.5646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.0884        5.7329        .13298E-03   -1.5105    
   7  Prefactor     .10000E-03    15.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.131        1.3783        .31654E-04   -1.5011    
   9  Prefactor     8.1854        182.44        .13773E-03   -1.5136    
  10  Prefactor     1.0503        1.5105        .14771E-02   -1.5503    
  11  norm          .10000E-03    8.2841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3574        1.5335        .80860E-04   -1.5401    
  13  Prefactor     .10000E-03    1.6336        .20348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.3315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.2095        .89518E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     53.801        54.710        .54681E-04   -1.4240    
  17  Prefactor     13.493        15.330        .10904E-03   -1.4973    
  18  Prefactor     .10000E-03    32.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.4156        2.2555        .97097E-04   -1.5338    
  20  Prefactor     .10000E-03    3.2173        .28800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.7258        2.3178        .13546E-03   -1.5445    
  22  norm          3.1721        5.1149        .18987E-03   -1.5352    
  23  norm          5.5666        5.0344        .70607E-03   -1.5236    
  24  Prefactor     .11204        101.86        .28214E-02   -1.5641    
  25  Prefactor     19.040        20.493        .91861E-04   -1.4835    
  26  Prefactor     .10000E-03    163.45        .36441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          10.263        1.6344        .40720E-04   -1.5067    
  28  Normalizat    .91450        .23968        .30122E-03   -.95953    
  29  Prefactor     1.0010        .22779        .28781E-03   -.92696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70402e-09
Minuit parameter uncertainties:
  1  7.9028e-08
  2  1.54847e-07
  3  2.33939e-06
  4  42.3922
  5  1.88913e-06
  6  5.73321
  7  1.49112e-05
  8  1.37831
  9  77.5574
  10  1.51056
  11  9.02675e-06
  12  1.53354
  13  3.05579e-06
  14  3.17697e-06
  15  6.42049e-07
  16  54.7611
  17  15.3346
  18  6.46671e-05
  19  2.2556
  20  5.40144e-06
  21  2.31789
  22  5.1156
  23  5.03481
  24  6.76491
  25  20.5008
  26  0.000244873
  27  1.63436
  28  0.239964
  29  0.228009
Done.

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

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  2.357e+00  1.534e+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:  1.001e+00  2.280e-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:  9.145e-01  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.96
Ra Dec: 72.358 -43.835
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.16e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 3.93e-05 +/- 2.56e-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) = 6971.84428989
delta logL = 0.0460143206901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6971.83806196
delta logL = 0.0522422497306

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2003       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8930       1.0000          .0000       5.0000    
     3 'Normalizat'    .90933       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0035       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=   6971.838     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1998        33.311        .69344E-02    .22638E-03
   2  alpha         1.8935        3.3594        .30785        .38428E-04
   3  Normalizat    .90925        .89328E-01    .68257E-01    .14329E-04
   4  Prefactor     1.0037        .75866E-01    .64995E-01    .42128E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19983
  alpha      = 1.89355
  Normalizat = 0.909245
  Prefactor  = 1.00365
 **********
 **   18 **HESSE 
 **********

 FCN=   6971.838     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1998        1.5783        .76777E-04   -1.5411    
   2  alpha         1.8935        .45777        .11284E-01   -.24503    
   3  Normalizat    .90925        .22109        .30197E-03   -.96136    
   4  Prefactor     1.0037        .22107        .28745E-03   -.92608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16357e-12
Minuit parameter uncertainties:
  1  1.57829
  2  0.460531
  3  0.22131
  4  0.221267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/780557': 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) = 6971.83806062
delta logL = 0.0522435943958

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  2.200e+00  1.578e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.894e+00  4.605e-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:  1.004e+00  2.213e-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:  9.092e-01  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 72.358 -43.835
Photon Index (Free Index): 1.89 +/- 0.46
Photon Flux (Free Index): 3.64e-08 +/- 2.71e-08
Energy Flux (Free Index): 3.18e-05 +/- 2.96e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/780557/cmap_HighResolution_283910401_284169601_4FGL_J0449.4-4350_daily_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.16e-08', energy_flux2='3.18e-05', photon_flux_error='2.06e-08', dlogl='5.22e-02', energy_flux='3.93e-05', photon_flux2='3.64e-08', job_status='DONE', time_completed='2021-08-21 10:31:41.494237', photon_index_error2='0.46', photon_index2='1.89', ts='4.96', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.96e-05', EG='0.91', time_epoch_completed='1629567101.49', return_code='0', job_id='780557', GAL2='1.00', EG2='0.91', return_code2='0', energy_flux_error='2.56e-05', photon_flux_error2='2.71e-08', ts2='5.03', photon_index='1.75' WHERE bin_id='172' AND source_name='4FGL J0449.4-4350' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 10:31:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 780557: <4FGL_J0449.4-4350_daily_bin172> in cluster <slac> Done

Job <4FGL_J0449.4-4350_daily_bin172> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 21 10:15:34 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 10:15:36 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:15:36 2021
Terminated at Sat Aug 21 10:31:42 2021
Results reported at Sat Aug 21 10:31:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.4-4350_daily_bin172 72.3582 -43.835 283910401 284169601 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 :                                   941.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   965 sec.
    Turnaround time :                            968 sec.

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

