/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 190 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 = 7418
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1442.2+0622_daily_bin328
RA = 220.561, Dec = 6.3755
tmin = 324345601, tmax = 324604801
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='712357', job_status='RUN', time_executed='2021-09-10 05:44:41.476241', time_epoch_executed='1631277881.48' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='328'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712357/ft1_4FGL_J1442.2+0622_daily_bin328.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712357/ft1_4FGL_J1442.2+0622_daily_bin328.fits outfile=/scratch/kocevski/712357/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin328.fits ra=220.561 dec=6.3755 rad=12.0 tmin=324345601.0 tmax=324604801.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 14.01
user 13.55
sys 0.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.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/712357/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin328.fits evtable="EVENTS" outfile="/scratch/kocevski/712357/ft1_filtered_4FGL_J1442.2+0622_daily_bin328.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.48
user 0.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712357/ft1_filtered_4FGL_J1442.2+0622_daily_bin328.fits" evtable="EVENTS" scfile=/scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits sctable="SC_DATA" outfile=/scratch/kocevski/712357/ltcube_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.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/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits
.....................!
real 10.52
user 10.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712357/ft1_filtered_4FGL_J1442.2+0622_daily_bin328.fits evtable="EVENTS" scfile=/scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits sctable="SC_DATA" expcube=/scratch/kocevski/712357/ltcube_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.fits outfile=/scratch/kocevski/712357/expmap_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.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/712357/ltcube_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.fits
.....................!
real 191.65
user 186.37
sys 4.96

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/712357/ft1_filtered_4FGL_J1442.2+0622_daily_bin328.fits scfile=/scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits outfile=/scratch/kocevski/712357/cmap_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712357/ft1_filtered_4FGL_J1442.2+0622_daily_bin328.fits scfile=/scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits outfile=/scratch/kocevski/712357/cmap_HighResolution_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.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.53
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712357/ft1_filtered_4FGL_J1442.2+0622_daily_bin328.fits', '/scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits', expMap='/scratch/kocevski/712357/expmap_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.fits', expCube='/scratch/kocevski/712357/ltcube_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712357/Model_4FGL_J1442.2+0622_daily_bin328.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/712357/ft1_filtered_4FGL_J1442.2+0622_daily_bin328.fits
Spacecraft file(s): /scratch/kocevski/712357/ft2_4FGL_J1442.2+0622_daily_bin328.fits
Exposure map: /scratch/kocevski/712357/expmap_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.fits
Exposure cube: /scratch/kocevski/712357/ltcube_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712357/Model_4FGL_J1442.2+0622_daily_bin328.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) = 468.168826665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    107.48       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .28303E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10585E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .23701E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    52.271       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21152E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10235E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25195       1.0000         .10000E-03   10000.    
    13 'Prefactor '    121.07       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    39.056       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18551E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .50299       1.0000         .10000E-03   10000.    
    18 'norm      '    12.325       1.0000         .10000E-03   10000.    
    19 'norm      '    .11467E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10255E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16561E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0450       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .34263       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=   468.1529     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2503 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     107.48        99.157        .87704E-06   -.51140E-06
   2  Prefactor     .10000E-03    56.928        .52103E-07** at limit **
   3  Prefactor     .10002E-03    510.87        .79092E-05** at limit **
   4  norm          .10000E-03    54.387       -.62306E-07** at limit **
   5  Prefactor     .10000E-03    150.72       -.10363E-05** at limit **
   6  norm          52.190        117.77        .23229E-05   -.14021E-04
   7  Prefactor     .10000E-03    16.427        .41747E-06** at limit **
   8  Prefactor     .10000E-03    11.316        .26475E-06** at limit **
   9  Prefactor     .10004E-03    9129.7       -.10014E-03** at limit **
  10  Prefactor     .10000E-03    181.26       -.19906E-05** at limit **
  11  norm          .10000E-03    73.577       -.57291E-06** at limit **
  12  Prefactor     .17038E-03    122.30       -.18253E-05** at limit **
  13  Prefactor     121.07        146.71       -.71911E-07   -.35248E-05
  14  Prefactor     .10000E-03    19.676        .13374E-06** at limit **
  15  Prefactor     39.049        66.694       -.74856E-05   -.41648E-05
  16  Prefactor     .10006E-03    1549.2        .19077E-04** at limit **
  17  norm          .50316        .84396        .11684E-06   -.31327E-04
  18  norm          12.330        17.969        .55505E-06    .15254E-04
  19  norm          .10000E-03    70.997       -.15302E-06** at limit **
  20  norm          .10000E-03    27.417        .14773E-06** at limit **
  21  Prefactor     .10002E-03    798.53        .36864E-05** at limit **
  22  Normalizat    1.0431        .64126        .30347E-05   -.65046E-04
  23  Prefactor     .34377        .40164       -.13008E-04   -.14405E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 107.48
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 52.1903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000170379
  Prefactor  = 121.07
  Prefactor  = 0.0001
  Prefactor  = 39.0494
  Prefactor  = 0.000100064
  norm       = 0.503161
  norm       = 12.3301
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010002
  Normalizat = 1.04309
  Prefactor  = 0.343772
 **********
 **   18 **HESSE 
 **********

 FCN=   468.1529     FROM HESSE     STATUS=OK           362 CALLS     2865 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     107.48        99.225        .19396E-03   -1.3631    
   2  Prefactor     .10000E-03    56.932        .15966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10002E-03    522.86        .19891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    54.387        .15605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    150.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          52.190        118.09        .27737E-03   -1.4262    
   7  Prefactor     .10000E-03    16.483        .85718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.340        .71125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10004E-03    9130.7        .36513E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    181.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    73.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17038E-03    1854.8        .46070E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     121.07        145.98        .36576E-04   -1.3503    
  14  Prefactor     .10000E-03    19.680        .93810E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     39.049        67.324        .64136E-04   -1.4457    
  16  Prefactor     .10006E-03    1622.5        .36462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .50316        .82907        .22909E-04   -1.5566    
  18  norm          12.330        17.995        .10349E-03   -1.5006    
  19  norm          .10000E-03    71.309        .17822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    27.438        .11071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    800.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0431        .74255        .23025E-03   -.91601    
  23  Prefactor     .34377        .45121        .23110E-03   -1.1978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34292e-08
