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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin941
RA = 26.1502, Dec = 27.0899
tmin = 483235201, tmax = 483494401
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='823768', job_status='RUN', time_executed='2021-08-14 15:26:19.685799', time_epoch_executed='1628979979.69' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823768

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823768/ft1_4FGL_J0144.6+2705_daily_bin941.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823768/ft2_4FGL_J0144.6+2705_daily_bin941.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823768/ft1_4FGL_J0144.6+2705_daily_bin941.fits outfile=/scratch/kocevski/823768/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin941.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=483235201.0 tmax=483494401.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.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823768/ft2_4FGL_J0144.6+2705_daily_bin941.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/823768/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin941.fits evtable="EVENTS" outfile="/scratch/kocevski/823768/ft1_filtered_4FGL_J0144.6+2705_daily_bin941.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823768/ft1_filtered_4FGL_J0144.6+2705_daily_bin941.fits" evtable="EVENTS" scfile=/scratch/kocevski/823768/ft2_4FGL_J0144.6+2705_daily_bin941.fits sctable="SC_DATA" outfile=/scratch/kocevski/823768/ltcube_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.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/823768/ft2_4FGL_J0144.6+2705_daily_bin941.fits
.....................!
real 12.01
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823768/ft1_filtered_4FGL_J0144.6+2705_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/823768/ft2_4FGL_J0144.6+2705_daily_bin941.fits sctable="SC_DATA" expcube=/scratch/kocevski/823768/ltcube_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.fits outfile=/scratch/kocevski/823768/expmap_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.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/823768/ltcube_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.fits
.....................!
real 191.64
user 186.50
sys 4.64

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/823768/ft1_filtered_4FGL_J0144.6+2705_daily_bin941.fits scfile=/scratch/kocevski/823768/ft2_4FGL_J0144.6+2705_daily_bin941.fits outfile=/scratch/kocevski/823768/cmap_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.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 0.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823768/ft1_filtered_4FGL_J0144.6+2705_daily_bin941.fits scfile=/scratch/kocevski/823768/ft2_4FGL_J0144.6+2705_daily_bin941.fits outfile=/scratch/kocevski/823768/cmap_HighResolution_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.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 0.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7436       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8522       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0795       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.6666       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.632       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.416       1.0000         .10000E-03   10000.    
    10 'Prefactor '    117.92       1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.798       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4719       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.204       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7094       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.460       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.533       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5569       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4891       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .99125       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1043       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=   8764.738     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     3443 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7433        11.826        .11541E-05   -.48151E-03
   2  Prefactor     6.8513        47.364       -.70471E-06   -.42084E-05
   3  norm          2.0795        .84606        .23875E-08    .15913E-04
   4  norm          1.2468        1.1593        .37751E-07    .47519E-04
   5  Prefactor     .10000E-03    64.975       -.26162E-05** at limit **
   6  Prefactor     .10000E-03    4.1900       -.27221E-06** at limit **
   7  Prefactor     8.6665        8.6015       -.26494E-08   -.52933E-04
   8  Prefactor     18.635        18.158        .98609E-06   -.18927E-03
   9  Prefactor     39.415        54.112       -.68204E-06   -.28564E-04
  10  Prefactor     117.90        109.35       -.62733E-05   -.12637E-03
  11  norm          .10000E-03    .35010        .89633E-07** at limit **
  12  Prefactor     19.800        16.179        .28233E-06   -.91797E-04
  13  Prefactor     5.4716        11.883        .16279E-05   -.56896E-03
  14  Prefactor     27.206        26.288        .43263E-06    .22024E-04
  15  norm          1.7090        3.3117        .30291E-06   -.25995E-03
  16  Prefactor     26.439        204.95       -.18589E-04   -.40086E-04
  17  Prefactor     11.534        10.058       -.19761E-06   -.58285E-04
  18  Prefactor     .10000E-03    3.7195        .40792E-06** at limit **
  19  Prefactor     8.5574        11.895        .43991E-10   -.44058E-04
  20  norm          1.4891        .79653       -.90775E-07   -.36698E-03
  21  norm          .10000E-03    20.724       -.32516E-06** at limit **
  22  Prefactor     .10000E-03    11.629       -.12814E-06** at limit **
  23  norm          .10000E-03    2.0473        .26330E-06** at limit **
  24  Normalizat    .99123        .22688       -.10781E-06   -.12405E-03
  25  Prefactor     1.1043        .12067        .93867E-07   -.25433E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.74329
  Prefactor  = 6.85135
  norm       = 2.07952
  norm       = 1.24682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.66652
  Prefactor  = 18.6352
  Prefactor  = 39.4153
  Prefactor  = 117.902
  norm       = 0.000100001
  Prefactor  = 19.7997
  Prefactor  = 5.47162
  Prefactor  = 27.2058
  norm       = 1.70904
  Prefactor  = 26.4389
  Prefactor  = 11.5338
  Prefactor  = 0.0001
  Prefactor  = 8.55735
  norm       = 1.48906
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.991232
  Prefactor  = 1.10426
 **********
 **   18 **HESSE 
 **********

 FCN=   8764.738     FROM HESSE     STATUS=OK           437 CALLS     3880 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7433        13.106        .83797E-03   -1.5229    
   2  Prefactor     6.8513        47.566        .15327E-03   -1.5184    
   3  norm          2.0795        .84657        .48917E-04   -1.5420    
   4  norm          1.2468        1.1583        .40091E-04   -1.5485    
   5  Prefactor     .10000E-03    65.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.2388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.6665        8.6401        .13616E-03   -1.5119    
   8  Prefactor     18.635        18.313        .46394E-03   -1.4844    
   9  Prefactor     39.415        54.057        .63844E-04   -1.4452    
  10  Prefactor     117.90        110.25        .37055E-04   -1.3532    
  11  norm          .10000E-03    .93810        .10561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.800        16.210        .90016E-04   -1.4818    
  13  Prefactor     5.4716        14.480        .85886E-03   -1.5240    
  14  Prefactor     27.206        26.284        .76808E-04   -1.4664    
  15  norm          1.7090        3.2834        .22146E-03   -1.5447    
  16  Prefactor     26.439        210.29        .77879E-04   -1.4679    
  17  Prefactor     11.534        9.9816        .11796E-03   -1.5029    
  18  Prefactor     .10000E-03    17.001        .34027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.5574        11.856        .13704E-03   -1.5123    
  20  norm          1.4891        .79381        .57820E-04   -1.5464    
  21  norm          .10000E-03    20.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.1354        .26125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .99123        .26061        .36598E-03   -.93325    
  25  Prefactor     1.1043        .13783        .20012E-03   -.89331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89921e-09
