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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1251
RA = 26.1502, Dec = 27.0899
tmin = 563587201, tmax = 563846401
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='825123', job_status='RUN', time_executed='2021-08-14 15:35:02.762535', time_epoch_executed='1628980502.76' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/825123

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/825123/ft1_4FGL_J0144.6+2705_daily_bin1251.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/825123/ft1_4FGL_J0144.6+2705_daily_bin1251.fits outfile=/scratch/kocevski/825123/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1251.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=563587201.0 tmax=563846401.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.59
user 2.11
sys 1.45

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.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/825123/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1251.fits evtable="EVENTS" outfile="/scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.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 1.80
user 0.29
sys 1.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits" evtable="EVENTS" scfile=/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits sctable="SC_DATA" outfile=/scratch/kocevski/825123/ltcube_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.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/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits
.....................!
real 12.79
user 11.19
sys 1.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits evtable="EVENTS" scfile=/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits sctable="SC_DATA" expcube=/scratch/kocevski/825123/ltcube_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.fits outfile=/scratch/kocevski/825123/expmap_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.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/825123/ltcube_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.fits
.....................!
real 155.80
user 149.66
sys 5.78

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0144.6+2705 @ 26.1502 27.0899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits scfile=/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits outfile=/scratch/kocevski/825123/cmap_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.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=26.1502 yref=27.0899 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 1.59
user 0.33
sys 1.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits scfile=/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits outfile=/scratch/kocevski/825123/cmap_HighResolution_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.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=26.1502 yref=27.0899 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 1.71
user 0.32
sys 1.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits evtable="EVENTS" scfile=/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/825123/Model_4FGL_J0144.6+2705_daily_bin1251.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/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits...................................!
real 16.48
user 13.42
sys 2.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits', '/scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits', expMap='/scratch/kocevski/825123/expmap_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.fits', expCube='/scratch/kocevski/825123/ltcube_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/825123/Model_4FGL_J0144.6+2705_daily_bin1251.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0144.6+2705'

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.270e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/825123/ft1_filtered_4FGL_J0144.6+2705_daily_bin1251.fits
Spacecraft file(s): /scratch/kocevski/825123/ft2_4FGL_J0144.6+2705_daily_bin1251.fits
Exposure map: /scratch/kocevski/825123/expmap_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.fits
Exposure cube: /scratch/kocevski/825123/ltcube_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/825123/Model_4FGL_J0144.6+2705_daily_bin1251.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 428.862367335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 424.994527172

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10530E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    5.3595       1.0000         .10000E-03   10000.    
     4 'norm      '    .83242       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .49308E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.4957       1.0000         .10000E-03   10000.    
     8 'Prefactor '    102.81       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16699       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1883.9       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3545       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .48163E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .90341E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21912E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    2.4550       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9787       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .89190       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1777       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6043       1.0000         .10000E-03   10000.    
    20 'norm      '    49.416       1.0000         .10000E-03   10000.    
    21 'norm      '    4.3723       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.0540       1.0000         .10000E-03   10000.    
    23 'norm      '    8.8491       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1530       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .36694       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   423.5532     FROM MIGRAD    STATUS=CONVERGED    391 CALLS      957 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.070        .90633E-08** at limit **
   2  Prefactor     .10000E-03    107.35        .22468E-06** at limit **
   3  norm          5.5561        4.0454        .45754E-06   -.33637E-03
   4  norm          .29130        18.316        .58910E-05   -.13291E-03
   5  Prefactor     .10000E-03    468.79       -.30608E-04** at limit **
   6  Prefactor     .10000E-03    29.903        .56582E-05** at limit **
   7  Prefactor     2.3666        123.00       -.20278E-04   -.26262E-04
   8  Prefactor     110.97        115.29       -.68998E-07   -.11311E-04
   9  Prefactor     .10000E-03    178.92       -.80020E-07** at limit **
  10  Prefactor     1849.5        17.338        .78648E-08   -.23133E-01
  11  norm          1.3733        15.739        .26283E-05    .17107E-03
  12  Prefactor     .10000E-03    100.31        .38149E-06** at limit **
  13  Prefactor     .10001E-03    234.78        .71127E-05** at limit **
  14  Prefactor     .10019E-03    838.96       -.39399E-04** at limit **
  15  norm          .10000E-03    878.51        .82219E-04** at limit **
  16  Prefactor     .10111E-03    6725.3       -.51433E-05** at limit **
  17  Prefactor     .10004E-03    6242.9        .90210E-04** at limit **
  18  Prefactor     1.1777        1.1440         .0000         .0000    
  19  Prefactor     7.6651        4.7682       -.16492E-07   -.13076E-03
  20  norm         10000.0        7321.7       -.30999E-05** at limit **
  21  norm          4.3723        1.0067         .0000         .0000    
  22  Prefactor     5.0540        1.0050         .0000         .0000    
  23  norm          8.8491        1.0016         .0000         .0000    
  24  Normalizat    .80366        1.1559       -.12926E-04   -.65359E-04
  25  Prefactor     .53143        .68390        .10736E-04   -.10393E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.55609
  norm       = 0.291297
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.36656
  Prefactor  = 110.968
  Prefactor  = 0.0001
  Prefactor  = 1849.45
  norm       = 1.37333
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.000100188
  norm       = 0.0001
  Prefactor  = 0.000101107
  Prefactor  = 0.000100045
  Prefactor  = 1.17765
  Prefactor  = 7.66513
  norm       = 10000
  norm       = 4.37233
  Prefactor  = 5.054
  norm       = 8.84905
  Normalizat = 0.803663
  Prefactor  = 0.531427
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   423.5532     FROM HESSE     STATUS=FAILED        81 CALLS     1038 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.771        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    111.77        .90756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.5561        3.5089        .43398E-02   -1.5236    
   4  norm          .29130        8.5957        .23681E-01   -1.5600    
   5  Prefactor     .10000E-03    504.91        .92667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.832        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3666        102.68        .39367E-02   -1.5400    
   8  Prefactor     110.97        105.59        .99134E-03   -1.3597    
   9  Prefactor     .10000E-03    181.30        .98259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1849.5        1135.4        .25574E-03   -.68169    
  11  norm          1.3733        14.166        .93917E-02   -1.5942    
  12  Prefactor     .10000E-03    101.86        .96268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    230.14        .91309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10019E-03    886.31        .10073E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    900.52        .65262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10111E-03    6708.9        .58811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10004E-03    6341.5        .12778E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     584.33        582.88         .0000       -1.5491    
  19  Prefactor     7.6651        2.3151       -.16492E-07   -1.5154    
  20  norm         10000.0        .50848E-02   -.30999E-05    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.3723        1.0067         .0000       -1.5290    
  22  Prefactor     5.0540        1.0050         .0000       -1.5258    
  23  norm          8.8491        1.0016         .0000       -1.5113    
  24  Normalizat    .80366        .95585       -.12926E-04   -.99933    
  25  Prefactor     .53143        .82732        .10736E-04   -1.1056    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.34013e-10
