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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1123
RA = 222.017, Dec = 36.1344
tmin = 530409601, tmax = 530668801
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='790878', job_status='RUN', time_executed='2021-09-10 10:00:11.387119', time_epoch_executed='1631293211.39' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1123'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790878

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790878/ft1_4FGL_J1448.0+3608_daily_bin1123.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790878/ft2_4FGL_J1448.0+3608_daily_bin1123.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790878/ft1_4FGL_J1448.0+3608_daily_bin1123.fits outfile=/scratch/kocevski/790878/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1123.fits ra=222.017 dec=36.1344 rad=12.0 tmin=530409601.0 tmax=530668801.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.61
user 3.38
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790878/ft1_filtered_4FGL_J1448.0+3608_daily_bin1123.fits evtable="EVENTS" scfile=/scratch/kocevski/790878/ft2_4FGL_J1448.0+3608_daily_bin1123.fits sctable="SC_DATA" expcube=/scratch/kocevski/790878/ltcube_530409601_530668801_4FGL_J1448.0+3608_daily_bin1123.fits outfile=/scratch/kocevski/790878/expmap_530409601_530668801_4FGL_J1448.0+3608_daily_bin1123.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/790878/ltcube_530409601_530668801_4FGL_J1448.0+3608_daily_bin1123.fits
.....................!
real 191.31
user 186.73
sys 4.22

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/790878/ft1_filtered_4FGL_J1448.0+3608_daily_bin1123.fits scfile=/scratch/kocevski/790878/ft2_4FGL_J1448.0+3608_daily_bin1123.fits outfile=/scratch/kocevski/790878/cmap_530409601_530668801_4FGL_J1448.0+3608_daily_bin1123.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.52
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.499       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.479       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.654       1.0000         .10000E-03   10000.    
     4 'norm      '    .14967E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .81675       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2370       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.617       1.0000         .10000E-03   10000.    
    10 'norm      '    6.7225       1.0000         .10000E-03   10000.    
    11 'Prefactor '    57.954       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7035       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.4782       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.5556       1.0000         .10000E-03   10000.    
    18 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.4619       1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.630       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.5877       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11885E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.0208       1.0000         .10000E-03   10000.    
    24 'norm      '    3.2956       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    15.775       1.0000         .10000E-03   10000.    
    27 'Prefactor '    16.974       1.0000         .10000E-03   10000.    
    28 'norm      '    .10539E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .90977       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .81984       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=   5634.072     FROM MIGRAD    STATUS=CONVERGED    742 CALLS     3930 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.511        15.439       -.74102E-07    .12200E-05
   2  Prefactor     12.479        11.795       -.11484E-06   -.22131E-05
   3  Prefactor     42.644        27.554        .25075E-07    .19161E-04
   4  norm          .10000E-03    2.1579        .40990E-07** at limit **
   5  Prefactor     .10000E-03    5.3026        .17539E-06** at limit **
   6  Prefactor     .86613        20.974        .28571E-05   -.53912E-04
   7  Prefactor     3.2371        3.4410       -.54957E-07   -.27172E-04
   8  norm          .10000E-03    4.3582        .41487E-07** at limit **
   9  Prefactor     29.602        29.319        .13021E-06    .19925E-04
  10  norm          6.7240        5.2203        .14344E-07    .15050E-05
  11  Prefactor     57.985        44.830       -.29622E-06   -.16886E-04
  12  norm          2.7040        4.8100        .92210E-07   -.45266E-05
  13  Prefactor     .10000E-03    18.639        .15103E-06** at limit **
  14  norm          5.4798        6.9906        .54664E-07   -.26451E-05
  15  Prefactor     .10000E-03    7.5769        .14561E-06** at limit **
  16  Prefactor     .10000E-03    5.8176        .10524E-05** at limit **
  17  norm          1.5558        1.6189       -.85272E-06    .13193E-03
  18  norm          .10000E-03    2.7051        .18721E-06** at limit **
  19  Prefactor     9.4618        10.372       -.99077E-06    .29161E-04
  20  Prefactor     25.724        85.996        .56044E-05   -.13093E-04
  21  Prefactor     1.5883        11.661        .15580E-05   -.32450E-04
  22  Prefactor     .10000E-03    38.772       -.29059E-05** at limit **
  23  Prefactor     3.0333        24.469        .33169E-05    .35917E-04
  24  norm          3.2956        1.3059       -.32443E-07    .10016E-03
  25  Prefactor     .10000E-03    3.2173        .44197E-08** at limit **
  26  Prefactor     15.775        24.247        .60217E-07    .38364E-06
  27  Prefactor     16.980        22.368        .16811E-05    .14067E-04
  28  norm          .10000E-03    15.690       -.24544E-05** at limit **
  29  Normalizat    .90950        .17997        .81741E-06   -.83269E-04
  30  Prefactor     .82004        .17223       -.13231E-05    .65157E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 26.5106
  Prefactor  = 12.4792
  Prefactor  = 42.6443
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.866134
  Prefactor  = 3.23714
  norm       = 0.0001
  Prefactor  = 29.6021
  norm       = 6.72401
  Prefactor  = 57.9851
  norm       = 2.70401
  Prefactor  = 0.0001
  norm       = 5.47977
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55581
  norm       = 0.0001
  Prefactor  = 9.46181
  Prefactor  = 25.724
  Prefactor  = 1.58828
  Prefactor  = 0.0001
  Prefactor  = 3.03333
  norm       = 3.29564
  Prefactor  = 0.0001
  Prefactor  = 15.7747
  Prefactor  = 16.9795
  norm       = 0.0001
  Normalizat = 0.909502
  Prefactor  = 0.820042
 **********
 **   18 **HESSE 
 **********

 FCN=   5634.072     FROM HESSE     STATUS=OK           598 CALLS     4528 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.511        15.447        .77822E-04   -1.4678    
   2  Prefactor     12.479        11.794        .11339E-03   -1.5001    
   3  Prefactor     42.644        27.700        .61381E-04   -1.4401    
   4  norm          .10000E-03    6.0577        .20670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.3274        .16880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .86613        21.391        .25004E-02   -1.5522    
   7  Prefactor     3.2371        3.4360        .13569E-03   -1.5348    
   8  norm          .10000E-03    4.3612        .15304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.602        29.420        .73620E-04   -1.4619    
  10  norm          6.7240        5.2179        .14491E-03   -1.5189    
  11  Prefactor     57.985        44.768        .26349E-03   -1.4184    
  12  norm          2.7040        4.7951        .20978E-03   -1.5379    
  13  Prefactor     .10000E-03    18.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.4798        6.9858        .85835E-03   -1.5240    
  15  Prefactor     .10000E-03    7.6246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.9603        .17758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5558        1.6036        .87355E-04   -1.5459    
  18  norm          .10000E-03    2.7871        .24020E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.4618        10.052        .13028E-03   -1.5093    
  20  Prefactor     25.724        85.560        .79128E-04   -1.4693    
  21  Prefactor     1.5883        11.803        .16842E-02   -1.5456    
  22  Prefactor     .10000E-03    39.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.0333        23.264        .23350E-03   -1.5360    
  24  norm          3.2956        1.3038        .51308E-04   -1.5345    
  25  Prefactor     .10000E-03    3.2225        .13139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     15.775        24.259        .10084E-03   -1.4913    
  27  Prefactor     16.980        22.437        .97214E-04   -1.4884    
  28  norm          .10000E-03    15.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .90950        .20769        .23105E-03   -.96127    
  30  Prefactor     .82004        .19783        .24970E-03   -.98994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21492e-09