Minuit parameter uncertainties:
  1  13.1121
  2  36.1456
  3  0.846579
  4  1.15834
  5  0.000308737
  6  8.32042e-06
  7  8.64137
  8  18.3185
  9  54.1244
  10  110.446
  11  4.48835e-05
  12  16.2131
  13  14.4893
  14  26.2953
  15  3.28377
  16  149.858
  17  9.98304
  18  3.55099e-05
  19  11.8588
  20  0.793815
  21  2.17749e-05
  22  6.8565e-06
  23  2.06285e-06
  24  0.260946
  25  0.137873
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  4.488e-05  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:  1.104e+00  1.379e-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:  9.912e-01  2.609e-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: 6.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/823768/likelihoodResults_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.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) = 8764.74345246
delta logL = -0.00517983370446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8764.68274407
delta logL = 0.0555285502742

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46616E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .96711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1124       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8764.683     FROM MIGRAD    STATUS=FAILED       103 CALLS      339 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46746E-02    .16350E-01    .15446E-03    .70629E-01
   2  alpha         5.0000        4.9739        .50000    ** at limit **
   3  Normalizat    .96698        .24675        .37001E-03   -.16715E-04
   4  Prefactor     1.1124        .13782        .19946E-03   -.70881E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8764.683     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      480 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46746E-02    .16350E-01    .92391E-08   -1.5694    
   2  alpha         5.0000        4.9739        .15032E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .96698        .24675        .12831E-05   -.94145    
   4  Prefactor     1.1124        .13782        .36646E-07   -.89070    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8764.683     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      523 TOTAL
                     EDM=   .91E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46746E-02    .15356E-01    .30892E-04   -.21713E-03
   2  alpha         5.0000        4.9146        .50000    ** at limit **
   3  Normalizat    .96698        .24728        .14800E-04   -.79886E-05
   4  Prefactor     1.1124        .13802        .39892E-04   -.80936E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00467462
  alpha      = 5
  Normalizat = 0.966981
  Prefactor  = 1.11242
 **********
 **   18 **HESSE 
 **********

 FCN=   8764.683     FROM HESSE     STATUS=OK            31 CALLS      554 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46746E-02    .15196E-01    .12357E-05   -1.5694    
   2  alpha         5.0000        4.9024        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .96698        .24740        .29601E-05   -.94145    
   4  Prefactor     1.1124        .13806        .79785E-05   -.89070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04813e-12
Minuit parameter uncertainties:
  1  0.015196
  2  1.97002e-05
  3  0.247696
  4  0.138105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823768': 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) = 8764.68274256
delta logL = 0.0555300673768

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  4.675e-03  1.520e-02  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  5.000e+00  1.970e-05  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.112e+00  1.381e-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:  9.670e-01  2.477e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/823768/cmap_HighResolution_483235201_483494401_4FGL_J0144.6+2705_daily_bin941.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-05', job_status='DONE', photon_flux_upper_limit='6.74e-08', time_completed='2021-08-14 15:41:45.248917', job_id='823768', GAL2='1.11', fit_tolerance='1e-08', EG2='0.97', EG='0.99', time_epoch_completed='1628980905.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.55e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='941' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:41:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 823768: <4FGL_J0144.6+2705_daily_bin941> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin941> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 14 15:25:27 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:26:11 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:26:11 2021
Terminated at Sat Aug 14 15:41:45 2021
Results reported at Sat Aug 14 15:41:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin941 26.1502 27.0899 483235201 483494401 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 :                                   924.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            978 sec.

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

