/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 163 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 = 7446
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1448.0+3608_daily_bin3
RA = 222.017, Dec = 36.1344
tmin = 240105601, tmax = 240364801
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='784300', job_status='RUN', time_executed='2021-09-10 09:39:26.335240', time_epoch_executed='1631291966.34' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='3'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784300

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784300/ft1_4FGL_J1448.0+3608_daily_bin3.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784300/ft2_4FGL_J1448.0+3608_daily_bin3.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784300/ft1_4FGL_J1448.0+3608_daily_bin3.fits outfile=/scratch/kocevski/784300/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin3.fits ra=222.017 dec=36.1344 rad=12.0 tmin=240105601.0 tmax=240364801.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 1.44
user 1.25
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784300/ft1_filtered_4FGL_J1448.0+3608_daily_bin3.fits" evtable="EVENTS" scfile=/scratch/kocevski/784300/ft2_4FGL_J1448.0+3608_daily_bin3.fits sctable="SC_DATA" outfile=/scratch/kocevski/784300/ltcube_240105601_240364801_4FGL_J1448.0+3608_daily_bin3.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/784300/ft2_4FGL_J1448.0+3608_daily_bin3.fits
.....................!
real 12.45
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784300/ft1_filtered_4FGL_J1448.0+3608_daily_bin3.fits evtable="EVENTS" scfile=/scratch/kocevski/784300/ft2_4FGL_J1448.0+3608_daily_bin3.fits sctable="SC_DATA" expcube=/scratch/kocevski/784300/ltcube_240105601_240364801_4FGL_J1448.0+3608_daily_bin3.fits outfile=/scratch/kocevski/784300/expmap_240105601_240364801_4FGL_J1448.0+3608_daily_bin3.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/784300/ltcube_240105601_240364801_4FGL_J1448.0+3608_daily_bin3.fits
.....................!
real 191.15
user 185.83
sys 4.97

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/784300/ft1_filtered_4FGL_J1448.0+3608_daily_bin3.fits scfile=/scratch/kocevski/784300/ft2_4FGL_J1448.0+3608_daily_bin3.fits outfile=/scratch/kocevski/784300/cmap_240105601_240364801_4FGL_J1448.0+3608_daily_bin3.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784300/ft1_filtered_4FGL_J1448.0+3608_daily_bin3.fits scfile=/scratch/kocevski/784300/ft2_4FGL_J1448.0+3608_daily_bin3.fits outfile=/scratch/kocevski/784300/cmap_HighResolution_240105601_240364801_4FGL_J1448.0+3608_daily_bin3.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.336       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .73991       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0493       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5298       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.297       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3495       1.0000         .10000E-03   10000.    
    11 'Prefactor '    95.406       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.145       1.0000         .10000E-03   10000.    
    14 'norm      '    10.650       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1505       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.3052       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10835E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    121.64       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.2724       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10477       1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.488       1.0000         .10000E-03   10000.    
    24 'norm      '    6.8389       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .54865E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    45.728       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2229       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .66158       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=   5637.381     FROM MIGRAD    STATUS=CONVERGED   1420 CALLS     4637 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.336        14.384        .10578E-03    .26223E-04
   2  Prefactor     .10000E-03    6.5603        .18142E-02** at limit **
   3  Prefactor     .96881        282.99        .73137E-02    .39792E-04
   4  norm          4.0495        3.4529        .12461E-03   -.17426E-04
   5  Prefactor     .10000E-03    12.202        .18142E-02** at limit **
   6  Prefactor     .10000E-03    11.653        .18142E-02** at limit **
   7  Prefactor     1.5302        2.1419        .12758E-03    .90444E-04
   8  norm          .10000E-03    7.3653        .18142E-02** at limit **
   9  Prefactor     11.271        28.885        .11920E-03    .10301E-04
  10  norm          1.3511        5.1540        .15840E-02    .84913E-03
  11  Prefactor     95.419        56.095        .20574E-03    .24810E-04
  12  norm          .10000E-03    1.6602        .94108E-03** at limit **
  13  Prefactor     32.164        37.425        .70673E-04    .62254E-04
  14  norm          10.650        8.1223        .12277E-03   -.47781E-04
  15  Prefactor     4.1524        9.3689        .98923E-03   -.75310E-04
  16  Prefactor     .10000E-03    3.2155        .13114E-02** at limit **
  17  norm          .10000E-03    .80061        .12806E-02** at limit **
  18  norm          1.3039        2.8960        .18250E-03   -.86215E-04
  19  Prefactor     .10000E-03    11.168        .18142E-02** at limit **
  20  Prefactor     121.67        70.631        .18245E-03   -.50297E-04
  21  Prefactor     6.2718        9.0195        .16028E-03    .56319E-04
  22  Prefactor     .68695E-01    19.746        .84554E-01    .11403E-03
  23  Prefactor     17.513        12.822        .95773E-04    .11597E-03
  24  norm          6.8394        1.6260        .44135E-04    .10375E-02
  25  Prefactor     .10003E-03    84.964        .37884E-02** at limit **
  26  Prefactor     45.728        33.859        .59291E-04    .86975E-04
  27  Prefactor     .10000E-03    8.0873        .18142E-02** at limit **
  28  norm          .10000E-03    6.1537        .18142E-02** at limit **
  29  Normalizat    1.2224        .23069        .22050E-03    .10466E-04
  30  Prefactor     .66194        .21233        .29347E-03    .13946E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.3358
  Prefactor  = 0.0001
  Prefactor  = 0.968809
  norm       = 4.04953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.53018
  norm       = 0.0001
  Prefactor  = 11.2709
  norm       = 1.35112
  Prefactor  = 95.4189
  norm       = 0.0001
  Prefactor  = 32.1642
  norm       = 10.6498
  Prefactor  = 4.1524
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.30394
  Prefactor  = 0.0001
  Prefactor  = 121.672
  Prefactor  = 6.27176
  Prefactor  = 0.0686954
  Prefactor  = 17.5128
  norm       = 6.83943
  Prefactor  = 0.00010003
  Prefactor  = 45.7283
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.22243
  Prefactor  = 0.661944
 **********
 **   18 **HESSE 
 **********

 FCN=   5637.381     FROM HESSE     STATUS=OK           574 CALLS     5211 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.336        14.385        .42314E-05   -1.4951    
   2  Prefactor     .10000E-03    6.5604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .96881        279.07        .29255E-03   -1.5511    
   4  norm          4.0495        3.4521        .49844E-05   -1.5305    
   5  Prefactor     .10000E-03    12.206        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.655        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5302        2.1416        .51034E-05   -1.5461    
   8  norm          .10000E-03    7.3660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.271        28.864        .47678E-05   -1.5036    
  10  norm          1.3511        5.1458        .31680E-03   -1.5475    
  11  Prefactor     95.419        56.061        .41149E-04   -1.3751    
  12  norm          .10000E-03    1.6603        .18822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     32.164        37.363        .28269E-05   -1.4573    
  14  norm          10.650        8.1218        .49109E-05   -1.5055    
  15  Prefactor     4.1524        9.3640        .39569E-04   -1.5300    
  16  Prefactor     .10000E-03    3.2158        .26228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .80133        .25612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.3039        2.8953        .73000E-05   -1.5480    
  19  Prefactor     .10000E-03    11.172        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     121.67        70.597        .36491E-04   -1.3497    
  21  Prefactor     6.2718        9.0190        .64111E-05   -1.5207    
  22  Prefactor     .68695E-01    18.761        .87498E-01   -1.5656    
  23  Prefactor     17.513        12.812        .38309E-05   -1.4871    
  24  norm          6.8394        1.6194        .88271E-05   -1.5185    
  25  Prefactor     .10003E-03    87.692        .15154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     45.728        33.841        .11858E-04   -1.4354    
  27  Prefactor     .10000E-03    8.0875        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    6.1541        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2224        .22742        .88200E-05   -.85912    
  30  Prefactor     .66194        .21150        .11739E-04   -1.0504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10723e-10
