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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1070
RA = 222.017, Dec = 36.1344
tmin = 516672001, tmax = 516931201
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='790799', job_status='RUN', time_executed='2021-09-10 09:57:51.545381', time_epoch_executed='1631293071.55' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1070'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790799

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790799/ft1_4FGL_J1448.0+3608_daily_bin1070.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790799/ft2_4FGL_J1448.0+3608_daily_bin1070.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790799/ft1_4FGL_J1448.0+3608_daily_bin1070.fits outfile=/scratch/kocevski/790799/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1070.fits ra=222.017 dec=36.1344 rad=12.0 tmin=516672001.0 tmax=516931201.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.44
user 3.23
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790799/ft1_filtered_4FGL_J1448.0+3608_daily_bin1070.fits evtable="EVENTS" scfile=/scratch/kocevski/790799/ft2_4FGL_J1448.0+3608_daily_bin1070.fits sctable="SC_DATA" expcube=/scratch/kocevski/790799/ltcube_516672001_516931201_4FGL_J1448.0+3608_daily_bin1070.fits outfile=/scratch/kocevski/790799/expmap_516672001_516931201_4FGL_J1448.0+3608_daily_bin1070.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/790799/ltcube_516672001_516931201_4FGL_J1448.0+3608_daily_bin1070.fits
.....................!
real 190.29
user 185.19
sys 4.73

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/790799/ft1_filtered_4FGL_J1448.0+3608_daily_bin1070.fits scfile=/scratch/kocevski/790799/ft2_4FGL_J1448.0+3608_daily_bin1070.fits outfile=/scratch/kocevski/790799/cmap_516672001_516931201_4FGL_J1448.0+3608_daily_bin1070.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790799/ft1_filtered_4FGL_J1448.0+3608_daily_bin1070.fits scfile=/scratch/kocevski/790799/ft2_4FGL_J1448.0+3608_daily_bin1070.fits outfile=/scratch/kocevski/790799/cmap_HighResolution_516672001_516931201_4FGL_J1448.0+3608_daily_bin1070.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/790799/ft1_filtered_4FGL_J1448.0+3608_daily_bin1070.fits evtable="EVENTS" scfile=/scratch/kocevski/790799/ft2_4FGL_J1448.0+3608_daily_bin1070.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790799/Model_4FGL_J1448.0+3608_daily_bin1070.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/790799/ft1_filtered_4FGL_J1448.0+3608_daily_bin1070.fits.....................!
real 45.49
user 44.13
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.053       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0438       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.9890       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5791       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .26742E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.690       1.0000         .10000E-03   10000.    
    10 'norm      '    13.374       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.734       1.0000         .10000E-03   10000.    
    12 'norm      '    5.8379       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7708       1.0000         .10000E-03   10000.    
    18 'norm      '    1.6137       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .90095E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    4.2668       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    24.767       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .11943E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10114E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .63778       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=   5529.136     FROM MIGRAD    STATUS=CONVERGED    758 CALLS     3931 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.054        11.032       -.98770E-06   -.57609E-03
   2  Prefactor     1.0455        10.205       -.12788E-05   -.16929E-04
   3  Prefactor     7.9689        22.264       -.86730E-05   -.85815E-05
   4  norm          .10000E-03    1.3049       -.70902E-07** at limit **
   5  Prefactor     .10000E-03    4.5193        .26812E-05** at limit **
   6  Prefactor     5.5811        8.5261       -.10195E-05   -.13339E-02
   7  Prefactor     .10000E-03    2.0161       -.97025E-06** at limit **
   8  norm          .10000E-03    7.7164        .57632E-05** at limit **
   9  Prefactor     16.693        20.757        .50541E-05    .43569E-04
  10  norm          13.377        7.1834        .29776E-05    .10329E-03
  11  Prefactor     32.656        43.660       -.84282E-04    .12122E-04
  12  norm          5.8375        4.3069       -.23183E-05    .34708E-04
  13  Prefactor     .10000E-03    14.129        .96549E-06** at limit **
  14  norm          .10000E-03    2.9755        .19099E-06** at limit **
  15  Prefactor     .10000E-03    4.5648       -.31164E-05** at limit **
  16  Prefactor     .10000E-03    4.8746        .23445E-05** at limit **
  17  norm          1.7704        1.5409       -.14530E-06   -.34946E-03
  18  norm          1.6140        2.5173       -.57131E-06   -.19458E-03
  19  Prefactor     .10000E-03    6.9476       -.24624E-05** at limit **
  20  Prefactor     .10000E-03    67.505        .20228E-04** at limit **
  21  Prefactor     .10006E-03    8.0148       -.31057E-05** at limit **
  22  Prefactor     .10000E-03    8.6685       -.47652E-05** at limit **
  23  Prefactor     .10000E-03    5.2148       -.67340E-06** at limit **
  24  norm          4.2669        1.5850       -.21552E-06    .41731E-03
  25  Prefactor     .10000E-03    18.045        .11163E-05** at limit **
  26  Prefactor     24.766        27.870       -.10034E-05    .21140E-04
  27  Prefactor     .10000E-03    32.822       -.45229E-05** at limit **
  28  norm          .10000E-03    8.3638        .18373E-06** at limit **
  29  Normalizat    1.2796        .17977        .36812E-05    .51255E-03
  30  Prefactor     .63803        .17897        .27147E-05    .59646E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0539
  Prefactor  = 1.04554
  Prefactor  = 7.96891
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.58107
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.6931
  norm       = 13.3771
  Prefactor  = 32.6561
  norm       = 5.8375
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.77039
  norm       = 1.61395
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.26693
  Prefactor  = 0.0001
  Prefactor  = 24.7656
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.27957
  Prefactor  = 0.638028
 **********
 **   18 **HESSE 
 **********

 FCN=   5529.136     FROM HESSE     STATUS=OK           584 CALLS     4515 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.054        11.036        .60252E-03   -1.5043    
   2  Prefactor     1.0455        45.701        .45622E-02   -1.5503    
   3  Prefactor     7.9689        22.348        .14185E-03   -1.5143    
   4  norm          .10000E-03    1.3113        .82935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5257        .15435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5811        8.5272        .85043E-03   -1.5235    
   7  Prefactor     .10000E-03    18.422        .19998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.7412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.693        20.751        .98037E-04   -1.4891    
  10  norm          13.377        7.1925        .10953E-03   -1.4976    
  11  Prefactor     32.656        43.566        .70037E-04   -1.4564    
  12  norm          5.8375        4.3103        .12854E-03   -1.5225    
  13  Prefactor     .10000E-03    14.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.9780        .12527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5717        .15516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.9013        .16019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7704        1.5289        .82060E-04   -1.5442    
  18  norm          1.6140        2.4828        .14243E-03   -1.5454    
  19  Prefactor     .10000E-03    7.1363        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    67.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10006E-03    34.042        .40192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.7061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.2353        .16579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.2669        1.5728        .53597E-04   -1.5295    
  25  Prefactor     .10000E-03    18.555        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     24.766        27.867        .80492E-04   -1.4712    
  27  Prefactor     .10000E-03    33.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    8.4141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2796        .21006        .21024E-03   -.84178    
  30  Prefactor     .63803        .20870        .29315E-03   -1.0601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56317e-08
