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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1214
RA = 222.017, Dec = 36.1344
tmin = 553996801, tmax = 554256001
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='791011', job_status='RUN', time_executed='2021-09-10 10:01:19.181662', time_epoch_executed='1631293279.18' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/791011

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/791011/ft1_4FGL_J1448.0+3608_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/791011/ft2_4FGL_J1448.0+3608_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/791011/ft1_4FGL_J1448.0+3608_daily_bin1214.fits outfile=/scratch/kocevski/791011/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1214.fits ra=222.017 dec=36.1344 rad=12.0 tmin=553996801.0 tmax=554256001.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 2.01
user 1.78
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/791011/ft1_filtered_4FGL_J1448.0+3608_daily_bin1214.fits" evtable="EVENTS" scfile=/scratch/kocevski/791011/ft2_4FGL_J1448.0+3608_daily_bin1214.fits sctable="SC_DATA" outfile=/scratch/kocevski/791011/ltcube_553996801_554256001_4FGL_J1448.0+3608_daily_bin1214.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/791011/ft2_4FGL_J1448.0+3608_daily_bin1214.fits
.....................!
real 8.93
user 8.62
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/791011/ft1_filtered_4FGL_J1448.0+3608_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/791011/ft2_4FGL_J1448.0+3608_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/791011/ltcube_553996801_554256001_4FGL_J1448.0+3608_daily_bin1214.fits outfile=/scratch/kocevski/791011/expmap_553996801_554256001_4FGL_J1448.0+3608_daily_bin1214.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/791011/ltcube_553996801_554256001_4FGL_J1448.0+3608_daily_bin1214.fits
.....................!
real 140.42
user 136.47
sys 3.66

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/791011/ft1_filtered_4FGL_J1448.0+3608_daily_bin1214.fits scfile=/scratch/kocevski/791011/ft2_4FGL_J1448.0+3608_daily_bin1214.fits outfile=/scratch/kocevski/791011/cmap_553996801_554256001_4FGL_J1448.0+3608_daily_bin1214.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.45
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/791011/ft1_filtered_4FGL_J1448.0+3608_daily_bin1214.fits scfile=/scratch/kocevski/791011/ft2_4FGL_J1448.0+3608_daily_bin1214.fits outfile=/scratch/kocevski/791011/cmap_HighResolution_553996801_554256001_4FGL_J1448.0+3608_daily_bin1214.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.44
user 0.29
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.032       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.127       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6957       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .98280E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5895       1.0000         .10000E-03   10000.    
    10 'norm      '    .10275E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    66.643       1.0000         .10000E-03   10000.    
    12 'norm      '    4.5049       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.0354       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8202       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .86786E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12750E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.377       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    3.1290       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    20.783       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0031       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .97835       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=   8261.840     FROM MIGRAD    STATUS=CONVERGED    784 CALLS     3969 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.029        11.090       -.15940E-06   -.63113E-04
   2  Prefactor     19.116        15.068        .30588E-05   -.40006E-04
   3  Prefactor     9.6911        14.551        .95548E-06   -.11543E-03
   4  norm          .10000E-03    1.2252       -.69556E-07** at limit **
   5  Prefactor     .10000E-03    5.6925       -.71892E-06** at limit **
   6  Prefactor     .10000E-03    7.1729       -.80628E-06** at limit **
   7  Prefactor     .10002E-03    1.1931        .34659E-06** at limit **
   8  norm          .10000E-03    2.9648        .33328E-07** at limit **
   9  Prefactor     2.5590        55.672        .53415E-04   -.56500E-04
  10  norm          .10000E-03    3.9485        .33364E-06** at limit **
  11  Prefactor     66.641        37.517        .93273E-06   -.13670E-03
  12  norm          4.5046        4.1292       -.12313E-06   -.52487E-03
  13  Prefactor     .10000E-03    23.220        .10563E-04** at limit **
  14  norm          8.0367        6.2328        .66466E-07   -.19303E-04
  15  Prefactor     3.8214        6.8447        .17651E-06   -.23901E-03
  16  Prefactor     .10001E-03    3.3113       -.16487E-06** at limit **
  17  norm          .10000E-03    .44185        .23149E-06** at limit **
  18  norm          .10700E-03    1.2276        .11121E-06** at limit **
  19  Prefactor     .10000E-03    3.3532        .21599E-06** at limit **
  20  Prefactor     .10000E-03    24.738       -.10245E-04** at limit **
  21  Prefactor     .10000E-03    3.7098        .72655E-06** at limit **
  22  Prefactor     19.377        16.757       -.59602E-06   -.14388E-03
  23  Prefactor     .10000E-03    6.3504        .98651E-06** at limit **
  24  norm          3.1289        1.1799        .13442E-06   -.10806E-02
  25  Prefactor     .10000E-03    9.4954        .14373E-05** at limit **
  26  Prefactor     .10000E-03    11.711       -.20950E-05** at limit **
  27  Prefactor     .10000E-03    11.844       -.12842E-07** at limit **
  28  norm          20.781        12.085        .92072E-06   -.50921E-04
  29  Normalizat    1.0033        .15236       -.44504E-05   -.55327E-03
  30  Prefactor     .97819        .15417        .36067E-06   -.83845E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.0293
  Prefactor  = 19.1156
  Prefactor  = 9.69105
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  norm       = 0.0001
  Prefactor  = 2.55902
  norm       = 0.0001
  Prefactor  = 66.641
  norm       = 4.50463
  Prefactor  = 0.0001
  norm       = 8.03673
  Prefactor  = 3.82138
  Prefactor  = 0.000100006
  norm       = 0.0001
  norm       = 0.000106999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.377
  Prefactor  = 0.0001
  norm       = 3.1289
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.7814
  Normalizat = 1.00333
  Prefactor  = 0.978192
 **********
 **   18 **HESSE 
 **********

 FCN=   8261.840     FROM HESSE     STATUS=OK           594 CALLS     4563 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.029        11.087        .10693E-03   -1.4959    
   2  Prefactor     19.116        15.064        .91581E-04   -1.4833    
   3  Prefactor     9.6911        14.547        .12870E-03   -1.5085    
   4  norm          .10000E-03    1.2721        .19644E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.7443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.2312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    14.430        .18962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.9656        .15285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5590        54.348        .25358E-03   -1.5388    
  10  norm          .10000E-03    4.0098        .17623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     66.641        37.444        .49164E-04   -1.4073    
  12  norm          4.5046        4.1328        .16984E-03   -1.5283    
  13  Prefactor     .10000E-03    23.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.0367        6.2275        .14144E-03   -1.5141    
  15  Prefactor     3.8214        6.8193        .20650E-03   -1.5317    
  16  Prefactor     .10001E-03    13.188        .31641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .67457        .11544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10700E-03    2.7267        .34332E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3722        .16229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    34.305        .33736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.377        16.707        .90989E-04   -1.4827    
  23  Prefactor     .10000E-03    6.3811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.1289        1.1709        .57087E-04   -1.5354    
  25  Prefactor     .10000E-03    9.6764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    11.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          20.781        12.069        .87858E-04   -1.4796    
  29  Normalizat    1.0033        .17828        .23521E-03   -.92919    
  30  Prefactor     .97819        .18336        .24950E-03   -.93460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87894e-09
