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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin846
RA = 222.017, Dec = 36.1344
tmin = 458611201, tmax = 458870401
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='788700', job_status='RUN', time_executed='2021-09-10 09:51:43.313815', time_epoch_executed='1631292703.31' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='846'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788700/ft1_4FGL_J1448.0+3608_daily_bin846.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788700/ft2_4FGL_J1448.0+3608_daily_bin846.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788700/ft1_4FGL_J1448.0+3608_daily_bin846.fits outfile=/scratch/kocevski/788700/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin846.fits ra=222.017 dec=36.1344 rad=12.0 tmin=458611201.0 tmax=458870401.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.59
user 3.38
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/788700/ft1_filtered_4FGL_J1448.0+3608_daily_bin846.fits" evtable="EVENTS" scfile=/scratch/kocevski/788700/ft2_4FGL_J1448.0+3608_daily_bin846.fits sctable="SC_DATA" outfile=/scratch/kocevski/788700/ltcube_458611201_458870401_4FGL_J1448.0+3608_daily_bin846.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/788700/ft2_4FGL_J1448.0+3608_daily_bin846.fits
.....................!
real 11.72
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788700/ft1_filtered_4FGL_J1448.0+3608_daily_bin846.fits evtable="EVENTS" scfile=/scratch/kocevski/788700/ft2_4FGL_J1448.0+3608_daily_bin846.fits sctable="SC_DATA" expcube=/scratch/kocevski/788700/ltcube_458611201_458870401_4FGL_J1448.0+3608_daily_bin846.fits outfile=/scratch/kocevski/788700/expmap_458611201_458870401_4FGL_J1448.0+3608_daily_bin846.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/788700/ltcube_458611201_458870401_4FGL_J1448.0+3608_daily_bin846.fits
.....................!
real 190.72
user 185.18
sys 5.16

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/788700/ft1_filtered_4FGL_J1448.0+3608_daily_bin846.fits scfile=/scratch/kocevski/788700/ft2_4FGL_J1448.0+3608_daily_bin846.fits outfile=/scratch/kocevski/788700/cmap_458611201_458870401_4FGL_J1448.0+3608_daily_bin846.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.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.157       1.0000         .10000E-03   10000.    
     4 'norm      '    2.7256       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12486       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1516       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5522       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .86478       1.0000         .10000E-03   10000.    
    10 'norm      '    10.490       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    48.258       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.262       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6975       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3885       1.0000         .10000E-03   10000.    
    18 'norm      '    .11632E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0818       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    3.6598       1.0000         .10000E-03   10000.    
    25 'Prefactor '    21.444       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10771E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.129       1.0000         .10000E-03   10000.    
    28 'norm      '    .44740E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .85878       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.3605       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=   7124.982     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     4104 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.038        .53910E-06** at limit **
   2  Prefactor     .10000E-03    20.897        .44230E-06** at limit **
   3  Prefactor     37.161        27.640       -.17270E-06   -.20118E-04
   4  norm          2.7259        2.6364       -.20832E-07    .10255E-03
   5  Prefactor     .10214E-03    27.743       -.57308E-05** at limit **
   6  Prefactor     9.2778        20.651       -.66928E-06    .10099E-03
   7  Prefactor     6.5526        4.5477        .11173E-06    .79800E-04
   8  norm          .10000E-03    10.564        .10478E-07** at limit **
   9  Prefactor     .84552        87.444        .22634E-04   -.80227E-04
  10  norm          10.491        8.2765       -.13552E-06    .10743E-03
  11  Prefactor     .10000E-03    19.813       -.20431E-06** at limit **
  12  norm          48.257        9.5224        .55110E-07    .16043E-04
  13  Prefactor     29.257        37.859        .41546E-06    .36252E-05
  14  norm          5.6970        6.3740        .54144E-07    .16893E-04
  15  Prefactor     .10000E-03    4.4463        .65355E-07** at limit **
  16  Prefactor     .10000E-03    3.7254        .64434E-07** at limit **
  17  norm          1.3884        1.6483        .15702E-06    .25528E-03
  18  norm          .10000E-03    1.9149       -.13315E-05** at limit **
  19  Prefactor     3.0892        4.2101        .25862E-05    .37398E-03
  20  Prefactor     .10000E-03    31.293       -.56998E-07** at limit **
  21  Prefactor     .10000E-03    4.0142        .86675E-07** at limit **
  22  Prefactor     .10000E-03    26.372       -.66105E-06** at limit **
  23  Prefactor     .10000E-03    4.4469        .51588E-07** at limit **
  24  norm          3.6600        1.9305        .19657E-06   -.22140E-03
  25  Prefactor     21.435        16.375       -.87461E-06   -.70046E-04
  26  Prefactor     .10015E-03    201.66        .10069E-04** at limit **
  27  Prefactor     11.125        22.334       -.48255E-06   -.14767E-03
  28  norm          .10003E-03    15.421       -.23415E-05** at limit **
  29  Normalizat    .85853        .20239       -.31969E-06   -.69440E-04
  30  Prefactor     1.3608        .19324       -.10923E-05   -.34645E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 37.1611
  norm       = 2.72594
  Prefactor  = 0.000102144
  Prefactor  = 9.27778
  Prefactor  = 6.55263
  norm       = 0.0001
  Prefactor  = 0.845522
  norm       = 10.4908
  Prefactor  = 0.0001
  norm       = 48.257
  Prefactor  = 29.2567
  norm       = 5.69697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.38836
  norm       = 0.000100002
  Prefactor  = 3.08917
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.65999
  Prefactor  = 21.4352
  Prefactor  = 0.00010015
  Prefactor  = 11.1251
  norm       = 0.000100026
  Normalizat = 0.858528
  Prefactor  = 1.36076
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.982     FROM HESSE     STATUS=OK           604 CALLS     4708 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    28.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.161        27.724        .65748E-04   -1.4488    
   4  norm          2.7259        2.6454        .13037E-03   -1.5378    
   5  Prefactor     .10214E-03    42.933        .83910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.2778        31.655        .13248E-03   -1.5099    
   7  Prefactor     6.5526        4.5568        .14166E-03   -1.5196    
   8  norm          .10000E-03    10.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .84552        127.06        .66298E-02   -1.5524    
  10  norm          10.491        8.2680        .12371E-03   -1.5060    
  11  Prefactor     .10000E-03    19.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          48.257        9.5232        .57723E-04   -1.4317    
  13  Prefactor     29.257        37.927        .74064E-04   -1.4626    
  14  norm          5.6970        6.3737        .16828E-03   -1.5231    
  15  Prefactor     .10000E-03    4.4496        .17383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.7339        .15897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3884        1.6251        .11135E-03   -1.5472    
  18  norm          .10000E-03    7.2877        .21378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0892        6.0697        .11552E-02   -1.5356    
  20  Prefactor     .10000E-03    31.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.0299        .16518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    26.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.4579        .17382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.6600        1.9283        .68744E-04   -1.5325    
  25  Prefactor     21.435        16.412        .86495E-04   -1.4782    
  26  Prefactor     .10015E-03    213.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     11.125        18.811        .12009E-03   -1.5041    
  28  norm          .10003E-03    116.65        .50607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .85853        .24771        .30218E-03   -.97933    
  30  Prefactor     1.3608        .23692        .25753E-03   -.81518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17945e-09
