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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1215
RA = 26.1502, Dec = 27.0899
tmin = 554256001, tmax = 554515201
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='825070', job_status='RUN', time_executed='2021-08-14 15:37:21.146011', time_epoch_executed='1628980641.15' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/825070

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/825070/ft1_4FGL_J0144.6+2705_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/825070/ft1_4FGL_J0144.6+2705_daily_bin1215.fits outfile=/scratch/kocevski/825070/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1215.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=554256001.0 tmax=554515201.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 9.49
user 3.78
sys 5.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.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/825070/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1215.fits evtable="EVENTS" outfile="/scratch/kocevski/825070/ft1_filtered_4FGL_J0144.6+2705_daily_bin1215.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 5.95
user 0.34
sys 5.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/825070/ft1_filtered_4FGL_J0144.6+2705_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/825070/ltcube_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.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/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits
.....................!
real 18.70
user 12.23
sys 6.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/825070/ft1_filtered_4FGL_J0144.6+2705_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/825070/ltcube_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.fits outfile=/scratch/kocevski/825070/expmap_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.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/825070/ltcube_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.fits
.....................!
real 201.39
user 187.15
sys 11.72

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/825070/ft1_filtered_4FGL_J0144.6+2705_daily_bin1215.fits scfile=/scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits outfile=/scratch/kocevski/825070/cmap_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.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 5.88
user 0.40
sys 5.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/825070/ft1_filtered_4FGL_J0144.6+2705_daily_bin1215.fits scfile=/scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits outfile=/scratch/kocevski/825070/cmap_HighResolution_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.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 5.84
user 0.40
sys 5.42

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/825070/ft1_filtered_4FGL_J0144.6+2705_daily_bin1215.fits', '/scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits', expMap='/scratch/kocevski/825070/expmap_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.fits', expCube='/scratch/kocevski/825070/ltcube_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/825070/Model_4FGL_J0144.6+2705_daily_bin1215.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/825070/ft1_filtered_4FGL_J0144.6+2705_daily_bin1215.fits
Spacecraft file(s): /scratch/kocevski/825070/ft2_4FGL_J0144.6+2705_daily_bin1215.fits
Exposure map: /scratch/kocevski/825070/expmap_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.fits
Exposure cube: /scratch/kocevski/825070/ltcube_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/825070/Model_4FGL_J0144.6+2705_daily_bin1215.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) = 228.773715401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    203.76       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.314       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11221E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    144.49       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11921E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.0850       1.0000         .10000E-03   10000.    
    21 'norm      '    701.67       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.8891       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.6317       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86370E-06   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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   228.7175     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     3119 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.574        .29347E-04** at limit **
   2  Prefactor     .10000E-03    200.67        .60063E-04** at limit **
   3  norm          .10000E-03    2.3549        .15027E-06** at limit **
   4  norm          .10000E-03    4.2188        .10958E-06** at limit **
   5  Prefactor     203.78        233.68        .11494E-04   -.98942E-05
   6  Prefactor     .10000E-03    18.941        .27307E-05** at limit **
   7  Prefactor     17.313        37.040       -.54737E-06   -.18237E-04
   8  Prefactor     .10000E-03    32.192       -.23274E-04** at limit **
   9  Prefactor     .10000E-03    101.83       -.31885E-04** at limit **
  10  Prefactor     .10000E-03    178.81        .77628E-04** at limit **
  11  norm          .10000E-03    1.4978        .20796E-07** at limit **
  12  Prefactor     .10000E-03    35.298       -.32139E-05** at limit **
  13  Prefactor     .10000E-03    96.957       -.44629E-04** at limit **
  14  Prefactor     144.48        146.68       -.35797E-05    .15475E-05
  15  norm          .10000E-03    11.900       -.48004E-07** at limit **
  16  Prefactor     .10000E-03    737.93       -.87934E-03** at limit **
  17  Prefactor     .10000E-03    20.987       -.12554E-04** at limit **
  18  Prefactor     .10000E-03    23.534        .16442E-04** at limit **
  19  Prefactor     .10000E-03    240.95       -.44108E-05** at limit **
  20  norm          3.0865        5.8536       -.97305E-07    .44636E-04
  21  norm          701.53        1017.2       -.55864E-04   -.47273E-05
  22  Prefactor     .10000E-03    174.20        .79152E-04** at limit **
  23  norm          5.8860        21.222       -.22846E-06   -.21746E-04
  24  Normalizat    1.6327        .55152       -.41080E-07   -.16741E-04
  25  Prefactor     .40087E-10    .37331        .60969E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 203.78
  Prefactor  = 0.0001
  Prefactor  = 17.3134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 144.483
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.08646
  norm       = 701.529
  Prefactor  = 0.0001
  norm       = 5.88604
  Normalizat = 1.63265
  Prefactor  = 4.00874e-11
 **********
 **   18 **HESSE 
 **********

 FCN=   228.7175     FROM HESSE     STATUS=OK           409 CALLS     3528 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.574        .94241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    200.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.3657        .22676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.2204        .30341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     203.78        234.24        .14156E-03   -1.2843    
   6  Prefactor     .10000E-03    18.941        .64362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.313        37.176        .96253E-04   -1.4876    
   8  Prefactor     .10000E-03    32.201        .83931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    101.83        .14945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    178.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.4981        .18095E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.322        .87890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    97.057        .14581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     144.48        146.70        .33520E-04   -1.3298    
  15  norm          .10000E-03    11.900        .51012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    737.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.987        .67753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.546        .71753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    241.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.0865        5.8306        .47792E-04   -1.5357    
  21  norm          701.53        1015.8        .78300E-04   -1.0347    
  22  Prefactor     .10000E-03    174.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.8860        21.279        .12432E-03   -1.5223    
  24  Normalizat    1.6327        .52822        .18499E-03   -.74116    
  25  Prefactor     .40087E-10    .41938        .53369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12982e-10
