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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1157
RA = 222.017, Dec = 36.1344
tmin = 539222401, tmax = 539481601
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='790927', job_status='RUN', time_executed='2021-09-10 10:00:56.073945', time_epoch_executed='1631293256.07' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1157'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790927

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790927/ft1_4FGL_J1448.0+3608_daily_bin1157.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790927/ft2_4FGL_J1448.0+3608_daily_bin1157.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790927/ft1_4FGL_J1448.0+3608_daily_bin1157.fits outfile=/scratch/kocevski/790927/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1157.fits ra=222.017 dec=36.1344 rad=12.0 tmin=539222401.0 tmax=539481601.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 5.68
user 5.35
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790927/ft2_4FGL_J1448.0+3608_daily_bin1157.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/790927/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1157.fits evtable="EVENTS" outfile="/scratch/kocevski/790927/ft1_filtered_4FGL_J1448.0+3608_daily_bin1157.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.52
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790927/ft1_filtered_4FGL_J1448.0+3608_daily_bin1157.fits evtable="EVENTS" scfile=/scratch/kocevski/790927/ft2_4FGL_J1448.0+3608_daily_bin1157.fits sctable="SC_DATA" expcube=/scratch/kocevski/790927/ltcube_539222401_539481601_4FGL_J1448.0+3608_daily_bin1157.fits outfile=/scratch/kocevski/790927/expmap_539222401_539481601_4FGL_J1448.0+3608_daily_bin1157.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/790927/ltcube_539222401_539481601_4FGL_J1448.0+3608_daily_bin1157.fits
.....................!
real 194.79
user 189.67
sys 4.78

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790927/ft1_filtered_4FGL_J1448.0+3608_daily_bin1157.fits scfile=/scratch/kocevski/790927/ft2_4FGL_J1448.0+3608_daily_bin1157.fits outfile=/scratch/kocevski/790927/cmap_HighResolution_539222401_539481601_4FGL_J1448.0+3608_daily_bin1157.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.643       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.496       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11893E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.430       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0678       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    90.025       1.0000         .10000E-03   10000.    
    10 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7752       1.0000         .10000E-03   10000.    
    12 'norm      '    15.461       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1876       1.0000         .10000E-03   10000.    
    14 'norm      '    .10251E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    60.220       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1815       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2825       1.0000         .10000E-03   10000.    
    18 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7597       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10755E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2967       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12681E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    8.6593       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10992E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10306E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .96778       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .93130       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=   2257.035     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     3895 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    20.031        .79533E-05** at limit **
   2  Prefactor     31.615        30.746        .23875E-04    .10709E-04
   3  Prefactor     23.467        28.655        .28973E-04    .42870E-05
   4  norm          .10000E-03    5.5912       -.23473E-06** at limit **
   5  Prefactor     .10000E-03    15.613       -.11040E-04** at limit **
   6  Prefactor     14.421        31.940        .13201E-05    .39464E-04
   7  Prefactor     7.0705        7.6284       -.43389E-07   -.18850E-05
   8  norm          .10000E-03    13.729        .92374E-05** at limit **
   9  Prefactor     90.034        87.277        .13603E-05    .20400E-04
  10  norm          .10000E-03    6.3227       -.10729E-05** at limit **
  11  Prefactor     9.7729        371.24       -.14387E-04    .79668E-06
  12  norm          15.452        10.865        .11872E-06    .18201E-04
  13  Prefactor     6.0052        89.014       -.82526E-04   -.55548E-05
  14  norm          .10000E-03    7.1309        .52673E-06** at limit **
  15  Prefactor     60.200        39.953        .12416E-04    .61385E-04
  16  Prefactor     4.1731        11.927       -.38745E-05   -.11097E-03
  17  norm          1.2824        1.6393       -.18960E-06   -.14122E-03
  18  norm          .10000E-03    6.1332        .99417E-06** at limit **
  19  Prefactor     6.7643        13.128       -.17454E-05    .11349E-03
  20  Prefactor     .10000E-03    30.815        .67831E-05** at limit **
  21  Prefactor     3.3037        9.9616       -.57411E-06   -.12251E-03
  22  Prefactor     .10000E-03    14.680       -.64766E-05** at limit **
  23  Prefactor     .10000E-03    25.055       -.93316E-05** at limit **
  24  norm          8.6603        3.1290       -.15637E-07    .47276E-04
  25  Prefactor     .10000E-03    8.8586       -.46615E-06** at limit **
  26  Prefactor     .10000E-03    29.457       -.55481E-05** at limit **
  27  Prefactor     .10000E-03    18.087        .14912E-05** at limit **
  28  norm          .10000E-03    18.994        .60667E-05** at limit **
  29  Normalizat    .96783        .34425       -.40277E-05    .13147E-03
  30  Prefactor     .93139        .31991        .25586E-05   -.36482E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 31.6146
  Prefactor  = 23.4673
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.4207
  Prefactor  = 7.07046
  norm       = 0.0001
  Prefactor  = 90.0339
  norm       = 0.0001
  Prefactor  = 9.77287
  norm       = 15.4518
  Prefactor  = 6.00517
  norm       = 0.0001
  Prefactor  = 60.2003
  Prefactor  = 4.1731
  norm       = 1.28239
  norm       = 0.0001
  Prefactor  = 6.76426
  Prefactor  = 0.0001
  Prefactor  = 3.30372
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 8.66025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.967826
  Prefactor  = 0.931392
 **********
 **   18 **HESSE 
 **********

 FCN=   2257.035     FROM HESSE     STATUS=OK           580 CALLS     4475 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    20.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.615        30.733        .71230E-04   -1.4583    
   3  Prefactor     23.467        28.641        .41319E-03   -1.4739    
   4  norm          .10000E-03    5.6407        .10969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.421        32.062        .10544E-03   -1.4948    
   7  Prefactor     7.0705        7.6550        .12984E-03   -1.5176    
   8  norm          .10000E-03    13.726        .17192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     90.034        87.748        .42350E-04   -1.3807    
  10  norm          .10000E-03    6.3287        .11663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7729        366.89        .12817E-03   -1.5083    
  12  norm          15.452        10.866        .10186E-03   -1.4922    
  13  Prefactor     6.0052        89.722        .16139E-03   -1.5218    
  14  norm          .10000E-03    7.1309        .12391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     60.200        40.044        .51703E-04   -1.4155    
  16  Prefactor     4.1731        11.876        .19709E-03   -1.5299    
  17  norm          1.2824        1.6175        .65763E-04   -1.5481    
  18  norm          .10000E-03    6.1840        .11442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.7643        13.054        .15433E-03   -1.5188    
  20  Prefactor     .10000E-03    30.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.3037        9.9717        .22298E-03   -1.5344    
  22  Prefactor     .10000E-03    14.700        .17776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    25.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          8.6603        3.1324        .47839E-04   -1.5119    
  25  Prefactor     .10000E-03    8.8691        .13803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    29.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    18.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    19.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .96783        .41080        .26590E-03   -.94116    
  30  Prefactor     .93139        .37859        .27521E-03   -.95053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92059e-10
