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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin488
RA = 222.017, Dec = 36.1344
tmin = 365817601, tmax = 366076801
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='787078', job_status='RUN', time_executed='2021-09-10 09:46:35.728864', time_epoch_executed='1631292395.73' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='488'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787078/ft1_4FGL_J1448.0+3608_daily_bin488.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787078/ft2_4FGL_J1448.0+3608_daily_bin488.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787078/ft1_4FGL_J1448.0+3608_daily_bin488.fits outfile=/scratch/kocevski/787078/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin488.fits ra=222.017 dec=36.1344 rad=12.0 tmin=365817601.0 tmax=366076801.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.57
user 3.35
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/787078/ft2_4FGL_J1448.0+3608_daily_bin488.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/787078/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin488.fits evtable="EVENTS" outfile="/scratch/kocevski/787078/ft1_filtered_4FGL_J1448.0+3608_daily_bin488.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/787078/ft1_filtered_4FGL_J1448.0+3608_daily_bin488.fits" evtable="EVENTS" scfile=/scratch/kocevski/787078/ft2_4FGL_J1448.0+3608_daily_bin488.fits sctable="SC_DATA" outfile=/scratch/kocevski/787078/ltcube_365817601_366076801_4FGL_J1448.0+3608_daily_bin488.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/787078/ft2_4FGL_J1448.0+3608_daily_bin488.fits
.....................!
real 12.08
user 11.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787078/ft1_filtered_4FGL_J1448.0+3608_daily_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/787078/ft2_4FGL_J1448.0+3608_daily_bin488.fits sctable="SC_DATA" expcube=/scratch/kocevski/787078/ltcube_365817601_366076801_4FGL_J1448.0+3608_daily_bin488.fits outfile=/scratch/kocevski/787078/expmap_365817601_366076801_4FGL_J1448.0+3608_daily_bin488.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/787078/ltcube_365817601_366076801_4FGL_J1448.0+3608_daily_bin488.fits
.....................!
real 192.42
user 186.64
sys 5.37

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/787078/ft1_filtered_4FGL_J1448.0+3608_daily_bin488.fits scfile=/scratch/kocevski/787078/ft2_4FGL_J1448.0+3608_daily_bin488.fits outfile=/scratch/kocevski/787078/cmap_365817601_366076801_4FGL_J1448.0+3608_daily_bin488.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787078/ft1_filtered_4FGL_J1448.0+3608_daily_bin488.fits scfile=/scratch/kocevski/787078/ft2_4FGL_J1448.0+3608_daily_bin488.fits outfile=/scratch/kocevski/787078/cmap_HighResolution_365817601_366076801_4FGL_J1448.0+3608_daily_bin488.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/787078/ft1_filtered_4FGL_J1448.0+3608_daily_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/787078/ft2_4FGL_J1448.0+3608_daily_bin488.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/787078/Model_4FGL_J1448.0+3608_daily_bin488.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/787078/ft1_filtered_4FGL_J1448.0+3608_daily_bin488.fits.....................!
real 52.34
user 50.93
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.918       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.616       1.0000         .10000E-03   10000.    
     4 'norm      '    26.637       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10394E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2541       1.0000         .10000E-03   10000.    
    10 'norm      '    7.4171       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.419       1.0000         .10000E-03   10000.    
    12 'norm      '    18.491       1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.114       1.0000         .10000E-03   10000.    
    14 'norm      '    14.461       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.8196       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .58577E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .23151E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.0796       1.0000         .10000E-03   10000.    
    24 'norm      '    4.4847       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.554       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    6.8650       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.3007       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .89393       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=   6830.926     FROM MIGRAD    STATUS=CONVERGED    769 CALLS     3945 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    17.318        .48579E-07** at limit **
   2  Prefactor     16.917        20.725       -.11979E-06   -.21185E-04
   3  Prefactor     11.593        28.623       -.15528E-05   -.18006E-03
   4  norm          26.636        6.8559       -.99651E-07   -.43946E-04
   5  Prefactor     .10000E-03    7.4093       -.80083E-07** at limit **
   6  Prefactor     .10000E-03    5.7373       -.13594E-07** at limit **
   7  Prefactor     .10000E-03    2.1253        .10626E-07** at limit **
   8  norm          .10000E-03    4.9661        .43883E-07** at limit **
   9  Prefactor     8.2373        26.271       -.96665E-06   -.80357E-04
  10  norm          7.4153        6.9144        .26924E-05    .27024E-03
  11  Prefactor     25.414        45.912       -.21216E-05   -.65956E-04
  12  norm          18.491        6.9326        .53168E-07   -.33622E-05
  13  Prefactor     45.091        45.571       -.21008E-05   -.38103E-03
  14  norm          14.460        9.5747       -.26196E-06   -.64152E-04
  15  Prefactor     .10000E-03    6.0533       -.33467E-07** at limit **
  16  Prefactor     .10002E-03    4.7787        .12071E-05** at limit **
  17  norm          .10000E-03    .84335        .11752E-06** at limit **
  18  norm          7.8263        5.1652       -.13808E-07   -.21807E-03
  19  Prefactor     .10000E-03    8.8828        .12639E-05** at limit **
  20  Prefactor     .10000E-03    20.842       -.26419E-07** at limit **
  21  Prefactor     .10000E-03    3.3586        .47959E-07** at limit **
  22  Prefactor     .10000E-03    11.378        .16238E-05** at limit **
  23  Prefactor     1.1480        11.693       -.33578E-05    .43119E-03
  24  norm          4.4843        1.5698       -.10828E-07   -.71804E-04
  25  Prefactor     .10000E-03    5.2139       -.32311E-07** at limit **
  26  Prefactor     18.554        18.779       -.22779E-07   -.13638E-04
  27  Prefactor     .10000E-03    18.179       -.48677E-06** at limit **
  28  norm          6.8652        10.295       -.15841E-06   -.33863E-04
  29  Normalizat    1.3011        .19678        .16192E-05   -.26473E-03
  30  Prefactor     .89363        .18742       -.21821E-05   -.12768E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 16.9168
  Prefactor  = 11.5927
  norm       = 26.6359
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.23728
  norm       = 7.41534
  Prefactor  = 25.4137
  norm       = 18.4908
  Prefactor  = 45.0911
  norm       = 14.46
  Prefactor  = 0.0001
  Prefactor  = 0.000100021
  norm       = 0.0001
  norm       = 7.8263
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 1.14802
  norm       = 4.48433
  Prefactor  = 0.0001
  Prefactor  = 18.5542
  Prefactor  = 0.000100001
  norm       = 6.86521
  Normalizat = 1.3011
  Prefactor  = 0.893625
 **********
 **   18 **HESSE 
 **********

 FCN=   6830.926     FROM HESSE     STATUS=OK           592 CALLS     4537 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    17.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.917        20.712        .97374E-04   -1.4885    
   3  Prefactor     11.593        28.903        .11754E-03   -1.5027    
   4  norm          26.636        6.8596        .77620E-04   -1.4675    
   5  Prefactor     .10000E-03    7.4253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.7425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1504        .11760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.9698        .17988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2373        26.336        .13954E-03   -1.5134    
  10  norm          7.4153        7.1776        .73633E-03   -1.5163    
  11  Prefactor     25.414        45.934        .79455E-04   -1.4699    
  12  norm          18.491        6.9362        .93142E-04   -1.4848    
  13  Prefactor     45.091        46.341        .59691E-04   -1.4364    
  14  norm          14.460        9.5722        .10533E-03   -1.4947    
  15  Prefactor     .10000E-03    6.0616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    16.581        .33087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.5036        .14480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.8263        4.7422        .12847E-03   -1.5148    
  19  Prefactor     .10000E-03    22.454        .39640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.3684        .14792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    103.48        .47721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.1480        37.498        .39839E-02   -1.5494    
  24  norm          4.4843        1.5682        .58181E-04   -1.5284    
  25  Prefactor     .10000E-03    5.2317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     18.554        18.782        .92983E-04   -1.4846    
  27  Prefactor     .10000E-03    18.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          6.8652        10.269        .15313E-03   -1.5184    
  29  Normalizat    1.3011        .23019        .25135E-03   -.83534    
  30  Prefactor     .89363        .21768        .29919E-03   -.96364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98148e-09