Minuit parameter uncertainties:
  1  99.3787
  2  8.4045e-05
  3  0.00640206
  4  3.92685e-05
  5  0.000721425
  6  118.624
  7  6.51564e-05
  8  4.06554e-05
  9  0.0452884
  10  0.000981067
  11  0.000133215
  12  0.747037
  13  146.419
  14  2.97414e-05
  15  67.4552
  16  0.0209556
  17  0.829086
  18  18.0033
  19  5.48526e-05
  20  3.91532e-05
  21  0.008012
  22  0.75013
  23  0.455956
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.332e-04  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:  3.438e-01  4.560e-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:  1.043e+00  7.501e-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: 4.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712357/likelihoodResults_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.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) = 468.152986585
delta logL = -6.37574229359e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 468.152985768
delta logL = -6.29402238701e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93815E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6974       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .34379       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.

 FCN=   468.1529     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      187 TOTAL
                     EDM=   .67E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    71.663        .90962E-02** at limit **
   2  alpha         2.6893        3.5924        .41315        .56760E-06
   3  Normalizat    1.0431        .60242        .41039E-01    .25429E-06
   4  Prefactor     .34377        .36213        .37435E-01    .30694E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.68935
  Normalizat = 1.0431
  Prefactor  = 0.343768
 **********
 **   18 **HESSE 
 **********

 FCN=   468.1529     FROM HESSE     STATUS=OK            33 CALLS      220 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    71.689        .18180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6893        3.5923        .50000        .75811E-01
   3  Normalizat    1.0431        .68869        .23025E-03   -.91600    
   4  Prefactor     .34377        .41377        .23111E-03   -1.1978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48655e-13
Minuit parameter uncertainties:
  1  2.29259e-05
  2  2.49285
  3  0.69471
  4  0.41741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712357': 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) = 468.152922826
delta logL = 1.9412027541e-09

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  2.293e-05  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.689e+00  2.493e+00  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:  3.438e-01  4.174e-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:  1.043e+00  6.947e-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/712357/cmap_HighResolution_324345601_324604801_4FGL_J1442.2+0622_daily_bin328.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-04', job_status='DONE', photon_flux_upper_limit='4.78e-07', time_completed='2021-09-10 05:51:09.670382', job_id='712357', GAL2='0.34', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631278269.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.34', dlogl='1.94e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='328' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:51:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 712357: <4FGL_J1442.2+0622_daily_bin328> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin328> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:20 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:21 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:41:21 2021
Terminated at Fri Sep 10 05:51:10 2021
Results reported at Fri Sep 10 05:51:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin328 220.561 6.3755 324345601 324604801 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 :                                   381.46 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             374.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            590 sec.

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

