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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin585
RA = 220.561, Dec = 6.3755
tmin = 390960001, tmax = 391219201
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='713857', job_status='RUN', time_executed='2021-09-10 05:50:06.510981', time_epoch_executed='1631278206.51' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='585'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/713857

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/713857/ft1_4FGL_J1442.2+0622_daily_bin585.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/713857/ft1_4FGL_J1442.2+0622_daily_bin585.fits outfile=/scratch/kocevski/713857/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin585.fits ra=220.561 dec=6.3755 rad=12.0 tmin=390960001.0 tmax=391219201.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.47
user 4.24
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.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/713857/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin585.fits evtable="EVENTS" outfile="/scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits" evtable="EVENTS" scfile=/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits sctable="SC_DATA" outfile=/scratch/kocevski/713857/ltcube_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.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/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits
.....................!
real 11.96
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits sctable="SC_DATA" expcube=/scratch/kocevski/713857/ltcube_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.fits outfile=/scratch/kocevski/713857/expmap_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.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/713857/ltcube_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.fits
.....................!
real 191.44
user 186.50
sys 4.58

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

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits scfile=/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits outfile=/scratch/kocevski/713857/cmap_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.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=220.561 yref=6.3755 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits scfile=/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits outfile=/scratch/kocevski/713857/cmap_HighResolution_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.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=220.561 yref=6.3755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/713857/Model_4FGL_J1442.2+0622_daily_bin585.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/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits....................!
real 49.53
user 48.10
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits', '/scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits', expMap='/scratch/kocevski/713857/expmap_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.fits', expCube='/scratch/kocevski/713857/ltcube_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/713857/Model_4FGL_J1442.2+0622_daily_bin585.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/713857/ft1_filtered_4FGL_J1442.2+0622_daily_bin585.fits
Spacecraft file(s): /scratch/kocevski/713857/ft2_4FGL_J1442.2+0622_daily_bin585.fits
Exposure map: /scratch/kocevski/713857/expmap_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.fits
Exposure cube: /scratch/kocevski/713857/ltcube_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/713857/Model_4FGL_J1442.2+0622_daily_bin585.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) = 6611.27003713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.894       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    66.270       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6550       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.408       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14352E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.023       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.171       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .37132       1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.6886       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92364       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1592       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6611.236     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2199 TOTAL
                     EDM=   .63E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4784       -.10446E-07** at limit **
   2  Prefactor     31.895        24.963        .26680E-06    .25462E-05
   3  Prefactor     .10000E-03    20.503        .46988E-05** at limit **
   4  norm          66.270        22.281       -.43682E-07    .76774E-06
   5  Prefactor     .10000E-03    12.896       -.43011E-06** at limit **
   6  norm          .10000E-03    10.976       -.12594E-05** at limit **
   7  Prefactor     1.6539        1.0758        .27418E-07   -.37794E-03
   8  Prefactor     .10000E-03    6.0843       -.67308E-07** at limit **
   9  Prefactor     15.402        29.915       -.46358E-05    .44826E-06
  10  Prefactor     .10000E-03    23.238       -.45192E-05** at limit **
  11  norm          .10000E-03    10.640        .14234E-05** at limit **
  12  Prefactor     .10000E-03    77.977       -.12069E-05** at limit **
  13  Prefactor     .10000E-03    8.0848       -.65191E-07** at limit **
  14  Prefactor     19.023        16.335       -.79186E-06   -.18901E-04
  15  Prefactor     18.181        22.595        .22521E-05   -.11642E-04
  16  Prefactor     .10000E-03    30.213        .59920E-05** at limit **
  17  norm          .37135        .19568       -.25335E-08   -.38458E-04
  18  norm          .10000E-03    1.2530        .15570E-10** at limit **
  19  norm          .10000E-03    2.6814        .13524E-07** at limit **
  20  norm          1.6884        2.8577        .25314E-07   -.23322E-05
  21  Prefactor     .10000E-03    26.521       -.53561E-05** at limit **
  22  Normalizat    .92360        .21904       -.72221E-07    .97597E-06
  23  Prefactor     1.1593        .13750        .64527E-07   -.37519E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 31.895
  Prefactor  = 0.0001
  norm       = 66.2695
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.65389
  Prefactor  = 0.0001
  Prefactor  = 15.402
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0228
  Prefactor  = 18.1808
  Prefactor  = 0.0001
  norm       = 0.371354
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.68838
  Prefactor  = 0.0001
  Normalizat = 0.923598
  Prefactor  = 1.15929
 **********
 **   18 **HESSE 
 **********

 FCN=   6611.236     FROM HESSE     STATUS=OK           364 CALLS     2563 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.895        25.009        .70950E-04   -1.4578    
   3  Prefactor     .10000E-03    20.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          66.270        22.287        .49301E-04   -1.4078    
   5  Prefactor     .10000E-03    12.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6539        7.7487        .16404E-02   -1.5451    
   8  Prefactor     .10000E-03    6.2217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.402        29.924        .10204E-03   -1.4923    
  10  Prefactor     .10000E-03    23.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    10.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    80.075        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.023        16.340        .91830E-04   -1.4835    
  15  Prefactor     18.181        22.551        .93956E-04   -1.4855    
  16  Prefactor     .10000E-03    30.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .37135        .19274        .24852E-04   -1.5586    
  18  norm          .10000E-03    1.2960        .17753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.6879        .13003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.6884        2.8321        .17350E-03   -1.5448    
  21  Prefactor     .10000E-03    26.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92360        .25804        .33156E-03   -.95636    
  23  Prefactor     1.1593        .16145        .18939E-03   -.87593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91207e-10
