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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin725
RA = 222.017, Dec = 36.1344
tmin = 427248001, tmax = 427507201
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='788510', job_status='RUN', time_executed='2021-09-10 09:53:30.575480', time_epoch_executed='1631292810.58' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788510

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788510/ft1_4FGL_J1448.0+3608_daily_bin725.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788510/ft2_4FGL_J1448.0+3608_daily_bin725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788510/ft1_4FGL_J1448.0+3608_daily_bin725.fits outfile=/scratch/kocevski/788510/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin725.fits ra=222.017 dec=36.1344 rad=12.0 tmin=427248001.0 tmax=427507201.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.57
user 5.23
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788510/ft1_filtered_4FGL_J1448.0+3608_daily_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/788510/ft2_4FGL_J1448.0+3608_daily_bin725.fits sctable="SC_DATA" expcube=/scratch/kocevski/788510/ltcube_427248001_427507201_4FGL_J1448.0+3608_daily_bin725.fits outfile=/scratch/kocevski/788510/expmap_427248001_427507201_4FGL_J1448.0+3608_daily_bin725.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/788510/ltcube_427248001_427507201_4FGL_J1448.0+3608_daily_bin725.fits
.....................!
real 192.13
user 186.44
sys 5.18

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/788510/ft1_filtered_4FGL_J1448.0+3608_daily_bin725.fits scfile=/scratch/kocevski/788510/ft2_4FGL_J1448.0+3608_daily_bin725.fits outfile=/scratch/kocevski/788510/cmap_427248001_427507201_4FGL_J1448.0+3608_daily_bin725.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/788510/ft1_filtered_4FGL_J1448.0+3608_daily_bin725.fits scfile=/scratch/kocevski/788510/ft2_4FGL_J1448.0+3608_daily_bin725.fits outfile=/scratch/kocevski/788510/cmap_HighResolution_427248001_427507201_4FGL_J1448.0+3608_daily_bin725.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.112       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.641       1.0000         .10000E-03   10000.    
     4 'norm      '    6.8070       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0907       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.305       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    15.170       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.0201       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .29472E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .57643       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.661       1.0000         .10000E-03   10000.    
    20 'Prefactor '    62.410       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.534       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .34533E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    6.4503       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   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.4818       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .43419       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=   5250.663     FROM MIGRAD    STATUS=CONVERGED    736 CALLS     3872 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.111        17.231        .22904E-02    .55935E-03
   2  Prefactor     .10001E-03    10.701        .90712E-02** at limit **
   3  Prefactor     35.641        32.641        .16782E-02    .57421E-04
   4  norm          6.8076        4.8305        .38446E-02    .69797E-03
   5  Prefactor     3.0870        12.170        .57672E-02    .21722E-03
   6  Prefactor     .10001E-03    20.321        .90712E-02** at limit **
   7  Prefactor     .10000E-03    3.2209        .90712E-02** at limit **
   8  norm          14.306        15.639        .26475E-02   -.18511E-03
   9  Prefactor     .10000E-03    18.737        .90712E-02** at limit **
  10  norm          .10000E-03    3.0851        .90712E-02** at limit **
  11  Prefactor     .10001E-03    29.820        .90712E-02** at limit **
  12  norm          15.170        6.3740        .25708E-02   -.96851E-04
  13  Prefactor     .10000E-03    30.149        .90712E-02** at limit **
  14  norm          4.0193        7.1845        .50282E-02    .16435E-03
  15  Prefactor     .10000E-03    5.6816        .90712E-02** at limit **
  16  Prefactor     .10002E-03    6.6570        .57316E-01** at limit **
  17  norm          .57316        2.2041        .11579E-01    .16495E-02
  18  norm          .10000E-03    2.1221        .90712E-02** at limit **
  19  Prefactor     18.649        13.622        .23179E-02    .39944E-04
  20  Prefactor     62.410        73.760        .12698E-02   -.26274E-03
  21  Prefactor     11.534        9.2110        .29490E-02    .10067E-02
  22  Prefactor     .10001E-03    14.449        .90712E-02** at limit **
  23  Prefactor     .10063E-03    12.390        .10665    ** at limit **
  24  norm          6.4499        1.6650        .39507E-02    .12073E-02
  25  Prefactor     .10000E-03    3.8607        .90712E-02** at limit **
  26  Prefactor     .10001E-03    12.127        .90712E-02** at limit **
  27  Prefactor     .10000E-03    11.260        .90712E-02** at limit **
  28  norm          .10001E-03    14.069        .90712E-02** at limit **
  29  Normalizat    1.4818        .20747        .48573E-01    .63433E-03
  30  Prefactor     .43420        .19309        .80493E-01    .19082E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.1109
  Prefactor  = 0.000100008
  Prefactor  = 35.6414
  norm       = 6.80756
  Prefactor  = 3.08705
  Prefactor  = 0.000100013
  Prefactor  = 0.000100001
  norm       = 14.3064
  Prefactor  = 0.000100004
  norm       = 0.000100001
  Prefactor  = 0.000100006
  norm       = 15.1704
  Prefactor  = 0.0001
  norm       = 4.01929
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  norm       = 0.573156
  norm       = 0.000100001
  Prefactor  = 18.6486
  Prefactor  = 62.4101
  Prefactor  = 11.5343
  Prefactor  = 0.000100011
  Prefactor  = 0.000100627
  norm       = 6.44986
  Prefactor  = 0.000100001
  Prefactor  = 0.000100014
  Prefactor  = 0.000100004
  norm       = 0.000100007
  Normalizat = 1.48176
  Prefactor  = 0.434198
 **********
 **   18 **HESSE 
 **********

 FCN=   5250.663     FROM HESSE     STATUS=OK           576 CALLS     4448 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.111        17.240        .91616E-04   -1.4833    
   2  Prefactor     .10001E-03    10.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.641        32.828        .33564E-03   -1.4513    
   4  norm          6.8076        4.8310        .12888E-03   -1.5186    
   5  Prefactor     3.0870        12.081        .23069E-03   -1.5357    
   6  Prefactor     .10001E-03    20.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3271        .25377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.306        15.605        .10590E-03   -1.4951    
   9  Prefactor     .10000E-03    18.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.1152        .12427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    29.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.170        6.3690        .10283E-03   -1.4929    
  13  Prefactor     .10000E-03    30.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0193        7.1664        .20113E-03   -1.5307    
  15  Prefactor     .10000E-03    5.6879        .16866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    13.020        .32635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .57316        1.9787        .16529E-03   -1.5557    
  18  norm          .10000E-03    2.1271        .10291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.649        11.786        .92716E-04   -1.4844    
  20  Prefactor     62.410        71.816        .50793E-04   -1.4126    
  21  Prefactor     11.534        9.2146        .58981E-03   -1.5029    
  22  Prefactor     .10001E-03    14.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10063E-03    59.292        .42301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.4499        1.6649        .45021E-04   -1.5200    
  25  Prefactor     .10000E-03    3.8691        .13894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10001E-03    12.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10001E-03    14.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.4818        .23610        .21472E-03   -.78292    
  30  Prefactor     .43420        .21709        .35658E-03   -1.1510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9476e-08
