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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin897
RA = 222.017, Dec = 36.1344
tmin = 471830401, tmax = 472089601
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='788782', job_status='RUN', time_executed='2021-09-10 09:51:51.173499', time_epoch_executed='1631292711.17' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='897'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788782

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788782/ft1_4FGL_J1448.0+3608_daily_bin897.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788782/ft2_4FGL_J1448.0+3608_daily_bin897.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788782/ft1_4FGL_J1448.0+3608_daily_bin897.fits outfile=/scratch/kocevski/788782/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin897.fits ra=222.017 dec=36.1344 rad=12.0 tmin=471830401.0 tmax=472089601.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.56
user 3.36
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788782/ft1_filtered_4FGL_J1448.0+3608_daily_bin897.fits evtable="EVENTS" scfile=/scratch/kocevski/788782/ft2_4FGL_J1448.0+3608_daily_bin897.fits sctable="SC_DATA" expcube=/scratch/kocevski/788782/ltcube_471830401_472089601_4FGL_J1448.0+3608_daily_bin897.fits outfile=/scratch/kocevski/788782/expmap_471830401_472089601_4FGL_J1448.0+3608_daily_bin897.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/788782/ltcube_471830401_472089601_4FGL_J1448.0+3608_daily_bin897.fits
.....................!
real 190.21
user 185.32
sys 4.50

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/788782/ft1_filtered_4FGL_J1448.0+3608_daily_bin897.fits scfile=/scratch/kocevski/788782/ft2_4FGL_J1448.0+3608_daily_bin897.fits outfile=/scratch/kocevski/788782/cmap_471830401_472089601_4FGL_J1448.0+3608_daily_bin897.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788782/ft1_filtered_4FGL_J1448.0+3608_daily_bin897.fits scfile=/scratch/kocevski/788782/ft2_4FGL_J1448.0+3608_daily_bin897.fits outfile=/scratch/kocevski/788782/cmap_HighResolution_471830401_472089601_4FGL_J1448.0+3608_daily_bin897.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=222.017 yref=36.1344 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    37.758       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.797       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.982       1.0000         .10000E-03   10000.    
     4 'norm      '    26.024       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.847       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5697       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4793       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3260       1.0000         .10000E-03   10000.    
    10 'norm      '    20.438       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.190       1.0000         .10000E-03   10000.    
    12 'norm      '    9.1890       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.3822       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8804       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6317       1.0000         .10000E-03   10000.    
    18 'norm      '    .65413       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67957E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    153.49       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.9456       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.266       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    6.3942       1.0000         .10000E-03   10000.    
    25 'Prefactor '    14.418       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .15480E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .12783E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    35.867       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0524       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .53725       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=   6551.670     FROM MIGRAD    STATUS=CONVERGED    770 CALLS     4053 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.764        18.691        .89102E-07    .34264E-05
   2  Prefactor     11.799        18.183        .12205E-06    .19908E-05
   3  Prefactor     28.997        25.831       -.21185E-08    .55339E-05
   4  norm          26.027        6.6432        .21822E-07    .19264E-04
   5  Prefactor     .10000E-03    10.073       -.49073E-07** at limit **
   6  Prefactor     26.862        19.690        .16056E-06    .89926E-05
   7  Prefactor     5.5710        4.0937        .33327E-06    .14116E-04
   8  norm          1.4704        33.290        .21025E-06   -.33613E-05
   9  Prefactor     8.3340        26.255        .88525E-07    .19156E-05
  10  norm          20.440        9.0393       -.20085E-07    .44591E-04
  11  Prefactor     18.176        55.650        .20416E-05    .11237E-05
  12  norm          9.1886        4.1984        .75747E-07   -.59766E-05
  13  Prefactor     .10000E-03    21.876        .23937E-07** at limit **
  14  norm          4.3822        4.7548       -.74679E-07    .13949E-04
  15  Prefactor     .10000E-03    5.5446       -.20791E-07** at limit **
  16  Prefactor     3.8758        5.8388        .39214E-06    .31276E-04
  17  norm          1.6369        2.0372       -.10126E-05   -.41034E-03
  18  norm          .65178        2.1737        .26030E-06   -.15805E-04
  19  Prefactor     .10000E-03    5.8991       -.85168E-07** at limit **
  20  Prefactor     153.29        99.374        .10733E-04   -.31725E-04
  21  Prefactor     1.9427        9.7796        .60653E-05    .73764E-06
  22  Prefactor     16.262        16.589        .11657E-06    .15244E-04
  23  Prefactor     .10000E-03    3.5543       -.21008E-07** at limit **
  24  norm          6.3945        2.0547       -.51844E-07    .14836E-03
  25  Prefactor     14.418        13.629        .14108E-06    .27723E-04
  26  Prefactor     .10000E-03    137.01       -.11987E-05** at limit **
  27  Prefactor     .10000E-03    50.945       -.55889E-06** at limit **
  28  norm          35.888        16.820       -.61296E-08    .11726E-04
  29  Normalizat    1.0518        .18894        .10973E-05    .33146E-04
  30  Prefactor     .53773        .17414       -.28608E-05    .47260E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 37.7639
  Prefactor  = 11.7989
  Prefactor  = 28.9973
  norm       = 26.0267
  Prefactor  = 0.0001
  Prefactor  = 26.8622
  Prefactor  = 5.57105
  norm       = 1.47041
  Prefactor  = 8.33405
  norm       = 20.4399
  Prefactor  = 18.1758
  norm       = 9.18859
  Prefactor  = 0.0001
  norm       = 4.38222
  Prefactor  = 0.0001
  Prefactor  = 3.87584
  norm       = 1.63689
  norm       = 0.65178
  Prefactor  = 0.0001
  Prefactor  = 153.294
  Prefactor  = 1.94269
  Prefactor  = 16.2621
  Prefactor  = 0.0001
  norm       = 6.39451
  Prefactor  = 14.4181
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 35.8884
  Normalizat = 1.05177
  Prefactor  = 0.537734
 **********
 **   18 **HESSE 
 **********

 FCN=   6551.670     FROM HESSE     STATUS=OK           606 CALLS     4659 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.764        18.728        .65226E-04   -1.4478    
   2  Prefactor     11.799        18.166        .11663E-03   -1.5021    
   3  Prefactor     28.997        26.034        .74421E-04   -1.4630    
   4  norm          26.027        6.6324        .78527E-04   -1.4687    
   5  Prefactor     .10000E-03    10.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.862        19.557        .77316E-04   -1.4671    
   7  Prefactor     5.5710        4.1124        .66155E-03   -1.5236    
   8  norm          1.4704        32.770        .35295E-03   -1.5465    
   9  Prefactor     8.3340        26.221        .13894E-03   -1.5131    
  10  norm          20.440        9.0483        .88597E-04   -1.4803    
  11  Prefactor     18.176        55.526        .93908E-04   -1.4855    
  12  norm          9.1886        4.2002        .10876E-03   -1.5102    
  13  Prefactor     .10000E-03    21.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.3822        4.7572        .17934E-03   -1.5289    
  15  Prefactor     .10000E-03    5.5538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8758        5.7990        .20484E-03   -1.5314    
  17  norm          1.6369        2.0189        .10949E-03   -1.5452    
  18  norm          .65178        2.1661        .19425E-02   -1.5547    
  19  Prefactor     .10000E-03    18.916        .34805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     153.29        99.495        .16269E-03   -1.3225    
  21  Prefactor     1.9427        9.8123        .14879E-02   -1.5429    
  22  Prefactor     16.262        16.330        .99307E-04   -1.4901    
  23  Prefactor     .10000E-03    3.5596        .14897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.3945        2.0792        .51840E-04   -1.5202    
  25  Prefactor     14.418        13.753        .10548E-03   -1.4948    
  26  Prefactor     .10000E-03    138.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    51.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          35.888        16.729        .66917E-04   -1.4509    
  29  Normalizat    1.0518        .21974        .24103E-03   -.91316    
  30  Prefactor     .53773        .19843        .31810E-03   -1.1028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43604e-08