Minuit parameter uncertainties:
  1  4.50764e-05
  2  20.7208
  3  28.9377
  4  6.85982
  5  1.35226e-05
  6  3.65569e-06
  7  1.40709e-06
  8  1.13935e-05
  9  26.3728
  10  7.17842
  11  45.998
  12  6.93648
  13  46.3775
  14  9.57318
  15  2.46872e-06
  16  0.0011808
  17  2.56006e-05
  18  4.74242
  19  0.000363617
  20  2.91417e-05
  21  2.77883e-06
  22  0.00117499
  23  13.1306
  24  1.56823
  25  1.96181e-05
  26  18.7877
  27  0.000211763
  28  10.2713
  29  0.230376
  30  0.217896
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.446e+01  9.573e+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:  8.936e-01  2.179e-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.301e+00  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.35
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 1.26e-08
Energy Flux (Fixed Index): 3.62e-05 +/- 2.40e-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) = 6830.77813318
delta logL = 0.147848092222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6830.77673157
delta logL = 0.14924970538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.977       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8642       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2970       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89441       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=   6830.777     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      303 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.980        9.5230        .11119E-03    .63083E-04
   2  alpha         1.8641        .49662        .12203E-01    .14329E-03
   3  Normalizat    1.2970        .21129        .25165E-03   -.41562E-04
   4  Prefactor     .89439        .21377        .29901E-03    .12509E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.9796
  alpha      = 1.86413
  Normalizat = 1.29704
  Prefactor  = 0.894386
 **********
 **   18 **HESSE 
 **********

 FCN=   6830.777     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.980        9.3872        .44478E-05   -1.4987    
   2  alpha         1.8641        .48966        .24406E-02   -.25717    
   3  Normalizat    1.2970        .21148        .10066E-04   -.83655    
   4  Prefactor     .89439        .21398        .11960E-04   -.96338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67318e-11