Minuit parameter uncertainties:
  1  2.33904e-05
  2  5.99641e-05
  3  3.50901
  4  3.16469
  5  0.00113662
  6  8.16725e-05
  7  31.2338
  8  105.768
  9  2.85194e-05
  10  1152.24
  11  8.82373
  12  1.35111e-05
  13  0.0028468
  14  0.0262206
  15  0.000648184
  16  0.131383
  17  0.023006
  18  1.14405
  19  2.31511
  20  0.00107624
  21  1.00669
  22  1.00498
  23  1.0016
  24  0.977002
  25  0.847323
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 423.553153288

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.373e+00  8.824e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  5.314e-01  8.473e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.037e-01  9.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 1.49e-06 ph cm-2 s-1
Energy Flux Upper Limit: 7.84e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/825123/likelihoodResults_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.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) = 423.552785384
delta logL = 0.000367903446545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 423.552781656
delta logL = 0.000371631469818

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3733       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1068       1.0000          .0000       5.0000    
     3 'Normalizat'    .80340       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53121       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   423.5528     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      194 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3650        1811.0        .92966E-02    .56750E-04
   2  alpha         2.1080        3.8554        .41814        .64940E-05
   3  Normalizat    .80280        .32992        .79512E-01   -.24793E-05
   4  Prefactor     .53159        .26530        .40108E-01   -.27456E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.36498
  alpha      = 2.10798
  Normalizat = 0.802802
  Prefactor  = 0.531593
 **********
 **   18 **HESSE 
 **********

 FCN=   423.5528     FROM HESSE     STATUS=OK            31 CALLS      225 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3650        15.121        .14873E-03   -1.5474    
   2  alpha         2.1080        3.5068        .19068E-01   -.15746    
   3  Normalizat    .80280        1.0335        .35204E-03   -.99965    
   4  Prefactor     .53159        .60617        .24242E-03   -1.1055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32585e-11
Minuit parameter uncertainties:
  1  9.08888
  2  2.80923
  3  1.06051
  4  0.613799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/825123': 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) = 423.552781059
delta logL = 0.000372228972822

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.365e+00  9.089e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.108e+00  2.809e+00  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  5.316e-01  6.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.028e-01  1.061e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 26.150 27.090

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/825123/cmap_HighResolution_563587201_563846401_4FGL_J0144.6+2705_daily_bin1251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-04', job_status='DONE', photon_flux_upper_limit='1.49e-06', time_completed='2021-08-14 15:39:47.203248', job_id='825123', GAL2='0.53', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1628980787.2', return_code2='0', ts='0.03', comment='SUCCESS', return_code='101', GAL='0.53', dlogl='3.72e-04', ts2='0.03', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1251' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:39:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 825123: <4FGL_J0144.6+2705_daily_bin1251> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1251> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 15:30:35 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:32:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:32:28 2021
Terminated at Sat Aug 14 15:39:48 2021
Results reported at Sat Aug 14 15:39:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1251 26.1502 27.0899 563587201 563846401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0144.6+2705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   301.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             171.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   439 sec.
    Turnaround time :                            553 sec.

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

