/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 77 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 = 7385
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0449.1+1121_daily_bin1495
RA = 72.2823, Dec = 11.3569
tmin = 626832001, tmax = 627091201
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='766894', job_status='RUN', time_executed='2021-08-21 09:34:16.388427', time_epoch_executed='1629563656.39' WHERE source_name='4FGL J0449.1+1121' and cadence='daily' and bin_id='1495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/766894

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/766894/ft1_4FGL_J0449.1+1121_daily_bin1495.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/766894/ft1_4FGL_J0449.1+1121_daily_bin1495.fits outfile=/scratch/kocevski/766894/ft1_filteredMKT_4FGL_J0449.1+1121_daily_bin1495.fits ra=72.2823 dec=11.3569 rad=12.0 tmin=626832001.0 tmax=627091201.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 11.14
user 2.78
sys 8.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.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/766894/ft1_filteredMKT_4FGL_J0449.1+1121_daily_bin1495.fits evtable="EVENTS" outfile="/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.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 8.56
user 0.34
sys 8.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits" evtable="EVENTS" scfile=/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits sctable="SC_DATA" outfile=/scratch/kocevski/766894/ltcube_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.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/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits
.....................!
real 22.47
user 13.06
sys 9.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits sctable="SC_DATA" expcube=/scratch/kocevski/766894/ltcube_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.fits outfile=/scratch/kocevski/766894/expmap_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.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/766894/ltcube_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.fits
.....................!
real 201.40
user 185.57
sys 15.30

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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 156 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.1+1121 @ 72.2823 11.3569

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits scfile=/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits outfile=/scratch/kocevski/766894/cmap_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.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.2823 yref=11.3569 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 8.46
user 0.39
sys 8.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits scfile=/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits outfile=/scratch/kocevski/766894/cmap_HighResolution_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.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.2823 yref=11.3569 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 8.29
user 0.39
sys 7.87

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/766894/Model_4FGL_J0449.1+1121_daily_bin1495.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 GAL_V02
adding source S 147
Working on...
/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits.....................!
real 59.06
user 46.99
sys 11.76

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits', '/scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits', expMap='/scratch/kocevski/766894/expmap_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.fits', expCube='/scratch/kocevski/766894/ltcube_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/766894/Model_4FGL_J0449.1+1121_daily_bin1495.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0449.1+1121'

4FGL J0449.1+1121
   Spectrum: LogParabola
207         norm:  2.534e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
208        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.389e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  4.823e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/766894/ft1_filtered_4FGL_J0449.1+1121_daily_bin1495.fits
Spacecraft file(s): /scratch/kocevski/766894/ft2_4FGL_J0449.1+1121_daily_bin1495.fits
Exposure map: /scratch/kocevski/766894/expmap_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.fits
Exposure cube: /scratch/kocevski/766894/ltcube_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/766894/Model_4FGL_J0449.1+1121_daily_bin1495.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) = 1659.28341367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16088E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    228.69       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .38873E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    125.32       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    70.436       1.0000         .10000E-03   10000.    
     7 'norm      '    .10714E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    266.91       1.0000         .10000E-03   10000.    
     9 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.767       1.0000         .10000E-03   10000.    
    11 'norm      '    8.2852       1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.641       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11390E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.999       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10458E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    44.539       1.0000         .10000E-03   10000.    
    21 'norm      '    .26386E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .83682       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .47143       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93146       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1659.239     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     3114 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    695.70        .49514E-05** at limit **
   2  Prefactor     228.52        393.94        .34587E-05   -.30283E-05
   3  Prefactor     .10000E-03    375.49        .57102E-06** at limit **
   4  norm          125.50        180.00       -.20370E-05   -.11535E-07
   5  Prefactor     .10000E-03    93.946       -.24231E-05** at limit **
   6  Prefactor     70.544        102.26       -.41615E-06   -.28783E-05
   7  norm          .10000E-03    10.781        .21801E-06** at limit **
   8  Prefactor     267.15        332.06       -.14761E-05   -.19332E-05
   9  norm          .10000E-03    7.3105        .19103E-06** at limit **
  10  Prefactor     15.796        53.025        .62220E-06   -.13933E-04
  11  norm          8.2845        12.834        .16804E-05   -.37197E-04
  12  Prefactor     61.716        100.75       -.10223E-05   -.97209E-05
  13  Prefactor     .10000E-03    72.203        .21423E-05** at limit **
  14  Prefactor     32.063        42.638        .14636E-05   -.31069E-04
  15  norm          .10000E-03    .90278        .17297E-06** at limit **
  16  norm          .10000E-03    8.3730        .62358E-07** at limit **
  17  Prefactor     .10000E-03    5.0302        .13933E-06** at limit **
  18  norm          .10000E-03    14.359        .84628E-06** at limit **
  19  Prefactor     .10000E-03    6.3586        .12561E-05** at limit **
  20  Prefactor     45.197        175.18       -.10447E-04   -.99730E-05
  21  norm          .10000E-03    10.338        .56020E-06** at limit **
  22  norm          .83890        2.8754        .70075E-06   -.47366E-04
  23  Prefactor     .10000E-03    20.623        .11321E-06** at limit **
  24  Prefactor     .10000E-03    26.736       -.13599E-06** at limit **
  25  Normalizat    .47255        .84512        .21905E-05   -.20711E-04
  26  Prefactor     .93101        .18367       -.84854E-06   -.13069E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 228.523
  Prefactor  = 0.0001
  norm       = 125.496
  Prefactor  = 0.0001
  Prefactor  = 70.5445
  norm       = 0.0001
  Prefactor  = 267.147
  norm       = 0.0001
  Prefactor  = 15.7957
  norm       = 8.28451
  Prefactor  = 61.7162
  Prefactor  = 0.0001
  Prefactor  = 32.0633
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.1971
  norm       = 0.0001
  norm       = 0.838896
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.472552
  Prefactor  = 0.931012
 **********
 **   18 **HESSE 
 **********

 FCN=   1659.239     FROM HESSE     STATUS=OK           454 CALLS     3568 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    695.26        .20415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     228.52        393.93        .13379E-03   -1.2673    
   3  Prefactor     .10000E-03    375.49        .21277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          125.50        179.78        .17979E-03   -1.3463    
   5  Prefactor     .10000E-03    93.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     70.544        102.20        .23915E-03   -1.4026    
   7  norm          .10000E-03    10.804        .13045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     267.15        331.81        .12409E-03   -1.2424    
   9  norm          .10000E-03    7.3336        .10759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.796        52.837        .10087E-03   -1.4913    
  11  norm          8.2845        12.771        .69640E-03   -1.5132    
  12  Prefactor     61.716        100.54        .25554E-03   -1.4135    
  13  Prefactor     .10000E-03    72.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.063        42.708        .70834E-04   -1.4575    
  15  norm          .10000E-03    .92315        .37848E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.4497        .11519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.0407        .89196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    14.529        .15084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.3779        .10043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     45.197        174.86        .30037E-03   -1.4362    
  21  norm          .10000E-03    36.494        .24906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .83890        2.8724        .11728E-03   -1.5525    
  23  Prefactor     .10000E-03    20.627        .18072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    26.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .47255        .84827        .89650E-03   -1.1370    
  26  Prefactor     .93101        .18237        .14078E-03   -.95066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9872e-11