Minuit parameter uncertainties:
  1  11.0384
  2  13.8355
  3  22.3718
  4  2.88645e-06
  5  1.85147e-05
  6  8.52902
  7  6.65509e-05
  8  1.07748e-05
  9  20.7602
  10  7.19293
  11  43.6088
  12  4.31049
  13  3.56555e-05
  14  9.97131e-08
  15  5.71294e-06
  16  2.02994e-05
  17  1.5289
  18  2.48298
  19  5.25786e-06
  20  0.000163958
  21  0.00277875
  22  1.66475e-05
  23  8.98589e-06
  24  1.57279
  25  8.20311e-05
  26  27.8813
  27  0.000197507
  28  3.08823e-05
  29  0.210203
  30  0.20895
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  9.971e-08  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:  6.380e-01  2.089e-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.280e+00  2.102e-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.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790799/likelihoodResults_516672001_516931201_4FGL_J1448.0+3608_daily_bin1070.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) = 5529.1379746
delta logL = -0.00152676466223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5529.13644781
delta logL = 2.92420736514e-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.5930       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63803       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=   5529.136     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    628.36        .12550E-02** at limit **
   2  alpha         1.4551        3.1219        .18097        .78527E-07
   3  Normalizat    1.2796        .10696        .21024E-03   -.13447E-03
   4  Prefactor     .63802        .10937        .29315E-03   -.95207E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.45507
  Normalizat = 1.27957
  Prefactor  = 0.638023
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0736        .25099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4551        2.5999        .72387E-01   -.43121    
   3  Normalizat    1.2796        .20120        .42048E-04   -.84178    
   4  Prefactor     .63802        .20564        .11726E-04   -1.0601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88207e-11
Minuit parameter uncertainties:
  1  1.96877e-05
  2  176.613
  3  0.201322
  4  0.205883
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790799': 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) = 5529.1364475
delta logL = 3.39437065122e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.969e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.455e+00  1.766e+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:  6.380e-01  2.059e-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.280e+00  2.013e-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/790799/cmap_HighResolution_516672001_516931201_4FGL_J1448.0+3608_daily_bin1070.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-05', job_status='DONE', photon_flux_upper_limit='2.17e-08', time_completed='2021-09-10 10:11:01.764265', job_id='790799', GAL2='0.64', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1631293861.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='3.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1070' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:11:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 790799: <4FGL_J1448.0+3608_daily_bin1070> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1070> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:36 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:57:37 2021
Terminated at Fri Sep 10 10:11:02 2021
Results reported at Fri Sep 10 10:11:02 2021

Your job looked like:

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

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

