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


Performing analysis on: 4FGL_J0449.4-4350_daily_bin1106
RA = 72.3582, Dec = -43.835
tmin = 526003201, tmax = 526262401
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='788928', job_status='RUN', time_executed='2021-08-21 10:42:04.842381', time_epoch_executed='1629567724.84' WHERE source_name='4FGL J0449.4-4350' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788928

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788928/ft1_4FGL_J0449.4-4350_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788928/ft2_4FGL_J0449.4-4350_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788928/ft1_4FGL_J0449.4-4350_daily_bin1106.fits outfile=/scratch/kocevski/788928/ft1_filteredMKT_4FGL_J0449.4-4350_daily_bin1106.fits ra=72.3582 dec=-43.835 rad=12.0 tmin=526003201.0 tmax=526262401.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.10
user 3.48
sys 0.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/788928/ft1_filtered_4FGL_J0449.4-4350_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/788928/ft2_4FGL_J0449.4-4350_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/788928/ltcube_526003201_526262401_4FGL_J0449.4-4350_daily_bin1106.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/788928/ft2_4FGL_J0449.4-4350_daily_bin1106.fits
.....................!
real 12.62
user 11.83
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788928/ft1_filtered_4FGL_J0449.4-4350_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/788928/ft2_4FGL_J0449.4-4350_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/788928/ltcube_526003201_526262401_4FGL_J0449.4-4350_daily_bin1106.fits outfile=/scratch/kocevski/788928/expmap_526003201_526262401_4FGL_J0449.4-4350_daily_bin1106.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/788928/ltcube_526003201_526262401_4FGL_J0449.4-4350_daily_bin1106.fits
.....................!
real 193.01
user 187.76
sys 4.87

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/788928/ft1_filtered_4FGL_J0449.4-4350_daily_bin1106.fits scfile=/scratch/kocevski/788928/ft2_4FGL_J0449.4-4350_daily_bin1106.fits outfile=/scratch/kocevski/788928/cmap_526003201_526262401_4FGL_J0449.4-4350_daily_bin1106.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 0.98
user 0.37
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788928/ft1_filtered_4FGL_J0449.4-4350_daily_bin1106.fits scfile=/scratch/kocevski/788928/ft2_4FGL_J0449.4-4350_daily_bin1106.fits outfile=/scratch/kocevski/788928/cmap_HighResolution_526003201_526262401_4FGL_J0449.4-4350_daily_bin1106.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 0.93
user 0.37
sys 0.56

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/788928/ft1_filtered_4FGL_J0449.4-4350_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/788928/ft2_4FGL_J0449.4-4350_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/788928/Model_4FGL_J0449.4-4350_daily_bin1106.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/788928/ft1_filtered_4FGL_J0449.4-4350_daily_bin1106.fits.....................!
real 123.95
user 121.93
sys 1.79

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22020E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8441       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7664       1.0000         .10000E-03   10000.    
     6 'norm      '    .10595E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17924E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    3.9373       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.414       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.2303       1.0000         .10000E-03   10000.    
    12 'norm      '    4.4421       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4611       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.792       1.0000         .10000E-03   10000.    
    15 'norm      '    3.0280       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13077E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0899       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.5329       1.0000         .10000E-03   10000.    
    21 'norm      '    .68530       1.0000         .10000E-03   10000.    
    22 'norm      '    4.3352       1.0000         .10000E-03   10000.    
    23 'norm      '    .79657       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.3008       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.9270       1.0000         .10000E-03   10000.    
    27 'norm      '    2.2081       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.7691       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .46225       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=   5883.634     FROM MIGRAD    STATUS=CONVERGED    752 CALLS     3278 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22907E-01    .40008        .43097E-06   -.20305E-02
   2  norm          .10000E-03    4.9898        .25604E-07** at limit **
   3  Prefactor     .10000E-03    7.4608        .22292E-07** at limit **
   4  Prefactor     5.8897        60.718       -.49139E-06   -.11024E-04
   5  Prefactor     9.7558        15.475        .25821E-07   -.57566E-04
   6  norm          .10000E-03    2.9368        .23635E-06** at limit **
   7  Prefactor     .10007E-03    9.4654       -.72148E-07** at limit **
   8  norm          3.9392        1.0339       -.10289E-06   -.38885E-03
   9  Prefactor     14.604        98.834       -.82993E-05   -.29221E-04
  10  Prefactor     .10000E-03    1.4104        .40366E-07** at limit **
  11  norm          4.2345        10.098       -.13758E-06   -.68944E-05
  12  norm          4.4422        2.3792       -.26378E-07   -.17833E-04
  13  Prefactor     4.4648        4.2218        .99332E-07   -.18173E-04
  14  Prefactor     14.752        26.508       -.11627E-06   -.13017E-04
  15  norm          3.0373        8.0251        .15633E-06    .18684E-04
  16  Prefactor     .10000E-03    18.873       -.95624E-08** at limit **
  17  Prefactor     .10000E-03    9.3958        .32286E-08** at limit **
  18  Prefactor     .10000E-03    191.02       -.14903E-05** at limit **
  19  Prefactor     6.0919        3.2736        .44919E-07    .94713E-04
  20  Prefactor     2.5335        4.1490       -.57220E-07   -.38322E-05
  21  norm          .68652        2.2150       -.94323E-08    .18580E-04
  22  norm          4.3333        6.4152        .93214E-06    .25769E-03
  23  norm          .79977        10.548       -.18429E-05   -.71762E-04
  24  Prefactor     6.3029        6.3498        .17445E-06    .20730E-04
  25  Prefactor     .10000E-03    5.7105        .97219E-07** at limit **
  26  Prefactor     1.9290        51.906        .40370E-06    .52404E-04
  27  norm          2.2084        1.3089       -.13513E-07    .11813E-03
  28  Normalizat    1.7685        .25416       -.22577E-05   -.11083E-05
  29  Prefactor     .46253        .22207        .45689E-05    .30600E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0229074
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.88974
  Prefactor  = 9.75585
  norm       = 0.0001
  Prefactor  = 0.000100071
  norm       = 3.93918
  Prefactor  = 14.6044
  Prefactor  = 0.0001
  norm       = 4.23449
  norm       = 4.44216
  Prefactor  = 4.46477
  Prefactor  = 14.7521
  norm       = 3.03726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.09193
  Prefactor  = 2.53348
  norm       = 0.686517
  norm       = 4.33326
  norm       = 0.799767
  Prefactor  = 6.30286
  Prefactor  = 0.0001
  Prefactor  = 1.92899
  norm       = 2.20839
  Normalizat = 1.76854
  Prefactor  = 0.46253
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.634     FROM HESSE     STATUS=OK           567 CALLS     3845 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22907E-01    1.2249        .82269E-03   -1.5678    
   2  norm          .10000E-03    5.0092        .16719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.4706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.8897        61.356        .16613E-03   -1.5223    
   5  Prefactor     9.7558        15.261        .12823E-03   -1.5083    
   6  norm          .10000E-03    2.9905        .12878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10007E-03    98.883        .40675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.9392        1.0036        .35680E-04   -1.5311    
   9  Prefactor     14.604        100.37        .10550E-03   -1.4943    
  10  Prefactor     .10000E-03    1.4198        .88823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2345        10.033        .19592E-03   -1.5296    
  12  norm          4.4422        2.3853        .76182E-04   -1.5286    
  13  Prefactor     4.4648        4.2007        .12488E-03   -1.5285    
  14  Prefactor     14.752        25.857        .10414E-03   -1.4940    
  15  norm          3.0373        7.7803        .23320E-03   -1.5359    
  16  Prefactor     .10000E-03    18.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.3997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    196.19        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.0919        3.2627        .95025E-04   -1.5214    
  20  Prefactor     2.5335        4.0629        .18175E-03   -1.5390    
  21  norm          .68652        2.1751        .18712E-03   -1.5542    
  22  norm          4.3333        5.9887        .15370E-03   -1.5292    
  23  norm          .79977        9.3912        .31968E-03   -1.5529    
  24  Prefactor     6.3029        6.3189        .15991E-03   -1.5206    
  25  Prefactor     .10000E-03    5.7159        .17898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.9290        52.945        .14963E-02   -1.5430    
  27  norm          2.2084        1.3007        .63489E-04   -1.5411    
  28  Normalizat    1.7685        .27009        .23497E-03   -.70488    
  29  Prefactor     .46253        .23355        .39672E-03   -1.1373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34997e-09