Minuit parameter uncertainties:
  1  11.0888
  2  15.0671
  3  14.5524
  4  3.21792e-06
  5  3.86119e-05
  6  6.06239e-05
  7  0.000959531
  8  3.22849e-06
  9  23.6103
  10  1.42534e-06
  11  37.4571
  12  4.13309
  13  9.98086e-05
  14  6.22796
  15  6.82067
  16  0.00054409
  17  1.41331e-05
  18  0.00873747
  19  1.64724e-05
  20  3.5257e-05
  21  7.09429e-05
  22  16.7113
  23  4.00066e-05
  24  1.17091
  25  3.8509e-05
  26  1.11291e-05
  27  2.06366e-06
  28  12.0703
  29  0.178383
  30  0.183475
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.037e+00  6.228e+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:  9.782e-01  1.835e-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.003e+00  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.48
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.06e-08 +/- 8.20e-09
Energy Flux (Fixed Index): 2.01e-05 +/- 1.56e-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) = 8261.58559122
delta logL = 0.254904252206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8261.57822912
delta logL = 0.262266353788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3656       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0903       1.0000          .0000       5.0000    
     3 'Normalizat'    .99421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98035       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=   8261.578     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      210 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3692        139.33        .36946E-02    .27344E-03
   2  alpha         2.0896        3.1036        .26998        .67707E-04
   3  Normalizat    .99428        .97983E-01    .46094E-01    .10813E-04
   4  Prefactor     .98027        .69907E-01    .46021E-01    .11779E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.36923
  alpha      = 2.08957
  Normalizat = 0.99428
  Prefactor  = 0.980267
 **********
 **   18 **HESSE 
 **********

 FCN=   8261.578     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3692        6.1389        .73892E-03   -1.5165    
   2  alpha         2.0896        .66491        .15722E-01   -.16492    
   3  Normalizat    .99428        .17152        .23610E-03   -.93222    
   4  Prefactor     .98027        .17974        .24917E-03   -.93390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06688e-12
Minuit parameter uncertainties:
  1  6.13938
  2  0.673245
  3  0.171615
  4  0.179846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/791011': 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) = 8261.57822839
delta logL = 0.262267078549

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.369e+00  6.139e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.090e+00  6.732e-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:  9.803e-01  1.798e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  9.943e-01  1.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.00
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.09 +/- 0.67
Photon Flux (Free Index): 2.07e-08 +/- 2.13e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/791011/cmap_HighResolution_553996801_554256001_4FGL_J1448.0+3608_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-08', energy_flux2='1.38e-05', photon_flux_error='8.20e-09', dlogl='2.62e-01', energy_flux='2.01e-05', photon_flux2='2.07e-08', job_status='DONE', time_completed='2021-09-10 10:12:05.487735', photon_index_error2='0.67', photon_index2='2.09', ts='5.48', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.00', time_epoch_completed='1631293925.49', return_code='0', job_id='791011', GAL2='0.98', EG2='0.99', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='2.13e-08', ts2='6.00', photon_index='1.60' WHERE bin_id='1214' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:12:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 791011: <4FGL_J1448.0+3608_daily_bin1214> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1214 222.017 36.1344 553996801 554256001 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 :                                   648.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            856 sec.

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

