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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1008
RA = 222.017, Dec = 36.1344
tmin = 500601601, tmax = 500860801
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='788962', job_status='RUN', time_executed='2021-09-10 09:55:40.443917', time_epoch_executed='1631292940.44' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788962

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788962/ft1_4FGL_J1448.0+3608_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788962/ft1_4FGL_J1448.0+3608_daily_bin1008.fits outfile=/scratch/kocevski/788962/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1008.fits ra=222.017 dec=36.1344 rad=12.0 tmin=500601601.0 tmax=500860801.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 5.14
user 4.89
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.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/788962/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1008.fits evtable="EVENTS" outfile="/scratch/kocevski/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/788962/ltcube_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.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/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits
.....................!
real 12.78
user 12.44
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/788962/ltcube_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.fits outfile=/scratch/kocevski/788962/expmap_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.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/788962/ltcube_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.fits
.....................!
real 190.17
user 185.92
sys 3.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
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/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits scfile=/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits outfile=/scratch/kocevski/788962/cmap_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits scfile=/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits outfile=/scratch/kocevski/788962/cmap_HighResolution_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/788962/Model_4FGL_J1448.0+3608_daily_bin1008.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/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits.....................!
real 42.28
user 40.98
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits', '/scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits', expMap='/scratch/kocevski/788962/expmap_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.fits', expCube='/scratch/kocevski/788962/ltcube_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/788962/Model_4FGL_J1448.0+3608_daily_bin1008.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/788962/ft1_filtered_4FGL_J1448.0+3608_daily_bin1008.fits
Spacecraft file(s): /scratch/kocevski/788962/ft2_4FGL_J1448.0+3608_daily_bin1008.fits
Exposure map: /scratch/kocevski/788962/expmap_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.fits
Exposure cube: /scratch/kocevski/788962/ltcube_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/788962/Model_4FGL_J1448.0+3608_daily_bin1008.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) = 4922.67824704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.859       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.7200       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.367       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10171E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.4301       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.3253       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.607       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6761       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2118       1.0000         .10000E-03   10000.    
    18 'norm      '    .12847E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.951       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11689E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.8609       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .46063E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.8153       1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.040       1.0000         .10000E-03   10000.    
    28 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .64348       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1808       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.

 FCN=   4922.595     FROM MIGRAD    STATUS=CONVERGED    767 CALLS     4611 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.862        16.208       -.74214E-07    .98884E-06
   2  Prefactor     .10000E-03    7.4487       -.18654E-07** at limit **
   3  Prefactor     .10000E-03    27.025        .85176E-06** at limit **
   4  norm          4.7214        5.1460       -.28366E-06   -.27978E-04
   5  Prefactor     .10000E-03    27.665        .56261E-07** at limit **
   6  Prefactor     38.369        21.043       -.15346E-06    .42948E-04
   7  Prefactor     .10000E-03    1.6649        .35761E-07** at limit **
   8  norm          .10000E-03    32.289       -.45541E-05** at limit **
   9  Prefactor     .10000E-03    25.482        .22977E-05** at limit **
  10  norm          .10000E-03    2.0154        .55256E-08** at limit **
  11  Prefactor     .10000E-03    18.671       -.52044E-06** at limit **
  12  norm          5.4301        4.9805        .29839E-07   -.26995E-04
  13  Prefactor     .10000E-03    27.431        .43633E-06** at limit **
  14  norm          9.3234        8.7351       -.50478E-07    .22232E-05
  15  Prefactor     15.603        16.064       -.13370E-06   -.10138E-04
  16  Prefactor     2.6762        5.2978        .70109E-07   -.89025E-04
  17  norm          1.2120        2.0238        .31950E-07   -.35477E-03
  18  norm          .10004E-03    4.5371        .70827E-06** at limit **
  19  Prefactor     26.930        15.694        .18978E-06   -.78953E-03
  20  Prefactor     .10000E-03    105.37       -.45639E-05** at limit **
  21  Prefactor     .10000E-03    5.7160       -.81869E-07** at limit **
  22  Prefactor     .10000E-03    12.721       -.11378E-05** at limit **
  23  Prefactor     .10000E-03    9.4969       -.30513E-06** at limit **
  24  norm          2.8660        1.4189        .76700E-06    .21004E-03
  25  Prefactor     .10065E-03    7.6996       -.23469E-05** at limit **
  26  Prefactor     1.7848        272.26        .15282E-05   -.38986E-04
  27  Prefactor     12.041        17.490        .32229E-06   -.39566E-03
  28  norm          .10038E-03    13.984        .11965E-05** at limit **
  29  Normalizat    .64329        .19873        .46726E-06   -.97074E-04
  30  Prefactor     1.1810        .19676        .38520E-06   -.12433E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.8622
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.7214
  Prefactor  = 0.0001
  Prefactor  = 38.3693
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.43011
  Prefactor  = 0.0001
  norm       = 9.32342
  Prefactor  = 15.603
  Prefactor  = 2.67619
  norm       = 1.21205
  norm       = 0.000100037
  Prefactor  = 26.9305
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.86598
  Prefactor  = 0.000100645
  Prefactor  = 1.78481
  Prefactor  = 12.0415
  norm       = 0.000100382
  Normalizat = 0.643294
  Prefactor  = 1.18104
 **********
 **   18 **HESSE 
 **********

 FCN=   4922.595     FROM HESSE     STATUS=OK           584 CALLS     5195 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.862        16.207        .10759E-03   -1.4963    
   2  Prefactor     .10000E-03    7.4503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    27.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.7214        5.1379        .15810E-03   -1.5273    
   5  Prefactor     .10000E-03    27.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.369        21.040        .64708E-04   -1.4468    
   7  Prefactor     .10000E-03    1.6915        .88361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    32.528        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.0187        .97264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.4301        4.9799        .14405E-03   -1.5242    
  13  Prefactor     .10000E-03    27.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.3234        8.7340        .13124E-03   -1.5097    
  15  Prefactor     15.603        16.048        .10138E-03   -1.4918    
  16  Prefactor     2.6762        5.2418        .21528E-03   -1.5381    
  17  norm          1.2120        1.9839        .11674E-03   -1.5488    
  18  norm          .10004E-03    12.125        .24194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.930        13.420        .77167E-04   -1.4670    
  20  Prefactor     .10000E-03    105.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.7525        .16380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.5110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.8660        1.4285        .54393E-04   -1.5369    
  25  Prefactor     .10065E-03    83.678        .32960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.7848        278.47        .31002E-03   -1.5441    
  27  Prefactor     12.041        14.827        .11545E-03   -1.5014    
  28  norm          .10038E-03    61.389        .42298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .64329        .22932        .28166E-03   -1.0618    
  30  Prefactor     1.1810        .22808        .22093E-03   -.86917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7251e-08
