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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1106
RA = 222.017, Dec = 36.1344
tmin = 526003201, tmax = 526262401
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='790852', job_status='RUN', time_executed='2021-09-10 10:00:41.477034', time_epoch_executed='1631293241.48' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790852

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790852/ft1_4FGL_J1448.0+3608_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790852/ft2_4FGL_J1448.0+3608_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790852/ft1_4FGL_J1448.0+3608_daily_bin1106.fits outfile=/scratch/kocevski/790852/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1106.fits ra=222.017 dec=36.1344 rad=12.0 tmin=526003201.0 tmax=526262401.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.69
user 3.47
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790852/ft2_4FGL_J1448.0+3608_daily_bin1106.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/790852/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/790852/ft1_filtered_4FGL_J1448.0+3608_daily_bin1106.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790852/ft1_filtered_4FGL_J1448.0+3608_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/790852/ft2_4FGL_J1448.0+3608_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/790852/ltcube_526003201_526262401_4FGL_J1448.0+3608_daily_bin1106.fits outfile=/scratch/kocevski/790852/expmap_526003201_526262401_4FGL_J1448.0+3608_daily_bin1106.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/790852/ltcube_526003201_526262401_4FGL_J1448.0+3608_daily_bin1106.fits
.....................!
real 190.00
user 184.86
sys 4.48

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/790852/ft1_filtered_4FGL_J1448.0+3608_daily_bin1106.fits scfile=/scratch/kocevski/790852/ft2_4FGL_J1448.0+3608_daily_bin1106.fits outfile=/scratch/kocevski/790852/cmap_526003201_526262401_4FGL_J1448.0+3608_daily_bin1106.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790852/ft1_filtered_4FGL_J1448.0+3608_daily_bin1106.fits scfile=/scratch/kocevski/790852/ft2_4FGL_J1448.0+3608_daily_bin1106.fits outfile=/scratch/kocevski/790852/cmap_HighResolution_526003201_526262401_4FGL_J1448.0+3608_daily_bin1106.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6443       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.366       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2615       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.063       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .40620       1.0000         .10000E-03   10000.    
     8 'norm      '    5.6619       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    79.959       1.0000         .10000E-03   10000.    
    12 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.241       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5344       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.144       1.0000         .10000E-03   10000.    
    17 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    55.307       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    4.5538       1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.1084       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    24.230       1.0000         .10000E-03   10000.    
    28 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .90620       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .91808       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=   5964.171     FROM MIGRAD    STATUS=CONVERGED    750 CALLS     3379 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6402        11.840       -.83429E-06   -.50511E-04
   2  Prefactor     .10000E-03    13.104        .38472E-05** at limit **
   3  Prefactor     65.348        30.086       -.11250E-04    .33394E-04
   4  norm          3.2614        3.8049       -.41127E-06   -.71995E-04
   5  Prefactor     10.057        11.737       -.15425E-06    .51066E-04
   6  Prefactor     .10000E-03    9.1602       -.14375E-05** at limit **
   7  Prefactor     .38479        2.1236       -.14754E-05    .21658E-03
   8  norm          5.6619        12.463       -.46869E-06   -.32925E-04
   9  Prefactor     .10000E-03    7.5801        .74352E-06** at limit **
  10  norm          .10000E-03    5.0534       -.13893E-05** at limit **
  11  Prefactor     79.949        52.350       -.89314E-05    .47286E-04
  12  norm          .10000E-03    4.3772       -.21899E-06** at limit **
  13  Prefactor     .10000E-03    26.145       -.10337E-05** at limit **
  14  norm          10.241        7.3234        .92782E-07    .10730E-03
  15  Prefactor     6.5328        15.301       -.17645E-05   -.11004E-04
  16  Prefactor     17.136        11.099       -.21337E-06    .83223E-04
  17  norm          .10000E-03    1.0089       -.97626E-08** at limit **
  18  norm          .10000E-03    .99487        .27874E-07** at limit **
  19  Prefactor     .10000E-03    3.3181        .17187E-06** at limit **
  20  Prefactor     .10000E-03    46.760        .30427E-05** at limit **
  21  Prefactor     .10000E-03    4.8107        .14304E-05** at limit **
  22  Prefactor     55.293        26.129       -.71291E-05    .28064E-04
  23  Prefactor     .10000E-03    4.4778       -.57713E-07** at limit **
  24  norm          4.5533        1.7055       -.15039E-06    .20486E-04
  25  Prefactor     9.1063        9.7368       -.55055E-06   -.42903E-04
  26  Prefactor     .10000E-03    14.719       -.31768E-05** at limit **
  27  Prefactor     24.224        17.224       -.85024E-06    .11008E-04
  28  norm          .10000E-03    5.8243        .37260E-06** at limit **
  29  Normalizat    .90664        .19051        .66020E-05    .11981E-03
  30  Prefactor     .91777        .17969       -.86164E-06    .41556E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.64019
  Prefactor  = 0.0001
  Prefactor  = 65.3483
  norm       = 3.26138
  Prefactor  = 10.0567
  Prefactor  = 0.0001
  Prefactor  = 0.384792
  norm       = 5.66195
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 79.9492
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.2414
  Prefactor  = 6.53281
  Prefactor  = 17.1364
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.2932
  Prefactor  = 0.0001
  norm       = 4.55328
  Prefactor  = 9.10628
  Prefactor  = 0.0001
  Prefactor  = 24.224
  norm       = 0.0001
  Normalizat = 0.906636
  Prefactor  = 0.917768
 **********
 **   18 **HESSE 
 **********

 FCN=   5964.171     FROM HESSE     STATUS=OK           586 CALLS     3965 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6402        11.850        .16908E-03   -1.5233    
   2  Prefactor     .10000E-03    13.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     65.348        30.170        .49639E-04   -1.4089    
   4  norm          3.2614        3.7875        .15422E-03   -1.5347    
   5  Prefactor     10.057        11.734        .12632E-03   -1.5074    
   6  Prefactor     .10000E-03    9.1757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .38479        8.6805        .20699E-02   -1.5584    
   8  norm          5.6619        12.439        .16882E-03   -1.5232    
   9  Prefactor     .10000E-03    7.5884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.1032        .16925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     79.949        52.288        .44914E-04   -1.3917    
  12  norm          .10000E-03    4.4921        .31541E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.241        7.3235        .12521E-03   -1.5068    
  15  Prefactor     6.5328        15.267        .15700E-03   -1.5197    
  16  Prefactor     17.136        10.583        .96729E-04   -1.4880    
  17  norm          .10000E-03    1.3521        .14169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .99837        .75211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3345        .13733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    46.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.8271        .16534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     55.293        26.177        .53938E-04   -1.4219    
  23  Prefactor     .10000E-03    4.4856        .15951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.5533        1.7132        .53744E-04   -1.5281    
  25  Prefactor     9.1063        9.7793        .13280E-03   -1.5104    
  26  Prefactor     .10000E-03    14.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     24.224        17.222        .81377E-04   -1.4723    
  28  norm          .10000E-03    5.8286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .90664        .22299        .24893E-03   -.96227    
  30  Prefactor     .91777        .21114        .25412E-03   -.95523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01208e-09
