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


Performing analysis on: 4FGL_J0449.4-4350_daily_bin755
RA = 72.3582, Dec = -43.835
tmin = 435024001, tmax = 435283201
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='787172', job_status='RUN', time_executed='2021-08-21 10:38:26.048690', time_epoch_executed='1629567506.05' WHERE source_name='4FGL J0449.4-4350' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787172/ft1_4FGL_J0449.4-4350_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787172/ft2_4FGL_J0449.4-4350_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787172/ft1_4FGL_J0449.4-4350_daily_bin755.fits outfile=/scratch/kocevski/787172/ft1_filteredMKT_4FGL_J0449.4-4350_daily_bin755.fits ra=72.3582 dec=-43.835 rad=12.0 tmin=435024001.0 tmax=435283201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.55
user 4.75
sys 1.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/787172/ft2_4FGL_J0449.4-4350_daily_bin755.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/787172/ft1_filteredMKT_4FGL_J0449.4-4350_daily_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/787172/ft1_filtered_4FGL_J0449.4-4350_daily_bin755.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.90
user 0.34
sys 1.55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/787172/ft1_filtered_4FGL_J0449.4-4350_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/787172/ft2_4FGL_J0449.4-4350_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/787172/ltcube_435024001_435283201_4FGL_J0449.4-4350_daily_bin755.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/787172/ft2_4FGL_J0449.4-4350_daily_bin755.fits
.....................!
real 13.88
user 12.00
sys 1.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787172/ft1_filtered_4FGL_J0449.4-4350_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/787172/ft2_4FGL_J0449.4-4350_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/787172/ltcube_435024001_435283201_4FGL_J0449.4-4350_daily_bin755.fits outfile=/scratch/kocevski/787172/expmap_435024001_435283201_4FGL_J0449.4-4350_daily_bin755.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/787172/ltcube_435024001_435283201_4FGL_J0449.4-4350_daily_bin755.fits
.....................!
real 191.67
user 185.31
sys 6.01

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/787172/ft1_filtered_4FGL_J0449.4-4350_daily_bin755.fits scfile=/scratch/kocevski/787172/ft2_4FGL_J0449.4-4350_daily_bin755.fits outfile=/scratch/kocevski/787172/cmap_435024001_435283201_4FGL_J0449.4-4350_daily_bin755.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.90
user 0.38
sys 1.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787172/ft1_filtered_4FGL_J0449.4-4350_daily_bin755.fits scfile=/scratch/kocevski/787172/ft2_4FGL_J0449.4-4350_daily_bin755.fits outfile=/scratch/kocevski/787172/cmap_HighResolution_435024001_435283201_4FGL_J0449.4-4350_daily_bin755.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.95
user 0.39
sys 1.52

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/787172/ft1_filtered_4FGL_J0449.4-4350_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/787172/ft2_4FGL_J0449.4-4350_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/787172/Model_4FGL_J0449.4-4350_daily_bin755.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/787172/ft1_filtered_4FGL_J0449.4-4350_daily_bin755.fits.....................!
real 109.72
user 106.39
sys 3.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8534       1.0000         .10000E-03   10000.    
     2 'norm      '    11.041       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.3580       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3938       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.717       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    49.470       1.0000         .10000E-03   10000.    
     8 'norm      '    2.1569       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13721E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.4790       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4777       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.128       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .46340E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.399       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.2512       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2508       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1189       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=   4903.794     FROM MIGRAD    STATUS=CONVERGED    762 CALLS     3378 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8548        .90715       -.45922E-08    .21036E-03
   2  norm          10.999        10.876       -.13903E-05   -.28147E-04
   3  Prefactor     7.1157        18.343       -.17080E-04   -.27479E-04
   4  Prefactor     2.8565        216.70        .11311E-04   -.71633E-05
   5  Prefactor     11.559        20.402        .38326E-05    .59791E-07
   6  norm          .10000E-03    3.4172       -.11647E-07** at limit **
   7  Prefactor     49.458        20.423       -.70720E-05    .16777E-04
   8  norm          2.1589        1.1425        .46565E-06   -.11027E-02
   9  Prefactor     .10000E-03    121.13        .20520E-04** at limit **
  10  Prefactor     .10000E-03    2.7953        .91007E-07** at limit **
  11  norm          .10000E-03    3.7058        .13854E-06** at limit **
  12  norm          6.4804        2.8678       -.16347E-07    .12793E-03
  13  Prefactor     3.4624        4.6406        .92873E-06   -.29450E-03
  14  Prefactor     19.337        17.945       -.98952E-05   -.40858E-05
  15  norm          .10000E-03    3.7068        .12454E-06** at limit **
  16  Prefactor     .10000E-03    30.401        .59683E-05** at limit **
  17  Prefactor     .10000E-03    7.9201       -.27485E-07** at limit **
  18  Prefactor     29.266        62.534       -.83503E-04    .94042E-05
  19  Prefactor     .10000E-03    1.6660       -.76381E-07** at limit **
  20  Prefactor     .10000E-03    1.9954        .27828E-06** at limit **
  21  norm          .10000E-03    1.8693        .26582E-06** at limit **
  22  norm          .10000E-03    3.9257       -.34485E-06** at limit **
  23  norm          .10000E-03    3.9613       -.42386E-06** at limit **
  24  Prefactor     .10000E-03    3.9984        .27587E-06** at limit **
  25  Prefactor     .10000E-03    9.3426       -.46810E-07** at limit **
  26  Prefactor     .10000E-03    22.659       -.17031E-06** at limit **
  27  norm          2.2504        1.2024       -.21522E-06    .93059E-04
  28  Normalizat    1.2515        .25343        .81965E-05   -.18913E-03
  29  Prefactor     1.1188        .23295        .17988E-05    .12972E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85482
  norm       = 10.9993
  Prefactor  = 7.11573
  Prefactor  = 2.85652
  Prefactor  = 11.559
  norm       = 0.0001
  Prefactor  = 49.4584
  norm       = 2.15886
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.48044
  Prefactor  = 3.46244
  Prefactor  = 19.3375
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.2663
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.25038
  Normalizat = 1.25149
  Prefactor  = 1.11884
 **********
 **   18 **HESSE 
 **********

 FCN=   4903.794     FROM HESSE     STATUS=OK           551 CALLS     3929 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8548        .90902        .35581E-04   -1.5370    
   2  norm          10.999        10.880        .12057E-03   -1.5045    
   3  Prefactor     7.1157        18.351        .14786E-03   -1.5174    
   4  Prefactor     2.8565        216.65        .21962E-03   -1.5370    
   5  Prefactor     11.559        20.370        .11703E-03   -1.5028    
   6  norm          .10000E-03    3.4445        .12638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     49.458        20.429        .57015E-04   -1.4300    
   8  norm          2.1589        1.1421        .14025E-03   -1.5414    
   9  Prefactor     .10000E-03    121.73        .20540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.1595        .22150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.7085        .13164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.4804        2.8710        .69907E-04   -1.5199    
  13  Prefactor     3.4624        4.5914        .14407E-03   -1.5336    
  14  Prefactor     19.337        17.853        .91577E-04   -1.4828    
  15  norm          .10000E-03    3.7245        .13145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    30.434        .21195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.9206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.266        62.559        .73892E-04   -1.4625    
  19  Prefactor     .10000E-03    1.7060        .17632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.0059        .96580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.9291        .18682E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.0249        .27075E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    4.1384        .27193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.0163        .13671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    9.3624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    22.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.2504        1.2043        .53873E-04   -1.5408    
  28  Normalizat    1.2515        .30836        .28794E-03   -.85026    
  29  Prefactor     1.1188        .28401        .28987E-03   -.88867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27295e-09
