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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin598
RA = 220.561, Dec = 6.3755
tmin = 394329601, tmax = 394588801
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='713878', job_status='RUN', time_executed='2021-09-10 05:48:27.614353', time_epoch_executed='1631278107.61' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/713878

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/713878/ft1_4FGL_J1442.2+0622_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/713878/ft2_4FGL_J1442.2+0622_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/713878/ft1_4FGL_J1442.2+0622_daily_bin598.fits outfile=/scratch/kocevski/713878/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin598.fits ra=220.561 dec=6.3755 rad=12.0 tmin=394329601.0 tmax=394588801.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 7.47
user 7.09
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/713878/ft2_4FGL_J1442.2+0622_daily_bin598.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/713878/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin598.fits evtable="EVENTS" outfile="/scratch/kocevski/713878/ft1_filtered_4FGL_J1442.2+0622_daily_bin598.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.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/713878/ft1_filtered_4FGL_J1442.2+0622_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/713878/ft2_4FGL_J1442.2+0622_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/713878/ltcube_394329601_394588801_4FGL_J1442.2+0622_daily_bin598.fits outfile=/scratch/kocevski/713878/expmap_394329601_394588801_4FGL_J1442.2+0622_daily_bin598.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/713878/ltcube_394329601_394588801_4FGL_J1442.2+0622_daily_bin598.fits
.....................!
real 192.83
user 186.24
sys 4.34

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/713878/ft1_filtered_4FGL_J1442.2+0622_daily_bin598.fits scfile=/scratch/kocevski/713878/ft2_4FGL_J1442.2+0622_daily_bin598.fits outfile=/scratch/kocevski/713878/cmap_394329601_394588801_4FGL_J1442.2+0622_daily_bin598.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/713878/ft1_filtered_4FGL_J1442.2+0622_daily_bin598.fits scfile=/scratch/kocevski/713878/ft2_4FGL_J1442.2+0622_daily_bin598.fits outfile=/scratch/kocevski/713878/cmap_HighResolution_394329601_394588801_4FGL_J1442.2+0622_daily_bin598.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/713878/ft1_filtered_4FGL_J1442.2+0622_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/713878/ft2_4FGL_J1442.2+0622_daily_bin598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/713878/Model_4FGL_J1442.2+0622_daily_bin598.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/713878/ft1_filtered_4FGL_J1442.2+0622_daily_bin598.fits.....................!
real 53.53
user 51.86
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40995E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.793       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.636       1.0000         .10000E-03   10000.    
     4 'norm      '    26.249       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.772       1.0000         .10000E-03   10000.    
     6 'norm      '    13.516       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8030       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.144       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.1856       1.0000         .10000E-03   10000.    
    11 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.096       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10956E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .22119       1.0000         .10000E-03   10000.    
    18 'norm      '    .40745       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.088       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94759       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93123       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=   6899.101     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2540 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10070E-03    4.9834        .14438E-05** at limit **
   2  Prefactor     10.792        17.241       -.21639E-06   -.81152E-04
   3  Prefactor     42.638        25.908        .85244E-06   -.17945E-06
   4  norm          26.249        13.334       -.13895E-07    .42948E-05
   5  Prefactor     20.774        22.634        .12720E-05   -.48244E-05
   6  norm          13.515        20.392       -.61515E-06   -.58214E-05
   7  Prefactor     6.8052        6.3034       -.17569E-05   -.10536E-03
   8  Prefactor     .10000E-03    6.7953        .16917E-05** at limit **
   9  Prefactor     28.129        72.969       -.25958E-04    .15773E-04
  10  Prefactor     6.1884        14.844        .61076E-09    .36052E-04
  11  norm          .10000E-03    7.1878       -.33383E-05** at limit **
  12  Prefactor     .10000E-03    7.3613        .17889E-05** at limit **
  13  Prefactor     27.102        23.705        .28682E-05    .63483E-04
  14  Prefactor     .10000E-03    11.489       -.26086E-06** at limit **
  15  Prefactor     .10000E-03    35.625       -.17467E-05** at limit **
  16  Prefactor     .10000E-03    56.166       -.89660E-05** at limit **
  17  norm          .22115        .17098       -.87633E-07   -.17828E-02
  18  norm          .41252        1.6649       -.10982E-05   -.58546E-03
  19  norm          .10000E-03    3.2661        .30614E-07** at limit **
  20  norm          .10000E-03    2.0444        .74235E-07** at limit **
  21  Prefactor     22.091        35.888        .35214E-05    .46293E-04
  22  Normalizat    .94748        .20359        .13513E-05    .15424E-03
  23  Prefactor     .93127        .11771        .48920E-06    .27067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100695
  Prefactor  = 10.7924
  Prefactor  = 42.638
  norm       = 26.2492
  Prefactor  = 20.7742
  norm       = 13.5149
  Prefactor  = 6.80516
  Prefactor  = 0.0001
  Prefactor  = 28.1286
  Prefactor  = 6.18841
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.221151
  norm       = 0.412523
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 22.0911
  Normalizat = 0.947479
  Prefactor  = 0.931271
 **********
 **   18 **HESSE 
 **********

 FCN=   6899.101     FROM HESSE     STATUS=OK           384 CALLS     2924 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10070E-03    5.1339        .68361E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.792        17.245        .12195E-03   -1.5051    
   3  Prefactor     42.638        25.909        .61395E-04   -1.4401    
   4  norm          26.249        13.335        .78191E-04   -1.4683    
   5  Prefactor     20.774        22.657        .87883E-04   -1.4796    
   6  norm          13.515        20.380        .10895E-03   -1.4973    
   7  Prefactor     6.8052        6.3171        .15383E-03   -1.5186    
   8  Prefactor     .10000E-03    6.9848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.129        72.804        .75518E-04   -1.4647    
  10  Prefactor     6.1884        14.814        .16141E-03   -1.5210    
  11  norm          .10000E-03    7.1782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.3601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.102        23.721        .76961E-04   -1.4666    
  14  Prefactor     .10000E-03    11.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    56.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .22115        .16552        .28430E-03   -1.5614    
  18  norm          .41252        3.1691        .19549E-02   -1.5580    
  19  norm          .10000E-03    3.2789        .14658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.0631        .11582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.091        35.904        .85226E-04   -1.4768    
  22  Normalizat    .94748        .24544        .30143E-03   -.94811    
  23  Prefactor     .93127        .14349        .18410E-03   -.95057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54406e-09
