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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1071
RA = 222.017, Dec = 36.1344
tmin = 516931201, tmax = 517190401
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='790801', job_status='RUN', time_executed='2021-09-10 10:00:01.538490', time_epoch_executed='1631293201.54' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790801/ft1_4FGL_J1448.0+3608_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790801/ft2_4FGL_J1448.0+3608_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790801/ft1_4FGL_J1448.0+3608_daily_bin1071.fits outfile=/scratch/kocevski/790801/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1071.fits ra=222.017 dec=36.1344 rad=12.0 tmin=516931201.0 tmax=517190401.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.92
user 3.66
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790801/ft2_4FGL_J1448.0+3608_daily_bin1071.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/790801/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/790801/ft1_filtered_4FGL_J1448.0+3608_daily_bin1071.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/790801/ft1_filtered_4FGL_J1448.0+3608_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/790801/ft2_4FGL_J1448.0+3608_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/790801/ltcube_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.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/790801/ft2_4FGL_J1448.0+3608_daily_bin1071.fits
.....................!
real 11.64
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790801/ft1_filtered_4FGL_J1448.0+3608_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/790801/ft2_4FGL_J1448.0+3608_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/790801/ltcube_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.fits outfile=/scratch/kocevski/790801/expmap_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.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/790801/ltcube_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.fits
.....................!
real 190.01
user 185.59
sys 4.06

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/790801/ft1_filtered_4FGL_J1448.0+3608_daily_bin1071.fits scfile=/scratch/kocevski/790801/ft2_4FGL_J1448.0+3608_daily_bin1071.fits outfile=/scratch/kocevski/790801/cmap_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.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/790801/ft1_filtered_4FGL_J1448.0+3608_daily_bin1071.fits scfile=/scratch/kocevski/790801/ft2_4FGL_J1448.0+3608_daily_bin1071.fits outfile=/scratch/kocevski/790801/cmap_HighResolution_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.378       1.0000         .10000E-03   10000.    
     4 'norm      '    .42299       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.512       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .61361E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1646       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.884       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.4521       1.0000         .10000E-03   10000.    
    13 'Prefactor '    89.979       1.0000         .10000E-03   10000.    
    14 'norm      '    .10677E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.674       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9524       1.0000         .10000E-03   10000.    
    17 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.0470       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .51279E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14011E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .26737       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.9484       1.0000         .10000E-03   10000.    
    24 'norm      '    .15143       1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.503       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.314       1.0000         .10000E-03   10000.    
    28 'norm      '    9.1162       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .74166       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2313       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=   5730.080     FROM MIGRAD    STATUS=CONVERGED    800 CALLS     4041 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.3170        .21097E-06** at limit **
   2  Prefactor     .10000E-03    39.311        .16909E-06** at limit **
   3  Prefactor     29.369        24.685        .15478E-06   -.13912E-04
   4  norm          .42491        5.0105       -.86376E-06    .10302E-03
   5  Prefactor     10.510        17.248        .10798E-05    .97272E-04
   6  Prefactor     .10000E-03    154.24        .22107E-04** at limit **
   7  Prefactor     .10000E-03    1.8295        .20525E-06** at limit **
   8  norm          1.1444        49.306       -.44717E-05    .30856E-04
   9  Prefactor     24.877        22.855        .16079E-06   -.31829E-04
  10  norm          .10000E-03    2.7483        .15461E-06** at limit **
  11  Prefactor     .10000E-03    13.791        .93746E-07** at limit **
  12  norm          6.4524        5.6861        .76631E-07   -.31909E-04
  13  Prefactor     89.931        44.574       -.86066E-06    .78660E-04
  14  norm          .10005E-03    6.5749        .24264E-05** at limit **
  15  Prefactor     13.680        12.907        .75460E-07    .47849E-04
  16  Prefactor     4.9581        6.7001        .33882E-06    .40390E-05
  17  norm          .10000E-03    .75159        .33505E-06** at limit **
  18  norm          2.0449        2.5996       -.59344E-06   -.29025E-03
  19  Prefactor     .10000E-03    5.3489       -.38257E-06** at limit **
  20  Prefactor     .10013E-03    934.79       -.24941E-04** at limit **
  21  Prefactor     .10002E-03    7.3461       -.21365E-05** at limit **
  22  Prefactor     .25827        73.582       -.11588E-04    .16202E-03
  23  Prefactor     2.9273        10.944       -.56270E-06   -.34917E-04
  24  norm          .15518        1.6624        .12571E-05   -.12340E-03
  25  Prefactor     16.502        10.916       -.22363E-05   -.49397E-03
  26  Prefactor     .10000E-03    11.386        .12687E-06** at limit **
  27  Prefactor     10.321        23.512        .35612E-06    .33804E-04
  28  norm          9.1138        17.504        .30828E-06    .32451E-04
  29  Normalizat    .74208        .18287       -.43023E-06    .51470E-04
  30  Prefactor     1.2308        .18430       -.34289E-06   -.68302E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.3688
  norm       = 0.424915
  Prefactor  = 10.5099
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.1444
  Prefactor  = 24.8771
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.45242
  Prefactor  = 89.9315
  norm       = 0.000100053
  Prefactor  = 13.6801
  Prefactor  = 4.95815
  norm       = 0.0001
  norm       = 2.04495
  Prefactor  = 0.000100001
  Prefactor  = 0.000100125
  Prefactor  = 0.000100018
  Prefactor  = 0.258268
  Prefactor  = 2.92735
  norm       = 0.155185
  Prefactor  = 16.5017
  Prefactor  = 0.0001
  Prefactor  = 10.3208
  norm       = 9.1138
  Normalizat = 0.742076
  Prefactor  = 1.23079
 **********
 **   18 **HESSE 
 **********

 FCN=   5730.080     FROM HESSE     STATUS=OK           614 CALLS     4655 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.3440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    40.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     29.369        24.770        .73919E-04   -1.4624    
   4  norm          .42491        4.9262        .31422E-03   -1.5578    
   5  Prefactor     10.510        24.038        .12358E-03   -1.5059    
   6  Prefactor     .10000E-03    42.078        .79347E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8566        .99962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1444        47.208        .42627E-03   -1.5494    
   9  Prefactor     24.877        22.926        .80302E-04   -1.4710    
  10  norm          .10000E-03    2.7628        .12254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.4524        5.6949        .15800E-03   -1.5200    
  13  Prefactor     89.931        44.603        .42360E-04   -1.3808    
  14  norm          .10005E-03    27.304        .31182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.680        12.902        .10832E-03   -1.4968    
  16  Prefactor     4.9581        6.6699        .18072E-03   -1.5263    
  17  norm          .10000E-03    .76271        .63824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.0449        2.5807        .65563E-03   -1.5422    
  19  Prefactor     .10000E-03    5.3652        .17019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10013E-03    901.92        .19167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    49.149        .34435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .25827        35.438        .88858E-01   -1.5606    
  23  Prefactor     2.9273        10.978        .23652E-03   -1.5366    
  24  norm          .15518        3.3733        .14383E-02   -1.5629    
  25  Prefactor     16.502        11.197        .98591E-04   -1.4895    
  26  Prefactor     .10000E-03    11.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     10.321        23.553        .12476E-03   -1.5065    
  28  norm          9.1138        17.532        .13274E-03   -1.5104    
  29  Normalizat    .74208        .21928        .27341E-03   -1.0225    
  30  Prefactor     1.2308        .22054        .23087E-03   -.85389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21641e-08