Minuit parameter uncertainties:
  1  9.38827
  2  0.493073
  3  0.211625
  4  0.214186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787078': 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) = 6830.77673147
delta logL = 0.149249805113

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.298e+01  9.388e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.864e+00  4.931e-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:  8.944e-01  2.142e-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.297e+00  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.64
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.86 +/- 0.49
Photon Flux (Free Index): 2.48e-08 +/- 1.94e-08
Energy Flux (Free Index): 2.56e-05 +/- 2.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/787078/cmap_HighResolution_365817601_366076801_4FGL_J1448.0+3608_daily_bin488.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='2.56e-05', photon_flux_error='1.26e-08', dlogl='1.49e-01', energy_flux='3.62e-05', photon_flux2='2.48e-08', job_status='DONE', time_completed='2021-09-10 10:00:02.674547', photon_index_error2='0.49', photon_index2='1.86', ts='7.35', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.26e-05', EG='1.30', time_epoch_completed='1631293202.67', return_code='0', job_id='787078', GAL2='0.89', EG2='1.30', return_code2='0', energy_flux_error='2.40e-05', photon_flux_error2='1.94e-08', ts2='7.64', photon_index='1.60' WHERE bin_id='488' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:00:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 787078: <4FGL_J1448.0+3608_daily_bin488> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin488 222.017 36.1344 365817601 366076801 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 :                                   798.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            827 sec.

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

