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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1101
RA = 222.017, Dec = 36.1344
tmin = 524707201, tmax = 524966401
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='790845', job_status='RUN', time_executed='2021-09-10 10:00:19.603821', time_epoch_executed='1631293219.6' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790845

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790845/ft1_4FGL_J1448.0+3608_daily_bin1101.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790845/ft2_4FGL_J1448.0+3608_daily_bin1101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790845/ft1_4FGL_J1448.0+3608_daily_bin1101.fits outfile=/scratch/kocevski/790845/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1101.fits ra=222.017 dec=36.1344 rad=12.0 tmin=524707201.0 tmax=524966401.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.42
user 3.15
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790845/ft1_filtered_4FGL_J1448.0+3608_daily_bin1101.fits" evtable="EVENTS" scfile=/scratch/kocevski/790845/ft2_4FGL_J1448.0+3608_daily_bin1101.fits sctable="SC_DATA" outfile=/scratch/kocevski/790845/ltcube_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.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/790845/ft2_4FGL_J1448.0+3608_daily_bin1101.fits
.....................!
real 11.77
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790845/ft1_filtered_4FGL_J1448.0+3608_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/790845/ft2_4FGL_J1448.0+3608_daily_bin1101.fits sctable="SC_DATA" expcube=/scratch/kocevski/790845/ltcube_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.fits outfile=/scratch/kocevski/790845/expmap_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.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/790845/ltcube_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.fits
.....................!
real 191.23
user 185.81
sys 5.04

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/790845/ft1_filtered_4FGL_J1448.0+3608_daily_bin1101.fits scfile=/scratch/kocevski/790845/ft2_4FGL_J1448.0+3608_daily_bin1101.fits outfile=/scratch/kocevski/790845/cmap_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.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/790845/ft1_filtered_4FGL_J1448.0+3608_daily_bin1101.fits scfile=/scratch/kocevski/790845/ft2_4FGL_J1448.0+3608_daily_bin1101.fits outfile=/scratch/kocevski/790845/cmap_HighResolution_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10179E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0207       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.178       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .24920       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .38495E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.695       1.0000         .10000E-03   10000.    
    10 'norm      '    10.313       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.325       1.0000         .10000E-03   10000.    
    12 'norm      '    4.3297       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11201E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7693       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.9825       1.0000         .10000E-03   10000.    
    24 'norm      '    3.4635       1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.176       1.0000         .10000E-03   10000.    
    26 'Prefactor '    17.361       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .91537       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .75192       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=   5150.332     FROM MIGRAD    STATUS=CONVERGED    819 CALLS     3965 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    39.272       -.10038E-06** at limit **
   2  Prefactor     9.0307        15.924        .16798E-06   -.73106E-03
   3  Prefactor     15.179        20.911        .99605E-07   -.48018E-03
   4  norm          .10000E-03    1.0265       -.87110E-09** at limit **
   5  Prefactor     .23254        11.713       -.76898E-07   -.85872E-04
   6  Prefactor     .10001E-03    20.695       -.24693E-07** at limit **
   7  Prefactor     .10000E-03    1.0791       -.12149E-08** at limit **
   8  norm          .10000E-03    5.2445       -.74152E-10** at limit **
   9  Prefactor     17.697        17.872       -.75646E-08   -.16392E-04
  10  norm          10.314        6.1010       -.79655E-08    .56086E-04
  11  Prefactor     33.329        46.621        .62453E-07   -.13118E-03
  12  norm          4.3296        3.9440       -.95699E-08   -.15305E-04
  13  Prefactor     .10000E-03    10.340       -.23039E-08** at limit **
  14  norm          .10000E-03    2.2190       -.82225E-09** at limit **
  15  Prefactor     .10000E-03    2.4802       -.56558E-09** at limit **
  16  Prefactor     .10000E-03    2.8202       -.75199E-09** at limit **
  17  norm          .10000E-03    .86133       -.12923E-08** at limit **
  18  norm          2.7692        2.5909        .31666E-07   -.37032E-05
  19  Prefactor     .10000E-03    2.3833        .13603E-07** at limit **
  20  Prefactor     .10000E-03    47.046        .49987E-07** at limit **
  21  Prefactor     .10000E-03    3.2120       -.62668E-09** at limit **
  22  Prefactor     .10000E-03    27.191        .91733E-07** at limit **
  23  Prefactor     4.9842        2.5427       -.51392E-06   -.39371E-03
  24  norm          3.4634        1.4990        .21984E-08   -.26032E-04
  25  Prefactor     10.176        9.2329       -.41450E-07    .46193E-03
  26  Prefactor     17.361        19.065        .10564E-08    .27764E-04
  27  Prefactor     .10000E-03    7.4423        .57362E-09** at limit **
  28  norm          .10000E-03    5.2623        .56348E-10** at limit **
  29  Normalizat    .91534        .15894        .47181E-07    .51482E-05
  30  Prefactor     .75195        .16017        .22046E-07   -.12017E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 9.03068
  Prefactor  = 15.1792
  norm       = 0.0001
  Prefactor  = 0.232544
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.6969
  norm       = 10.3143
  Prefactor  = 33.3293
  norm       = 4.32963
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.76923
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.98418
  norm       = 3.46337
  Prefactor  = 10.1758
  Prefactor  = 17.361
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.915341
  Prefactor  = 0.751953
 **********
 **   18 **HESSE 
 **********

 FCN=   5150.332     FROM HESSE     STATUS=OK           592 CALLS     4557 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.312        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.0307        16.300        .13345E-03   -1.5107    
   3  Prefactor     15.179        20.997        .10280E-03   -1.4929    
   4  norm          .10000E-03    1.0305        .70995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .23254        558.35        .37849E-02   -1.5612    
   6  Prefactor     .10001E-03    83.658        .72970E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.0910        .72780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.2481        .16050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.697        17.904        .95213E-04   -1.4866    
  10  norm          10.314        6.1059        .12477E-03   -1.5066    
  11  Prefactor     33.329        46.630        .69414E-04   -1.4553    
  12  norm          4.3296        3.9496        .13148E-03   -1.5292    
  13  Prefactor     .10000E-03    10.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.2199        .10441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4813        .11038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.8457        .11761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.3804        .12836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7692        2.6103        .10817E-03   -1.5375    
  19  Prefactor     .10000E-03    2.3886        .10818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    47.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.2238        .12560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.9842        9.2172        .90082E-03   -1.5261    
  24  norm          3.4634        1.5055        .49286E-04   -1.5336    
  25  Prefactor     10.176        9.2785        .12561E-03   -1.5070    
  26  Prefactor     17.361        19.062        .96124E-04   -1.4874    
  27  Prefactor     .10000E-03    7.4528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    5.2718        .16078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .91534        .18896        .20848E-03   -.95923    
  30  Prefactor     .75195        .18937        .23898E-03   -1.0152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14532e-09
