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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin128
RA = 222.017, Dec = 36.1344
tmin = 272505601, tmax = 272764801
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='785481', job_status='RUN', time_executed='2021-09-10 09:41:08.111521', time_epoch_executed='1631292068.11' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='128'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785481

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785481/ft1_4FGL_J1448.0+3608_daily_bin128.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785481/ft2_4FGL_J1448.0+3608_daily_bin128.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785481/ft1_4FGL_J1448.0+3608_daily_bin128.fits outfile=/scratch/kocevski/785481/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin128.fits ra=222.017 dec=36.1344 rad=12.0 tmin=272505601.0 tmax=272764801.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.73
user 1.55
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785481/ft2_4FGL_J1448.0+3608_daily_bin128.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/785481/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin128.fits evtable="EVENTS" outfile="/scratch/kocevski/785481/ft1_filtered_4FGL_J1448.0+3608_daily_bin128.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.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785481/ft1_filtered_4FGL_J1448.0+3608_daily_bin128.fits evtable="EVENTS" scfile=/scratch/kocevski/785481/ft2_4FGL_J1448.0+3608_daily_bin128.fits sctable="SC_DATA" expcube=/scratch/kocevski/785481/ltcube_272505601_272764801_4FGL_J1448.0+3608_daily_bin128.fits outfile=/scratch/kocevski/785481/expmap_272505601_272764801_4FGL_J1448.0+3608_daily_bin128.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/785481/ltcube_272505601_272764801_4FGL_J1448.0+3608_daily_bin128.fits
.....................!
real 190.06
user 184.98
sys 4.68

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/785481/ft1_filtered_4FGL_J1448.0+3608_daily_bin128.fits scfile=/scratch/kocevski/785481/ft2_4FGL_J1448.0+3608_daily_bin128.fits outfile=/scratch/kocevski/785481/cmap_272505601_272764801_4FGL_J1448.0+3608_daily_bin128.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/785481/ft1_filtered_4FGL_J1448.0+3608_daily_bin128.fits scfile=/scratch/kocevski/785481/ft2_4FGL_J1448.0+3608_daily_bin128.fits outfile=/scratch/kocevski/785481/cmap_HighResolution_272505601_272764801_4FGL_J1448.0+3608_daily_bin128.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/785481/ft1_filtered_4FGL_J1448.0+3608_daily_bin128.fits evtable="EVENTS" scfile=/scratch/kocevski/785481/ft2_4FGL_J1448.0+3608_daily_bin128.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785481/Model_4FGL_J1448.0+3608_daily_bin128.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/785481/ft1_filtered_4FGL_J1448.0+3608_daily_bin128.fits.....................!
real 50.73
user 49.39
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.598       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.843       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.627       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3259       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.048       1.0000         .10000E-03   10000.    
    10 'norm      '    11.403       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.4031       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1427       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.845       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0075       1.0000         .10000E-03   10000.    
    18 'norm      '    4.6485       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14348E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.846       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .45112E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.4965       1.0000         .10000E-03   10000.    
    24 'norm      '    7.7197       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    14.170       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .95772       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0079       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=   6456.616     FROM MIGRAD    STATUS=CONVERGED    754 CALLS     3925 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.056        .48191E-07** at limit **
   2  Prefactor     24.604        19.258        .27421E-07    .31016E-05
   3  Prefactor     21.849        24.331        .18515E-07   -.10816E-04
   4  norm          .10000E-03    1.5431        .24563E-07** at limit **
   5  Prefactor     12.625        11.384        .51521E-07    .36247E-04
   6  Prefactor     .10000E-03    9.8691       -.20210E-07** at limit **
   7  Prefactor     2.3260        3.9046        .21318E-06    .45065E-03
   8  norm          .10000E-03    5.8566        .31349E-07** at limit **
   9  Prefactor     36.040        26.486        .12396E-06   -.16448E-04
  10  norm          11.403        6.6669        .18377E-06    .10733E-02
  11  Prefactor     .10000E-03    38.097        .24509E-07** at limit **
  12  norm          1.4033        3.0602        .13573E-06    .48879E-03
  13  Prefactor     2.1407        63.249        .69862E-06    .30217E-04
  14  norm          .10000E-03    2.8985        .17372E-07** at limit **
  15  Prefactor     16.845        13.337        .17133E-07   -.17084E-04
  16  Prefactor     .10000E-03    1.4632       -.99237E-08** at limit **
  17  norm          1.0078        .91347       -.37730E-07   -.12219E-02
  18  norm          4.6504        3.6588       -.49278E-06   -.10948E-02
  19  Prefactor     .10000E-03    10.054        .34088E-05** at limit **
  20  Prefactor     14.787        62.790        .19792E-05   -.84998E-05
  21  Prefactor     .10000E-03    4.2693        .17840E-07** at limit **
  22  Prefactor     .10003E-03    31.343       -.58720E-05** at limit **
  23  Prefactor     3.4921        9.7486       -.16908E-05   -.17056E-03
  24  norm          7.7198        1.6589        .12109E-07   -.89415E-04
  25  Prefactor     .10000E-03    6.1754       -.20937E-07** at limit **
  26  Prefactor     .10000E-03    51.543        .70395E-07** at limit **
  27  Prefactor     .10000E-03    8.6844        .11102E-07** at limit **
  28  norm          14.170        11.300       -.27510E-07   -.59338E-04
  29  Normalizat    .95786        .18542       -.36210E-06   -.16335E-03
  30  Prefactor     1.0077        .18448       -.17836E-06   -.22045E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 24.6038
  Prefactor  = 21.8494
  norm       = 0.0001
  Prefactor  = 12.6249
  Prefactor  = 0.0001
  Prefactor  = 2.32598
  norm       = 0.0001
  Prefactor  = 36.0397
  norm       = 11.4027
  Prefactor  = 0.0001
  norm       = 1.4033
  Prefactor  = 2.14072
  norm       = 0.0001
  Prefactor  = 16.8449
  Prefactor  = 0.0001
  norm       = 1.00784
  norm       = 4.65038
  Prefactor  = 0.0001
  Prefactor  = 14.787
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 3.49205
  norm       = 7.71982
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.1699
  Normalizat = 0.957855
  Prefactor  = 1.00772
 **********
 **   18 **HESSE 
 **********

 FCN=   6456.616     FROM HESSE     STATUS=OK           592 CALLS     4517 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.604        19.254        .80768E-04   -1.4716    
   3  Prefactor     21.849        24.372        .85703E-04   -1.4773    
   4  norm          .10000E-03    1.5529        .97432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.625        11.385        .11273E-03   -1.4997    
   6  Prefactor     .10000E-03    9.8947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3260        3.9285        .19338E-03   -1.5403    
   8  norm          .10000E-03    5.8611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.040        26.564        .66749E-04   -1.4507    
  10  norm          11.403        6.7655        .59319E-03   -1.5032    
  11  Prefactor     .10000E-03    38.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4033        3.0486        .20206E-03   -1.5471    
  13  Prefactor     2.1407        63.706        .28155E-03   -1.5415    
  14  norm          .10000E-03    2.9007        .13360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.845        13.334        .97586E-04   -1.4887    
  16  Prefactor     .10000E-03    1.4642        .94918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0078        .90050        .70610E-04   -1.5507    
  18  norm          4.6504        3.6441        .12724E-03   -1.5277    
  19  Prefactor     .10000E-03    55.547        .38922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.787        62.576        .10395E-03   -1.4939    
  21  Prefactor     .10000E-03    4.3649        .16214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10003E-03    33.591        .45024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.4921        9.6334        .21622E-03   -1.5334    
  24  norm          7.7198        1.6575        .45602E-04   -1.5152    
  25  Prefactor     .10000E-03    6.2169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    52.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    8.6905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          14.170        11.294        .10640E-03   -1.4955    
  29  Normalizat    .95786        .21802        .25187E-03   -.94456    
  30  Prefactor     1.0077        .21690        .25929E-03   -.92473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1244e-09
