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


Performing analysis on: 4FGL_J0449.4-4350_daily_bin1060
RA = 72.3582, Dec = -43.835
tmin = 514080001, tmax = 514339201
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='788858', job_status='RUN', time_executed='2021-08-21 10:40:55.619599', time_epoch_executed='1629567655.62' WHERE source_name='4FGL J0449.4-4350' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788858

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788858/ft1_4FGL_J0449.4-4350_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788858/ft2_4FGL_J0449.4-4350_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788858/ft1_4FGL_J0449.4-4350_daily_bin1060.fits outfile=/scratch/kocevski/788858/ft1_filteredMKT_4FGL_J0449.4-4350_daily_bin1060.fits ra=72.3582 dec=-43.835 rad=12.0 tmin=514080001.0 tmax=514339201.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.22
user 3.39
sys 0.81

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/788858/ft1_filtered_4FGL_J0449.4-4350_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/788858/ft2_4FGL_J0449.4-4350_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/788858/ltcube_514080001_514339201_4FGL_J0449.4-4350_daily_bin1060.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/788858/ft2_4FGL_J0449.4-4350_daily_bin1060.fits
.....................!
real 12.47
user 11.41
sys 1.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788858/ft1_filtered_4FGL_J0449.4-4350_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/788858/ft2_4FGL_J0449.4-4350_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/788858/ltcube_514080001_514339201_4FGL_J0449.4-4350_daily_bin1060.fits outfile=/scratch/kocevski/788858/expmap_514080001_514339201_4FGL_J0449.4-4350_daily_bin1060.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/788858/ltcube_514080001_514339201_4FGL_J0449.4-4350_daily_bin1060.fits
.....................!
real 192.26
user 185.85
sys 6.00

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/788858/ft1_filtered_4FGL_J0449.4-4350_daily_bin1060.fits scfile=/scratch/kocevski/788858/ft2_4FGL_J0449.4-4350_daily_bin1060.fits outfile=/scratch/kocevski/788858/cmap_514080001_514339201_4FGL_J0449.4-4350_daily_bin1060.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.15
user 0.37
sys 0.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788858/ft1_filtered_4FGL_J0449.4-4350_daily_bin1060.fits scfile=/scratch/kocevski/788858/ft2_4FGL_J0449.4-4350_daily_bin1060.fits outfile=/scratch/kocevski/788858/cmap_HighResolution_514080001_514339201_4FGL_J0449.4-4350_daily_bin1060.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.15
user 0.36
sys 0.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/788858/ft1_filtered_4FGL_J0449.4-4350_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/788858/ft2_4FGL_J0449.4-4350_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/788858/Model_4FGL_J0449.4-4350_daily_bin1060.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/788858/ft1_filtered_4FGL_J0449.4-4350_daily_bin1060.fits....................!
real 144.40
user 142.03
sys 2.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29061E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2821       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .55207E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    62.575       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.847       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.288       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5378       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .98648       1.0000         .10000E-03   10000.    
    11 'norm      '    .36197       1.0000         .10000E-03   10000.    
    12 'norm      '    6.9333       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10644E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.8314       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.076       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.5515       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4181       1.0000         .10000E-03   10000.    
    21 'norm      '    6.5159       1.0000         .10000E-03   10000.    
    22 'norm      '    4.8840       1.0000         .10000E-03   10000.    
    23 'norm      '    2.9124       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.5978       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.4972       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .85693       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90546       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=   6960.295     FROM MIGRAD    STATUS=CONVERGED    753 CALLS     3863 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28995E-01    .17501       -.44836E-07    .28026E-04
   2  norm          1.2824        1.6542        .34790E-06   -.17090E-02
   3  Prefactor     .10102E-03    9.2531       -.57299E-06** at limit **
   4  Prefactor     62.579        35.288       -.38895E-06   -.37705E-04
   5  Prefactor     27.848        15.964       -.18570E-06   -.35982E-05
   6  norm          .10000E-03    1.3195        .28949E-07** at limit **
   7  Prefactor     21.287        11.773        .55218E-07   -.11470E-03
   8  norm          2.5379        .80006       -.70221E-08   -.73361E-04
   9  Prefactor     .10000E-03    18.404       -.16209E-04** at limit **
  10  Prefactor     .98320        2.4080       -.26149E-06   -.61764E-03
  11  norm          .37111        5.7859        .16703E-05   -.60364E-03
  12  norm          6.9334        1.9755        .19993E-08   -.52237E-03
  13  Prefactor     .10000E-03    1.4162       -.13350E-07** at limit **
  14  Prefactor     .10000E-03    31.632        .33440E-05** at limit **
  15  norm          9.8218        4.9890       -.18760E-06   -.51452E-03
  16  Prefactor     .10000E-03    15.131       -.10300E-04** at limit **
  17  Prefactor     .10000E-03    16.434        .24624E-04** at limit **
  18  Prefactor     15.077        21.552       -.63707E-06   -.84915E-06
  19  Prefactor     3.5514        2.1518       -.14945E-07   -.22656E-03
  20  Prefactor     1.4186        3.3610        .67431E-07   -.71213E-04
  21  norm          6.5158        2.3633       -.29978E-08   -.19218E-04
  22  norm          4.8840        3.8578        .36454E-06   -.94871E-04
  23  norm          2.9125        2.6754       -.17573E-06   -.45806E-04
  24  Prefactor     .10000E-03    1.3153        .62344E-07** at limit **
  25  Prefactor     8.5981        9.0813       -.73826E-07   -.69706E-05
  26  Prefactor     .10000E-03    5.9312       -.16911E-06** at limit **
  27  norm          1.4973        .79772        .13816E-07   -.64924E-04
  28  Normalizat    .85698        .17802        .22872E-06   -.13590E-03
  29  Prefactor     .90536        .16852       -.33790E-06   -.11872E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0289951
  norm       = 1.28243
  Prefactor  = 0.000101024
  Prefactor  = 62.5792
  Prefactor  = 27.8475
  norm       = 0.0001
  Prefactor  = 21.287
  norm       = 2.5379
  Prefactor  = 0.0001
  Prefactor  = 0.983195
  norm       = 0.371114
  norm       = 6.93335
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.82181
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0765
  Prefactor  = 3.55144
  Prefactor  = 1.41865
  norm       = 6.51584
  norm       = 4.88402
  norm       = 2.91248
  Prefactor  = 0.0001
  Prefactor  = 8.59811
  Prefactor  = 0.0001
  norm       = 1.4973
  Normalizat = 0.856982
  Prefactor  = 0.905358
 **********
 **   18 **HESSE 
 **********

 FCN=   6960.295     FROM HESSE     STATUS=OK           575 CALLS     4438 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28995E-01    .38864        .66339E-03   -1.5674    
   2  norm          1.2824        7.9820        .19593E-02   -1.5481    
   3  Prefactor     .10102E-03    15.943        .87800E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     62.579        35.336        .50727E-04   -1.4124    
   5  Prefactor     27.848        16.098        .75918E-04   -1.4652    
   6  norm          .10000E-03    1.3252        .93541E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.287        11.891        .43406E-03   -1.4785    
   8  norm          2.5379        .80599        .36539E-04   -1.5389    
   9  Prefactor     .10000E-03    18.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .98320        2.2801        .17491E-03   -1.5510    
  11  norm          .37111        20.228        .35460E-02   -1.5586    
  12  norm          6.9334        1.9651        .59473E-04   -1.5181    
  13  Prefactor     .10000E-03    1.4479        .19241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    32.142        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.8218        4.9421        .12427E-03   -1.5081    
  16  Prefactor     .10000E-03    15.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.077        21.545        .10315E-03   -1.4931    
  19  Prefactor     3.5514        2.1441        .89754E-04   -1.5331    
  20  Prefactor     1.4186        3.3107        .21239E-03   -1.5470    
  21  norm          6.5158        2.3455        .70820E-04   -1.5197    
  22  norm          4.8840        3.8559        .12941E-03   -1.5266    
  23  norm          2.9125        2.6737        .11807E-03   -1.5367    
  24  Prefactor     .10000E-03    1.3197        .93396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.5981        9.0659        .13671E-03   -1.5121    
  26  Prefactor     .10000E-03    5.9328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.4973        .79118        .52046E-04   -1.5463    
  28  Normalizat    .85698        .20623        .26609E-03   -.97989    
  29  Prefactor     .90536        .19514        .25875E-03   -.95954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12348e-08