Minuit parameter uncertainties:
  1  0.000245224
  2  9.93382e-05
  3  27.7332
  4  2.64554
  5  0.0192002
  6  31.7121
  7  4.55701
  8  8.1187e-06
  9  20.7734
  10  8.26892
  11  6.82173e-05
  12  9.52354
  13  37.9584
  14  6.37447
  15  1.14266e-05
  16  9.61946e-06
  17  1.6252
  18  0.000265001
  19  6.07089
  20  3.5988e-05
  21  1.55031e-05
  22  0.000265801
  23  6.94298e-06
  24  1.92834
  25  16.4153
  26  0.0113537
  27  18.8208
  28  0.0034819
  29  0.24804
  30  0.237108
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.697e+00  6.374e+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.361e+00  2.371e-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:  8.585e-01  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.48
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 7.50e-09 +/- 8.39e-09
Energy Flux (Fixed Index): 1.43e-05 +/- 1.60e-05

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

Saving results to:
/scratch/kocevski/788700/likelihoodResults_458611201_458870401_4FGL_J1448.0+3608_daily_bin846.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): 0
logL (Free Index) = 7124.85715472
delta logL = 0.124509574061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7124.84987988
delta logL = 0.131784418842

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9295       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0964       1.0000          .0000       5.0000    
     3 'Normalizat'    .85180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3635       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=   7124.850     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      263 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9282        6.4173        .18115E-03    .92444E-03
   2  alpha         2.0954        1.0144        .18872E-01    .76228E-04
   3  Normalizat    .85200        .21988        .30320E-03   -.45653E-03
   4  Prefactor     1.3633        .23012        .25728E-03   -.62451E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.92822
  alpha      = 2.0954
  Normalizat = 0.851996
  Prefactor  = 1.36333
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.850     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9282        6.1866        .36230E-04   -1.5264    
   2  alpha         2.0954        .97978        .75490E-03   -.16255    
   3  Normalizat    .85200        .21989        .60640E-04   -.98168    
   4  Prefactor     1.3633        .23025        .51456E-04   -.81443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21344e-09
Minuit parameter uncertainties:
  1  6.18743
  2  1.00756
  3  0.220117
  4  0.230426
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788700': 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) = 7124.84987871
delta logL = 0.131785584335

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.928e+00  6.187e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.095e+00  1.008e+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.363e+00  2.304e-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:  8.520e-01  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.75
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.10 +/- 1.01
Photon Flux (Free Index): 1.40e-08 +/- 2.22e-08
Energy Flux (Free Index): 9.22e-06 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/788700/cmap_HighResolution_458611201_458870401_4FGL_J1448.0+3608_daily_bin846.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-05', comment='SUCCESS', photon_flux='7.50e-09', energy_flux2='9.22e-06', photon_flux_error='8.39e-09', dlogl='1.32e-01', energy_flux='1.43e-05', photon_flux2='1.40e-08', job_status='DONE', time_completed='2021-09-10 10:07:26.372403', photon_index_error2='1.01', photon_index2='2.10', ts='2.48', fit_tolerance='1e-08', GAL='1.36', photon_index_error='0.00', photon_flux_upper_limit='3.60e-08', energy_flux_error2='1.12e-05', EG='0.86', time_epoch_completed='1631293646.37', return_code='0', job_id='788700', GAL2='1.36', EG2='0.85', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='2.22e-08', ts2='2.75', photon_index='1.60' WHERE bin_id='846' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:07:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 788700: <4FGL_J1448.0+3608_daily_bin846> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin846 222.017 36.1344 458611201 458870401 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 :                                   942.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            958 sec.

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