Minuit parameter uncertainties:
  1  1.33771e-05
  2  2.46642e-05
  3  24.779
  4  2.89354
  5  24.0605
  6  0.000583207
  7  2.43265e-06
  8  14.7121
  9  22.9337
  10  5.10995e-07
  11  6.0564e-06
  12  5.69536
  13  44.6197
  14  0.0024107
  15  12.905
  16  6.67086
  17  4.76884e-06
  18  2.58086
  19  0.000113187
  20  0.0216095
  21  0.00188369
  22  6.05313
  23  10.9854
  24  1.44667
  25  11.1986
  26  5.6227e-06
  27  23.5737
  28  17.5417
  29  0.219538
  30  0.220706
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.001e-04  2.411e-03  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:  1.231e+00  2.207e-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:  7.421e-01  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/790801/likelihoodResults_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.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) = 5730.08020724
delta logL = -0.000172686361111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5730.08020696
delta logL = -0.000172406977072

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96325E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5997       1.0000          .0000       5.0000    
     3 'Normalizat'    .74207       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2308       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=   5729.824     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      260 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4018        180.90        .90716E-02    .27495E-03
   2  alpha         .55611        2.9905        .45169        .29082E-04
   3  Normalizat    .73609        .69554E-01    .62024E-01    .24492E-04
   4  Prefactor     1.2338        .74015E-01    .52155E-01    .21950E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4018
  alpha      = 0.556109
  Normalizat = 0.736088
  Prefactor  = 1.23381
 **********
 **   18 **HESSE 
 **********

 FCN=   5729.824     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4018        4.0281        .16021E-03   -1.5471    
   2  alpha         .55611        1.0789        .40245E-01   -2.2508    
   3  Normalizat    .73609        .20077        .27436E-03   -1.0249    
   4  Prefactor     1.2338        .21422        .23059E-03   -.85297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05043e-09
Minuit parameter uncertainties:
  1  4.02889
  2  1.18907
  3  0.200971
  4  0.214367
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790801': 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) = 5729.82421909
delta logL = 0.255815468105

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.402e+00  4.029e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  5.561e-01  1.189e+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:  1.234e+00  2.144e-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:  7.361e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/790801/cmap_HighResolution_516931201_517190401_4FGL_J1448.0+3608_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-05', job_status='DONE', photon_flux_upper_limit='2.86e-08', time_completed='2021-09-10 10:13:29.016637', job_id='790801', GAL2='1.23', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1631294009.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='2.56e-01', ts2='0.51', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1071' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:13:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 790801: <4FGL_J1448.0+3608_daily_bin1071> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1071 222.017 36.1344 516931201 517190401 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 :                                   810.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            953 sec.

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