Minuit parameter uncertainties:
  1  0.211943
  2  6.39988
  3  0.00808194
  4  35.3481
  5  16.1005
  6  1.15172e-06
  7  11.8918
  8  0.805996
  9  2.56984e-05
  10  2.28025
  11  5.48095
  12  1.96509
  13  1.82959e-06
  14  1.63712e-06
  15  4.94226
  16  1.528e-05
  17  2.00592e-05
  18  21.5563
  19  2.14413
  20  3.31116
  21  2.34555
  22  3.85612
  23  2.67379
  24  7.31472e-08
  25  9.06732
  26  4.18554e-08
  27  0.791187
  28  0.206421
  29  0.195289
Done.

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

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  6.933e+00  1.965e+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:  9.054e-01  1.953e-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:  8.570e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 71.81
Ra Dec: 72.358 -43.835
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 9.30e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 1.16e-04 +/- 3.28e-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) = 6960.17239546
delta logL = 0.123087620746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6960.16054113
delta logL = 0.134941948125

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2314       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6367       1.0000          .0000       5.0000    
     3 'Normalizat'    .86571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90110       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=   6960.161     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      200 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2318        2.7952        .37290E-02   -.80651E-04
   2  alpha         1.6368        .27689        .16451        .26632E-04
   3  Normalizat    .86572        .16702        .44462E-01    .18318E-04
   4  Prefactor     .90111        .16637        .45019E-01    .13373E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.23183
  alpha      = 1.63676
  Normalizat = 0.865723
  Prefactor  = 0.901107
 **********
 **   18 **HESSE 
 **********

 FCN=   6960.161     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2318        2.0897        .61713E-04   -1.5170    
   2  alpha         1.6368        .21602        .69586E-02   -.35256    
   3  Normalizat    .86572        .19115        .26502E-03   -.97675    
   4  Prefactor     .90111        .19100        .25938E-03   -.96102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.74499e-11
