/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 137 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_bin1080
RA = 222.017, Dec = 36.1344
tmin = 519264001, tmax = 519523201
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='790814', job_status='RUN', time_executed='2021-09-10 10:00:06.041803', time_epoch_executed='1631293206.04' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1080'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790814/ft1_4FGL_J1448.0+3608_daily_bin1080.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790814/ft2_4FGL_J1448.0+3608_daily_bin1080.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790814/ft1_4FGL_J1448.0+3608_daily_bin1080.fits outfile=/scratch/kocevski/790814/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1080.fits ra=222.017 dec=36.1344 rad=12.0 tmin=519264001.0 tmax=519523201.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.51
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790814/ft1_filtered_4FGL_J1448.0+3608_daily_bin1080.fits" evtable="EVENTS" scfile=/scratch/kocevski/790814/ft2_4FGL_J1448.0+3608_daily_bin1080.fits sctable="SC_DATA" outfile=/scratch/kocevski/790814/ltcube_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.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/790814/ft2_4FGL_J1448.0+3608_daily_bin1080.fits
.....................!
real 11.85
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790814/ft1_filtered_4FGL_J1448.0+3608_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/790814/ft2_4FGL_J1448.0+3608_daily_bin1080.fits sctable="SC_DATA" expcube=/scratch/kocevski/790814/ltcube_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.fits outfile=/scratch/kocevski/790814/expmap_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.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/790814/ltcube_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.fits
.....................!
real 191.50
user 186.05
sys 5.09

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/790814/ft1_filtered_4FGL_J1448.0+3608_daily_bin1080.fits scfile=/scratch/kocevski/790814/ft2_4FGL_J1448.0+3608_daily_bin1080.fits outfile=/scratch/kocevski/790814/cmap_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=222.017 yref=36.1344 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790814/ft1_filtered_4FGL_J1448.0+3608_daily_bin1080.fits scfile=/scratch/kocevski/790814/ft2_4FGL_J1448.0+3608_daily_bin1080.fits outfile=/scratch/kocevski/790814/cmap_HighResolution_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.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/790814/ft1_filtered_4FGL_J1448.0+3608_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/790814/ft2_4FGL_J1448.0+3608_daily_bin1080.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790814/Model_4FGL_J1448.0+3608_daily_bin1080.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/790814/ft1_filtered_4FGL_J1448.0+3608_daily_bin1080.fits.....................!
real 46.46
user 45.08
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4551       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.1430       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.056       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13516       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.0759       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.052       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.914       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .37580E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.6414       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.331       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .39820       1.0000         .10000E-03   10000.    
    24 'norm      '    1.0507       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    36.635       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1154       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .76722       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=   5884.321     FROM MIGRAD    STATUS=CONVERGED    767 CALLS     3930 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.7292        .11008E-07** at limit **
   2  Prefactor     .10000E-03    14.521        .14438E-05** at limit **
   3  Prefactor     3.4481        27.596        .49440E-05   -.57763E-04
   4  norm          .10000E-03    1.3670       -.21351E-08** at limit **
   5  Prefactor     8.1407        12.543       -.83996E-06   -.53475E-04
   6  Prefactor     10.053        13.849       -.23978E-06   -.26690E-04
   7  Prefactor     .13123        1.9573       -.58451E-06    .27827E-03
   8  norm          .10000E-03    3.9523        .11781E-05** at limit **
   9  Prefactor     .10000E-03    10.361        .43559E-05** at limit **
  10  norm          6.0751        5.3239       -.20186E-06   -.17140E-03
  11  Prefactor     .10000E-03    11.211       -.51857E-05** at limit **
  12  norm          10.051        5.0287       -.55350E-07   -.11234E-04
  13  Prefactor     .10000E-03    20.445        .12027E-05** at limit **
  14  norm          .10000E-03    5.1579       -.21715E-06** at limit **
  15  Prefactor     20.913        13.619        .48998E-06    .38158E-04
  16  Prefactor     .10000E-03    2.7778       -.12388E-07** at limit **
  17  norm          .37967E-01    .63497       -.74767E-07    .11819E-04
  18  norm          .10000E-03    1.7806        .79393E-07** at limit **
  19  Prefactor     .10000E-03    6.1361        .96246E-06** at limit **
  20  Prefactor     .10000E-03    46.127        .72718E-05** at limit **
  21  Prefactor     8.6383        9.5258       -.45664E-06   -.78327E-04
  22  Prefactor     12.440        19.133       -.58363E-05    .46748E-04
  23  Prefactor     .28291        11.824       -.62632E-06    .61498E-03
  24  norm          1.0503        .92142       -.14064E-07   -.29781E-03
  25  Prefactor     .10000E-03    3.8853       -.11260E-05** at limit **
  26  Prefactor     36.623        28.483       -.30866E-05    .17006E-04
  27  Prefactor     .10000E-03    7.0607       -.77182E-06** at limit **
  28  norm          .10000E-03    4.6853        .39985E-07** at limit **
  29  Normalizat    1.1155        .16999        .85566E-06    .17674E-03
  30  Prefactor     .76730        .16709        .18986E-06    .13819E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.4481
  norm       = 0.0001
  Prefactor  = 8.14071
  Prefactor  = 10.0534
  Prefactor  = 0.131233
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.07513
  Prefactor  = 0.0001
  norm       = 10.0509
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.9129
  Prefactor  = 0.0001
  norm       = 0.0379666
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.63834
  Prefactor  = 12.4398
  Prefactor  = 0.282914
  norm       = 1.05033
  Prefactor  = 0.0001
  Prefactor  = 36.6231
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.11547
  Prefactor  = 0.767297
 **********
 **   18 **HESSE 
 **********

 FCN=   5884.321     FROM HESSE     STATUS=OK           592 CALLS     4522 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7323        .14467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4481        27.498        .21757E-03   -1.5337    
   4  norm          .10000E-03    1.3730        .87552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.1407        12.521        .14050E-03   -1.5137    
   6  Prefactor     10.053        13.825        .12636E-03   -1.5074    
   7  Prefactor     .13123        28.508        .19858E-02   -1.5636    
   8  norm          .10000E-03    3.9519        .14891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0751        5.3272        .15945E-03   -1.5215    
  11  Prefactor     .10000E-03    11.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.051        5.0315        .11790E-03   -1.5074    
  13  Prefactor     .10000E-03    20.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.1942        .17011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.913        13.630        .87583E-04   -1.4793    
  16  Prefactor     .10000E-03    2.7859        .12477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .37967E-01    12.805        .11442E-02   -1.5669    
  18  norm          .10000E-03    1.8124        .99765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.2185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    46.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.6383        9.5410        .13636E-03   -1.5120    
  22  Prefactor     12.440        21.057        .11407E-03   -1.5002    
  23  Prefactor     .28291        117.16        .42291E-02   -1.5602    
  24  norm          1.0503        .89221        .65677E-03   -1.5503    
  25  Prefactor     .10000E-03    3.9411        .14705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     36.623        28.386        .66214E-04   -1.4497    
  27  Prefactor     .10000E-03    7.0907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    4.7102        .16216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1155        .19997        .20989E-03   -.89257    
  30  Prefactor     .76730        .19278        .26110E-03   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13885e-08
