/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 8 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 = 7382
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1448.0+3608_daily_bin230
RA = 222.017, Dec = 36.1344
tmin = 298944001, tmax = 299203201
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='785607', job_status='RUN', time_executed='2021-09-10 09:41:25.739076', time_epoch_executed='1631292085.74' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785607

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785607/ft1_4FGL_J1448.0+3608_daily_bin230.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785607/ft2_4FGL_J1448.0+3608_daily_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785607/ft1_4FGL_J1448.0+3608_daily_bin230.fits outfile=/scratch/kocevski/785607/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin230.fits ra=222.017 dec=36.1344 rad=12.0 tmin=298944001.0 tmax=299203201.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.41
user 3.20
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785607/ft1_filtered_4FGL_J1448.0+3608_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/785607/ft2_4FGL_J1448.0+3608_daily_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/785607/ltcube_298944001_299203201_4FGL_J1448.0+3608_daily_bin230.fits outfile=/scratch/kocevski/785607/expmap_298944001_299203201_4FGL_J1448.0+3608_daily_bin230.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/785607/ltcube_298944001_299203201_4FGL_J1448.0+3608_daily_bin230.fits
.....................!
real 189.83
user 185.52
sys 3.96

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/785607/ft1_filtered_4FGL_J1448.0+3608_daily_bin230.fits scfile=/scratch/kocevski/785607/ft2_4FGL_J1448.0+3608_daily_bin230.fits outfile=/scratch/kocevski/785607/cmap_298944001_299203201_4FGL_J1448.0+3608_daily_bin230.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785607/ft1_filtered_4FGL_J1448.0+3608_daily_bin230.fits scfile=/scratch/kocevski/785607/ft2_4FGL_J1448.0+3608_daily_bin230.fits outfile=/scratch/kocevski/785607/cmap_HighResolution_298944001_299203201_4FGL_J1448.0+3608_daily_bin230.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2878       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.6738       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5005       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11747       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1316       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.815       1.0000         .10000E-03   10000.    
    10 'norm      '    9.1590       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.9843       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.795       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 '    5.8896       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.6997       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10124E-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 '    14.014       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.1170       1.0000         .10000E-03   10000.    
    24 'norm      '    8.5986       1.0000         .10000E-03   10000.    
    25 'Prefactor '    14.936       1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.553       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.4056       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .46701       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6275.255     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     3231 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.813       -.67623E-05** at limit **
   2  Prefactor     5.2911        1.1410        .85246E-06    .11304E-02
   3  Prefactor     .10000E-03    8.2964        .49587E-05** at limit **
   4  norm          4.6731        2.0578       -.18796E-05   -.63645E-02
   5  Prefactor     8.5240        3.4496        .40232E-05    .61439E-02
   6  Prefactor     .10052E-03    258.15        .91072E-05** at limit **
   7  Prefactor     7.1308        2.0197       -.84473E-06   -.64623E-02
   8  norm          .10001E-03    3.6949        .21162E-05** at limit **
   9  Prefactor     11.815        1.0344       -.28468E-06    .17592E-03
  10  norm          9.1593        1.0179       -.26229E-06   -.50665E-03
  11  Prefactor     .10001E-03    18.929       -.15233E-05** at limit **
  12  norm          1.9833        3.0503       -.41784E-05   -.43413E-02
  13  Prefactor     11.794        1.0732        .61791E-06    .14613E-03
  14  norm          .10000E-03    3.0086        .39221E-06** at limit **
  15  Prefactor     .10000E-03    7.0610        .19852E-05** at limit **
  16  Prefactor     5.8897        1.0860        .78852E-06    .19909E-02
  17  norm          .10000E-03    .60545       -.16011E-05** at limit **
  18  norm          3.7031        3.0181       -.17215E-05   -.55949E-03
  19  Prefactor     .10000E-03    3.6034       -.22630E-05** at limit **
  20  Prefactor     .10008E-03    33.295        .51881E-05** at limit **
  21  Prefactor     .10000E-03    5.7572        .51675E-05** at limit **
  22  Prefactor     14.065        17.301       -.25458E-04    .30708E-02
  23  Prefactor     1.0827        15.654        .42890E-04    .27345E-03
  24  norm          8.5977        1.9206        .25334E-06   -.54143E-03
  25  Prefactor     14.938        1.2296       -.96272E-06   -.59158E-04
  26  Prefactor     14.551        1.2332        .10449E-05   -.13494E-03
  27  Prefactor     .10000E-03    3.7660       -.39899E-05** at limit **
  28  norm          .10000E-03    2.6411       -.39298E-05** at limit **
  29  Normalizat    1.4056        .19226       -.23772E-05    .38741E-04
  30  Prefactor     .46708        .18839        .79141E-06    .29812E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.29115
  Prefactor  = 0.0001
  norm       = 4.67311
  Prefactor  = 8.52396
  Prefactor  = 0.000100517
  Prefactor  = 7.13076
  norm       = 0.000100005
  Prefactor  = 11.8155
  norm       = 9.15929
  Prefactor  = 0.000100011
  norm       = 1.98326
  Prefactor  = 11.7938
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.88969
  norm       = 0.0001
  norm       = 3.70308
  Prefactor  = 0.0001
  Prefactor  = 0.000100076
  Prefactor  = 0.0001
  Prefactor  = 14.0646
  Prefactor  = 1.08269
  norm       = 8.59772
  Prefactor  = 14.9378
  Prefactor  = 14.551
  Prefactor  = 0.000100004
  norm       = 0.0001
  Normalizat = 1.40565
  Prefactor  = 0.467084
 **********
 **   18 **HESSE 
 **********

 FCN=   6275.255     FROM HESSE     STATUS=OK           656 CALLS     3887 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.646        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2911        8.8309        .43697E-02   -1.5248    
   3  Prefactor     .10000E-03    8.2972        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.6731        3.8863        .46537E-02   -1.5276    
   5  Prefactor     8.5240        8.8628        .34373E-02   -1.5124    
   6  Prefactor     .10052E-03    9.7580        .95942E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1308        3.7940        .37552E-02   -1.5174    
   8  norm          .10001E-03    3.8462        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.815        15.097        .29136E-02   -1.5020    
  10  norm          9.1593        5.4842        .33108E-02   -1.5103    
  11  Prefactor     .10001E-03    19.101        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9833        3.7434        .73548E-02   -1.5426    
  13  Prefactor     11.794        16.119        .29161E-02   -1.5021    
  14  norm          .10000E-03    3.0057        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.0344        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8897        5.5526        .41369E-02   -1.5223    
  17  norm          .10000E-03    .58738        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7031        3.1955        .52491E-02   -1.5323    
  19  Prefactor     .10000E-03    3.6070        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10008E-03    34.495        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.7342        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.065        21.577        .26748E-02   -1.4958    
  23  Prefactor     1.0827        43.547        .11131E-01   -1.5500    
  24  norm          8.5977        2.5446        .34175E-02   -1.5121    
  25  Prefactor     14.938        16.707        .25909E-02   -1.4935    
  26  Prefactor     14.551        21.158        .26248E-02   -1.4945    
  27  Prefactor     .10000E-03    3.8853        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    2.6408        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.4056        .17471        .47120E-01   -.80465    
  30  Prefactor     .46708        .16791        .77053E-01   -1.1351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4203e-08
