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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin203
RA = 222.017, Dec = 36.1344
tmin = 291945601, tmax = 292204801
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='785569', job_status='RUN', time_executed='2021-09-10 09:41:21.405355', time_epoch_executed='1631292081.41' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785569

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785569/ft1_4FGL_J1448.0+3608_daily_bin203.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785569/ft2_4FGL_J1448.0+3608_daily_bin203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785569/ft1_4FGL_J1448.0+3608_daily_bin203.fits outfile=/scratch/kocevski/785569/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin203.fits ra=222.017 dec=36.1344 rad=12.0 tmin=291945601.0 tmax=292204801.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.75
user 3.52
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785569/ft1_filtered_4FGL_J1448.0+3608_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/785569/ft2_4FGL_J1448.0+3608_daily_bin203.fits sctable="SC_DATA" expcube=/scratch/kocevski/785569/ltcube_291945601_292204801_4FGL_J1448.0+3608_daily_bin203.fits outfile=/scratch/kocevski/785569/expmap_291945601_292204801_4FGL_J1448.0+3608_daily_bin203.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/785569/ltcube_291945601_292204801_4FGL_J1448.0+3608_daily_bin203.fits
.....................!
real 191.35
user 185.49
sys 5.25

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/785569/ft1_filtered_4FGL_J1448.0+3608_daily_bin203.fits scfile=/scratch/kocevski/785569/ft2_4FGL_J1448.0+3608_daily_bin203.fits outfile=/scratch/kocevski/785569/cmap_291945601_292204801_4FGL_J1448.0+3608_daily_bin203.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785569/ft1_filtered_4FGL_J1448.0+3608_daily_bin203.fits scfile=/scratch/kocevski/785569/ft2_4FGL_J1448.0+3608_daily_bin203.fits outfile=/scratch/kocevski/785569/cmap_HighResolution_291945601_292204801_4FGL_J1448.0+3608_daily_bin203.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34720       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.2148       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9858       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.3758       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3197       1.0000         .10000E-03   10000.    
     8 'norm      '    .10236E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.009       1.0000         .10000E-03   10000.    
    10 'norm      '    6.8086       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.0471       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    16.721       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.7857       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0121       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    9.8151       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.2436       1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.9613       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10379E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2597       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .65178       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=   5758.162     FROM MIGRAD    STATUS=CONVERGED   1378 CALLS     3954 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32968        202.56        .52456E-02   -.85876E-04
   2  Prefactor     .10000E-03    11.359        .18142E-02** at limit **
   3  Prefactor     .10000E-03    7.2121        .18142E-02** at limit **
   4  norm          3.2145        3.0635        .12516E-03   -.12353E-04
   5  Prefactor     8.9989        12.316        .13371E-03   -.33330E-04
   6  Prefactor     8.3543        15.576        .13852E-03   -.98488E-06
   7  Prefactor     3.3184        4.4158        .17302E-03    .35482E-05
   8  norm          .10000E-03    6.0716        .18142E-02** at limit **
   9  Prefactor     25.977        23.129        .78550E-04    .17947E-04
  10  norm          6.8082        6.8173        .15377E-03   -.84286E-05
  11  Prefactor     .10000E-03    22.416        .18142E-02** at limit **
  12  norm          3.0483        3.5211        .14839E-03    .50567E-05
  13  Prefactor     .10000E-03    36.253        .18142E-02** at limit **
  14  norm          16.721        10.476        .97947E-04    .32499E-05
  15  Prefactor     .10000E-03    4.1884        .15157E-02** at limit **
  16  Prefactor     .10000E-03    7.3770        .36285E-03** at limit **
  17  norm          .10000E-03    .69549        .12060E-02** at limit **
  18  norm          4.7862        3.4626        .11624E-03    .28950E-04
  19  Prefactor     .10000E-03    4.1750        .15088E-02** at limit **
  20  Prefactor     .10000E-03    22.212        .18142E-02** at limit **
  21  Prefactor     1.0140        14.682        .26181E-02    .44600E-03
  22  Prefactor     .10000E-03    12.386        .18142E-02** at limit **
  23  Prefactor     .10000E-03    13.718        .36285E-03** at limit **
  24  norm          9.8131        2.3562        .46109E-04    .88761E-04
  25  Prefactor     4.2746        13.615        .19560E-03   -.23249E-05
  26  Prefactor     4.8303        73.982        .18056E-03    .12404E-04
  27  Prefactor     .10000E-03    9.9752        .18142E-02** at limit **
  28  norm          .10000E-03    8.7062        .18142E-02** at limit **
  29  Normalizat    1.2600        .23183        .22264E-03    .23387E-04
  30  Prefactor     .65151        .22594        .30229E-03    .20309E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329685
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.2145
  Prefactor  = 8.99888
  Prefactor  = 8.35425
  Prefactor  = 3.31843
  norm       = 0.0001
  Prefactor  = 25.9765
  norm       = 6.80821
  Prefactor  = 0.0001
  norm       = 3.04827
  Prefactor  = 0.0001
  norm       = 16.7214
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.78617
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.01401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.81306
  Prefactor  = 4.27462
  Prefactor  = 4.83033
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.26004
  Prefactor  = 0.651511
 **********
 **   18 **HESSE 
 **********

 FCN=   5758.162     FROM HESSE     STATUS=OK           560 CALLS     4514 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32968        205.93        .20983E-03   -1.5593    
   2  Prefactor     .10000E-03    11.361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.2124        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.2145        3.0634        .50065E-05   -1.5349    
   5  Prefactor     8.9989        12.313        .53483E-05   -1.5108    
   6  Prefactor     8.3543        15.571        .55408E-05   -1.5130    
   7  Prefactor     3.3184        4.4123        .69207E-05   -1.5344    
   8  norm          .10000E-03    6.0717        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.977        23.122        .31420E-05   -1.4688    
  10  norm          6.8082        6.8148        .61507E-05   -1.5186    
  11  Prefactor     .10000E-03    22.417        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0483        3.5211        .59354E-05   -1.5359    
  13  Prefactor     .10000E-03    36.260        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.721        10.475        .39179E-05   -1.4890    
  15  Prefactor     .10000E-03    4.1885        .30315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.3774        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .69609        .24121E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.7862        3.4620        .46495E-05   -1.5270    
  19  Prefactor     .10000E-03    4.1756        .30175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.212        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0140        14.642        .10473E-03   -1.5507    
  22  Prefactor     .10000E-03    12.388        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    13.719        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.8131        2.3545        .18444E-05   -1.5081    
  25  Prefactor     4.2746        13.601        .78240E-05   -1.5294    
  26  Prefactor     4.8303        73.848        .72223E-05   -1.5268    
  27  Prefactor     .10000E-03    9.9756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    8.7073        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2600        .23000        .89056E-05   -.84767    
  30  Prefactor     .65151        .22544        .12092E-04   -1.0546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97519e-09