Minuit parameter uncertainties:
  1  2.08969
  2  0.216327
  3  0.191301
  4  0.191145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788858': 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) = 6960.16054099
delta logL = 0.134942089779

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  7.232e+00  2.090e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.637e+00  2.163e-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:  9.011e-01  1.911e-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:  8.657e-01  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 71.91
Ra Dec: 72.358 -43.835
Photon Index (Free Index): 1.64 +/- 0.22
Photon Flux (Free Index): 8.40e-08 +/- 2.90e-08
Energy Flux (Free Index): 1.41e-04 +/- 6.87e-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/788858/cmap_HighResolution_514080001_514339201_4FGL_J0449.4-4350_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.30e-08', energy_flux2='1.41e-04', photon_flux_error='2.64e-08', dlogl='1.35e-01', energy_flux='1.16e-04', photon_flux2='8.40e-08', job_status='DONE', time_completed='2021-08-21 10:56:09.533324', photon_index_error2='0.22', photon_index2='1.64', ts='71.81', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='6.87e-05', EG='0.86', time_epoch_completed='1629568569.53', return_code='0', job_id='788858', GAL2='0.90', EG2='0.87', return_code2='0', energy_flux_error='3.28e-05', photon_flux_error2='2.90e-08', ts2='71.91', photon_index='1.75' WHERE bin_id='1060' AND source_name='4FGL J0449.4-4350' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 10:56:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 788858: <4FGL_J0449.4-4350_daily_bin1060> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.4-4350_daily_bin1060 72.3582 -43.835 514080001 514339201 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 :                                   918.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            935 sec.

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