Minuit parameter uncertainties:
  1  15.4492
  2  11.7964
  3  27.7086
  4  0.000211676
  5  5.53206e-06
  6  8.61159
  7  3.43625
  8  5.46256e-07
  9  29.4345
  10  5.21827
  11  44.7944
  12  4.79576
  13  2.34349e-05
  14  6.98681
  15  6.35323e-06
  16  3.4059e-05
  17  1.60365
  18  9.90651e-07
  19  10.0534
  20  85.9725
  21  8.66142
  22  5.18978e-05
  23  16.8096
  24  1.30382
  25  8.06494e-07
  26  24.2745
  27  22.4479
  28  9.42429e-06
  29  0.20787
  30  0.197998
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.480e+00  6.987e+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:  8.200e-01  1.980e-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.095e-01  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 7.22e-09 +/- 9.20e-09
Energy Flux (Fixed Index): 1.37e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/790878/likelihoodResults_530409601_530668801_4FGL_J1448.0+3608_daily_bin1123.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) = 5634.01621973
delta logL = 0.0561086174021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5634.01335161
delta logL = 0.0589767393558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9864       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8808       1.0000          .0000       5.0000    
     3 'Normalizat'    .90750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82041       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=   5634.013     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      235 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9863        6.8602        .18009E-03    .26570E-03
   2  alpha         1.8808        .84601        .17419E-01    .28703E-04
   3  Normalizat    .90749        .18425        .23128E-03   -.56234E-04
   4  Prefactor     .82040        .19103        .24962E-03   -.63487E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.98626
  alpha      = 1.8808
  Normalizat = 0.907492
  Prefactor  = 0.820402
 **********
 **   18 **HESSE 
 **********

 FCN=   5634.013     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9863        6.6859        .72037E-05   -1.5261    
   2  alpha         1.8808        .82549        .69676E-03   -.25028    
   3  Normalizat    .90749        .18437        .92512E-05   -.96197    
   4  Prefactor     .82040        .19117        .99849E-05   -.98981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89436e-11
Minuit parameter uncertainties:
  1  6.68692
  2  0.84237
  3  0.1845
  4  0.191326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790878': 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) = 5634.0133516
delta logL = 0.0589767492766

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.986e+00  6.687e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.881e+00  8.424e-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:  8.204e-01  1.913e-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.075e-01  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.19
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.88 +/- 0.84
Photon Flux (Free Index): 9.77e-09 +/- 1.41e-08
Energy Flux (Free Index): 9.76e-06 +/- 1.53e-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/790878/cmap_HighResolution_530409601_530668801_4FGL_J1448.0+3608_daily_bin1123.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.53e-05', comment='SUCCESS', photon_flux='7.22e-09', energy_flux2='9.76e-06', photon_flux_error='9.20e-09', dlogl='5.90e-02', energy_flux='1.37e-05', photon_flux2='9.77e-09', job_status='DONE', time_completed='2021-09-10 10:13:15.794714', photon_index_error2='0.84', photon_index2='1.88', ts='1.07', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='3.43e-08', energy_flux_error2='1.53e-05', EG='0.91', time_epoch_completed='1631293995.79', return_code='0', job_id='790878', GAL2='0.82', EG2='0.91', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='1.41e-08', ts2='1.19', photon_index='1.60' WHERE bin_id='1123' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:13:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 790878: <4FGL_J1448.0+3608_daily_bin1123> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1123 222.017 36.1344 530409601 530668801 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 :                                   783.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            935 sec.

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

