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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1271
RA = 222.017, Dec = 36.1344
tmin = 568771201, tmax = 569030401
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='791096', job_status='RUN', time_executed='2021-09-10 09:58:13.494511', time_epoch_executed='1631293093.49' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1271'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/791096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/791096/ft1_4FGL_J1448.0+3608_daily_bin1271.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/791096/ft2_4FGL_J1448.0+3608_daily_bin1271.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/791096/ft1_4FGL_J1448.0+3608_daily_bin1271.fits outfile=/scratch/kocevski/791096/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1271.fits ra=222.017 dec=36.1344 rad=12.0 tmin=568771201.0 tmax=569030401.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.53
user 3.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/791096/ft2_4FGL_J1448.0+3608_daily_bin1271.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/791096/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1271.fits evtable="EVENTS" outfile="/scratch/kocevski/791096/ft1_filtered_4FGL_J1448.0+3608_daily_bin1271.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/791096/ft1_filtered_4FGL_J1448.0+3608_daily_bin1271.fits" evtable="EVENTS" scfile=/scratch/kocevski/791096/ft2_4FGL_J1448.0+3608_daily_bin1271.fits sctable="SC_DATA" outfile=/scratch/kocevski/791096/ltcube_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.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/791096/ft2_4FGL_J1448.0+3608_daily_bin1271.fits
.....................!
real 11.83
user 11.46
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/791096/ft1_filtered_4FGL_J1448.0+3608_daily_bin1271.fits evtable="EVENTS" scfile=/scratch/kocevski/791096/ft2_4FGL_J1448.0+3608_daily_bin1271.fits sctable="SC_DATA" expcube=/scratch/kocevski/791096/ltcube_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.fits outfile=/scratch/kocevski/791096/expmap_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.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/791096/ltcube_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.fits
.....................!
real 189.36
user 185.18
sys 3.76

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/791096/ft1_filtered_4FGL_J1448.0+3608_daily_bin1271.fits scfile=/scratch/kocevski/791096/ft2_4FGL_J1448.0+3608_daily_bin1271.fits outfile=/scratch/kocevski/791096/cmap_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/791096/ft1_filtered_4FGL_J1448.0+3608_daily_bin1271.fits scfile=/scratch/kocevski/791096/ft2_4FGL_J1448.0+3608_daily_bin1271.fits outfile=/scratch/kocevski/791096/cmap_HighResolution_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.894       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3835       1.0000         .10000E-03   10000.    
     4 'norm      '    6.9477       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6434       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.9424       1.0000         .10000E-03   10000.    
     8 'norm      '    7.8361       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .84376       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.649       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7214       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.7645       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3583       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0921       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   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'    1.0119       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1310       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=   7267.814     FROM MIGRAD    STATUS=CONVERGED    742 CALLS     3939 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.895        13.971        .13963E-07    .18762E-04
   2  Prefactor     .10003E-03    8.0291       -.18545E-05** at limit **
   3  Prefactor     4.3917        26.473        .86278E-05   -.26975E-04
   4  norm          6.9475        4.6794       -.42630E-06   -.19051E-03
   5  Prefactor     4.6462        45.722        .18498E-04    .18611E-03
   6  Prefactor     21.794        34.315       -.95228E-05   -.30916E-05
   7  Prefactor     8.9428        4.4304       -.43064E-07   -.11508E-03
   8  norm          7.8351        11.640       -.16082E-05    .10312E-05
   9  Prefactor     .10000E-03    18.512       -.54160E-05** at limit **
  10  norm          .84126        4.8842       -.10277E-05   -.37233E-03
  11  Prefactor     17.649        27.494        .40219E-06    .26074E-04
  12  norm          2.7214        3.5719        .23719E-05   -.39160E-03
  13  Prefactor     8.7659        15.010       -.11629E-05   -.47682E-03
  14  norm          .10000E-03    2.9237        .22115E-06** at limit **
  15  Prefactor     .10000E-03    14.882       -.85447E-05** at limit **
  16  Prefactor     5.3584        6.9752        .22841E-07   -.14615E-04
  17  norm          2.0922        1.4219        .33403E-07    .57167E-04
  18  norm          .10000E-03    1.0121        .28952E-07** at limit **
  19  Prefactor     .10000E-03    3.2111        .10381E-05** at limit **
  20  Prefactor     .10000E-03    21.175        .10486E-04** at limit **
  21  Prefactor     .10000E-03    2.9312       -.42140E-06** at limit **
  22  Prefactor     .10000E-03    12.369        .66545E-05** at limit **
  23  Prefactor     .10000E-03    3.5627       -.14944E-05** at limit **
  24  norm          .10000E-03    .35747        .12005E-07** at limit **
  25  Prefactor     .10000E-03    2.4443        .24807E-06** at limit **
  26  Prefactor     .10000E-03    8.5586       -.44188E-06** at limit **
  27  Prefactor     .10000E-03    5.3692       -.31066E-06** at limit **
  28  norm          .10000E-03    4.0112        .80377E-06** at limit **
  29  Normalizat    1.0118        .17221        .42526E-07    .96406E-04
  30  Prefactor     1.1311        .16850       -.34332E-06    .10433E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.8947
  Prefactor  = 0.000100028
  Prefactor  = 4.39169
  norm       = 6.94745
  Prefactor  = 4.64622
  Prefactor  = 21.7939
  Prefactor  = 8.94282
  norm       = 7.83514
  Prefactor  = 0.0001
  norm       = 0.841258
  Prefactor  = 17.6487
  norm       = 2.72143
  Prefactor  = 8.76586
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.35838
  norm       = 2.09221
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.01178
  Prefactor  = 1.13113
 **********
 **   18 **HESSE 
 **********

 FCN=   7267.814     FROM HESSE     STATUS=OK           594 CALLS     4533 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.895        13.968        .83714E-04   -1.4751    
   2  Prefactor     .10003E-03    46.343        .45919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.3917        26.188        .19237E-03   -1.5289    
   4  norm          6.9475        4.6582        .14013E-03   -1.5181    
   5  Prefactor     4.6462        40.350        .18677E-03   -1.5277    
   6  Prefactor     21.794        32.611        .85785E-04   -1.4774    
   7  Prefactor     8.9428        4.4417        .11946E-03   -1.5110    
   8  norm          7.8351        11.559        .14324E-03   -1.5148    
   9  Prefactor     .10000E-03    18.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .84126        9.7616        .34882E-02   -1.5525    
  11  Prefactor     17.649        27.474        .95337E-04   -1.4868    
  12  norm          2.7214        3.5106        .17631E-03   -1.5378    
  13  Prefactor     8.7659        15.153        .67697E-03   -1.5116    
  14  norm          .10000E-03    2.9306        .14236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.3584        6.9377        .17361E-03   -1.5245    
  17  norm          2.0922        1.4133        .77175E-04   -1.5419    
  18  norm          .10000E-03    1.0209        .83740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.2542        .14909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.9385        .14253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.5756        .15709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .56285        .98329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    2.4534        .13011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.5615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    5.3718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    4.0145        .16673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0118        .20665        .24973E-03   -.92637    
  30  Prefactor     1.1311        .20282        .24854E-03   -.88478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11007e-09
