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


Performing analysis on: 4FGL_J0449.2+6329_daily_bin1494
RA = 72.3185, Dec = 63.4945
tmin = 626572801, tmax = 626832001
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='779021', job_status='RUN', time_executed='2021-08-21 10:13:31.675530', time_epoch_executed='1629566011.68' WHERE source_name='4FGL J0449.2+6329' and cadence='daily' and bin_id='1494'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779021

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779021/ft1_4FGL_J0449.2+6329_daily_bin1494.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779021/ft1_4FGL_J0449.2+6329_daily_bin1494.fits outfile=/scratch/kocevski/779021/ft1_filteredMKT_4FGL_J0449.2+6329_daily_bin1494.fits ra=72.3185 dec=63.4945 rad=12.0 tmin=626572801.0 tmax=626832001.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 3.67
user 2.76
sys 0.86

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.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/779021/ft1_filteredMKT_4FGL_J0449.2+6329_daily_bin1494.fits evtable="EVENTS" outfile="/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.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.15
user 0.33
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits" evtable="EVENTS" scfile=/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits sctable="SC_DATA" outfile=/scratch/kocevski/779021/ltcube_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.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/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits
.....................!
real 12.87
user 11.75
sys 1.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits sctable="SC_DATA" expcube=/scratch/kocevski/779021/ltcube_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.fits outfile=/scratch/kocevski/779021/expmap_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.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/779021/ltcube_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.fits
.....................!
real 190.16
user 184.89
sys 4.88

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 G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template.
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Added 174 point sources and 4 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.2+6329 @ 72.3185 63.4945

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits scfile=/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits outfile=/scratch/kocevski/779021/cmap_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.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.3185 yref=63.4945 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.20
user 0.37
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits scfile=/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits outfile=/scratch/kocevski/779021/cmap_HighResolution_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.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.3185 yref=63.4945 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.19
user 0.38
sys 0.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/779021/Model_4FGL_J0449.2+6329_daily_bin1494.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits.....................!
real 97.34
user 94.97
sys 2.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits', '/scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits', expMap='/scratch/kocevski/779021/expmap_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.fits', expCube='/scratch/kocevski/779021/ltcube_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/779021/Model_4FGL_J0449.2+6329_daily_bin1494.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0449.2+6329'

4FGL J0449.2+6329
   Spectrum: LogParabola
288         norm:  5.077e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        alpha:  2.241e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
290         beta:  9.085e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  1.733e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/779021/ft1_filtered_4FGL_J0449.2+6329_daily_bin1494.fits
Spacecraft file(s): /scratch/kocevski/779021/ft2_4FGL_J0449.2+6329_daily_bin1494.fits
Exposure map: /scratch/kocevski/779021/expmap_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.fits
Exposure cube: /scratch/kocevski/779021/ltcube_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/779021/Model_4FGL_J0449.2+6329_daily_bin1494.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) = 5120.3787352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.477       1.0000         .10000E-03   10000.    
     2 'Prefactor '    69.650       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3532       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5583       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27435E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .59267E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.345       1.0000         .10000E-03   10000.    
     8 'Prefactor '    54.050       1.0000         .10000E-03   10000.    
     9 'norm      '    .18616E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .44223E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.478       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9999.8       1.0000         .10000E-03   10000.    
    13 'norm      '    16.702       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.463       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29450E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .54489E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5120.074     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1374 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.396        11.972        .74891E-06   -.71889E-04
   2  Prefactor     71.488        79.892       -.20859E-04   -.14453E-03
   3  Prefactor     4.3470        5.6891       -.15505E-05    .20670E-05
   4  Prefactor     4.5406        4.4617       -.14722E-05    .27147E-04
   5  Prefactor     .10000E-03    133.28        .74584E-04** at limit **
   6  Prefactor     .10000E-03    52.059       -.40347E-04** at limit **
   7  Prefactor     18.365        13.874       -.16139E-04    .23715E-03
   8  Prefactor     53.800        37.631        .10495E-04    .62279E-04
   9  norm          .10000E-03    32.135       -.30038E-05** at limit **
  10  norm          .10000E-03    43.421       -.35285E-05** at limit **
  11  Prefactor     17.868        20.845        .74582E-05   -.46875E-04
  12  Prefactor    10000.0        258.60       -.31268E-04** at limit **
  13  norm          .10007E-03    817.91       -.26081E-03** at limit **
  14  Prefactor     10.371        38.193       -.68723E-04    .12574E-03
  15  Prefactor     .10000E-03    44.359       -.91370E-04** at limit **
  16  Normalizat    .55197E-01    .68614       -.28884E-03   -.62954E-05
  17  Prefactor     .98784        .90292E-01    .17159E-04   -.12227E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.396
  Prefactor  = 71.4882
  Prefactor  = 4.34701
  Prefactor  = 4.54063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.3652
  Prefactor  = 53.8001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.8684
  Prefactor  = 10000
  norm       = 0.000100073
  Prefactor  = 10.371
  Prefactor  = 0.000100003
  Normalizat = 0.0551965
  Prefactor  = 0.987845
 **********
 **   18 **HESSE 
 **********

 FCN=   5120.074     FROM HESSE     STATUS=OK           257 CALLS     1631 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.396        11.929        .23294E-02   -1.4850    
   2  Prefactor     71.488        80.624        .12025E-02   -1.4015    
   3  Prefactor     4.3470        5.6920        .48263E-02   -1.5291    
   4  Prefactor     4.5406        4.4617        .47137E-02   -1.5282    
   5  Prefactor     .10000E-03    133.41        .10714E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    52.140        .10535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.365        13.987        .23377E-02   -1.4851    
   8  Prefactor     53.800        38.175        .13640E-02   -1.4240    
   9  norm          .10000E-03    32.167        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    43.619        .10608E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.868        20.849        .23951E-02   -1.4862    
  12  Prefactor    10000.0        258.70        .10009E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10007E-03    818.47        .24501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.371        40.607        .30968E-02   -1.5064    
  15  Prefactor     .10000E-03    44.340        .10699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .55197E-01    .88154        .32829E-01   -1.4362    
  17  Prefactor     .98784        .97244E-01    .30547E-01   -.93136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.26378e-07