Minuit parameter uncertainties:
  1  17.2449
  2  0.000589469
  3  32.8444
  4  4.83129
  5  12.091
  6  0.00102574
  7  0.000114627
  8  15.609
  9  0.000522644
  10  8.57008e-05
  11  0.00084489
  12  6.36928
  13  6.39283e-05
  14  7.16791
  15  1.72175e-05
  16  0.000992173
  17  1.97892
  18  7.5268e-05
  19  11.7877
  20  71.9154
  21  9.21569
  22  0.000789098
  23  0.0122101
  24  1.66494
  25  0.000119473
  26  0.000831533
  27  0.000422482
  28  0.00064037
  29  0.236279
  30  0.2175
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.019e+00  7.168e+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:  4.342e-01  2.175e-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.482e+00  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/788510/likelihoodResults_427248001_427507201_4FGL_J1448.0+3608_daily_bin725.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) = 5250.39312402
delta logL = 0.270014271601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5250.38293911
delta logL = 0.280199181528

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1948       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3531       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4745       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43482       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=   5250.383     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      259 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1950        6.1663        .16405E-03    .32570E-05
   2  alpha         2.3533        1.0432        .16136E-01    .15647E-03
   3  Normalizat    1.4745        .22115        .21511E-03    .55185E-04
   4  Prefactor     .43481        .21005        .35615E-03    .40349E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.19499
  alpha      = 2.35327
  Normalizat = 1.47446
  Prefactor  = 0.43481
 **********
 **   18 **HESSE 
 **********

 FCN=   5250.383     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1950        5.7225        .65621E-05   -1.5350    
   2  alpha         2.3533        .97250        .32272E-02   -.58724E-01
   3  Normalizat    1.4745        .22115        .43023E-04   -.78499    
   4  Prefactor     .43481        .21008        .14246E-04   -1.1507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26424e-11
Minuit parameter uncertainties:
  1  5.72348
  2  0.998963
  3  0.221294
  4  0.210458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788510': 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) = 5250.38293907
delta logL = 0.280199218386

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.195e+00  5.723e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.353e+00  9.990e-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:  4.348e-01  2.105e-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.474e+00  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.35 +/- 1.00
Photon Flux (Free Index): 1.50e-08 +/- 2.31e-08
Energy Flux (Free Index): 6.64e-06 +/- 9.31e-06

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/788510/cmap_HighResolution_427248001_427507201_4FGL_J1448.0+3608_daily_bin725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.88e-05', comment='SUCCESS', energy_flux2='6.64e-06', dlogl='2.80e-01', photon_flux2='1.50e-08', job_status='DONE', time_completed='2021-09-10 10:06:27.977936', photon_index_error2='1.00', photon_index2='2.35', ts='0.48', fit_tolerance='1e-08', GAL='0.43', photon_index_error='0.00', photon_flux_upper_limit='3.62e-08', energy_flux_error2='9.31e-06', EG='1.48', time_epoch_completed='1631293587.98', return_code='0', job_id='788510', GAL2='0.43', EG2='1.47', return_code2='0', photon_flux_error2='2.31e-08', ts2='1.04', photon_index='1.60' WHERE bin_id='725' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:06:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 788510: <4FGL_J1448.0+3608_daily_bin725> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin725 222.017 36.1344 427248001 427507201 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 :                                   775.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