Minuit parameter uncertainties:
  1  13.97
  2  0.00229227
  3  21.4623
  4  4.65846
  5  27.4088
  6  32.6372
  7  4.44186
  8  11.562
  9  4.5336e-05
  10  5.73216
  11  27.4937
  12  3.51083
  13  15.1601
  14  2.8544e-06
  15  6.48331e-05
  16  6.93873
  17  1.41333
  18  4.29647e-07
  19  2.61955e-06
  20  1.40897e-06
  21  6.15746e-07
  22  1.6343e-05
  23  1.73243e-06
  24  1.50884e-06
  25  5.98984e-07
  26  5.22406e-07
  27  2.81661e-07
  28  2.69382e-07
  29  0.206815
  30  0.202959
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  2.854e-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:  1.131e+00  2.030e-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.012e+00  2.068e-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.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/791096/likelihoodResults_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.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) = 7267.81563146
delta logL = -0.0015949901599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7267.81403644
delta logL = 2.89410309051e-08

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 'alpha     '    1.6067       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1311       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=   7267.814     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      233 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.879        .14262E-02** at limit **
   2  alpha         1.8924        3.7273        .18038       -.39140E-07
   3  Normalizat    1.0118        .18810        .24973E-03   -.84992E-04
   4  Prefactor     1.1311        .19756        .24854E-03   -.88649E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.89243
  Normalizat = 1.01178
  Prefactor  = 1.13113
 **********
 **   18 **HESSE 
 **********

 FCN=   7267.814     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0452        .28523E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8924        3.1319        .72152E-02   -.24549    
   3  Normalizat    1.0118        .18829        .99893E-05   -.92637    
   4  Prefactor     1.1311        .19776        .99415E-05   -.88478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80496e-11
Minuit parameter uncertainties:
  1  2.15864e-05
  2  275.722
  3  0.188414
  4  0.19789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/791096': 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) = 7267.81403583
delta logL = 6.40288817522e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  2.159e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.892e+00  2.757e+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:  1.131e+00  1.979e-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.012e+00  1.884e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/791096/cmap_HighResolution_568771201_569030401_4FGL_J1448.0+3608_daily_bin1271.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.75e-05', job_status='DONE', photon_flux_upper_limit='1.97e-08', time_completed='2021-09-10 10:13:49.207212', job_id='791096', GAL2='1.13', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631294029.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='6.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1271' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:13:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 791096: <4FGL_J1448.0+3608_daily_bin1271> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1271 222.017 36.1344 568771201 569030401 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 :                                   936.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