Minuit parameter uncertainties:
  1  11.9308
  2  80.7476
  3  5.69268
  4  4.46205
  5  0.000328972
  6  0.00025442
  7  13.9895
  8  38.1925
  9  1.7712e-05
  10  0.000104483
  11  20.858
  12  0.00168392
  13  0.0156421
  14  40.7159
  15  0.000757983
  16  0.406312
  17  0.0972617
Done.

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

Extracting fit parameters...

4FGL J0449.2+6329
   Spectrum: LogParabola
288         norm:  1.000e-04  1.771e-05  1.000e-04  1.000e+04 ( 1.000e-13)
289        alpha:  2.241e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
290         beta:  9.085e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  1.733e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.878e-01  9.726e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  5.520e-02  4.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 72.319 63.495
Photon Flux Upper Limit: 4.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.10e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/779021/likelihoodResults_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.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): 102
logL (Free Index) = 5120.07438147
delta logL = -0.000147969434693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5120.07423676
delta logL = -3.25458859152e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5120.074     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      284 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    315.66        .18142E-01** at limit **
   2  alpha         1.7278        3.0106        .50000        .42724E-07
   3  Normalizat    .55193E-01    .28233E-01    .13136E-02   -.94023E-04
   4  Prefactor     .98784        .73361E-02    .13500E-03   -.16416E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  alpha      = 1.72783
  Normalizat = 0.0551929
  Prefactor  = 0.987844
 **********
 **   18 **HESSE 
 **********

 FCN=   5120.074     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    1441.0        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7278        3.3477        .50000       -.31400    
   3  Normalizat    .55193E-01    .63510E-01    .52545E-04   -1.4362    
   4  Prefactor     .98784        .16522E-01    .27001E-04   -.93136    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.73186e-10
Minuit parameter uncertainties:
  1  0.00643747
  2  3498.55
  3  0.0636055
  4  0.016522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779021': 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): 102
logL (Free Index) = 5120.0742332
delta logL = 3.0167211662e-07

Extracting fit parameters...

4FGL J0449.2+6329
   Spectrum: LogParabola
288         norm:  1.000e-04  6.437e-03  1.000e-04  1.000e+04 ( 1.000e-13)
289        alpha:  1.728e+00  3.499e+03  0.000e+00  5.000e+00 ( 1.000e+00)
290         beta:  9.085e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  1.733e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.878e-01  1.652e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  5.519e-02  6.361e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 72.319 63.495

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/779021/cmap_HighResolution_626572801_626832001_4FGL_J0449.2+6329_daily_bin1494.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-04', job_status='DONE', photon_flux_upper_limit='4.41e-07', time_completed='2021-08-21 10:23:21.562375', job_id='779021', GAL2='0.99', fit_tolerance='1e-08', EG2='0.06', EG='0.06', time_epoch_completed='1629566601.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1494' AND source_name='4FGL J0449.2+6329' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 10:23:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 779021: <4FGL_J0449.2+6329_daily_bin1494> in cluster <slac> Done

Job <4FGL_J0449.2+6329_daily_bin1494> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 21 10:10:33 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 10:10:35 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:10:35 2021
Terminated at Sat Aug 21 10:23:22 2021
Results reported at Sat Aug 21 10:23:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.2+6329_daily_bin1494 72.3185 63.4945 626572801 626832001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0449.2+6329 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            769 sec.

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