Minuit parameter uncertainties:
  1  0.00015804
  2  8.83308
  3  4.34252e-05
  4  3.88653
  5  8.86421
  6  0.00449179
  7  3.79412
  8  0.000278153
  9  15.1014
  10  5.48448
  11  0.000926983
  12  3.74383
  13  16.1252
  14  8.17427e-07
  15  3.9693e-05
  16  5.55305
  17  5.93848e-07
  18  3.19563
  19  4.36259e-05
  20  0.00323189
  21  4.70588e-06
  22  21.5889
  23  13.743
  24  2.54464
  25  16.7122
  26  21.1688
  27  0.000250626
  28  5.43333e-06
  29  0.174789
  30  0.168085
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  8.174e-07  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:  4.671e-01  1.681e-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.406e+00  1.748e-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.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785607/likelihoodResults_298944001_299203201_4FGL_J1448.0+3608_daily_bin230.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): 102
logL (Free Index) = 6275.25633473
delta logL = -0.00145846170653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6275.25487627
delta logL = -2.96859070659e-09

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.5965       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46706       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=   6275.255     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      242 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    693.20        .13419E-02** at limit **
   2  alpha         1.4856        3.7779        .18082       -.13832E-07
   3  Normalizat    1.4056        .13415        .20830E-03    .65102E-04
   4  Prefactor     .46708        .13352        .34128E-03    .36477E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.48562
  Normalizat = 1.40565
  Prefactor  = 0.467084
 **********
 **   18 **HESSE 
 **********

 FCN=   6275.255     FROM HESSE     STATUS=OK            27 CALLS      269 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0591        .26839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4856        2.9623        .72327E-01   -.41780    
   3  Normalizat    1.4056        .18758        .41659E-04   -.80465    
   4  Prefactor     .46708        .18663        .13651E-04   -1.1351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13331e-11
Minuit parameter uncertainties:
  1  1.48565e-05
  2  216.426
  3  0.187668
  4  0.18687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785607': 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) = 6275.25487613
delta logL = 1.35863047035e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.486e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.486e+00  2.164e+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:  4.671e-01  1.869e-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.406e+00  1.877e-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/785607/cmap_HighResolution_298944001_299203201_4FGL_J1448.0+3608_daily_bin230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-05', job_status='DONE', photon_flux_upper_limit='2.10e-08', time_completed='2021-09-10 09:55:01.224965', job_id='785607', GAL2='0.47', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1631292901.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.47', dlogl='1.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='230' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:55:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 785607: <4FGL_J1448.0+3608_daily_bin230> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin230> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:41:08 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:41:09 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:41:09 2021
Terminated at Fri Sep 10 09:55:02 2021
Results reported at Fri Sep 10 09:55:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin230 222.017 36.1344 298944001 299203201 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 :                                   812.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            834 sec.

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

