/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 = 7505
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1448.0+3608_daily_bin67
RA = 222.017, Dec = 36.1344
tmin = 256694401, tmax = 256953601
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='784390', job_status='RUN', time_executed='2021-09-10 09:36:51.031579', time_epoch_executed='1631291811.03' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='67'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784390

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784390/ft1_4FGL_J1448.0+3608_daily_bin67.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784390/ft1_4FGL_J1448.0+3608_daily_bin67.fits outfile=/scratch/kocevski/784390/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin67.fits ra=222.017 dec=36.1344 rad=12.0 tmin=256694401.0 tmax=256953601.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 1.49
user 1.24
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.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/784390/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin67.fits evtable="EVENTS" outfile="/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits" evtable="EVENTS" scfile=/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits sctable="SC_DATA" outfile=/scratch/kocevski/784390/ltcube_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.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/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits
.....................!
real 12.35
user 12.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits evtable="EVENTS" scfile=/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits sctable="SC_DATA" expcube=/scratch/kocevski/784390/ltcube_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.fits outfile=/scratch/kocevski/784390/expmap_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.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/784390/ltcube_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.fits
.....................!
real 191.40
user 186.78
sys 4.26

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
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits scfile=/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits outfile=/scratch/kocevski/784390/cmap_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.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=222.017 yref=36.1344 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits scfile=/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits outfile=/scratch/kocevski/784390/cmap_HighResolution_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.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=222.017 yref=36.1344 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits evtable="EVENTS" scfile=/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/784390/Model_4FGL_J1448.0+3608_daily_bin67.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
Working on...
/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits.....................!
real 56.55
user 54.66
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits', '/scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits', expMap='/scratch/kocevski/784390/expmap_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.fits', expCube='/scratch/kocevski/784390/ltcube_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/784390/Model_4FGL_J1448.0+3608_daily_bin67.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1448.0+3608'

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.776e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/784390/ft1_filtered_4FGL_J1448.0+3608_daily_bin67.fits
Spacecraft file(s): /scratch/kocevski/784390/ft2_4FGL_J1448.0+3608_daily_bin67.fits
Exposure map: /scratch/kocevski/784390/expmap_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.fits
Exposure cube: /scratch/kocevski/784390/ltcube_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/784390/Model_4FGL_J1448.0+3608_daily_bin67.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) = 7354.5251121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10513E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0890       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.269       1.0000         .10000E-03   10000.    
     4 'norm      '    .10586E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10906E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.970       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4561       1.0000         .10000E-03   10000.    
     8 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0276       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .20835E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    3.0318       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8517       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6084       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3420       1.0000         .10000E-03   10000.    
    17 'norm      '    .36597       1.0000         .10000E-03   10000.    
    18 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8504       1.0000         .10000E-03   10000.    
    20 'Prefactor '    43.690       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14741E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    12.331       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .76650       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1570       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7354.472     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     3332 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    19.488        .14570E-07** at limit **
   2  Prefactor     8.0967        1.2112        .32559E-06   -.58095E-03
   3  Prefactor     21.260        1.6381        .15711E-06   -.32517E-02
   4  norm          .10000E-03    3.5957        .50052E-06** at limit **
   5  Prefactor     .10002E-03    7.6387        .46625E-05** at limit **
   6  Prefactor     19.954        2.8598        .65773E-06   -.76547E-02
   7  Prefactor     8.4550        3.8821       -.29100E-05   -.41706E-02
   8  norm          .10000E-03    3.2856        .20208E-05** at limit **
   9  Prefactor     .10003E-03    139.93       -.15758E-04** at limit **
  10  norm          5.0267        1.1786       -.49430E-06    .29862E-03
  11  Prefactor     .13270E-03    281.07       -.23335E-04** at limit **
  12  norm          3.0322        3.6096        .93924E-06   -.30138E-04
  13  Prefactor     1.8048        6.5010        .39576E-05   -.52474E-02
  14  norm          5.6084        1.0052        .15119E-07    .35454E-04
  15  Prefactor     .10000E-03    3.4045       -.47198E-05** at limit **
  16  Prefactor     3.3323        1.0691       -.14282E-06   -.32343E-03
  17  norm          .36836        1.2337        .42549E-06   -.21715E-04
  18  norm          .10000E-03    1.8924        .16883E-06** at limit **
  19  Prefactor     7.8316        2.0000        .13806E-05   -.11246E-02
  20  Prefactor     43.712        2.7610        .29649E-06   -.86238E-03
  21  Prefactor     .10001E-03    2.0298       -.15924E-06** at limit **
  22  Prefactor     .10013E-03    9.7504       -.11848E-04** at limit **
  23  Prefactor     .10115E-03    46.047       -.35165E-05** at limit **
  24  norm          12.330        1.8909       -.49117E-08   -.27026E-03
  25  Prefactor     .10000E-03    3.2471       -.41836E-05** at limit **
  26  Prefactor     .10012E-03    10.961        .37467E-05** at limit **
  27  Prefactor     .10000E-03    4.4484       -.19736E-05** at limit **
  28  norm          .10000E-03    3.8182        .30726E-06** at limit **
  29  Normalizat    .76685        .18163       -.64014E-05   -.11972E-03
  30  Prefactor     1.1568        .19062       -.23886E-05   -.12803E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100027
  Prefactor  = 8.0967
  Prefactor  = 21.2596
  norm       = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 19.954
  Prefactor  = 8.455
  norm       = 0.0001
  Prefactor  = 0.000100034
  norm       = 5.02674
  Prefactor  = 0.000132702
  norm       = 3.03225
  Prefactor  = 1.80478
  norm       = 5.6084
  Prefactor  = 0.000100004
  Prefactor  = 3.3323
  norm       = 0.368363
  norm       = 0.0001
  Prefactor  = 7.83157
  Prefactor  = 43.7116
  Prefactor  = 0.000100008
  Prefactor  = 0.000100128
  Prefactor  = 0.00010115
  norm       = 12.3302
  Prefactor  = 0.0001
  Prefactor  = 0.000100117
  Prefactor  = 0.000100004
  norm       = 0.0001
  Normalizat = 0.766847
  Prefactor  = 1.15679
 **********
 **   18 **HESSE 
 **********

 FCN=   7354.472     FROM HESSE     STATUS=OK           672 CALLS     4004 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    19.297        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.0967        10.828        .35242E-02   -1.5139    
   3  Prefactor     21.260        22.526        .21712E-02   -1.4785    
   4  norm          .10000E-03    1.9706        .40039E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    7.6978        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.954        17.489        .22407E-02   -1.4814    
   7  Prefactor     8.4550        3.9654        .34464E-02   -1.5126    
   8  norm          .10000E-03    3.2854        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    19.585        .11482       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0267        4.1133        .44834E-02   -1.5260    
  11  Prefactor     .13270E-03    21.319        .14478       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0322        3.6132        .58262E-02   -1.5360    
  13  Prefactor     1.8048        71.610        .76592E-02   -1.5439    
  14  norm          5.6084        5.1630        .42409E-02   -1.5234    
  15  Prefactor     .10000E-03    6.3886        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3323        7.0275        .55349E-02   -1.5343    
  17  norm          .36836        1.3977        .10711E-01   -1.5587    
  18  norm          .10000E-03    1.8829        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.8316        9.8804        .35778E-02   -1.5148    
  20  Prefactor     43.712        53.502        .15163E-02   -1.4385    
  21  Prefactor     .10001E-03    4.8868        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10013E-03    10.045        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10115E-03    8.2855        .10242       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.330        1.9023        .28518E-02   -1.5006    
  25  Prefactor     .10000E-03    6.3896        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10012E-03    11.307        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    4.7733        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.8123        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .76685        .16643        .62048E-01   -1.0131    
  30  Prefactor     1.1568        .16202        .54476E-01   -.87672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09537e-06
