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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin38
RA = 222.017, Dec = 36.1344
tmin = 249177601, tmax = 249436801
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='784349', job_status='RUN', time_executed='2021-09-10 09:39:11.292056', time_epoch_executed='1631291951.29' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='38'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784349

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784349/ft1_4FGL_J1448.0+3608_daily_bin38.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784349/ft2_4FGL_J1448.0+3608_daily_bin38.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784349/ft1_4FGL_J1448.0+3608_daily_bin38.fits outfile=/scratch/kocevski/784349/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin38.fits ra=222.017 dec=36.1344 rad=12.0 tmin=249177601.0 tmax=249436801.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.46
user 1.26
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784349/ft2_4FGL_J1448.0+3608_daily_bin38.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/784349/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin38.fits evtable="EVENTS" outfile="/scratch/kocevski/784349/ft1_filtered_4FGL_J1448.0+3608_daily_bin38.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/784349/ft1_filtered_4FGL_J1448.0+3608_daily_bin38.fits" evtable="EVENTS" scfile=/scratch/kocevski/784349/ft2_4FGL_J1448.0+3608_daily_bin38.fits sctable="SC_DATA" outfile=/scratch/kocevski/784349/ltcube_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.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/784349/ft2_4FGL_J1448.0+3608_daily_bin38.fits
.....................!
real 12.57
user 12.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784349/ft1_filtered_4FGL_J1448.0+3608_daily_bin38.fits evtable="EVENTS" scfile=/scratch/kocevski/784349/ft2_4FGL_J1448.0+3608_daily_bin38.fits sctable="SC_DATA" expcube=/scratch/kocevski/784349/ltcube_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.fits outfile=/scratch/kocevski/784349/expmap_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.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/784349/ltcube_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.fits
.....................!
real 189.72
user 185.26
sys 4.07

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/784349/ft1_filtered_4FGL_J1448.0+3608_daily_bin38.fits scfile=/scratch/kocevski/784349/ft2_4FGL_J1448.0+3608_daily_bin38.fits outfile=/scratch/kocevski/784349/cmap_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.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/784349/ft1_filtered_4FGL_J1448.0+3608_daily_bin38.fits scfile=/scratch/kocevski/784349/ft2_4FGL_J1448.0+3608_daily_bin38.fits outfile=/scratch/kocevski/784349/cmap_HighResolution_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2171       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.201       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29722E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6079       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.549       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .64865       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.9475       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.181       1.0000         .10000E-03   10000.    
    14 'norm      '    .10167E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.1234       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11489E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    8.2011       1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.167       1.0000         .10000E-03   10000.    
    26 'Prefactor '    16.595       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1473       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .63146       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=   5123.314     FROM MIGRAD    STATUS=CONVERGED    766 CALLS     4519 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2169        11.864       -.40711E-06   -.16438E-04
   2  Prefactor     11.182        18.204        .18423E-05    .39417E-04
   3  Prefactor     .10000E-03    7.4412        .43696E-06** at limit **
   4  norm          .10000E-03    2.9526        .62944E-07** at limit **
   5  Prefactor     .10052E-03    11.086        .18429E-05** at limit **
   6  Prefactor     7.5814        14.194       -.29814E-05    .59469E-04
   7  Prefactor     .10000E-03    2.4349       -.65842E-08** at limit **
   8  norm          10.546        10.655       -.78806E-06    .26210E-04
   9  Prefactor     .10000E-03    8.4731       -.26729E-06** at limit **
  10  norm          .64157        4.7724        .28778E-07    .50448E-04
  11  Prefactor     .10000E-03    20.412        .13398E-05** at limit **
  12  norm          6.9467        5.4083        .15699E-06   -.28897E-04
  13  Prefactor     22.179        28.890        .29872E-06   -.79070E-06
  14  norm          .10000E-03    13.421       -.12579E-06** at limit **
  15  Prefactor     .10000E-03    11.119        .91968E-07** at limit **
  16  Prefactor     .10000E-03    3.2578       -.94696E-08** at limit **
  17  norm          2.1229        1.7898        .79393E-07   -.55931E-04
  18  norm          .10000E-03    1.0024       -.28070E-07** at limit **
  19  Prefactor     .10000E-03    3.4154        .32721E-07** at limit **
  20  Prefactor     .10000E-03    26.361       -.14409E-05** at limit **
  21  Prefactor     .10000E-03    4.0192       -.91804E-09** at limit **
  22  Prefactor     .10000E-03    7.6597       -.32294E-06** at limit **
  23  Prefactor     .10000E-03    11.268       -.14784E-06** at limit **
  24  norm          8.2003        2.6538       -.10213E-07   -.21636E-04
  25  Prefactor     11.171        18.763        .26019E-06   -.17025E-04
  26  Prefactor     16.579        32.321        .55988E-06    .34286E-06
  27  Prefactor     .10000E-03    12.549       -.63176E-06** at limit **
  28  norm          .10000E-03    10.419        .76831E-06** at limit **
  29  Normalizat    1.1474        .18207       -.10306E-05    .85026E-04
  30  Prefactor     .63146        .17711        .48038E-06   -.14018E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.21695
  Prefactor  = 11.1815
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100524
  Prefactor  = 7.5814
  Prefactor  = 0.0001
  norm       = 10.5459
  Prefactor  = 0.0001
  norm       = 0.64157
  Prefactor  = 0.0001
  norm       = 6.94667
  Prefactor  = 22.1794
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.12294
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.20031
  Prefactor  = 11.1712
  Prefactor  = 16.5786
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.14741
  Prefactor  = 0.631456
 **********
 **   18 **HESSE 
 **********

 FCN=   5123.314     FROM HESSE     STATUS=OK           592 CALLS     5111 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2169        11.876        .16100E-03   -1.5209    
   2  Prefactor     11.182        18.397        .11970E-03   -1.5039    
   3  Prefactor     .10000E-03    7.4532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.0662        .24006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10052E-03    28.824        .66329E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.5814        19.074        .14539E-03   -1.5157    
   7  Prefactor     .10000E-03    2.4816        .10896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.546        10.686        .12336E-03   -1.5058    
   9  Prefactor     .10000E-03    8.4796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .64157        9.7621        .29652E-02   -1.5548    
  11  Prefactor     .10000E-03    20.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.9467        5.4101        .14109E-03   -1.5181    
  13  Prefactor     22.179        28.941        .85048E-04   -1.4766    
  14  norm          .10000E-03    13.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.2623        .12604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1229        1.7849        .82495E-04   -1.5417    
  18  norm          .10000E-03    1.0052        .69977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4360        .12917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    26.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.0386        .14013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.6673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    11.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          8.2003        2.7020        .45356E-04   -1.5135    
  25  Prefactor     11.171        19.051        .11989E-03   -1.5039    
  26  Prefactor     16.579        32.330        .98316E-04   -1.4893    
  27  Prefactor     .10000E-03    12.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    10.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1474        .21038        .21031E-03   -.88244    
  30  Prefactor     .63146        .20457        .28035E-03   -1.0628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19698e-10