Minuit parameter uncertainties:
  1  0.000629411
  2  16.3075
  3  21.0072
  4  4.59756e-07
  5  23.0024
  6  0.00184863
  7  2.59455e-07
  8  6.29625e-07
  9  17.9095
  10  6.10626
  11  46.6807
  12  3.94982
  13  4.39167e-06
  14  1.1955e-06
  15  6.42725e-07
  16  4.54365e-07
  17  1.94816e-06
  18  2.61037
  19  2.97298e-06
  20  0.000404398
  21  1.70381e-07
  22  4.31361e-05
  23  9.21983
  24  1.50549
  25  9.27983
  26  19.0687
  27  1.86611e-06
  28  5.98641e-08
  29  0.189097
  30  0.189536
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.196e-06  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:  7.520e-01  1.895e-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.153e-01  1.891e-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: 1.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790845/likelihoodResults_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.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) = 5150.33390317
delta logL = -0.00188910296765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5150.33201415
delta logL = -7.80019036029e-08

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 'alpha     '    1.5943       1.0000          .0000       5.0000    
     3 'Normalizat'    .91532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75193       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=   5150.332     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      229 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.623        .10455E-02** at limit **
   2  alpha         1.4205        3.9929        .18091       -.32615E-07
   3  Normalizat    .91534        .17452        .20848E-03    .12215E-04
   4  Prefactor     .75195        .18391        .23898E-03    .11988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.4205
  Normalizat = 0.915341
  Prefactor  = 0.751953
 **********
 **   18 **HESSE 
 **********

 FCN=   5150.332     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2706        .20911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4205        2.6049        .72364E-02   -.44649    
   3  Normalizat    .91534        .17470        .83392E-05   -.95923    
   4  Prefactor     .75195        .18410        .95593E-05   -1.0152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53164e-11
Minuit parameter uncertainties:
  1  2.82611e-05
  2  175.293
  3  0.174806
  4  0.184251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790845': 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) = 5150.33201357
delta logL = 5.02451257489e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  2.826e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.421e+00  1.753e+02  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:  7.520e-01  1.843e-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.153e-01  1.748e-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/790845/cmap_HighResolution_524707201_524966401_4FGL_J1448.0+3608_daily_bin1101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-05', job_status='DONE', photon_flux_upper_limit='1.70e-08', time_completed='2021-09-10 10:13:04.832207', job_id='790845', GAL2='0.75', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1631293984.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='5.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1101' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:13:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 790845: <4FGL_J1448.0+3608_daily_bin1101> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1101 222.017 36.1344 524707201 524966401 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 :                                   764.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            926 sec.

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