Minuit parameter uncertainties:
  1  0.334292
  2  1.25092e-05
  3  9.79214e-06
  4  38.0693
  5  15.2671
  6  3.95155e-05
  7  0.00531078
  8  1.00359
  9  76.7584
  10  2.00646e-06
  11  10.0371
  12  2.38535
  13  4.20102
  14  25.8766
  15  7.78287
  16  2.67104e-06
  17  1.03532e-06
  18  0.000397792
  19  3.26278
  20  4.06339
  21  2.17533
  22  5.98952
  23  5.48188
  24  6.31954
  25  7.42818e-07
  26  20.2312
  27  1.30067
  28  0.270313
  29  0.234037
Done.

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

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  4.442e+00  2.385e+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:  4.625e-01  2.340e-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.769e+00  2.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.55
Ra Dec: 72.358 -43.835
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 5.96e-08 +/- 3.20e-08
Energy Flux (Fixed Index): 7.40e-05 +/- 3.98e-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) = 5883.3850589
delta logL = 0.24901779646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5883.35219936
delta logL = 0.281877332484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9534       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4387       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46024       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=   5883.352     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9578        2.0895        .50719E-02   -.32214E-03
   2  alpha         1.4396        .33950        .27239        .56562E-05
   3  Normalizat    1.7832        .21824        .53040E-01   -.11330E-03
   4  Prefactor     .46057        .20281        .89809E-01    .47311E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.9578
  alpha      = 1.43959
  Normalizat = 1.78316
  Prefactor  = 0.460573
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.352     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9578        2.4133        .78149E-04   -1.5310    
   2  alpha         1.4396        .42105        .11144E-01   -.43804    
   3  Normalizat    1.7832        .24087        .23447E-03   -.70104    
   4  Prefactor     .46057        .22328        .39801E-03   -1.1382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.67194e-11
