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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1446
RA = 222.017, Dec = 36.1344
tmin = 614131201, tmax = 614390401
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='792532', job_status='RUN', time_executed='2021-09-10 10:04:53.252947', time_epoch_executed='1631293493.25' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792532

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792532/ft1_4FGL_J1448.0+3608_daily_bin1446.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792532/ft2_4FGL_J1448.0+3608_daily_bin1446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792532/ft1_4FGL_J1448.0+3608_daily_bin1446.fits outfile=/scratch/kocevski/792532/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1446.fits ra=222.017 dec=36.1344 rad=12.0 tmin=614131201.0 tmax=614390401.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 6.19
user 4.41
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792532/ft1_filtered_4FGL_J1448.0+3608_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/792532/ft2_4FGL_J1448.0+3608_daily_bin1446.fits sctable="SC_DATA" expcube=/scratch/kocevski/792532/ltcube_614131201_614390401_4FGL_J1448.0+3608_daily_bin1446.fits outfile=/scratch/kocevski/792532/expmap_614131201_614390401_4FGL_J1448.0+3608_daily_bin1446.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/792532/ltcube_614131201_614390401_4FGL_J1448.0+3608_daily_bin1446.fits
.....................!
real 192.28
user 186.51
sys 5.40

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/792532/ft1_filtered_4FGL_J1448.0+3608_daily_bin1446.fits scfile=/scratch/kocevski/792532/ft2_4FGL_J1448.0+3608_daily_bin1446.fits outfile=/scratch/kocevski/792532/cmap_614131201_614390401_4FGL_J1448.0+3608_daily_bin1446.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792532/ft1_filtered_4FGL_J1448.0+3608_daily_bin1446.fits scfile=/scratch/kocevski/792532/ft2_4FGL_J1448.0+3608_daily_bin1446.fits outfile=/scratch/kocevski/792532/cmap_HighResolution_614131201_614390401_4FGL_J1448.0+3608_daily_bin1446.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.60
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.578       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.423       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0178       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9277       1.0000         .10000E-03   10000.    
    11 'Prefactor '    128.60       1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.228       1.0000         .10000E-03   10000.    
    14 'norm      '    5.7794       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.736       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8309       1.0000         .10000E-03   10000.    
    17 'norm      '    5.3706       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    43.819       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11393E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.6662       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.0487       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    43.792       1.0000         .10000E-03   10000.    
    28 'norm      '    .17847E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2232       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .64805       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=   5340.709     FROM MIGRAD    STATUS=CONVERGED    758 CALLS     3888 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4093        .54733E-07** at limit **
   2  Prefactor     .10000E-03    26.395        .59088E-06** at limit **
   3  Prefactor     34.590        28.673        .69388E-07   -.12865E-04
   4  norm          .10000E-03    1.7678        .59489E-07** at limit **
   5  Prefactor     .10000E-03    4.7936        .31790E-07** at limit **
   6  Prefactor     .10000E-03    5.8356        .35760E-07** at limit **
   7  Prefactor     38.425        8.7145        .26848E-07    .18860E-05
   8  norm          .10000E-03    6.6990        .20977E-07** at limit **
   9  Prefactor     3.9981        37.245        .46064E-06    .13230E-04
  10  norm          1.9381        6.7933        .59642E-06   -.16572E-04
  11  Prefactor     128.54        77.534       -.96329E-07   -.56948E-04
  12  norm          .10000E-03    2.7821        .17664E-06** at limit **
  13  Prefactor     22.239        55.837        .42252E-06    .62174E-05
  14  norm          5.7787        9.1686        .32083E-05   -.49333E-04
  15  Prefactor     10.731        16.813       -.66577E-06   -.37097E-05
  16  Prefactor     8.8308        7.2925       -.92883E-07   -.27696E-05
  17  norm          5.3721        2.2538        .38401E-07   -.19937E-04
  18  norm          .10000E-03    1.0316        .62117E-07** at limit **
  19  Prefactor     .10000E-03    2.5807        .72278E-07** at limit **
  20  Prefactor     43.615        87.175       -.16896E-05   -.99276E-04
  21  Prefactor     .10000E-03    29.540        .84129E-06** at limit **
  22  Prefactor     .10000E-03    10.679        .78699E-07** at limit **
  23  Prefactor     .10000E-03    5.0257        .12318E-06** at limit **
  24  norm          2.6662        1.6492       -.68636E-06    .11215E-04
  25  Prefactor     6.0481        11.463        .64171E-05   -.69601E-04
  26  Prefactor     .10000E-03    12.533       -.17535E-06** at limit **
  27  Prefactor     43.730        28.949       -.25991E-06    .82325E-05
  28  norm          .10000E-03    30.153        .27339E-05** at limit **
  29  Normalizat    1.2228        .21123        .84242E-06   -.12150E-03
  30  Prefactor     .64830        .19720       -.22819E-05   -.12293E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.59
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.4247
  norm       = 0.0001
  Prefactor  = 3.99809
  norm       = 1.93815
  Prefactor  = 128.541
  norm       = 0.0001
  Prefactor  = 22.2395
  norm       = 5.77871
  Prefactor  = 10.7313
  Prefactor  = 8.83083
  norm       = 5.37207
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.6147
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.66621
  Prefactor  = 6.04812
  Prefactor  = 0.0001
  Prefactor  = 43.7304
  norm       = 0.0001
  Normalizat = 1.2228
  Prefactor  = 0.648304
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.709     FROM HESSE     STATUS=OK           586 CALLS     4474 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4154        .16600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.590        28.813        .68149E-04   -1.4531    
   4  norm          .10000E-03    1.7761        .94874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7972        .15626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8419        .17241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.425        8.7542        .64660E-04   -1.4467    
   8  norm          .10000E-03    6.7140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9981        37.037        .20119E-03   -1.5308    
  10  norm          1.9381        6.7184        .29919E-03   -1.5430    
  11  Prefactor     128.54        76.864        .17751E-03   -1.3436    
  12  norm          .10000E-03    2.8151        .11903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.239        56.030        .84958E-04   -1.4764    
  14  norm          5.7787        9.1564        .83534E-03   -1.5227    
  15  Prefactor     10.731        16.788        .12228E-03   -1.5053    
  16  Prefactor     8.8308        7.2925        .13488E-03   -1.5114    
  17  norm          5.3721        2.2548        .65259E-04   -1.5244    
  18  norm          .10000E-03    1.0353        .72484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.5853        .11465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     43.615        87.283        .30282E-03   -1.4386    
  21  Prefactor     .10000E-03    30.746        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.0391        .15999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.6662        1.6496        .61519E-04   -1.5381    
  25  Prefactor     6.0481        11.509        .81627E-03   -1.5216    
  26  Prefactor     .10000E-03    12.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     43.730        28.887        .60582E-04   -1.4384    
  28  norm          .10000E-03    30.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2228        .25536        .24143E-03   -.85901    
  30  Prefactor     .64830        .23365        .31344E-03   -1.0559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62096e-10