Minuit parameter uncertainties:
  1  6.9845e-07
  2  25.0169
  3  5.56136e-06
  4  22.2896
  5  1.44765e-06
  6  1.67796e-06
  7  7.16106
  8  1.63005e-06
  9  29.9535
  10  1.02262e-05
  11  2.69601e-06
  12  0.000174854
  13  8.83464e-07
  14  16.3441
  15  22.5613
  16  3.40184e-05
  17  0.192736
  18  4.00089e-07
  19  4.25142e-08
  20  2.83237
  21  1.31918e-06
  22  0.258388
  23  0.161519
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  2.696e-06  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.159e+00  1.615e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.236e-01  2.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 5.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/713857/likelihoodResults_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.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) = 6611.23674336
delta logL = -0.000444892234555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6611.23629844
delta logL = 2.51093297265e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10584E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6583       1.0000          .0000       5.0000    
     3 'Normalizat'    .92358       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+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=   6611.236     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      253 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    583.48        .18142E-01** at limit **
   2  alpha         1.7049        2.7300        .16503        .29967E-07
   3  Normalizat    .92360        .24341E-01    .33156E-03    .31439E-03
   4  Prefactor     1.1593        .15487E-01    .18939E-03    .28912E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 1.70491
  Normalizat = 0.923601
  Prefactor  = 1.15929
 **********
 **   18 **HESSE 
 **********

 FCN=   6611.236     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    31.237        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7049        3.7782        .66010E-02   -.32366    
   3  Normalizat    .92360        .25223        .13263E-04   -.95636    
   4  Prefactor     1.1593        .16061        .37877E-04   -.87593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83117e-10
Minuit parameter uncertainties:
  1  0.000551281
  2  459.044
  3  0.252555
  4  0.160676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/713857': 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) = 6611.23629541
delta logL = 3.06375568471e-06

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  5.513e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.705e+00  4.590e+02  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.159e+00  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.236e-01  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.561 6.375

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/713857/cmap_HighResolution_390960001_391219201_4FGL_J1442.2+0622_daily_bin585.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-05', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2021-09-10 05:59:50.581835', job_id='713857', GAL2='1.16', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1631278790.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.06e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='585' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:59:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 713857: <4FGL_J1442.2+0622_daily_bin585> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin585> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:14 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:46:16 2021
Terminated at Fri Sep 10 05:59:51 2021
Results reported at Fri Sep 10 05:59:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin585 220.561 6.3755 390960001 391219201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   583.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            817 sec.

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