Minuit parameter uncertainties:
  1  18.7311
  2  18.1748
  3  26.0444
  4  6.63259
  5  9.52123e-06
  6  19.562
  7  4.11257
  8  13.8913
  9  26.2569
  10  9.04887
  11  55.6848
  12  4.20038
  13  1.75184e-06
  14  4.75765
  15  7.332e-07
  16  5.79983
  17  2.01894
  18  2.16639
  19  5.37738e-05
  20  99.6043
  21  8.73412
  22  16.3345
  23  1.50617e-06
  24  2.07926
  25  13.7559
  26  1.16479e-06
  27  0.000157809
  28  16.7311
  29  0.219932
  30  0.198684
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.382e+00  4.758e+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:  5.377e-01  1.987e-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.052e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.16
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 5.77e-09 +/- 6.27e-09
Energy Flux (Fixed Index): 1.10e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/788782/likelihoodResults_471830401_472089601_4FGL_J1448.0+3608_daily_bin897.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) = 6550.84002758
delta logL = 0.830241092965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6550.70668165
delta logL = 0.963587018827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0647       1.0000         .10000E-03   10000.    
     2 'alpha     '    .52963       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53901       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.

 FCN=   6550.707     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0644        2.2906        .71887E-02   -.23558E-03
   2  alpha         .52947        .57979        .50000       -.90607E-05
   3  Normalizat    1.0524        .17169        .40398E-01    .94789E-05
   4  Prefactor     .53900        .16736        .71767E-01    .30639E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.06437
  alpha      = 0.529471
  Normalizat = 1.0524
  Prefactor  = 0.539003
 **********
 **   18 **HESSE 
 **********

 FCN=   6550.707     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0644        3.2376        .11633E-03   -1.5421    
   2  alpha         .52947        .69581        .28191E-01   -.90790    
   3  Normalizat    1.0524        .19559        .24093E-03   -.91295    
   4  Prefactor     .53900        .19024        .31774E-03   -1.1022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77211e-12