Minuit parameter uncertainties:
  1  16.534
  2  1.33229e-06
  3  3.31937e-06
  4  3.06354
  5  12.3163
  6  15.5788
  7  4.41269
  8  1.60963e-06
  9  23.13
  10  6.8156
  11  2.30583e-05
  12  3.52129
  13  1.58533e-05
  14  10.4765
  15  1.1415e-06
  16  6.01026e-06
  17  9.64067e-07
  18  3.46214
  19  2.82373e-06
  20  7.36734e-06
  21  7.70818
  22  5.60829e-06
  23  1.96551e-05
  24  2.35455
  25  13.6109
  26  37.829
  27  9.41907e-06
  28  2.66641e-06
  29  0.230183
  30  0.225759
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.672e+01  1.048e+01  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:  6.515e-01  2.258e-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:  1.260e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.39
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 2.20e-08 +/- 1.38e-08
Energy Flux (Fixed Index): 4.19e-05 +/- 2.63e-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) = 5758.14466655
delta logL = 0.016875772425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5758.14387653
delta logL = 0.0176657855773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.346       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6886       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65163       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=   5758.144     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      269 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.349        10.514        .49531E-03    .17513E-04
   2  alpha         1.6885        .47394        .11970E-01    .93972E-04
   3  Normalizat    1.2586        .21454        .22274E-03   -.13526E-04
   4  Prefactor     .65170        .21701        .30221E-03    .77493E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 16.3486
  alpha      = 1.68853
  Normalizat = 1.2586
  Prefactor  = 0.651696
 **********
 **   18 **HESSE 
 **********

 FCN=   5758.144     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.349        10.439        .19813E-04   -1.4899    
   2  alpha         1.6885        .47066        .23939E-02   -.33058    
   3  Normalizat    1.2586        .21474        .89094E-05   -.84811    
   4  Prefactor     .65170        .21722        .12089E-04   -1.0545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60286e-12
Minuit parameter uncertainties:
  1  10.4401
  2  0.473825
  3  0.214888
  4  0.217499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785569': 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) = 5758.14387641
delta logL = 0.0176659083509

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.635e+01  1.044e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.689e+00  4.738e-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:  6.517e-01  2.175e-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:  1.259e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.41
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.69 +/- 0.47
Photon Flux (Free Index): 2.41e-08 +/- 1.86e-08
Energy Flux (Free Index): 3.70e-05 +/- 3.32e-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/785569/cmap_HighResolution_291945601_292204801_4FGL_J1448.0+3608_daily_bin203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.20e-08', energy_flux2='3.70e-05', photon_flux_error='1.38e-08', dlogl='1.77e-02', energy_flux='4.19e-05', photon_flux2='2.41e-08', job_status='DONE', time_completed='2021-09-10 09:53:12.552416', photon_index_error2='0.47', photon_index2='1.69', ts='7.39', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='3.32e-05', EG='1.26', time_epoch_completed='1631292792.55', return_code='0', job_id='785569', GAL2='0.65', EG2='1.26', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='1.86e-08', ts2='7.41', photon_index='1.60' WHERE bin_id='203' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:53:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 785569: <4FGL_J1448.0+3608_daily_bin203> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin203> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:41:06 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:41:07 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:41:07 2021
Terminated at Fri Sep 10 09:53:13 2021
Results reported at Fri Sep 10 09:53:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin203 222.017 36.1344 291945601 292204801 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 :                                   709.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             374.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            727 sec.

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