Minuit parameter uncertainties:
  1  0.00144366
  2  10.8308
  3  22.5347
  4  4.87492e-05
  5  0.000718641
  6  17.4936
  7  3.96549
  8  3.86345e-06
  9  0.0016304
  10  4.11358
  11  0.0528275
  12  3.61343
  13  22.7655
  14  5.16342
  15  0.00033406
  16  7.02921
  17  1.39787
  18  1.74457e-06
  19  9.8825
  20  53.5612
  21  0.000402949
  22  0.00226515
  23  0.00617401
  24  1.90236
  25  2.09333e-06
  26  0.00230028
  27  0.000272191
  28  1.01311e-05
  29  0.166542
  30  0.162085
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.608e+00  5.163e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.157e+00  1.621e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  7.668e-01  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.82
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 7.39e-09 +/- 6.80e-09
Energy Flux (Fixed Index): 1.41e-05 +/- 1.29e-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) = 7354.46659867
delta logL = 0.00550537169329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7354.46656673
delta logL = 0.00553731048331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6355       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5213       1.0000          .0000       5.0000    
     3 'Normalizat'    .76729       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1568       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+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=   7354.467     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      256 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6532        5.2400        .16922E-03    .48117E-03
   2  alpha         1.5239        .70573        .21973E-01    .28313E-04
   3  Normalizat    .76723        .17585        .27440E-03   -.16535E-03
   4  Prefactor     1.1568        .18692        .24087E-03   -.24780E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.65322
  alpha      = 1.5239
  Normalizat = 0.767229
  Prefactor  = 1.15678
 **********
 **   18 **HESSE 
 **********

 FCN=   7354.467     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6532        5.2309        .67688E-05   -1.5232    
   2  alpha         1.5239        .70474        .87890E-03   -.40111    
   3  Normalizat    .76723        .17599        .10976E-04   -1.0130    
   4  Prefactor     1.1568        .18707        .48173E-04   -.87672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43063e-10
Minuit parameter uncertainties:
  1  5.23135
  2  0.716243
  3  0.176115
  4  0.187179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784390': 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) = 7354.46655385
delta logL = 0.00555019481817

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.653e+00  5.231e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.524e+00  7.162e-01  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.157e+00  1.872e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  7.672e-01  1.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.83
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.52 +/- 0.72
Photon Flux (Free Index): 6.83e-09 +/- 8.06e-09
Energy Flux (Free Index): 1.57e-05 +/- 2.20e-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/784390/cmap_HighResolution_256694401_256953601_4FGL_J1448.0+3608_daily_bin67.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.39e-09', energy_flux2='1.57e-05', photon_flux_error='6.80e-09', dlogl='5.55e-03', energy_flux='1.41e-05', photon_flux2='6.83e-09', job_status='DONE', time_completed='2021-09-10 09:49:30.433139', photon_index_error2='0.72', photon_index2='1.52', ts='4.82', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='2.20e-05', EG='0.77', time_epoch_completed='1631292570.43', return_code='0', job_id='784390', GAL2='1.16', EG2='0.77', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='8.06e-09', ts2='4.83', photon_index='1.60' WHERE bin_id='67' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:49:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 784390: <4FGL_J1448.0+3608_daily_bin67> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin67> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:37 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:36:38 2021
Terminated at Fri Sep 10 09:49:31 2021
Results reported at Fri Sep 10 09:49:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin67 222.017 36.1344 256694401 256953601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   758.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            774 sec.

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