Minuit parameter uncertainties:
  1  4.03898e-05
  2  19.2585
  3  24.3832
  4  2.08695e-06
  5  11.3874
  6  2.0506e-05
  7  3.92896
  8  4.5651e-06
  9  26.5722
  10  6.76598
  11  2.83586e-05
  12  3.04895
  13  23.383
  14  1.19189e-06
  15  13.3364
  16  2.30528e-06
  17  0.900512
  18  3.64429
  19  0.0001832
  20  60.9466
  21  1.65973e-05
  22  0.00185305
  23  9.63772
  24  1.65747
  25  1.02877e-05
  26  0.00011278
  27  1.84756e-05
  28  11.2962
  29  0.218226
  30  0.21709
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.192e-06  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.008e+00  2.171e-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:  9.579e-01  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 2.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785481/likelihoodResults_272505601_272764801_4FGL_J1448.0+3608_daily_bin128.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) = 6456.61767925
delta logL = -0.00156331940525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6456.61611603
delta logL = -1.07435880636e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5978       1.0000          .0000       5.0000    
     3 'Normalizat'    .95793       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0076       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=   6456.616     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      234 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    255.89        .13362E-02** at limit **
   2  alpha         1.5450        2.6036        .50000        .78830E-07
   3  Normalizat    .95785        .44392E-01    .25186E-03   -.11862E-03
   4  Prefactor     1.0077        .47000E-01    .25929E-03   -.11536E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.54495
  Normalizat = 0.957854
  Prefactor  = 1.00772
 **********
 **   18 **HESSE 
 **********

 FCN=   6456.616     FROM HESSE     STATUS=OK            27 CALLS      261 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    20.547        .26724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5450        3.1148        .50000       -.39198    
   3  Normalizat    .95785        .20164        .10075E-04   -.94456    
   4  Prefactor     1.0077        .21347        .10372E-04   -.92473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11184e-10
Minuit parameter uncertainties:
  1  3.79616e-06
  2  427.588
  3  0.201797
  4  0.213654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785481': 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) = 6456.61611589
delta logL = 3.89400156564e-08

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  3.796e-06  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.545e+00  4.276e+02  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.008e+00  2.137e-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:  9.579e-01  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.017 36.134

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/785481/cmap_HighResolution_272505601_272764801_4FGL_J1448.0+3608_daily_bin128.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-05', job_status='DONE', photon_flux_upper_limit='2.11e-08', time_completed='2021-09-10 09:55:27.199349', job_id='785481', GAL2='1.01', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631292927.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.89e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='128' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:55:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 785481: <4FGL_J1448.0+3608_daily_bin128> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin128> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:40:57 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:40:58 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:40:58 2021
Terminated at Fri Sep 10 09:55:27 2021
Results reported at Fri Sep 10 09:55:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin128 222.017 36.1344 272505601 272764801 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 :                                   858.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            870 sec.

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