Minuit parameter uncertainties:
  1  11.8805
  2  18.4066
  3  4.79296e-06
  4  4.61871e-06
  5  0.00777677
  6  19.0889
  7  6.85917e-06
  8  10.6881
  9  4.9703e-06
  10  5.00581
  11  2.18614e-05
  12  5.41048
  13  28.9595
  14  2.4117e-05
  15  1.56579e-05
  16  2.03594e-06
  17  1.78498
  18  8.03086e-07
  19  4.44278e-06
  20  8.15443e-06
  21  1.90167e-06
  22  4.22336e-06
  23  2.26714e-05
  24  2.70209
  25  19.0615
  26  32.3643
  27  1.51881e-06
  28  1.03007e-05
  29  0.210538
  30  0.204814
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  2.412e-05  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.315e-01  2.048e-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.147e+00  2.105e-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: 3.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784349/likelihoodResults_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.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) = 5123.31392402
delta logL = -0.000346121395523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5123.31357634
delta logL = 1.55189263751e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10665E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7124       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1474       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63146       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=   5123.269     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      319 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0929        6.2758        .25376E-03   -.16173E-04
   2  alpha         2.4727        1.7166        .23464E-01    .10334E-03
   3  Normalizat    1.1447        .19632        .21052E-03   -.37965E-04
   4  Prefactor     .62864        .19986        .28088E-03   -.37035E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09291
  alpha      = 2.47266
  Normalizat = 1.14468
  Prefactor  = 0.628641
 **********
 **   18 **HESSE 
 **********

 FCN=   5123.269     FROM HESSE     STATUS=OK            25 CALLS      344 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0929        4.9532        .10151E-04   -1.5499    
   2  alpha         2.4727        1.5580        .46928E-02   -.10938E-01
   3  Normalizat    1.1447        .19641        .84206E-05   -.88330    
   4  Prefactor     .62864        .19990        .11235E-04   -1.0639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77853e-12
Minuit parameter uncertainties:
  1  4.65378
  2  1.68204
  3  0.196539
  4  0.200131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784349': 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) = 5123.26896251
delta logL = 0.0446153870007

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.093e+00  4.654e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.473e+00  1.682e+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:  6.286e-01  2.001e-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.145e+00  1.965e-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/784349/cmap_HighResolution_249177601_249436801_4FGL_J1448.0+3608_daily_bin38.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-05', job_status='DONE', photon_flux_upper_limit='3.18e-08', time_completed='2021-09-10 09:52:31.254267', job_id='784349', GAL2='0.63', fit_tolerance='1e-08', EG2='1.14', EG='1.15', time_epoch_completed='1631292751.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='4.46e-02', ts2='0.09', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='38' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:52:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 784349: <4FGL_J1448.0+3608_daily_bin38> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin38> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:35 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:36 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:36 2021
Terminated at Fri Sep 10 09:52:32 2021
Results reported at Fri Sep 10 09:52:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin38 222.017 36.1344 249177601 249436801 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 :                                   800.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