Minuit parameter uncertainties:
  1  1.32612e-06
  2  6.1549e-06
  3  19.4868
  4  4.50292e-07
  5  12.525
  6  13.8293
  7  3.86881
  8  1.26941e-06
  9  1.12519e-05
  10  5.32764
  11  4.96709e-07
  12  5.03167
  13  1.75469e-05
  14  4.78121e-06
  15  13.6317
  16  1.01195e-06
  17  1.39298
  18  1.08436e-05
  19  9.43022e-05
  20  4.56383e-06
  21  9.54271
  22  21.0692
  23  11.5353
  24  0.892216
  25  1.57348e-05
  26  28.3967
  27  1.31872e-06
  28  1.26558e-06
  29  0.200102
  30  0.192948
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  4.781e-06  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:  7.673e-01  1.929e-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.115e+00  2.001e-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: 2.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790814/likelihoodResults_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.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) = 5884.32186555
delta logL = -0.000914435983759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5884.32095115
delta logL = -4.49408616987e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10215E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6239       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76736       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=   5884.321     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      243 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .91734        .53374E-01** at limit **
   2  alpha         2.1844        3.2137        .50000        .57457E-07
   3  Normalizat    1.1155        .19939E-02    .20989E-03   -.14896E-03
   4  Prefactor     .76730        .21058E-02    .26110E-03   -.12544E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.18444
  Normalizat = 1.11547
  Prefactor  = 0.767297
 **********
 **   18 **HESSE 
 **********

 FCN=   5884.321     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      274 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    135.54        .28236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1844        3.8248        .50000       -.12656    
   3  Normalizat    1.1155        .17402E-01    .41979E-04   -.89257    
   4  Prefactor     .76730        .18379E-01    .10444E-04   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.26232e-09
Minuit parameter uncertainties:
  1  0.000820319
  2  680.504
  3  0.0174025
  4  0.0183787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790814': 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): 102
logL (Free Index) = 5884.32094841
delta logL = 2.70183409157e-06

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  8.203e-04  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.184e+00  6.805e+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:  7.673e-01  1.838e-02  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.115e+00  1.740e-02  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/790814/cmap_HighResolution_519264001_519523201_4FGL_J1448.0+3608_daily_bin1080.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-05', job_status='DONE', photon_flux_upper_limit='2.55e-08', time_completed='2021-09-10 10:13:58.347030', job_id='790814', GAL2='0.77', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631294038.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='2.70e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1080' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:13:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 790814: <4FGL_J1448.0+3608_daily_bin1080> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1080 222.017 36.1344 519264001 519523201 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 :                                   831.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