Minuit parameter uncertainties:
  1  0.000504182
  2  398.645
  3  1.48082e-05
  4  180.575
  5  6.18676e-06
  6  102.455
  7  1.43777e-05
  8  334.202
  9  1.69697e-06
  10  52.9941
  11  12.7749
  12  100.815
  13  6.42485e-05
  14  42.7491
  15  2.22471e-06
  16  9.05599e-06
  17  8.79747e-06
  18  1.29048e-05
  19  6.49505e-06
  20  176.904
  21  0.000240987
  22  2.8729
  23  1.00393e-05
  24  6.99596e-06
  25  0.87324
  26  0.182485
Done.

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

Extracting fit parameters...

4FGL J0449.1+1121
   Spectrum: LogParabola
207         norm:  8.285e+00  1.277e+01  1.000e-04  1.000e+04 ( 1.000e-11)
208        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.389e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  4.823e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.310e-01  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  4.726e-01  8.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.61
Ra Dec: 72.282 11.357
Photon Flux Upper Limit: 1.02e-06 ph cm-2 s-1
Energy Flux Upper Limit: 3.03e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/766894/likelihoodResults_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.txt

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) = 1659.13141978
delta logL = 0.107194154043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1659.06352041
delta logL = 0.175093522434

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1659.064     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      225 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2715        5.8859        .48588E-02    .58920E-04
   2  alpha         1.1955        .70030        .31305       -.16892E-04
   3  Normalizat    .57112        .81635        .18515        .10976E-04
   4  Prefactor     .91881        .18052        .32042E-01   -.15303E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.27151
  alpha      = 1.19548
  Normalizat = 0.571125
  Prefactor  = 0.91881
 **********
 **   18 **HESSE 
 **********

 FCN=   1659.064     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2715        8.6213        .10846E-03   -1.5295    
   2  alpha         1.1955        1.0821        .12785E-01   -.54897    
   3  Normalizat    .57112        .77469        .82253E-03   -1.0922    
   4  Prefactor     .91881        .17197        .14159E-03   -.95487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66686e-12
Minuit parameter uncertainties:
  1  8.6238
  2  1.13486
  3  0.790134
  4  0.172074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/766894': 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) = 1659.06351097
delta logL = 0.17510295706

Extracting fit parameters...

4FGL J0449.1+1121
   Spectrum: LogParabola
207         norm:  4.272e+00  8.624e+00  1.000e-04  1.000e+04 ( 1.000e-11)
208        alpha:  1.195e+00  1.135e+00  0.000e+00  5.000e+00 ( 1.000e+00)
209         beta:  1.389e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  4.823e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.188e-01  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  5.711e-01  7.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
Ra Dec: 72.282 11.357

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/766894/cmap_HighResolution_626832001_627091201_4FGL_J0449.1+1121_daily_bin1495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-04', job_status='DONE', photon_flux_upper_limit='1.02e-06', time_completed='2021-08-21 09:44:35.925151', job_id='766894', GAL2='0.92', fit_tolerance='1e-08', EG2='0.57', EG='0.47', time_epoch_completed='1629564275.93', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.75e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1495' AND source_name='4FGL J0449.1+1121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 09:44:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 766894: <4FGL_J0449.1+1121_daily_bin1495> in cluster <slac> Done

Job <4FGL_J0449.1+1121_daily_bin1495> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 21 09:30:38 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 09:30:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 09:30:40 2021
Terminated at Sat Aug 21 09:44:38 2021
Results reported at Sat Aug 21 09:44:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.1+1121_daily_bin1495 72.2823 11.3569 626832001 627091201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0449.1+1121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   673.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             190.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            840 sec.

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