Minuit parameter uncertainties:
  1  0.909027
  2  10.8824
  3  18.3659
  4  49.9421
  5  20.3821
  6  3.94189e-06
  7  20.4323
  8  1.14212
  9  0.000424763
  10  3.58518e-05
  11  6.68519e-07
  12  2.87105
  13  4.59191
  14  17.858
  15  6.05544e-05
  16  0.000234565
  17  1.07981e-06
  18  62.6999
  19  1.00568e-05
  20  4.02597e-05
  21  3.765e-05
  22  4.76097e-05
  23  5.44273e-05
  24  1.05384e-06
  25  2.28521e-06
  26  4.15109e-05
  27  1.20432
  28  0.308811
  29  0.284392
Done.

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

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  6.480e+00  2.871e+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.119e+00  2.844e-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.251e+00  3.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.72
Ra Dec: 72.358 -43.835
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 8.69e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 1.08e-04 +/- 4.79e-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) = 4903.76092782
delta logL = 0.033473737335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4903.76037469
delta logL = 0.0340268694144

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3106       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8406       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2430       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1226       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=   4903.760     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      232 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3120        52.018        .39947E-02   -.26593E-04
   2  alpha         1.8405        3.2684        .20857        .30138E-04
   3  Normalizat    1.2431        .32760        .65251E-01    .50745E-05
   4  Prefactor     1.1226        .18930        .65417E-01    .66082E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.31199
  alpha      = 1.84051
  Normalizat = 1.24305
  Prefactor  = 1.1226
 **********
 **   18 **HESSE 
 **********

 FCN=   4903.760     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .84E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3120        2.6602        .67837E-04   -1.5205    
   2  alpha         1.8405        .35091        .83277E-02   -.26696    
   3  Normalizat    1.2431        .29137        .28864E-03   -.85283    
   4  Prefactor     1.1226        .27865        .28937E-03   -.88748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40932e-13