Minuit parameter uncertainties:
  1  14.3883
  2  1.00429e-05
  3  33.0406
  4  3.45228
  5  4.84572e-05
  6  4.65838e-05
  7  2.14168
  8  7.96211e-07
  9  28.8993
  10  5.14745
  11  56.092
  12  3.05333e-06
  13  37.3901
  14  8.12267
  15  9.36734
  16  5.56762e-06
  17  1.03451e-06
  18  2.89563
  19  9.91841e-06
  20  70.6456
  21  9.02094
  22  2.26956
  23  12.8142
  24  1.6194
  25  0.0032427
  26  33.8556
  27  1.08022e-07
  28  3.21793e-06
  29  0.227605
  30  0.211761
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.065e+01  8.123e+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:  6.619e-01  2.118e-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.222e+00  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.24
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.40e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 2.04e-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) = 5637.26327446
delta logL = 0.118133561567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5637.26286507
delta logL = 0.11854295014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.827       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3345       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66177       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=   5637.263     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      225 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.827        12.049        .30440E-02   -.39059E-03
   2  alpha         1.3345        .67789        .39754       -.25512E-05
   3  Normalizat    1.2244        .17199        .49842E-01    .58630E-05
   4  Prefactor     .66175        .17402        .66337E-01    .23459E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.8269
  alpha      = 1.33455
  Normalizat = 1.22439
  Prefactor  = 0.661752
 **********
 **   18 **HESSE 
 **********

 FCN=   5637.263     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.827        8.3722        .12176E-03   -1.5050    
   2  alpha         1.3345        .53064        .15670E-01   -.48497    
   3  Normalizat    1.2244        .20072        .22035E-03   -.85852    
   4  Prefactor     .66175        .20331        .29353E-03   -1.0505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0178e-10
Minuit parameter uncertainties:
  1  8.37313
  2  0.535866
  3  0.200847
  4  0.203532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784300': 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) = 5637.26286419
delta logL = 0.118543831062

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.083e+01  8.373e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.335e+00  5.359e-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:  6.618e-01  2.035e-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.224e+00  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.47
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.33 +/- 0.54
Photon Flux (Free Index): 1.11e-08 +/- 9.93e-09
Energy Flux (Free Index): 4.10e-05 +/- 4.81e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-08', energy_flux2='4.10e-05', photon_flux_error='1.07e-08', dlogl='1.19e-01', energy_flux='2.67e-05', photon_flux2='1.11e-08', job_status='DONE', time_completed='2021-09-10 09:51:49.968557', photon_index_error2='0.54', photon_index2='1.33', ts='8.24', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='4.81e-05', EG='1.22', time_epoch_completed='1631292709.97', return_code='0', job_id='784300', GAL2='0.66', EG2='1.22', return_code2='0', energy_flux_error='2.04e-05', photon_flux_error2='9.93e-09', ts2='8.47', photon_index='1.60' WHERE bin_id='3' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:51:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 784300: <4FGL_J1448.0+3608_daily_bin3> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin3> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:32 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:33 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:36:33 2021
Terminated at Fri Sep 10 09:51:50 2021
Results reported at Fri Sep 10 09:51:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin3 222.017 36.1344 240105601 240364801 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 :                                   744.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            918 sec.

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