Minuit parameter uncertainties:
  1  2.41331
  2  0.423519
  3  0.241027
  4  0.223699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788928': 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) = 5883.35219493
delta logL = 0.281881770768

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  3.958e+00  2.413e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.440e+00  4.235e-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:  4.606e-01  2.237e-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.783e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.17
Ra Dec: 72.358 -43.835
Photon Index (Free Index): 1.44 +/- 0.42
Photon Flux (Free Index): 3.77e-08 +/- 3.15e-08
Energy Flux (Free Index): 1.11e-04 +/- 8.61e-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/788928/cmap_HighResolution_526003201_526262401_4FGL_J0449.4-4350_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.96e-08', energy_flux2='1.11e-04', photon_flux_error='3.20e-08', dlogl='2.82e-01', energy_flux='7.40e-05', photon_flux2='3.77e-08', job_status='DONE', time_completed='2021-08-21 10:55:00.091213', photon_index_error2='0.42', photon_index2='1.44', ts='24.55', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', energy_flux_error2='8.61e-05', EG='1.77', time_epoch_completed='1629568500.09', return_code='0', job_id='788928', GAL2='0.46', EG2='1.78', return_code2='0', energy_flux_error='3.98e-05', photon_flux_error2='3.15e-08', ts2='25.17', photon_index='1.75' WHERE bin_id='1106' AND source_name='4FGL J0449.4-4350' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 10:55:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 788928: <4FGL_J0449.4-4350_daily_bin1106> in cluster <slac> Done

Job <4FGL_J0449.4-4350_daily_bin1106> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 10:40:40 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 10:40:41 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:41 2021
Terminated at Sat Aug 21 10:55:00 2021
Results reported at Sat Aug 21 10:55:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.4-4350_daily_bin1106 72.3582 -43.835 526003201 526262401 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 :                                   775.15 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             333.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            860 sec.

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