Minuit parameter uncertainties:
  1  3.23785
  2  0.722027
  3  0.195722
  4  0.190468
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788782': 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) = 6550.70668162
delta logL = 0.963587052116

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.064e+00  3.238e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  5.295e-01  7.220e-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:  5.390e-01  1.905e-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.052e+00  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.08
Ra Dec: 222.017 36.134
Photon Index (Free Index): 0.53 +/- 0.72
Photon Flux (Free Index): 2.84e-09 +/- 2.96e-09
Energy Flux (Free Index): 5.65e-05 +/- 7.77e-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/788782/cmap_HighResolution_471830401_472089601_4FGL_J1448.0+3608_daily_bin897.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-05', comment='SUCCESS', photon_flux='5.77e-09', energy_flux2='5.65e-05', photon_flux_error='6.27e-09', dlogl='9.64e-01', energy_flux='1.10e-05', photon_flux2='2.84e-09', job_status='DONE', time_completed='2021-09-10 10:06:56.729437', photon_index_error2='0.72', photon_index2='0.53', ts='3.16', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', photon_flux_upper_limit='2.86e-08', energy_flux_error2='7.77e-05', EG='1.05', time_epoch_completed='1631293616.73', return_code='0', job_id='788782', GAL2='0.54', EG2='1.05', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='2.96e-09', ts2='5.08', photon_index='1.60' WHERE bin_id='897' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:06:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 788782: <4FGL_J1448.0+3608_daily_bin897> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin897 222.017 36.1344 471830401 472089601 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 :                                   904.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            921 sec.

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