Minuit parameter uncertainties:
  1  16.2117
  2  1.03556e-07
  3  2.59927e-05
  4  5.13838
  5  6.46515e-05
  6  21.044
  7  4.23046e-07
  8  0.000192006
  9  0.000138926
  10  3.63024e-07
  11  3.87435e-05
  12  4.98025
  13  6.4457e-06
  14  8.73523
  15  16.0528
  16  5.24269
  17  1.98399
  18  0.00134043
  19  13.4218
  20  0.000787237
  21  1.6182e-05
  22  7.57551e-05
  23  3.44566e-05
  24  1.42854
  25  0.0147142
  26  44.8001
  27  14.8319
  28  0.00969875
  29  0.229658
  30  0.228272
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  9.323e+00  8.735e+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.181e+00  2.283e-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:  6.433e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.76
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 2.34e-05 +/- 2.19e-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) = 4922.5786508
delta logL = 0.0159283530502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4922.57519046
delta logL = 0.0193886914758

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5009       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4022       1.0000          .0000       5.0000    
     3 'Normalizat'    .64470       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1820       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.

 FCN=   4922.575     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4916        18.536        .34372E-02   -.40887E-04
   2  alpha         1.4017        1.3969        .47827       -.11137E-04
   3  Normalizat    .64467        .18959        .63608E-01    .18102E-04
   4  Prefactor     1.1820        .19288        .35071E-01   -.43807E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.49158
  alpha      = 1.40174
  Normalizat = 0.644671
  Prefactor  = 1.18201
 **********
 **   18 **HESSE 
 **********

 FCN=   4922.575     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4916        9.8040        .13749E-03   -1.5125    
   2  alpha         1.4017        .98165        .20086E-01   -.45482    
   3  Normalizat    .64467        .21255        .28143E-03   -1.0612    
   4  Prefactor     1.1820        .22158        .22090E-03   -.86887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37994e-10
Minuit parameter uncertainties:
  1  9.8059
  2  1.01595
  3  0.212816
  4  0.221752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788962': 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) = 4922.57519
delta logL = 0.0193891444342

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.492e+00  9.806e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.402e+00  1.016e+00  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.182e+00  2.218e-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:  6.447e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.80
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.40 +/- 1.02
Photon Flux (Free Index): 9.15e-09 +/- 1.60e-08
Energy Flux (Free Index): 2.85e-05 +/- 4.20e-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/788962/cmap_HighResolution_500601601_500860801_4FGL_J1448.0+3608_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='2.85e-05', photon_flux_error='1.15e-08', dlogl='1.94e-02', energy_flux='2.34e-05', photon_flux2='9.15e-09', job_status='DONE', time_completed='2021-09-10 10:07:23.104499', photon_index_error2='1.02', photon_index2='1.40', ts='4.76', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='4.20e-05', EG='0.64', time_epoch_completed='1631293643.1', return_code='0', job_id='788962', GAL2='1.18', EG2='0.64', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='1.60e-08', ts2='4.80', photon_index='1.60' WHERE bin_id='1008' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:07:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 788962: <4FGL_J1448.0+3608_daily_bin1008> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1008> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:51:51 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:51:52 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:51:52 2021
Terminated at Fri Sep 10 10:07:23 2021
Results reported at Fri Sep 10 10:07:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1008 222.017 36.1344 500601601 500860801 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 :                                   699.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             228.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            932 sec.

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