Minuit parameter uncertainties:
  1  3.16342e-06
  2  0.000115471
  3  4.37465e-06
  4  3.27379e-06
  5  235.325
  6  2.92292e-05
  7  37.2261
  8  1.25939e-05
  9  1.78052e-06
  10  1.68582e-06
  11  5.02249e-08
  12  1.04742e-05
  13  5.0388e-05
  14  147.075
  15  1.71304e-06
  16  2.20023e-05
  17  4.70659e-06
  18  1.06225e-05
  19  0.000412177
  20  5.83171
  21  1044.67
  22  6.14639e-05
  23  21.3068
  24  0.530049
  25  8.25891e-06
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  5.022e-08  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:  4.009e-11  8.259e-06  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:  1.633e+00  5.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 4.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/825070/likelihoodResults_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.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) = 228.717595724
delta logL = -0.000136038750327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 228.717466422
delta logL = -6.73692179021e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0065       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72401E-06   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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   228.7175     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      242 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    342.15        .18295E-02** at limit **
   2  alpha         1.5636        2.7923        .16885        .58054E-07
   3  Normalizat    1.6327        .37484        .18500E-03    .70211E-05
   4  Prefactor     .14433E-13    .27941        .53370E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.56355
  Normalizat = 1.63265
  Prefactor  = 1.44329e-14
 **********
 **   18 **HESSE 
 **********

 FCN=   228.7175     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7329        .19463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5636        3.1014        .67541E-02   -.38394    
   3  Normalizat    1.6327        .45984        .73998E-05   -.74116    
   4  Prefactor     .14433E-13    .41944        .10674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70009e-11
Minuit parameter uncertainties:
  1  3.74071e-06
  2  149.655
  3  0.461041
  4  1.57138e-07
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/825070': 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) = 228.717455166
delta logL = 4.51969569326e-06

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  3.741e-06  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.564e+00  1.497e+02  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:  1.443e-14  1.571e-07  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:  1.633e+00  4.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/825070/cmap_HighResolution_554256001_554515201_4FGL_J0144.6+2705_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-04', job_status='DONE', photon_flux_upper_limit='4.47e-07', time_completed='2021-08-14 15:44:23.550294', job_id='825070', GAL2='0.00', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1628981063.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='4.52e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1215' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:44:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 825070: <4FGL_J0144.6+2705_daily_bin1215> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1215> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 15:30:29 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:32:02 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:02 2021
Terminated at Sat Aug 14 15:44:26 2021
Results reported at Sat Aug 14 15:44:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1215 26.1502 27.0899 554256001 554515201 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 :                                   502.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             195.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            837 sec.

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

