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


Performing analysis on: 4FGL_J0055.1-1219_daily_bin1607
RA = 13.7805, Dec = -12.3204
tmin = 655862401, tmax = 656121601
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='133920', job_status='RUN', time_executed='2021-12-07 11:46:28.568899', time_epoch_executed='1638906388.57' WHERE source_name='4FGL J0055.1-1219' and cadence='daily' and bin_id='1607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133920

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133920/ft1_4FGL_J0055.1-1219_daily_bin1607.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133920/ft1_4FGL_J0055.1-1219_daily_bin1607.fits outfile=/scratch/kocevski/133920/ft1_filteredMKT_4FGL_J0055.1-1219_daily_bin1607.fits ra=13.7805 dec=-12.3204 rad=12.0 tmin=655862401.0 tmax=656121601.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 4.57
user 4.31
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.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/133920/ft1_filteredMKT_4FGL_J0055.1-1219_daily_bin1607.fits evtable="EVENTS" outfile="/scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.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.58
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits" evtable="EVENTS" scfile=/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits sctable="SC_DATA" outfile=/scratch/kocevski/133920/ltcube_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.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/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits
.....................!
real 13.47
user 13.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits sctable="SC_DATA" expcube=/scratch/kocevski/133920/ltcube_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.fits outfile=/scratch/kocevski/133920/expmap_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.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/133920/ltcube_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.fits
.....................!
real 192.83
user 186.49
sys 5.51

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

Setting source of interest to:
4FGL J0055.1-1219 @ 13.7805 -12.3204

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits scfile=/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits outfile=/scratch/kocevski/133920/cmap_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.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=13.7805 yref=-12.3204 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits scfile=/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits outfile=/scratch/kocevski/133920/cmap_HighResolution_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.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=13.7805 yref=-12.3204 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/133920/Model_4FGL_J0055.1-1219_daily_bin1607.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/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits.....................!
real 38.13
user 36.74
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits', '/scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits', expMap='/scratch/kocevski/133920/expmap_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.fits', expCube='/scratch/kocevski/133920/ltcube_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/133920/Model_4FGL_J0055.1-1219_daily_bin1607.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0055.1-1219'

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  5.203e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/133920/ft1_filtered_4FGL_J0055.1-1219_daily_bin1607.fits
Spacecraft file(s): /scratch/kocevski/133920/ft2_4FGL_J0055.1-1219_daily_bin1607.fits
Exposure map: /scratch/kocevski/133920/expmap_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.fits
Exposure cube: /scratch/kocevski/133920/ltcube_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/133920/Model_4FGL_J0055.1-1219_daily_bin1607.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3569.16886329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2153       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12716E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .24748       1.0000         .10000E-03   10000.    
     8 'norm      '    4.1031       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10723E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.243       1.0000         .10000E-03   10000.    
    12 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.855       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10610E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    65.503       1.0000         .10000E-03   10000.    
    19 'norm      '    1.0182       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3207       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .16985E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    21.538       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .61346       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   3569.162     FROM MIGRAD    STATUS=CONVERGED   1045 CALLS     3866 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.3230        .17796E-02** at limit **
   2  norm          1.2215        7.4723        .30345E-03   -.10058E-03
   3  Prefactor     .10000E-03    14.317        .18142E-02** at limit **
   4  norm          .10002E-03    186.02        .35974E-02** at limit **
   5  norm          .10000E-03    6.4141        .14774E-02** at limit **
   6  Prefactor     .10000E-03    2.5399        .92177E-03** at limit **
   7  norm          .27294        32.667        .20889E-02    .12070E-03
   8  norm          4.1020        7.8612        .19902E-03   -.15238E-03
   9  Prefactor     .10000E-03    46.313        .18142E-02** at limit **
  10  Prefactor     .10000E-03    12.357        .18142E-02** at limit **
  11  Prefactor     42.091        69.745        .61679E-04    .38560E-04
  12  norm          .10000E-03    8.5420        .17041E-02** at limit **
  13  Prefactor     15.869        39.999        .10059E-03    .14298E-04
  14  Prefactor     .10000E-03    21.184        .18142E-02** at limit **
  15  Prefactor     .10000E-03    12.516        .18142E-02** at limit **
  16  Prefactor     .10000E-03    6.3988        .21451E-02** at limit **
  17  Prefactor     .10000E-03    5.3688        .13497E-02** at limit **
  18  Prefactor     65.457        53.003        .49587E-04    .26416E-03
  19  norm          1.0178        1.6070        .10819E-02    .12549E-02
  20  Prefactor     1.3330        44.639        .38288E-03   -.16004E-04
  21  norm          .10000E-03    16.735        .18142E-02** at limit **
  22  norm          .10000E-03    5.7577        .10321E-02** at limit **
  23  norm          21.534        12.447        .86306E-04    .13904E-03
  24  Normalizat    .61369        .23311        .27715E-03    .79066E-04
  25  Prefactor     1.0983        .23630        .20584E-03    .42479E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.2215
  Prefactor  = 0.0001
  norm       = 0.000100018
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.272937
  norm       = 4.102
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.0915
  norm       = 0.0001
  Prefactor  = 15.8687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 65.4572
  norm       = 1.01775
  Prefactor  = 1.33299
  norm       = 0.0001
  norm       = 0.0001
  norm       = 21.5344
  Normalizat = 0.613689
  Prefactor  = 1.09827
 **********
 **   18 **HESSE 
 **********

 FCN=   3569.162     FROM HESSE     STATUS=OK           403 CALLS     4269 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3233        .35593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2215        7.4633        .12138E-04   -1.5487    
   3  Prefactor     .10000E-03    14.318        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10002E-03    193.62        .14390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.4141        .29548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5402        .18435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27294        30.413        .83555E-04   -1.5603    
   8  norm          4.1020        7.8478        .79608E-05   -1.5303    
   9  Prefactor     .10000E-03    46.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.358        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.091        67.560        .12336E-04   -1.4409    
  12  norm          .10000E-03    8.5424        .34082E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.869        39.991        .40234E-05   -1.4911    
  14  Prefactor     .10000E-03    21.185        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.527        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4178        .42902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.3690        .26994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     65.457        52.979        .99175E-05   -1.4088    
  19  norm          1.0178        1.6063        .43276E-04   -1.5506    
  20  Prefactor     1.3330        44.528        .15315E-04   -1.5477    
  21  norm          .10000E-03    16.735        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.8382        .20643E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          21.534        12.446        .34523E-05   -1.4780    
  24  Normalizat    .61369        .23325        .11086E-04   -1.0741    
  25  Prefactor     1.0983        .23626        .41167E-04   -.89522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35833e-09
