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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1338
RA = 222.017, Dec = 36.1344
tmin = 586137601, tmax = 586396801
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='792370', job_status='RUN', time_executed='2021-09-10 10:05:59.148707', time_epoch_executed='1631293559.15' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792370

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792370/ft1_4FGL_J1448.0+3608_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792370/ft2_4FGL_J1448.0+3608_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792370/ft1_4FGL_J1448.0+3608_daily_bin1338.fits outfile=/scratch/kocevski/792370/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1338.fits ra=222.017 dec=36.1344 rad=12.0 tmin=586137601.0 tmax=586396801.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 4.53
user 4.27
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792370/ft1_filtered_4FGL_J1448.0+3608_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/792370/ft2_4FGL_J1448.0+3608_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/792370/ltcube_586137601_586396801_4FGL_J1448.0+3608_daily_bin1338.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/792370/ft2_4FGL_J1448.0+3608_daily_bin1338.fits
.....................!
real 10.40
user 9.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792370/ft1_filtered_4FGL_J1448.0+3608_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/792370/ft2_4FGL_J1448.0+3608_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/792370/ltcube_586137601_586396801_4FGL_J1448.0+3608_daily_bin1338.fits outfile=/scratch/kocevski/792370/expmap_586137601_586396801_4FGL_J1448.0+3608_daily_bin1338.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/792370/ltcube_586137601_586396801_4FGL_J1448.0+3608_daily_bin1338.fits
.....................!
real 190.44
user 185.43
sys 4.57

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/792370/ft1_filtered_4FGL_J1448.0+3608_daily_bin1338.fits scfile=/scratch/kocevski/792370/ft2_4FGL_J1448.0+3608_daily_bin1338.fits outfile=/scratch/kocevski/792370/cmap_586137601_586396801_4FGL_J1448.0+3608_daily_bin1338.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.58
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792370/ft1_filtered_4FGL_J1448.0+3608_daily_bin1338.fits scfile=/scratch/kocevski/792370/ft2_4FGL_J1448.0+3608_daily_bin1338.fits outfile=/scratch/kocevski/792370/cmap_HighResolution_586137601_586396801_4FGL_J1448.0+3608_daily_bin1338.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.331       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.403       1.0000         .10000E-03   10000.    
     4 'norm      '    .28950E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11783E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.571       1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.870       1.0000         .10000E-03   10000.    
     8 'norm      '    23.600       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    91.153       1.0000         .10000E-03   10000.    
    12 'norm      '    5.6991       1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.991       1.0000         .10000E-03   10000.    
    14 'norm      '    16.616       1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.302       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .39182E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.3685       1.0000         .10000E-03   10000.    
    18 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.3204       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.5743       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.175       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10679E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.1903       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    79.360       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .45660       1.0000         .10000E-03   10000.    
    28 'norm      '    .11522E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .94807       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .84975       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=   4681.804     FROM MIGRAD    STATUS=CONVERGED    765 CALLS     3940 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.339        21.282        .24711E-05   -.12807E-04
   2  Prefactor     .10000E-03    8.0959       -.88189E-07** at limit **
   3  Prefactor     46.430        34.393        .16438E-04   -.23267E-04
   4  norm          .10000E-03    4.5212       -.32664E-06** at limit **
   5  Prefactor     .10000E-03    16.002       -.32603E-05** at limit **
   6  Prefactor     23.574        23.901        .79126E-05    .62406E-04
   7  Prefactor     37.869        9.2386        .95656E-07    .12884E-03
   8  norm          23.583        19.545        .17268E-05    .71794E-04
   9  Prefactor     .10000E-03    18.236        .43311E-05** at limit **
  10  norm          .10000E-03    10.950       -.16730E-05** at limit **
  11  Prefactor     91.174        64.342        .19097E-04    .78244E-04
  12  norm          5.7000        5.0738        .25000E-06   -.50016E-04
  13  Prefactor     45.005        53.481        .21801E-04    .33338E-04
  14  norm          16.615        11.702       -.96842E-06    .25026E-03
  15  Prefactor     36.307        25.866        .68969E-05    .48998E-03
  16  Prefactor     .10003E-03    11.302       -.57505E-05** at limit **
  17  norm          2.3688        2.5537        .19904E-05    .22391E-02
  18  norm          .10000E-03    1.6868        .40626E-07** at limit **
  19  Prefactor     9.3281        9.7069        .14162E-05   -.13703E-03
  20  Prefactor     8.5459        128.06       -.87877E-04    .29676E-05
  21  Prefactor     19.180        15.220        .99149E-06   -.28103E-04
  22  Prefactor     .10000E-03    16.002       -.20259E-05** at limit **
  23  Prefactor     .10000E-03    12.669        .24236E-05** at limit **
  24  norm          2.1905        1.5903        .26944E-06   -.25604E-03
  25  Prefactor     .10000E-03    11.326        .17194E-06** at limit **
  26  Prefactor     79.367        49.176        .44555E-05   -.18334E-04
  27  Prefactor     .72241        19.531        .55838E-05   -.96443E-04
  28  norm          .10000E-03    57.515       -.21978E-05** at limit **
  29  Normalizat    .94741        .24385       -.12214E-04    .40790E-03
  30  Prefactor     .84998        .21942        .15688E-05   -.98288E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 32.3391
  Prefactor  = 0.0001
  Prefactor  = 46.4303
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 23.5738
  Prefactor  = 37.8691
  norm       = 23.5832
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 91.1739
  norm       = 5.70003
  Prefactor  = 45.0051
  norm       = 16.6148
  Prefactor  = 36.3069
  Prefactor  = 0.000100028
  norm       = 2.36881
  norm       = 0.0001
  Prefactor  = 9.32814
  Prefactor  = 8.54587
  Prefactor  = 19.1798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.19046
  Prefactor  = 0.0001
  Prefactor  = 79.3666
  Prefactor  = 0.722412
  norm       = 0.000100003
  Normalizat = 0.94741
  Prefactor  = 0.849975
 **********
 **   18 **HESSE 
 **********

 FCN=   4681.804     FROM HESSE     STATUS=OK           586 CALLS     4526 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.339        21.289        .70470E-04   -1.4570    
   2  Prefactor     .10000E-03    8.0972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.430        34.420        .58860E-04   -1.4344    
   4  norm          .10000E-03    9.3426        .27673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.574        23.953        .82505E-04   -1.4737    
   7  Prefactor     37.869        9.2309        .65129E-04   -1.4476    
   8  norm          23.583        19.370        .82455E-04   -1.4736    
   9  Prefactor     .10000E-03    18.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    11.356        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     91.174        64.337        .21045E-03   -1.3795    
  12  norm          5.7000        5.0737        .14117E-03   -1.5230    
  13  Prefactor     45.005        53.400        .59773E-04   -1.4365    
  14  norm          16.615        11.691        .98256E-04   -1.4893    
  15  Prefactor     36.307        25.673        .66516E-04   -1.4502    
  16  Prefactor     .10003E-03    30.467        .40277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.3688        2.3941        .96575E-04   -1.5400    
  18  norm          .10000E-03    1.6897        .86706E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.3281        9.7039        .13127E-03   -1.5097    
  20  Prefactor     8.5459        128.62        .13690E-03   -1.5123    
  21  Prefactor     19.180        15.241        .91465E-04   -1.4832    
  22  Prefactor     .10000E-03    16.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.1905        1.5865        .69283E-04   -1.5412    
  25  Prefactor     .10000E-03    11.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     79.367        49.166        .45082E-04   -1.3924    
  27  Prefactor     .72241        236.56        .56532E-02   -1.5538    
  28  norm          .10000E-03    58.732        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .94741        .28938        .27526E-03   -.94814    
  30  Prefactor     .84998        .26143        .28399E-03   -.97912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04313e-09