Minuit parameter uncertainties:
  1  0.000103226
  2  30.748
  3  28.6576
  4  3.87427e-05
  5  0.000150637
  6  32.1008
  7  7.65603
  8  3.38504e-05
  9  87.8744
  10  1.46722e-05
  11  120.563
  12  10.8674
  13  46.5073
  14  1.55239e-05
  15  40.0617
  16  11.8826
  17  1.61757
  18  5.63794e-05
  19  13.0597
  20  7.75375e-06
  21  9.97673
  22  3.62745e-05
  23  0.000230813
  24  3.13244
  25  5.73035e-06
  26  5.32677e-06
  27  2.96144e-06
  28  6.78643e-06
  29  0.412147
  30  0.37967
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.552e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.314e-01  3.797e-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.678e-01  4.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 5.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790927/likelihoodResults_539222401_539481601_4FGL_J1448.0+3608_daily_bin1157.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) = 2257.03516849
delta logL = -0.000599219093601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2257.03456929
delta logL = -1.18911884783e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5972       1.0000          .0000       5.0000    
     3 'Normalizat'    .96781       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93138       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   2257.035     FROM MIGRAD    STATUS=FAILED        76 CALLS      217 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10013E-03    1515.1        .12395E-02** at limit **
   2  alpha         1.5556        4.1992        .18078        .96042E-06
   3  Normalizat    .96782        .21343        .26590E-03    .17830E-03
   4  Prefactor     .93140        .21827        .27521E-03    .16595E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2257.035     FROM SIMPLEX   STATUS=UNCHANGED    168 CALLS      385 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10013E-03    1515.1        .42420E-03** at limit **
   2  alpha         1.5556        4.1992        .97674E-05    .96042E-06
   3  Normalizat    .96782        .21343        .29817E-05    .17830E-03
   4  Prefactor     .93140        .21827        .85985E-06    .16595E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2257.035     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      421 TOTAL
                     EDM=   .14E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.1687        .24790E-03** at limit **
   2  alpha         1.5087        3.1200        .72314E-02    .47164E-09
   3  Normalizat    .96782        .35372        .53180E-04    .27791E-06
   4  Prefactor     .93140        .36171        .55042E-04   -.41309E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.50866
  Normalizat = 0.96782
  Prefactor  = 0.931397
 **********
 **   18 **HESSE 
 **********

 FCN=   2257.035     FROM HESSE     STATUS=OK            23 CALLS      444 TOTAL
                     EDM=   .23E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.1682        .49580E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5087        3.1459        .14463E-02   -.40774    
   3  Normalizat    .96782        .35378        .10636E-04   -.94116    
   4  Prefactor     .93140        .36177        .11008E-04   -.95052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2986e-14
Minuit parameter uncertainties:
  1  6.95378e-07
  2  333.371
  3  0.354641
  4  0.362714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790927': 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) = 2257.03456924
delta logL = 3.65821506421e-08

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  6.954e-07  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.509e+00  3.334e+02  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.314e-01  3.627e-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.678e-01  3.546e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.017 36.134

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/790927/cmap_HighResolution_539222401_539481601_4FGL_J1448.0+3608_daily_bin1157.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-04', job_status='DONE', photon_flux_upper_limit='5.45e-08', time_completed='2021-09-10 10:09:41.677803', job_id='790927', GAL2='0.93', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631293781.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.66e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1157' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:09:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 790927: <4FGL_J1448.0+3608_daily_bin1157> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1157 222.017 36.1344 539222401 539481601 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 :                                   523.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            717 sec.

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