Minuit parameter uncertainties:
  1  3.13378e-06
  2  4.43825e-05
  3  28.8244
  4  2.81449e-08
  5  7.82915e-07
  6  2.86892e-06
  7  8.75452
  8  1.30347e-06
  9  24.3569
  10  6.72097
  11  76.9234
  12  2.66871e-06
  13  56.1631
  14  9.15861
  15  16.7955
  16  7.29324
  17  2.25484
  18  4.69817e-07
  19  9.02847e-07
  20  87.5403
  21  9.83171e-06
  22  7.08388e-06
  23  3.93622e-06
  24  1.64958
  25  11.5132
  26  3.49114e-05
  27  28.8966
  28  3.8188e-06
  29  0.255624
  30  0.233999
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.779e+00  9.159e+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.483e-01  2.340e-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.223e+00  2.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/792532/likelihoodResults_614131201_614390401_4FGL_J1448.0+3608_daily_bin1446.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) = 5340.56430875
delta logL = 0.144931364262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.55989602
delta logL = 0.149344093558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0147       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1416       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64883       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=   5340.560     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      249 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0116        8.4873        .89787E-03   -.14024E-03
   2  alpha         2.1429        1.0665        .16733E-01   -.15697E-04
   3  Normalizat    1.2177        .23726        .24175E-03   -.40729E-03
   4  Prefactor     .64878        .23169        .31316E-03   -.29261E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.01159
  alpha      = 2.14286
  Normalizat = 1.21773
  Prefactor  = 0.648775
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.560     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0116        7.9542        .35915E-04   -1.5260    
   2  alpha         2.1429        1.0035        .66931E-03   -.14335    
   3  Normalizat    1.2177        .23728        .48350E-04   -.86057    
   4  Prefactor     .64878        .23177        .12526E-04   -1.0557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64617e-10
Minuit parameter uncertainties:
  1  7.95585
  2  1.0333
  3  0.237489
  4  0.232112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792532': 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) = 5340.55989449
delta logL = 0.149345628261

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.012e+00  7.956e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.143e+00  1.033e+00  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.488e-01  2.321e-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.218e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
Ra Dec: 222.017 36.134

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.12e-05', job_status='DONE', photon_flux_upper_limit='4.27e-08', time_completed='2021-09-10 10:18:00.564892', job_id='792532', GAL2='0.65', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631294280.56', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.49e-01', ts2='0.90', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1446' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:18:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 792532: <4FGL_J1448.0+3608_daily_bin1446> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1446> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:02:49 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:02:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:02:50 2021
Terminated at Fri Sep 10 10:18:01 2021
Results reported at Fri Sep 10 10:18:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1446 222.017 36.1344 614131201 614390401 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 :                                   778.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