Minuit parameter uncertainties:
  1  11.8553
  2  1.87947e-05
  3  30.1772
  4  3.7878
  5  11.7362
  6  1.28979e-05
  7  3.65537
  8  12.4448
  9  2.28799e-05
  10  3.35207e-05
  11  52.3182
  12  3.54014e-05
  13  9.66651e-05
  14  7.32409
  15  15.2762
  16  10.584
  17  1.12508e-06
  18  4.15719e-06
  19  3.05766e-05
  20  2.9936e-05
  21  1.88811e-05
  22  26.182
  23  4.34712e-05
  24  1.71325
  25  9.78106
  26  7.98529e-06
  27  17.2252
  28  2.39471e-06
  29  0.223218
  30  0.211331
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.024e+01  7.324e+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:  9.178e-01  2.113e-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.066e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.99
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.35e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 2.57e-05 +/- 1.84e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5963.34824561
delta logL = 0.822334643597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5963.23791987
delta logL = 0.932660386173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8931       1.0000         .10000E-03   10000.    
     2 'alpha     '    .83445       1.0000          .0000       5.0000    
     3 'Normalizat'    .91057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91834       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=   5963.238     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8945        5.1574        .38203E-02   -.41421E-02
   2  alpha         .83447        .42514        .37240       -.23815E-04
   3  Normalizat    .91058        .17256        .45037E-01    .12202E-04
   4  Prefactor     .91834        .17811        .45238E-01    .79068E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.89451
  alpha      = 0.834471
  Normalizat = 0.910576
  Prefactor  = 0.918338
 **********
 **   18 **HESSE 
 **********

 FCN=   5963.238     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .92E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8945        6.5841        .71151E-03   -1.5183    
   2  alpha         .83447        .53304        .16658E-02   -.72912    
   3  Normalizat    .91058        .20152        .24847E-03   -.96090    
   4  Prefactor     .91834        .20804        .25410E-03   -.95503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.19335e-13
Minuit parameter uncertainties:
  1  6.58481
  2  0.540581
  3  0.201691
  4  0.208215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790852': 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) = 5963.23791984
delta logL = 0.932660420642

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  6.895e+00  6.585e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  8.345e-01  5.406e-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:  9.183e-01  2.082e-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.106e-01  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.86
Ra Dec: 222.017 36.134
Photon Index (Free Index): 0.83 +/- 0.54
Photon Flux (Free Index): 6.92e-09 +/- 5.36e-09
Energy Flux (Free Index): 8.12e-05 +/- 8.64e-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/790852/cmap_HighResolution_526003201_526262401_4FGL_J1448.0+3608_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-08', energy_flux2='8.12e-05', photon_flux_error='9.65e-09', dlogl='9.33e-01', energy_flux='2.57e-05', photon_flux2='6.92e-09', job_status='DONE', time_completed='2021-09-10 10:12:03.705359', photon_index_error2='0.54', photon_index2='0.83', ts='13.99', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='8.64e-05', EG='0.91', time_epoch_completed='1631293923.71', return_code='0', job_id='790852', GAL2='0.92', EG2='0.91', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='5.36e-09', ts2='15.86', photon_index='1.60' WHERE bin_id='1106' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:12:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 790852: <4FGL_J1448.0+3608_daily_bin1106> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1106 222.017 36.1344 526003201 526262401 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 :                                   681.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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