Minuit parameter uncertainties:
  1  0.00377899
  2  17.2533
  3  25.9154
  4  13.3369
  5  22.6662
  6  20.3908
  7  6.31775
  8  2.42439e-05
  9  73.0358
  10  14.8228
  11  8.38887e-06
  12  3.40917e-06
  13  23.7295
  14  2.17576e-05
  15  4.17821e-05
  16  3.66865e-05
  17  0.165519
  18  2.28667
  19  1.19893e-06
  20  1.37188e-06
  21  35.9389
  22  0.245728
  23  0.143547
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  8.389e-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:  9.313e-01  1.435e-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.475e-01  2.457e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/713878/likelihoodResults_394329601_394588801_4FGL_J1442.2+0622_daily_bin598.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) = 6899.10180476
delta logL = -0.000663807656565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6899.1011405
delta logL = 4.49084836873e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6559       1.0000          .0000       5.0000    
     3 'Normalizat'    .94748       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93127       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=   6899.101     FROM MIGRAD    STATUS=CONVERGED    128 CALLS      274 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    813.87        .11556    ** at limit **
   2  alpha         1.2184        4.1471        .16501       -.50294E-07
   3  Normalizat    .94748        .39952E-01    .30143E-03   -.63362E-05
   4  Prefactor     .93127        .24490E-01    .18410E-03    .38796E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.21845
  Normalizat = 0.947475
  Prefactor  = 0.931273
 **********
 **   18 **HESSE 
 **********

 FCN=   6899.101     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      307 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    64.912        .11256       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2184        3.8920        .66005E-02   -.53823    
   3  Normalizat    .94748        .10278E-01    .12057E-04   -.94811    
   4  Prefactor     .93127        .62695E-02    .36821E-04   -.95057    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.61414e-10
Minuit parameter uncertainties:
  1  0.000387843
  2  856.659
  3  0.0102777
  4  0.00626952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/713878': 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) = 6899.10113427
delta logL = 6.68311895424e-06

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  3.878e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.218e+00  8.567e+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:  9.313e-01  6.270e-03  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.475e-01  1.028e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/713878/cmap_HighResolution_394329601_394588801_4FGL_J1442.2+0622_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-05', job_status='DONE', photon_flux_upper_limit='4.57e-08', time_completed='2021-09-10 05:59:07.687263', job_id='713878', GAL2='0.93', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1631278747.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='6.68e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='598' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:59:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 713878: <4FGL_J1442.2+0622_daily_bin598> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin598> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:16 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:19 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:19 2021
Terminated at Fri Sep 10 05:59:08 2021
Results reported at Fri Sep 10 05:59:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin598 220.561 6.3755 394329601 394588801 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 :                                   634.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            772 sec.

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