Minuit parameter uncertainties:
  1  7.62229e-05
  2  6.03958
  3  4.70925e-05
  4  0.00372908
  5  1.19176e-05
  6  1.21177e-05
  7  5.76413
  8  7.84979
  9  8.8246e-07
  10  1.08069e-05
  11  67.6836
  12  2.21065e-05
  13  40.0589
  14  5.44246e-06
  15  1.97501e-06
  16  0.000350511
  17  4.41537e-05
  18  53.0174
  19  1.60638
  20  15.4204
  21  2.75063e-05
  22  1.7561e-05
  23  12.4473
  24  0.233629
  25  0.236488
Done.

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

Extracting fit parameters...

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  1.000e-04  1.081e-05  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.098e+00  2.365e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  6.137e-01  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 13.780 -12.320
Photon Flux Upper Limit: 8.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/133920/likelihoodResults_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.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) = 3569.16263346
delta logL = -0.000385292376905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3569.16224816
delta logL = 1.42058524943e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2943       1.0000          .0000       10.000    
     3 'Normalizat'    .61369       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0983       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   3569.162     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      262 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.311        .18142E-01** at limit **
   2  Index         1.6664        5.2907        .50000       -.64369E-07
   3  Normalizat    .61369        .87835E-02    .27715E-03    .12451E-03
   4  Prefactor     1.0983        .85825E-02    .20583E-03    .16698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 1.66644
  Normalizat = 0.613694
  Prefactor  = 1.09827
 **********
 **   18 **HESSE 
 **********

 FCN=   3569.162     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    468.79        .27184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6664        7.5253        .50000       -.72979    
   3  Normalizat    .61369        .23950E-01    .11086E-04   -1.0741    
   4  Prefactor     1.0983        .23402E-01    .41167E-04   -.89522    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.94502e-09
Minuit parameter uncertainties:
  1  0.00248615
  2  815.491
  3  0.0239507
  4  0.0234027
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133920': 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): 102
logL (Free Index) = 3569.16224639
delta logL = 1.78298796527e-06

Extracting fit parameters...

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  1.000e-04  2.486e-03  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  1.666e+00  8.155e+02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.098e+00  2.340e-02  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  6.137e-01  2.395e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 13.780 -12.320

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/133920/cmap_HighResolution_655862401_656121601_4FGL_J0055.1-1219_daily_bin1607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2021-12-07 11:55:59.904727', job_id='133920', GAL2='1.10', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1638906959.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.78e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1607' AND source_name='4FGL J0055.1-1219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 11:55:59 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 133920: <4FGL_J0055.1-1219_daily_bin1607> in cluster <slac> Done

Job <4FGL_J0055.1-1219_daily_bin1607> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 11:45:17 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 11:46:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 11:46:02 2021
Terminated at Tue Dec  7 11:56:00 2021
Results reported at Tue Dec  7 11:56:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0055.1-1219_daily_bin1607 13.7805 -12.3204 655862401 656121601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0055.1-1219 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.19 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             371.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            643 sec.

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