Minuit parameter uncertainties:
  1  21.2942
  2  2.93481e-05
  3  34.4344
  4  8.99797e-05
  5  0.000315129
  6  23.963
  7  9.23129
  8  19.3748
  9  0.000135796
  10  0.000204086
  11  64.3859
  12  5.07404
  13  53.4572
  14  11.6924
  15  25.6809
  16  0.00185034
  17  2.39423
  18  6.04839e-06
  19  9.70554
  20  66.4786
  21  15.244
  22  8.34698e-05
  23  4.37641e-05
  24  1.58655
  25  3.82853e-05
  26  49.1911
  27  26.2487
  28  0.00078356
  29  0.289854
  30  0.26181
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.661e+01  1.169e+01  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:  8.500e-01  2.618e-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.474e-01  2.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.44
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 2.19e-08 +/- 1.54e-08
Energy Flux (Fixed Index): 4.16e-05 +/- 2.93e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4681.66215545
delta logL = 0.141374838027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4681.66170904
delta logL = 0.14182125352

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.252       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9090       1.0000          .0000       5.0000    
     3 'Normalizat'    .94035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85182       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=   4681.662     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      291 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.257        11.527        .10255E-03    .37247E-04
   2  alpha         1.9093        .59475        .12262E-01    .78377E-04
   3  Normalizat    .94034        .25804        .27608E-03   -.10830E-04
   4  Prefactor     .85180        .25410        .28360E-03    .12267E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.2569
  alpha      = 1.9093
  Normalizat = 0.94034
  Prefactor  = 0.851797
 **********
 **   18 **HESSE 
 **********

 FCN=   4681.662     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .60E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.257        11.407        .41022E-05   -1.4927    
   2  alpha         1.9093        .58853        .24524E-02   -.23854    
   3  Normalizat    .94034        .25827        .11043E-04   -.95057    
   4  Prefactor     .85180        .25436        .11344E-04   -.97846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03499e-12
Minuit parameter uncertainties:
  1  11.4082
  2  0.594444
  3  0.258609
  4  0.254718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792370': 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) = 4681.66170863
delta logL = 0.141821657365

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.526e+01  1.141e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.909e+00  5.944e-01  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  8.518e-01  2.547e-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.403e-01  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.72
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.91 +/- 0.59
Photon Flux (Free Index): 3.13e-08 +/- 2.98e-08
Energy Flux (Free Index): 2.95e-05 +/- 2.60e-05

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/792370/cmap_HighResolution_586137601_586396801_4FGL_J1448.0+3608_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.19e-08', energy_flux2='2.95e-05', photon_flux_error='1.54e-08', dlogl='1.42e-01', energy_flux='4.16e-05', photon_flux2='3.13e-08', job_status='DONE', time_completed='2021-09-10 10:16:34.290027', photon_index_error2='0.59', photon_index2='1.91', ts='8.44', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='2.60e-05', EG='0.95', time_epoch_completed='1631294194.29', return_code='0', job_id='792370', GAL2='0.85', EG2='0.94', return_code2='0', energy_flux_error='2.93e-05', photon_flux_error2='2.98e-08', ts2='8.72', photon_index='1.60' WHERE bin_id='1338' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:16:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 792370: <4FGL_J1448.0+3608_daily_bin1338> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1338> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:02:38 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:02:39 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:39 2021
Terminated at Fri Sep 10 10:16:35 2021
Results reported at Fri Sep 10 10:16:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1338 222.017 36.1344 586137601 586396801 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 :                                   633.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