Minuit parameter uncertainties:
  1  2.66023
  2  0.352159
  3  0.291757
  4  0.279018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787172': 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) = 4903.76037445
delta logL = 0.0340271122732

Extracting fit parameters...

4FGL J0449.4-4350
   Spectrum: LogParabola
290         norm:  6.312e+00  2.660e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.841e+00  3.522e-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.123e+00  2.790e-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.243e+00  2.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.93
Ra Dec: 72.358 -43.835
Photon Index (Free Index): 1.84 +/- 0.35
Photon Flux (Free Index): 9.64e-08 +/- 5.30e-08
Energy Flux (Free Index): 9.54e-05 +/- 5.87e-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/787172/cmap_HighResolution_435024001_435283201_4FGL_J0449.4-4350_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.69e-08', energy_flux2='9.54e-05', photon_flux_error='3.85e-08', dlogl='3.40e-02', energy_flux='1.08e-04', photon_flux2='9.64e-08', job_status='DONE', time_completed='2021-08-21 10:50:36.935654', photon_index_error2='0.35', photon_index2='1.84', ts='24.72', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='5.87e-05', EG='1.25', time_epoch_completed='1629568236.94', return_code='0', job_id='787172', GAL2='1.12', EG2='1.24', return_code2='0', energy_flux_error='4.79e-05', photon_flux_error2='5.30e-08', ts2='24.93', photon_index='1.75' WHERE bin_id='755' AND source_name='4FGL J0449.4-4350' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 10:50:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0139>
Subject: Job 787172: <4FGL_J0449.4-4350_daily_bin755> in cluster <slac> Done

Job <4FGL_J0449.4-4350_daily_bin755> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 21 10:35:33 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 10:35:34 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:35:34 2021
Terminated at Sat Aug 21 10:50:37 2021
Results reported at Sat Aug 21 10:50:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.4-4350_daily_bin755 72.3582 -43.835 435024001 435283201 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 :                                   748.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

